You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keep installed REA skills and localized product claims current #24
Existing installations can retain an older minimal skill while the canonical packaged skill evolves. Product counts can drift across localized documentation.
Scope
Detect skill drift; upgrade transactionally with backup/readback; version the skill; test older upgrades; generate or centrally validate tool counts and workflow claims.
Acceptance criteria
Setup updates stale managed skills without touching unrelated skills.
Package verification proves canonical readback.
Tool-family counts cannot diverge across code/docs.
The 84-tool state is unreleased development state, so the published 78 versus checkout 84 difference is expected. The installed v12 skill is genuinely stale relative to the active v14/78 server.
Doctor detects the drift but still reports healthy
rea doctor reports:
healthy: true
skill:
installed_version: "12"
state: stale
remediation: Run rea setup to update the installed REA skill.
Skill state is identity metadata but is not added to checks, so it cannot affect doctorHealthy. This weakens the skill's own readiness workflow: an agent can see healthy: true, continue, and operate with instructions that omit live capabilities or describe an older catalog.
Consider either:
adding stale skill/catalog identity as a config_drift check, making healthy false; or
introducing an explicit ready_with_drift/degraded state so provider readiness and agent-instruction alignment remain distinguishable.
Doctor should also report the installed skill's declared tool count beside expected package count/digest. A version comparison alone does not identify whether the mismatch affects available workflows.
Concrete release-verifier drift on current main
scripts/verify-published-package.mjs currently hard-codes 80 tools, while current main runtime and contract tests expect 84. The release workflow invokes this verifier only after npm publish, so the stale assertion can discover the mismatch only after the package has already shipped.
This should be corrected by:
deriving the expected count/digest from the packed canonical product catalog instead of another literal;
running the packed-artifact identity/catalog check before publish;
retaining the post-publish check as registry propagation verification;
testing an old-package -> upgrade -> setup -> restart lifecycle, including skill backup/readback and live-state unknowns.
The stale skill did not create the trace_feature.max_operations validation failure in #261, but it compounds capability discovery failures: host-rendered schemas, live server capabilities, and installed workflow instructions can each describe a different effective surface. #261 should own bounded-argument discovery/error repair; this issue should own cross-version skill/catalog alignment and release verification.
REA 2.0 implementation slice: skill metadata is generated from CATALOG_IDENTITY with version, tool_count, and catalog_digest; doctor marks missing/stale identity unhealthy with rea setup remediation; isolated package verification proves backup-first stale-skill replacement and aligned readback. Broader #21/#72 work remains out of scope.
Completed on current . Installed-skill metadata is generated with version, tool count, and catalog digest; doctor detects missing/stale installs; setup uses backup plus readback verification; and packaged installation is covered by . Broader evidence/ledger automation remains in its own issues.
Correction to the preceding comment: completed on current main. Installed-skill metadata includes generated version, tool count, and catalog digest; doctor detects missing or stale installs; setup performs backup and readback verification; and scripts/verify-package.mjs covers packaged installation.
Activity
morluto commentedon Jul 16, 2026
Current drift findings from REA 1.7.0 and
mainA live investigation found three simultaneously visible catalog generations:
~/.agents/skills/rea-analysis/SKILL.md[email protected]package/servermain(11 commits after the 1.7.0 tag)The 84-tool state is unreleased development state, so the published 78 versus checkout 84 difference is expected. The installed v12 skill is genuinely stale relative to the active v14/78 server.
Doctor detects the drift but still reports healthy
rea doctorreports:Skill state is identity metadata but is not added to
checks, so it cannot affectdoctorHealthy. This weakens the skill's own readiness workflow: an agent can seehealthy: true, continue, and operate with instructions that omit live capabilities or describe an older catalog.Consider either:
config_driftcheck, makinghealthyfalse; orready_with_drift/degraded state so provider readiness and agent-instruction alignment remain distinguishable.Doctor should also report the installed skill's declared tool count beside expected package count/digest. A version comparison alone does not identify whether the mismatch affects available workflows.
Concrete release-verifier drift on current main
scripts/verify-published-package.mjscurrently hard-codes 80 tools, while currentmainruntime and contract tests expect 84. The release workflow invokes this verifier only afternpm publish, so the stale assertion can discover the mismatch only after the package has already shipped.This should be corrected by:
Relationship to #261
The stale skill did not create the
trace_feature.max_operationsvalidation failure in #261, but it compounds capability discovery failures: host-rendered schemas, live server capabilities, and installed workflow instructions can each describe a different effective surface. #261 should own bounded-argument discovery/error repair; this issue should own cross-version skill/catalog alignment and release verification.morluto commentedon Jul 16, 2026
REA 2.0 implementation slice: skill metadata is generated from CATALOG_IDENTITY with version, tool_count, and catalog_digest; doctor marks missing/stale identity unhealthy with rea setup remediation; isolated package verification proves backup-first stale-skill replacement and aligned readback. Broader #21/#72 work remains out of scope.
morluto commentedon Jul 17, 2026
Completed on current . Installed-skill metadata is generated with version, tool count, and catalog digest; doctor detects missing/stale installs; setup uses backup plus readback verification; and packaged installation is covered by . Broader evidence/ledger automation remains in its own issues.
morluto commentedon Jul 17, 2026
Correction to the preceding comment: completed on current main. Installed-skill metadata includes generated version, tool count, and catalog digest; doctor detects missing or stale installs; setup performs backup and readback verification; and scripts/verify-package.mjs covers packaged installation.
fix(security): CodeQL High sanitization + TOCTOU (2026-10-13) (#2)