refresh-plugins: exclude .cc-os runtime state from the cache staleness diff #622
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#622
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
bin/refresh-pluginsverify_cache(lines ~95-104) runsdiff -rq <cache> <source> --exclude='.git' --exclude='__pycache__' --exclude='.orphaned_at'and reports STALE on any output.Observed
After the #557 worktree finish on 2026-09-22,
refresh-pluginsreportedos-sdlc: STALE (differences remain). The only diff line was:This is a live lsp-probe daemon socket.
claude plugin installcannot copy a live socket file. All plugin content matched.Reproduce
Expected
verify_cacheexcludes.cc-os(runtime state, not plugin content) or socket files, so a live daemon does not make the cache look stale.Origin
bin/refresh-plugins local-pluginsafter #557 worktree finishSkeptic gate
VERDICT: CREATE — complete-process, need-to-exist, better-seam, root-vs-symptom, and speculative-hardening checks all pass; observed false positive with a reproduce recipe, root-caused to the exclude list, one-line fix scope.
Resolution
Done: Added --exclude='.cc-os' to the diff in bin/refresh-plugins verify_cache.
Evidence: Reproduced with a live UNIX socket at plugins/os-sdlc/.cc-os/lsp/test622/daemon.sock: os-sdlc reported STALE before the change and REFRESHED after. Committed on main
87d5ed3f.Follow-ups: none