Commit 6945463
feat(codemap): audit dual-runtime integration and telemetry
Changes:
- Release codemap-py 0.31.0 with the breaking check-to-audit rename, schema-v2 provider/consumer, managed-block, index, runtime-log, usage, content-identity, drift, and remediation evidence; retain no compatibility alias and keep apply source-only versus sync runtime-only.
- Add the Codex hook manifest and cross-platform prompt, guard, tool-record, and edit-invalidation lifecycle; stamp runtime/version/refresh provenance and isolate Claude, Codex, and direct logs plus repository session markers by runtime.
- Fix incremental indexing so Markdown and reStructuredText remain freshness and documentation-reference inputs without becoming degraded Python modules, and heal legacy non-Python module contamination on the next bounded refresh.
- Extend debriefing, repeated-search analysis, and anonymization across recursive runtime/session shards, preserve directory topology, report per-runtime timing/tool/skill aggregates, and state token data as unavailable instead of estimating it.
- Strengthen Claude and Codex query skills to query first, stop redundant structural reads after complete untruncated results, target only named incomplete/degraded gaps, allow independent source-body inspection, and route affected-test selection through test-impact.
- Stabilize unavailable native-plugin records, bound telemetry parsing and content hashing, separate Claude-only session seeding from Codex thread identity, and validate packaged hook pointers and runtime isolation on POSIX and Windows command forms.
- Release Codex Rig 0.8.3 and cc_foundry 0.49.2 with codemap-py.integration.v2 consumer metadata, audit terminology, regenerated deterministic manifests, and the intentionally retained v1 managed-block sentinel envelope.
Impact:
- Users receive read-only integration health evidence that distinguishes observed state, stale/degraded indexes, same-version byte drift, unavailable host facts, and actionable plan/apply/sync remediation without silently mutating caches or indexes.
- Claude and Codex can share one repository without cross-labeling sessions or logs; complete Codemap answers can prevent redundant grep/read work while incomplete evidence still fails open to targeted source inspection.
- Documentation changes no longer poison whole-graph completeness, and existing contaminated indexes recover incrementally without requiring destructive cache migration.
- This is a coordinated breaking integration release: callers must use integrate audit and both hook and CLI layers should update together because mixed 0.30.x/0.31.x session-marker paths do not join.
Verification:
- pre-commit run ruff-check --files <36 changed Python files>: passed.
- env -u CODEX_THREAD_ID .venv/bin/python -m pytest -q plugins/codemap-py: 1687 passed, 3 skipped in 128.92s.
- env -u CODEX_THREAD_ID .venv/bin/python -m pytest -q plugins/codex-rig: 752 passed, 1 skipped in 27.37s.
- env -u CODEX_THREAD_ID .venv/bin/python -m pytest -q plugins/cc_foundry: 1648 passed in 52.73s.
- codemap-py deterministic package build/check/validation: 77-file 0.31.0 candidate passed.
- codex-rig build_package.py --check and validate_package.py: manifest current and package validation passed.
- cc_foundry build_blueprint_manifest.py --check: all four plugin manifests current; foundry 1393, oss 1249, develop 750, research 592 entries.
- jq empty on every changed JSON manifest/config and git diff --cached --check: passed.
- Pinned ruff-format and mdformat were not rerun after Fable's final edits to preserve the explicitly requested diff as-is; earlier implementation gates had passed before those edits.
Residual limits:
- Native Windows execution and a fresh installed Claude/Codex host session were unavailable; simulated cross-platform contracts and local package gates passed.
- Installed plugin caches were not synced, no release was published, and the external rf-detr index was not rebuilt.
- Host hooks expose neither model token usage nor native session-catalog provenance, so audit reports those facts as unavailable or unobservable.
- Mixed-version 0.30.x/0.31.x hook and CLI layers temporarily lose coverage-session correlation until both sides update.
---
Co-authored-by: Claude/Fable5 <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>1 parent bca74d8 commit 6945463
61 files changed
Lines changed: 3202 additions & 522 deletions
File tree
- plugins
- cc_foundry
- .claude-plugin
- codemap-py
- .claude-plugin
- .codex-plugin
- bin
- claude-skills
- debrief-coding
- integration
- query-code
- codex-skills
- debrief-coding
- integration
- query-code
- hooks
- scripts
- src/codemap_py
- tests
- cli_support
- gate
- integration
- packaging
- query
- scanner
- codex-rig
- .codex-plugin
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5573 | 5573 | | |
5574 | 5574 | | |
5575 | 5575 | | |
5576 | | - | |
| 5576 | + | |
5577 | 5577 | | |
5578 | 5578 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
13 | 14 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
5 | 14 | | |
6 | 15 | | |
7 | 16 | | |
| |||
0 commit comments