feat: add runtime-aware Context Tree value audits - #5
Conversation
|
Post-merge blocker / follow-up from static review:
That makes relative-path attribution incorrect. A real bound-Tree read such as Please preserve the validated per-call row I did not run tests or QA; this finding comes from the exact base-to-head diff ( |
* fix: bind audits to runtime agent slug * fix: support legacy agent selectors * fix: recover composite context tree reads * fix: recover literal guarded tree reads * feat: add runtime-aware Context Tree value audits (#5) * fix: close value audit evidence gaps * fix: close implicit evidence side effects * fix: reject unbound git diagnostics * fix: close remaining command helper paths --------- Co-authored-by: YueZengwu <yzengwu@gmail.com>
What changed
context-tree-insightstocontext-tree-value-auditFIRST_TREE_PROVIDERwithout allowing adapter overridesWhy
insightswas too broad for an explicit, evidence-gated audit. The Task/effect/report core is Runtime-neutral, but historical evidence recovery must use only complete native records that can be attributed to the current Agent and authorized Chat.This change deliberately stays at the Skill layer. It adds no First Tree Runtime handler, sidecar, metadata schema, ledger, Server, database, Web surface, or shared Tree-read abstraction. Missing or unsupported evidence remains
N/A / pendingand can never be interpreted as zero effect.Runtime support
Codex invocation remains
$context-tree-value-audit. Claude invocation is/context-tree-value-audit; its projection setsdisable-model-invocation: trueso ordinary prompts cannot trigger the audit implicitly.Validation
python3 scripts/validate_skill.pypython3 -m compileall -q skills tests scripts projectionspython3 -m unittest discover -s tests(37/37)git diff --check5b9f16cc7bdbaf3900ac39e0f76872d57d2916317187133ddf2b386b9044ea68Dependency and release boundary
This PR is intentionally stacked on
fix/agent-slug-selector/ PR #4 at exact baseed0ece52c14bec0579de1deeb78707758e5a3572.The deterministic Skill gates pass. A fresh network-backed Claude Code / Claude Code TUI one-turn audit remains a separate live release check, so this PR stays Draft.