Skip to content

fix(memory-probe): accept piri provider in mempalace refresh/install status - #947

Merged
jinon86 merged 1 commit into
mainfrom
fix/nunchi-piri-refresh-probe
Aug 5, 2026
Merged

fix(memory-probe): accept piri provider in mempalace refresh/install status#947
jinon86 merged 1 commit into
mainfrom
fix/nunchi-piri-refresh-probe

Conversation

@seoseo-ai

Copy link
Copy Markdown
Collaborator

Follow-up to #946.

Why

While enabling nunchi+MemPalace on a live Piri node (jingun), `ccc-doctor` still reported `memory cache` 경고 (`mempalace=degraded`) with reasons `refresh-invalid` + `refresh-provider`, even though `mempalace-refresh.sh piri` ran cleanly (`state=ok`, `provider=piri`).

Root cause: `ccc_memory_probe` validated the refresh-status `provider` field against `{claude, codex}` only — so a valid Piri refresh record was rejected as `invalid`, and its `piri` provider was flagged as a provider mismatch. The Termux install-metadata validator had the same gap.

This made `memory cache` a perpetual 경고 on every Piri node with nunchi+MemPalace, defeating the goal of #946.

What

  • `mempalace_refresh_probe`: provider allow-set `{claude, codex}` → `{claude, codex, piri}`.
  • Termux `ccc.termux-mempalace.install.v1` metadata validator: same fix (matches the `--piri` support added to `install-termux-mempalace.sh` in feat(nunchi): Piri provider collection lane (peer-facts + MemPalace) #946).
  • `ccc-memory.test.sh`: add a `provider: piri` case to the refresh-probe valid-states matrix.

Verification

  • `ccc-memory.test.sh` 130 ✅ (new piri valid-provider case)
  • Reproduced on jingun before fix: `memory cache` 경고 `refresh-invalid refresh-provider`; the probe now accepts the `provider=piri state=ok` record.

Sibling change to #946 (no bridge runtime change).

…status

Follow-up to #946. ccc_memory_probe.mempalace_refresh_probe and the Termux
install-metadata validator only accepted provider in {claude, codex}, so on a
Piri node with nunchi+MemPalace enabled the refresh status (provider=piri,
state=ok) was rejected as refresh-invalid and flagged refresh-provider — making
`memory cache` a perpetual 경고 even though the lane works.

Add piri to both provider allow-sets. ccc-memory.test.sh gains a piri provider
case in the refresh-probe valid-states matrix.
@seoseo-ai
seoseo-ai requested a review from jinon86 as a code owner August 5, 2026 00:37

@jinon86 jinon86 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved after explicit operator authorization using the Seoseo-held jinon86 credential.

@jinon86
jinon86 merged commit 2c674a0 into main Aug 5, 2026
8 checks passed
@seoseo-ai
seoseo-ai deleted the fix/nunchi-piri-refresh-probe branch August 5, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants