| finding_id,category,scope,surface,file_or_pattern,source_evidence,severity,expected_behavior,discovery_method,status,first_observed,bug_summary,repro_or_detection,fix_strategy,fix_status,validation_command,retest_evidence,last_verified_at,owner,review_status,review_notes,next_action |
| AUDIT-072,Tooling Reliability,No-mistakes review launcher,Codex desktop executable discovery,scripts/no_mistakes_codex_env.sh; src/tests/test_no_mistakes_env.py,Explicit executable and resource overrides are now validated independently before known-app and PATH discovery.,High,The review launcher must find a runnable installed Codex deterministically preserve the trusted validation Python environment and validate explicit executable and resource overrides independently.,stripped-environment wrapper probes combined-override regression and real launcher version probe,Needs Validation,2026-07-16,The combined explicit-override validation bypass is fixed; the final real no-mistakes integration run remains pending.,Set a runnable CTX_NO_MISTAKES_REAL_CODEX with a missing CTX_NO_MISTAKES_CODEX_RESOURCES and verify the wrapper rejects the missing resource path.,Validate each nonempty explicit override independently before resolving known apps or PATH then add the combined-override regression.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-073,Static Typing,Secure directory utility,anchored directory fallback typing,src/ctx/utils/_fs_utils.py,The optional anchored-directory result is narrowed before assignment to the integer file descriptor.,High,The required project mypy gate must complete with zero errors.,python3 -m mypy src,Retested Pass,2026-07-17,The target commit previously assigned int or None to an int local.,Run python3 -m mypy src against the pre-fix commit and observe the assignment error at src/ctx/utils/_fs_utils.py:234.,Use a separately typed optional local and narrow it before assigning the integer file descriptor without changing runtime behavior.,Fixed,.venv/bin/python -m mypy src,PASS: .venv/bin/python -m mypy src reports Success with no issues in 386 source files.,2026-07-20,QA/Test Gate Lane,Reviewed by no-mistakes and local static gate,The annotation-only fix preserves runtime behavior and restores the required project type gate.,Closed; retain full-project mypy in local-fast and CI. |
| AUDIT-074,Formatting,Source static gate,repository Python formatting,src; hooks; scripts,All repository Python files satisfy the Ruff format contract.,High,The required project formatting gate must complete with zero files requiring changes.,ruff format |
| AUDIT-075,CLI Contract,Tag backfill,discovery root option,src/ctx/core/quality/tag_backfill.py,The public |
| AUDIT-076,Authorization,Generic adaptive runtime,model-visible lifecycle consent,src/ctx/adapters/generic/ctx_core_tools.py; src/ctx/adapters/generic/runtime_lifecycle.py,"Commits fc4cf0b9 and ddbbb111 make model lifecycle calls advisory, reject manufactured applied authority, and preserve trusted host-owned activation paths.",Critical,Only a host-issued session and content-bound activation grant may authorize runtime context; a model recommendation or lifecycle call must not claim user consent.,adversarial authority-default review,Retested Pass,2026-07-20,A model with the full ctx surface could manufacture an event that appeared to be an explicitly selected user load.,"Call ctx__load_entity with missing or manufactured selection authority and inspect requested versus applied events.",Keep model-published lifecycle tools advisory and accept applied transitions only from the trusted host path.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-077,Context Integrity,Generic adaptive runtime,durable wiki body and ineffective unload,src/ctx/adapters/generic/ctx_core_tools.py; src/ctx/adapters/generic/loop.py; src/ctx/adapters/generic/runtime_lifecycle.py,"Commits 9cbe248c and 33d5353f cap wiki bodies, expose raw wiki call/result context for one subsequent provider request, and strip it from persistence and replay.",Critical,Skill or agent text must be scan-and-hash matched size bounded marked untrusted attached only to a provider-request copy and physically absent after unload.,adversarial prompt-lifetime review,Retested Pass,2026-07-20,Untrusted raw catalog instructions and their token cost could survive in provider history after their useful turn.,Call wiki_get for a long or malicious entity then persist replay and inspect subsequent provider messages.,Use a bounded one-turn provider-copy lease and remove raw wiki tool context at persistence and replay boundaries.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-078,Authorization,MCP runtime,advertised-schema dispatch boundary,src/ctx/adapters/generic/tools/mcp_router.py; src/ctx/adapters/generic/loop.py,Commit 51c845d2 requires every dispatch to match the active published tool registry before RPC; focused boundary tests cover hidden and unpublished calls.,Critical,Every MCP call must match the exact active published tool registry and immutable capability epoch used for the provider response before any RPC occurs.,hidden-tool and stale-capability review,Retested Pass,2026-07-20,A model or caller can invoke a server tool that was not advertised in the current provider capability set.,Start a server with multiple tools expose a subset then call an omitted qualified tool directly through McpRouter.call.,Publish exact active registries per epoch and require expected epoch server activity and exact tool membership atomically at dispatch.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-079,Efficiency,MCP runtime,eager startup schemas and unverifiable cleanup,src/ctx/adapters/generic/tools/mcp_router.py; src/ctx/cli/run.py,"Lazy selective MCP activation, schema revocation, POSIX process-group termination, failed-reap retention, and hashed lifecycle events are implemented and pass the focused runtime slice. HISTORICAL REVIEW NOTE: native Windows proof was previously pending; that unsupported obligation is retired. Remote supported-host cleanup proof remains pending.",High,Dormant MCP configs must consume no process or schema budget; selected servers start independently and unload revokes schemas then verifies process-tree and thread cleanup.,runtime lifecycle and process-containment review,Needs Validation,2026-07-20,One slow unused MCP can delay or fail the session and stale descendants or schemas can survive best-effort shutdown.,Configure multiple servers including one unused or stubborn child then inspect startup latency schemas and surviving descendants.,Add host activation mode with dormant normalized configs selective start and stop schema limits drain or cancel verified process-group reaping and failed-reap tombstones.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-080,Telemetry,Evaluator runtime,complete session token accounting,src/ctx/adapters/generic/evaluator.py; src/ctx/cli/run.py,"Commits 43fda102 and 0708979d propagate cumulative planner, contract, generator, evaluator, and bounded-agent usage to budgets, session history, CLI JSON, and telemetry.",High,CLI JSON telemetry and budgets must account for every planner contract generator evaluator and delegated-agent model call without inventing per-tool attribution.,usage data-flow review,Retested Pass,2026-07-20,Evaluator-enabled sessions underreport the tokens and cost of the development process and can present misleading efficiency KPIs.,Run ctx run with planner contract and evaluator then compare emitted usage with EvaluationLoopResult.total_usage.,Propagate total_usage to session output and telemetry; add explicit component scopes and include bounded child usage in parent budget enforcement.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-081,State Integrity,Runtime lifecycle,requested versus applied entity state,src/ctx/adapters/generic/runtime_lifecycle.py,"Commits fc4cf0b9 and f04c32b4 distinguish requested and applied transitions and derive loaded state only from load_applied/unload_applied events.",High,Session state must distinguish suggested requested approved activating active used deactivating inactive blocked and degraded states and report active only after applied state is verified.,lifecycle state-machine review,Retested Pass,2026-07-20,Dashboards and integrations could report an entity active when only an advisory request had been appended.,Record load_requested without load_applied then call session_state and inspect loaded entities.,Derive active session state only from verified applied transitions while retaining advisory request history.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-082,Telemetry,MCP adaptive runtime,lifecycle efficiency and cleanup evidence,src/ctx/adapters/generic/tools/mcp_router.py; src/ctx/cli/run.py; src/ctx/adapters/generic/runtime_lifecycle.py,"Commit aec4181d hashes external MCP identities and emits bounded capability epochs, schema bytes, process start/reap/recovery outcomes, lifetime, and terminal transitions without double counting.",High,Adaptive telemetry must expose privacy-safe counts durations schema and context bytes capability epochs activation outcomes and verified cleanup without commands secrets raw evidence or credential fingerprints.,telemetry coverage and privacy review,Retested Pass,2026-07-20,Adaptive MCP telemetry exposed raw external identifiers and lacked complete process-lifetime and cleanup proof.,Activate call recover and unload an MCP then inspect telemetry for hashed identity epoch process lifetime reap outcome and one terminal transition.,Use existing OTel primitives with bounded hashed dimensions and emit lifecycle evidence only after observed process transitions.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-083,Integration,Host adapters,advisory recommendations without runtime lease,src/ctx/api.py; src/ctx/adapters/loopflow.py; docs/harness/attaching-to-hosts.md,"Commit c4c7d288 provides a public permissioned ActivationLeaseRegistry with host acknowledgement, failed-action rollback and retry, exception-safe release, serialized concurrent ownership, and an explicit in-process boundary.",High,Python LoopFlow and custom-LLM hosts must share one permissioned bounded activation contract and clearly distinguish suggestions from applied context.,cross-host contract review,Retested Pass,2026-07-20,Host integrations lacked a shared failure-atomic way to activate keep use replace and unload recommendations.,Run overlapping leases fail load and unload callbacks raise or cancel inside a lease and race owners for one entity; inspect actions and final active context.,Use one long-lived host-owned registry and commit ownership only after the host action callback succeeds.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-084,Tracker Hygiene,Maintainer script inventory,reproducible release builder coverage,scripts/build_reproducible_dist.py; qa/feature_status.csv,Commits e870e35f and ff39bfb8 implement and test the release builder; MAINT-018 now records the missing canonical feature.,Medium,Every shipped maintainer script has one canonical feature story with current local and remote validation boundaries.,canonical inventory audit and maintainer-script coverage test,Retested Pass,2026-07-26,scripts/build_reproducible_dist.py was the only maintainer script missing from qa/feature_status.csv.,Run test_feature_user_story_tracker_covers_maintainer_scripts before adding MAINT-018.,Add one canonical MAINT-018 row linked to the release workflow and its focused tests.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-085,Release Validation,Tagged publication,manifest-locked publish workflow,.github/workflows/publish.yml; scripts/build_reproducible_dist.py,"Commits e870e35f and ff39bfb8 pass local deterministic build, manifest-lock, and release-layout validation.",Critical,"The new manifest-locked release path completes once on a real tag with exact verified artifacts, attestations, release uploads, and PyPI publication.",release actor-reviewer evidence reconciliation,Needs Validation,2026-07-26,"Local release behavior passes, but the changed manifest-locked workflow has not yet executed on a fresh release tag.",Create the next release tag and inspect every publish job and uploaded artifact against the verified manifest.,Keep local behavior closed and collect one remote tagged-workflow observation on the unchanged code.,In Progress,Inspect the next .github/workflows/publish.yml tagged run and release/PyPI artifacts.,"PASS LOCAL: deterministic double build, manifest membership, exact layout, and package validation pass; remote tagged execution remains pending.",2026-07-26,Telemetry/Release Lane,Approved locally pending remote tagged workflow,No remote outcome is inferred from local release evidence.,Run and record the next real tagged publish workflow. |
| AUDIT-086,State Integrity,Runtime rejection memory,derived rejection index and feedback suppression,src/ctx/adapters/generic/runtime_lifecycle.py; src/tests/test_harness_ctx_core.py,"Commit 2ac780cc independently passed complete-stream tamper, migration, recovery, concurrency, permission, and performance review.",High,Session rejection memory suppresses repeated rejected IDs with complete canonical-stream integrity and bounded indexed reads and updates.,independent runtime actor-reviewer pass,Retested Pass,2026-07-26,The earlier derived rejection index did not authenticate every canonical event and could miss early or middle tampering.,"Tamper with early and middle events, read or rebuild the derived index, and benchmark 100k-event reads and updates.",Authenticate the complete canonical event stream while keeping the derived index replaceable and O(1) in steady state.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-087,Install Safety,Clean runtime setup,wiki preservation and path containment,src/ctx_init.py; src/tests/test_ctx_init.py,"Commits 3b50bfd6, 9dec65c7, and 09d157a1 preserve user content, reject unsafe ancestors, and pin converted-skill reads; independent artifact review passes.",Critical,"ctx-init preserves user-owned wiki content, rejects unsafe symlink ancestors, and remains idempotent on real archive and wheel installs.",independent clean-install review followed by final wheel verification,Retested Pass,2026-07-26,The prior runtime setup could delete unrelated converted wiki content and report success through a symlinked parent.,"Seed a private converted skill and a symlinked .claude ancestor, run ctx-init from real artifacts repeatedly, and inspect content and exit state.","Install only project-owned overlays, preserve unrelated paths, reject unsafe ancestors, and use descriptor-pinned inspection.",Fixed,.venv/bin/python -m pytest -q |
| AUDIT-088,Recommendation Availability,Clean installed runtime,actionable skill agent and MCP pack,src/ctx/assets/runtime-availability.json; src/ctx_init.py; src/scan_repo.py; src/ctx/adapters/claude_code/install/mcp_install.py,"Commits 3b50bfd6, 9dec65c7, 3efa9464, 5ef5f81c, 468173be, and 21cb540b make clean installed recommendations discoverable, filtered, and actionable.",High,"A clean archive or wheel install returns actionable no-key recommendations across skills, agents, and MCPs and every returned item has a local source or concrete install path.",clean-install recommendation review and final wheel A-Z retest,Retested Pass,2026-07-26,The prior clean runtime exposed too little actionable context and the scanner omitted the explicit no-key constraint.,"Install the real wheel into an empty home, install the runtime graph, scan the repo without keys, request each entity bucket, and inspect source and install metadata.","Ship an attested project-owned pack, pass no-key intent through scanning, filter before ranking, and suppress rows without a source or install command.",Fixed,.venv/bin/python -m pytest -q |
| AUDIT-089,Dashboard Performance,Wiki catalog,initial empty browse,src/ctx/monitor/services/wiki.py; src/tests/test_monitor_wiki_search.py,Commit 1630698e uses the bounded catalog index for initial browse and records a real-catalog before and after measurement.,Medium,The first empty catalog browse returns through the bounded index without loading the full catalog into the request path.,real dashboard timing plus focused regression review,Retested Pass,2026-07-26,Initial empty catalog browse loaded excessive state and took 5.169 seconds.,Start ctx-monitor with the real catalog and time the first GET /wiki or /catalog response.,Use the existing bounded catalog index for the initial browse path.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-090,Dashboard UX,Dark mode,cards graph details config and sticky footer,src/ctx/assets/monitor.css; src/ctx/monitor/pages/config.py; src/tests/test_ctx_monitor.py,"Commit 4e02987d has actual browser computed-color, card-contrast, overflow, console, and 251-test evidence.",Medium,Dashboard surfaces remain readable and stable in dark mode with no overflow or browser console errors.,browser walkthrough plus focused dashboard tests,Retested Pass,2026-07-26,Hard-coded light backgrounds made several dashboard surfaces unreadable in dark mode.,"Enable dark color scheme and inspect computed backgrounds, card contrast, viewport overflow, and browser console output.",Replace hard-coded light backgrounds with existing theme surface variables.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-091,Recommendation Performance,Fresh non-semantic recommendation requests,indexed graph-store fast path,src/ctx/adapters/generic/ctx_core_tools.py; src/ctx/core/resolve/recommendations.py; src/ctx/core/graph/graph_store.py; src/tests/test_indexed_recommendations.py,"Commits df13a637 and d9b482f3 add the indexed path plus source-fingerprint validation, bounded signals and query length, exact external-token IDF parity, and WAL-aware reads.",High,"Compatible fresh requests use the SQLite graph store with exact ranking parity, reject adversarially oversized input without graph load, and safely fall back for stale, corrupt, incompatible, or semantic cases.",performance profiling real-query parity and adversarial source/WAL matrix,Retested Pass,2026-07-26,Fresh recommendation startup loaded the 533 MB graph; the first fast path could accept preserved-mtime source drift ignore committed WAL changes and spend 35.06s falling back on oversized queries.,"Preserve source mtimes while changing graph, overlay, and pack contents; commit a WAL-only row; submit 1,100 signals; compare indexed and NetworkX results and process state.",Validate stored source fingerprints bound query work restore zero-frequency score parity and read live WAL state.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-092,Governance Docs,Enterprise readiness claims,branch protection and review enforcement prose,docs/enterprise-readiness-review.md; SECURITY.md; .github/CODEOWNERS; src/tests/test_threat_model_docs.py,Commit fffd935c aligns repository prose with live ruleset 15907020 and adds focused governance regression coverage.,High,Docs distinguish strict required CI and no bypass from independent PR or CODEOWNER review that is not currently mandatory.,docs-to-live-ruleset comparison,Retested Pass,2026-07-26,Governance prose implied stronger mandatory review enforcement than the live ruleset provides.,"Compare enterprise docs, SECURITY, and CODEOWNERS wording with the review settings in ruleset 15907020.","State only controls proven by repository files and live ruleset evidence, and track the remaining human action separately.",Fixed,.venv/bin/python -m pytest -q |
| AUDIT-093,Governance,Protected main branch,mandatory independent PR and CODEOWNER approval,GitHub ruleset 15907020; .github/CODEOWNERS,Live ruleset 15907020 enforces strict required CI and no bypass but not a required independent approving review.,High,Enterprise main-branch governance requires a second human or CODEOWNER approval before merge in addition to CI.,live GitHub ruleset inspection,Blocked/Human Decision,2026-07-26,The repository cannot truthfully require independent approval until a second human reviewer or CODEOWNER is available and the owner changes the ruleset.,Inspect the live ruleset review rule and observe that required approving review count is not enforced.,"Add the second human, enable required approving review and CODEOWNER enforcement, then capture live settings and a protected-merge proof.",Blocked,Inspect GitHub ruleset 15907020 after the human governance change.,BLOCKED: strict CI and no bypass are live; independent approval remains a human-owned repository setting.,2026-07-26,Human Owner,Blocked on second human reviewer and repository administration,Repository code cannot create a trustworthy independent human reviewer.,Human owner adds the second reviewer and enables mandatory independent approval. |
| AUDIT-001,Garbage Files,Repo hygiene,generated artifacts,**/__pycache__*.pyc; **/.DS_Store,find command found 380 generated files outside .git/.venv/site/htmlcov/graph on 2026-07-04,Medium,Repo source should not track generated OS or Python cache artifacts; local ignored caches may be deleted after validation runs.,manual static scan + git ls-files,Retested Pass,380 ignored generated artifacts present before cleanup,Generated OS/Python cache artifacts polluted local repo-wide scans and working-tree hygiene.,find generated-artifact scan listed .DS_Store and pyc files; git ls-files checks tracked hygiene,Delete generated artifacts while keeping existing .gitignore guards; add a tracked-file regression test.,Fixed,git ls-files generated-artifact scan,PASS: git tracks 0 generated artifact files; local ignored caches were cleaned before validation.,2026-07-04,Codex,Reviewed by local static audit,Ponytail: delete only generated artifacts and guard the source boundary; no product behavior change.,Closed; continue repo-wide discovery. |
| AUDIT-002,Review Tooling,Repo audit,open-code-review,/Users/steves/.local/bin/ocr; ~/.opencodereview/config.json,ocr v1.7.1 installed; ocr llm test reports no endpoint configured,High,Whole-repo OCR scan should run with a configured enterprise LLM endpoint before final goal completion.,open-code-review install + ocr llm test,Blocked/Human Decision,ocr was missing from PATH before this phase; installed user-local v1.7.1,Open Code Review AI scan cannot produce findings without OCR_LLM_URL/OCR_LLM_TOKEN/OCR_LLM_MODEL or provider config.,ocr llm test,Install OCR and keep the blocker only on provider secret/endpoint configuration; continue evidence-backed manual review meanwhile.,Blocked,ocr llm test,BLOCKED: no valid LLM endpoint configured; OCR preview can enumerate files only.,2026-07-04,Human Owner,Open,Needs enterprise/provider configuration; do not fake OCR findings.,Configure provider or supply enterprise-compatible env for OCR. |
| AUDIT-003,Bug Risk,Dashboard graph artifacts,monitor graph index extraction,src/ctx/monitor/services/graph_artifacts.py:426,ruff B023 reported lambda closing over loop-local source in tar extraction loop,Medium,Dashboard graph index extraction should copy archive members without closure-capture ambiguity.,ruff B023 static audit,Retested Pass,ruff B023 found Function definition does not bind loop variable source,Chunk reader used iter(lambda: source.read(...)) inside archive loop; future refactor or delayed evaluation could read from the wrong source.,.venv/bin/python -m ruff check src/ctx/monitor/services/graph_artifacts.py |
| AUDIT-004,Bug,MCP ingest,ctx-mcp-ingest dry-run checkpointing,src/mcp_ingest.py:322,dry-run marked slugs processed and saved resume checkpoint,High,MCP ingest dry-run must not persist resume state that makes a later live run skip records.,subagent repro + focused pytest,Retested Pass,dry-run checkpoint poisoning made live ingest skip dry-run-only records,Run dry_run=True then reload checkpoint then live run; before fix live call count stayed one and processed contained dry-run slug,pytest src/tests/test_mcp_ingest.py::TestFreshRun::test_dry_run_does_not_checkpoint_processed_slugs,Skip processed/failures mutations and checkpoint saves while dry_run is true.,Fixed,pytest src/tests/test_mcp_ingest.py::TestFreshRun::test_dry_run_does_not_checkpoint_processed_slugs,PASS: dry-run leaves processed empty and live run processes the slug again.,2026-07-04,Codex,Reviewed by explorer + local tests,Ponytail: guard checkpoint writes only; live checkpoint behavior unchanged.,Closed; continue repo-wide discovery. |
| AUDIT-005,Bug,MCP enrich,ctx-mcp-enrich dry-run checkpointing,src/mcp_enrich.py:607,dry-run marked slugs processed and saved resume checkpoint,High,MCP enrich dry-run must not persist resume state that makes a later live run skip entity enrichment.,subagent repro + focused pytest,Retested Pass,dry-run checkpoint poisoning made live enrich skip dry-run-only entities,Run dry_run=True then reload checkpoint then live run; before fix source fetch was not called again and github_url stayed absent,pytest src/tests/test_mcp_enrich_render_scalar.py::TestRenderScalar::test_enrich_entities_dry_run_does_not_checkpoint_processed_slugs,Skip processed/failures mutations and checkpoint saves while dry_run is true.,Fixed,pytest src/tests/test_mcp_enrich_render_scalar.py::TestRenderScalar::test_enrich_entities_dry_run_does_not_checkpoint_processed_slugs,PASS: dry-run leaves processed empty and live enrich fetches the slug again.,2026-07-04,Codex,Reviewed by explorer + local tests,Ponytail: guard checkpoint writes only; live checkpoint behavior unchanged.,Closed; continue repo-wide discovery. |
| AUDIT-006,Privacy,Telemetry,enterprise telemetry redaction,src/ctx/telemetry/__init__.py:73,subagent repro showed repo_name and repository stayed raw,High,Telemetry local_redacted mode should hash repo/context/workspace/project identifiers and never spool raw values.,subagent repro + focused pytest,Retested Pass,telemetry key coverage repro found raw repo/context fields before fix,repo/context keys leaked raw private names before this phase,Sanitize payload with repo_name repository workspace project context and inspect returned JSON,Expand raw key allowlist and suffix coverage for repo/context/workspace/project identifiers.,Fixed,.venv/bin/pytest src/tests/test_enterprise_telemetry.py,PASS: enterprise telemetry test file passed after adding repo/context key assertions.,2026-07-04,Codex,Reviewed by Worker A + local verification,Ponytail: extend sanitizer key matching only; exporter/event schema unchanged.,Closed; continue repo-wide discovery. |
| AUDIT-007,Privacy,Runtime lifecycle,security_scan telemetry return,src/ctx/adapters/generic/runtime_lifecycle.py:355,subagent repro showed raw token and absolute path in ctx-core lifecycle output,High,Runtime lifecycle security_scan data should redact secrets and local paths before persistence return and session state.,subagent repro + focused pytest,Retested Pass,security_scan command output and summary returned raw token/path before fix,Lifecycle security_scan returned raw secret and local path data through ctx-core responses,Load skill with security_scan containing ghp token sk token and /Users path then inspect event file and session state,Sanitize nested security_scan strings with secret and absolute path redaction inside lifecycle boundary.,Fixed,.venv/bin/pytest src/tests/test_harness_ctx_core.py::TestRuntimeLifecycle,PASS: 10 runtime lifecycle tests pass including redacted security_scan command output summary and persisted event.,2026-07-04,Codex,Reviewed by Worker B + local verification,Ponytail: sanitize lifecycle security_scan field only; status and proof metadata preserved.,Closed; continue repo-wide discovery. |
| AUDIT-008,Privacy,LoopFlow adapter,public context payload and recommendation pass count,src/ctx/adapters/loopflow.py:104,subagent repro showed raw look_at paths in public payload and one graph scan per granted type,Medium,LoopFlow adapter should expose safe context refs and use one permission-filtered recommendation pass.,subagent repro + focused pytest,Retested Pass,raw look_at path appeared in context.query and recommend_by_tags ran once per type before fix,LoopFlow leaked local context paths and scanned recommendation graph repeatedly for multi-grant requests,Recommend for loop with private look_at paths and skills agents mcps permissions then inspect payload and call count,Return basename plus path_hash context refs publicly and call recommend_by_tags once with combined entity types.,Fixed,.venv/bin/pytest src/tests/test_loopflow_adapter.py,PASS: 23 LoopFlow adapter tests passed including sanitized public payload and single combined graph call.,2026-07-04,Codex,Reviewed by Worker C + local verification,Ponytail: keep raw paths only in private local ranking query; public adapter payload is safe.,Closed; continue repo-wide discovery. |
| AUDIT-009,CI Gate,CI preflight,no-test policy release metadata exemption,scripts/ci_no_test_policy.py; scripts/ci_preflight.py,local audit found internal preflight passed pyproject metadata paths without diff content,High,No-test policy should only allow release metadata changes when actual diff hunks prove only allowed version or stats lines changed.,manual code review + regression test,Retested Pass,ci preflight passed metadata-only files with empty diff context,Internal no-test policy could exempt pyproject or stats files when called without diffs which risks false green PR gates.,Call _run_no_test_policy_for_files with pyproject.toml and empty diffs_by_file then expect nonzero,Require content diff lines for every non-CHANGELOG release metadata file and pass real per-file diffs from preflight.,Fixed,.venv/bin/pytest src/tests/test_ci_preflight.py src/tests/test_ci_classifier.py -q |
| AUDIT-010,Quality Gate,Session hook,quality recompute checkpointing,hooks/quality_on_session_end.py:146,local audit found hook advanced state after missing or failed recompute,Medium,Quality hook should not advance the last-seen state unless recompute completed successfully.,manual code review + regression test,Retested Pass,quality hook swallowed recompute failure and wrote state,If skill_quality.py was missing or subprocess failed then a later run could skip events that were never scored.,Patch _invoke_recompute to return failure on missing script or subprocess error and assert state file is not written.,Advance state only after successful recompute while keeping hook exit zero for developer ergonomics.,Fixed,.venv/bin/pytest src/tests/test_quality_hook.py -q |
| AUDIT-011,CI Gate,PR docs workflow,docs-check dashboard tracker mismatch,.github/workflows/test.yml,No-mistakes review found PR docs-check omitted src/tests/test_dashboard_user_story_tracker.py while preflight included it,Medium,PR CI docs-check and local preflight should run the same public docs tracker tests.,no-mistakes review gate,Retested Pass,docs-check workflow split from preflight tracker list,Dashboard tracker regressions could pass PR docs-check even when local preflight would catch them.,Compare .github/workflows/test.yml docs-check command to scripts.ci_preflight.PUBLIC_DOCS_TRACKER_TESTS,Add dashboard tracker test to docs-check and add regression comparing workflow command to preflight constant.,Fixed,gh pr checks 232 plus no-mistakes run 01KWRJYRGY8AEWBCVNM408MV20,PASS: PR #232 checks passed and no-mistakes completed checks-passed.,2026-07-05,Codex,Reviewed by no-mistakes review,Ponytail: align duplicated gate list and add small drift regression.,Closed; continue repo-wide discovery. |
| AUDIT-012,UX Bug,Dashboard wiki,pack mode local overlays and entity typing,src/ctx/monitor/services/wiki.py; src/ctx/monitor/pages/wiki_entity.py,parallel dashboard worker found pack mode hid local-only Manage-created pages and untyped non-skill pages loaded skill metadata,Medium,Wiki pack mode should merge pack pages with safe local-only pages and infer entity type from path when page frontmatter omits type.,parallel worker repro + focused pytest,Retested Pass,Pack mode returned only pack pages and untyped agent pages were rendered without agent sidecar context,Create physical manage-created skill beside wiki pack and render untyped agent path; before fix local page was absent and sidecar type was None,Merge pack rows with non-packed local file rows; read local files when pack lacks the relpath; resolve wiki entity type from frontmatter or path; fix subgraph drag guard selector.,Overlay pack pages with safe local rows and resolve wiki type before sidecar/subgraph rendering.,Fixed,.venv/bin/pytest targeted monitor tests,PASS: 3 focused monitor tests pass for pack merge local page untyped agent type and subgraph selector.,2026-07-05,Codex,Reviewed by local tests + static gates,Ponytail: merge only local rows not shadowed by pack relpaths and keep pack override semantics.,Closed; continue repo-wide discovery. |
| AUDIT-013,Tracker Hygiene,Canonical bug tracker,fixed-row next_action evidence,qa/bug_smoke_status.csv,local tracker audit found fixed rows still pointing at already completed PR or backlog actions,Low,Fixed and retested tracker rows should not tell future agents to rerun already completed PR or backlog actions.,manual tracker audit + csv parser validation,Retested Pass,Fixed rows included stale next_action values such as Run PR CI after commit and Continue dashboard/wiki backlog after PRs were merged,"Canonical tracker next_action text was stale for closed rows, making status summaries look unfinished.",Parse qa/bug_smoke_status.csv and inspect fixed rows whose next_action is not a closed-state instruction.,Normalize fixed-row next_action values to a closed discovery handoff and document this tracker cleanup row.,Fixed,.venv/bin/pytest src/tests/test_bug_smoke_tracker.py -q |
| AUDIT-014,Tracker Hygiene,Feature status ledger,DIST-004 supporting tracker status,docs/qa/feature-user-story-status.csv; qa/feature_status.csv,parallel docs audit found docs tracker status Needs Fix while canonical row was Blocked/Human Decision,Low,Supporting feature tracker and canonical feature status should agree on human-owned blocked release states.,parallel docs tracker audit + csv parser validation,Retested Pass,docs tracker DIST-004 status drift from canonical status,Supporting docs tracker kept historical Needs Fix wording for human-owned HF token rotation.,Compare DIST-004 in docs/qa/feature-user-story-status.csv and qa/feature_status.csv before fix.,Align supporting DIST-004 status with canonical Blocked/Human Decision and remove the override contract.,Fixed,.venv/bin/pytest src/tests/test_feature_user_story_tracker.py -q |
| AUDIT-015,CI Gate,Public docs tracker,docs and publish workflows,.github/workflows/docs.yml; .github/workflows/publish.yml; src/tests/test_feature_user_story_tracker.py,parallel docs audit found docs and publish workflows ran only two of four public tracker suites,Medium,Public docs and release workflows should run the same four tracker suites as PR docs and local preflight.,parallel docs workflow audit + regression test,Retested Pass,docs/publish tracker commands omitted bug-smoke and toolbox suites,Docs deploy and publish canaries could miss bug tracker or toolbox tracker regressions.,Inspect workflow pytest commands and compare to PUBLIC_DOCS_TRACKER_TESTS.,Add bug-smoke and toolbox tracker suites to docs and publish workflow commands and enforce by regression.,Fixed,.venv/bin/pytest src/tests/test_feature_user_story_tracker.py src/tests/test_ci_preflight.py -q |
| AUDIT-016,CLI Bug,MCP ingest,malformed JSONL and checkpoint recovery,src/mcp_ingest.py; src/tests/test_mcp_ingest.py,Aquinas worker and local audit found malformed JSONL/non-object records were warned or skipped and corrupt scalar/nested checkpoint member shapes could poison checkpoint recovery.,Medium,"Malformed JSONL and non-object JSON should be current-run failures with a nonzero dry-run exit, while corrupt checkpoint scalar/nested member shapes reset fresh.",parallel worker audit + focused pytest,Retested Pass,malformed JSONL warned or skipped and corrupt checkpoint shapes could survive recovery before fix,MCP ingest could under-report malformed inputs and recover badly from corrupt checkpoint member shapes.,Run ctx-mcp-ingest dry-run against malformed JSONL/non-object JSON and corrupt checkpoint scalar/nested member shapes before the fix.,"Record malformed input as current-run failures, return nonzero in dry-run, and reset corrupt checkpoint member shapes fresh.",Fixed,.venv/bin/pytest src/tests/test_mcp_ingest.py -q |
| AUDIT-017,Telemetry,Runtime lifecycle,token usage metric span correlation,src/ctx/adapters/generic/runtime_lifecycle.py; src/tests/test_harness_ctx_core.py,Planck trace-propagation audit found lifecycle token-usage metrics were emitted before the lifecycle telemetry span.,Medium,Lifecycle token-usage metrics should share the trace/span of the lifecycle event they describe.,parallel trace audit + focused pytest,Retested Pass,usage metric point could correlate to the parent CLI span instead of the lifecycle event span before fix,Runtime lifecycle usage metrics were not emitted inside the lifecycle event span.,Record token_usage through ctx__mark_entity_used and compare metric trace/span attributes with the lifecycle event before the fix.,Move usage metric recording into the existing lifecycle telemetry span while preserving exact/estimated/unavailable attribution.,Fixed,.venv/bin/pytest src/tests/test_harness_ctx_core.py -q |
| AUDIT-018,Telemetry,CLI runtime,ctx run/resume early failure trace metadata,src/ctx/cli/run.py; src/tests/test_harness_cli_run.py,Rawls worker and Planck audit found ctx run/resume early failure paths could exit without failed CLI telemetry or previous trace correlation.,Medium,ctx run/resume should emit failed CLI telemetry inside a span for early failures and resume should include previous trace correlation when available.,parallel trace audit + focused pytest,Retested Pass,early validation/planner/session-create/session-load/session-attach/missing-model failures lacked complete CLI telemetry before fix,CLI early failures and resume flows had incomplete trace metadata.,Trigger ctx run validation/planner/session-create failures or ctx resume load/attach/missing-model failures before the fix and inspect ctx.cli.run/ctx.cli.resume telemetry.,"Wrap early failure exits in telemetry spans, hash/redact error payloads, persist initial_trace_id, and emit ctx.session.previous_trace_id on resume.",Fixed,.venv/bin/pytest src/tests/test_harness_cli_run.py -q |
| AUDIT-019,Telemetry,MCP runtime,external MCP tool call trace propagation,src/ctx/adapters/generic/tools/mcp_router.py; src/ctx/mcp_server/server.py; src/ctx/telemetry/__init__.py; src/tests/test_mcp_router.py; src/tests/test_enterprise_telemetry.py,Jason worker and Planck audit found external MCP tool calls lacked client-side telemetry and spawned server spans did not inherit the caller trace.,High,External MCP tool calls should emit ctx.mcp.external_tool_call telemetry and propagate W3C traceparent metadata so server spans parent to the client request trace.,parallel trace audit + focused pytest,Retested Pass,MCP JSON-RPC calls lacked traceparent metadata and client-side external-call events before fix,External MCP calls broke end-to-end trace correlation across the router/server boundary.,Call an external MCP tool inside an active telemetry span before the fix and inspect request _meta plus server span parentage.,"Emit safe external-call telemetry, inject _meta.traceparent and hashed session correlation, parse traceparent on the MCP server, and parent server spans to the caller trace.",Fixed,.venv/bin/pytest src/tests/test_mcp_router.py src/tests/test_enterprise_telemetry.py -q |
| AUDIT-020,Tracker Hygiene,Canonical feature tracker,stale post-merge validation prose,qa/feature_status.csv; docs/qa/feature-user-story-status.csv,Repo-wide audit found merged rows still using obsolete no-mistakes queue wording and old test-inventory prose after PR #238 and PR #239 merged.,Low,Canonical trackers should reflect current merged validation state and current README/docs test inventory without stale pending-gate prose.,manual tracker audit + rg/csv scan,Retested Pass,Rows referenced old gate-pending wording and old inventory after no-mistakes/CI/merge had completed.,Feature trackers had stale post-merge validation and inventory prose.,Scan qa/feature_status.csv and docs/qa/feature-user-story-status.csv for obsolete no-mistakes queue wording or old test-inventory references after PR #238/#239.,"Normalize affected validation/review notes to merged no-mistakes runs and current 4,473 inventory; keep human-owned HF token blocker status unchanged.",Fixed,.venv/bin/pytest src/tests/test_bug_smoke_tracker.py src/tests/test_feature_user_story_tracker.py -q |
| AUDIT-021,Privacy,MCP router,omitted resource URI summary,src/ctx/adapters/generic/tools/mcp_router.py; src/tests/test_mcp_router.py,Runtime audit found _flatten_content emitted raw MCP resource URIs in omitted resource summaries.,High,Omitted MCP resource blocks should not expose local paths or private URIs to model-facing tool output.,parallel runtime audit + focused pytest,Retested Pass,MCP resource summaries included raw file/private URI strings before fix.,Omitted MCP resources leaked resource identifiers in flattened tool output.,Call _flatten_content with a resource block whose URI is a private file URL before the fix.,Replace raw URI summaries with a stable omitted-resource marker and assert private URI text is absent.,Fixed,.venv/bin/python -m pytest src/tests/test_mcp_router.py::TestFlattenContent -q |
| AUDIT-022,CLI Reliability,MCP ingest,JSONL replay preloads file,src/mcp_ingest.py; src/tests/test_mcp_ingest.py,Runtime audit found _iter_records_from used read_text().splitlines() despite the streaming JSONL contract.,Medium,ctx-mcp-ingest |
| AUDIT-023,CLI UX,MCP ingest, |
| AUDIT-024,Security,Dashboard docs,entity-encoded active URL attributes,src/ctx/dashboard_docs.py; src/tests/test_security_hardening.py,Dashboard audit found entity-encoded active schemes survived docs sanitization in URL-bearing attributes.,High,Docs HTML sanitization should neutralize active URL schemes after entity decoding and control-character stripping.,parallel dashboard audit + focused pytest,Retested Pass,Entity-encoded javascript and data HTML schemes survived in href src xlink:href or formaction before fix.,Docs sanitization missed encoded active URL schemes in URL-bearing attributes.,Render sanitized docs HTML with entity-encoded active schemes in href src xlink:href and formaction before the fix.,Decode and normalize URL-bearing attribute values before active-scheme checks and cover the four attributes.,Fixed,.venv/bin/python -m pytest src/tests/test_security_hardening.py -q |
| AUDIT-025,API Correctness,Monitor readonly API,HTML 404 for missing skill sidecar,src/ctx/monitor/api/readonly.py; src/tests/test_ctx_monitor.py,Dashboard audit found /api/skill/<slug>.json returned an HTML 404 body when the sidecar was missing.,Medium,JSON API routes should return JSON error payloads for missing resources.,parallel dashboard audit + focused pytest,Retested Pass,Missing skill sidecar API response had text/html content before fix.,Readonly skill API returned HTML for a JSON endpoint failure.,GET /api/skill/missing-sidecar.json before the fix and inspect status content type and body.,Return a JSON detail payload with 404 status for missing sidecars and add monitor regression coverage.,Fixed,.venv/bin/python -m pytest src/tests/test_ctx_monitor.py::test_skill_sidecar_api_missing_sidecar_returns_json_404 src/tests/test_ctx_monitor.py::test_skill_sidecar_api_reads_typed_sidecar -q,PASS: focused monitor API sidecar tests reported 2 passed.,2026-07-05,Codex,Reviewed by worker tests + local static audit,Ponytail: route-local JSON error only; no dispatcher refactor.,Closed; continue repo-wide discovery. |
| AUDIT-026,Privacy,Core wiki tool,absolute wiki path in model-facing output,src/ctx/adapters/generic/ctx_core_tools.py; src/tests/test_harness_ctx_core.py,Runtime audit found ctx__wiki_get returned absolute wiki filesystem paths in success and missing-page outputs.,High,Model-facing wiki fetch results should expose wiki-relative paths or candidate labels without host absolute paths.,parallel runtime audit + focused pytest,Retested Pass,ctx__wiki_get success path and looked_in candidates included host absolute wiki paths before fix.,Wiki fetch tool leaked local filesystem layout into persisted tool results.,Call ctx__wiki_get for an existing page or missing slug under a temp wiki before the fix and inspect JSON output.,Return wiki-relative entity paths for success and missing candidates and assert temp absolute paths are absent.,Fixed,.venv/bin/python -m pytest src/tests/test_harness_ctx_core.py::TestWikiGet -q,PASS: TestWikiGet reported 6 passed with absolute-path privacy regressions.,2026-07-05,Codex,Reviewed by worker tests + local static audit,Ponytail: replace host paths with existing wiki-relative entity paths only.,Closed; continue repo-wide discovery. |
| AUDIT-027,CLI Reliability,MCP add,JSONL batch preload,src/mcp_add.py; src/tests/test_mcp_add.py,Local static probe found ctx-mcp-add |
| AUDIT-028,CLI UX,MCP install,installed dry-run manifest reconciliation,src/ctx/adapters/claude_code/install/mcp_install.py; src/tests/test_mcp_install.py,Hegel runtime audit found dry-run already-installed branch called record_install before dry-run guard.,Medium,ctx-mcp-install dry-run should not mutate manifest state.,parallel runtime audit + focused pytest,Retested Pass,Already-installed dry-run recorded a manifest load entry before fix.,Dry-run install changed local manifest for an already installed MCP.,Call install_mcp on installed entity with dry_run=True and inspect manifest load before fix.,Skip manifest reconciliation when dry_run is true while preserving normal already-installed reconciliation.,Fixed,.venv/bin/python -m pytest src/tests/test_mcp_install.py -q |
| AUDIT-029,Privacy,Monitor API,entity detail absolute path,src/ctx/monitor/services/wiki.py; src/tests/test_ctx_monitor.py,Turing monitor audit found /api/entity/<slug>.json returned absolute wiki filesystem paths.,Medium,Monitor entity detail JSON should expose wiki-relative paths and no host root.,parallel monitor audit + focused pytest,Retested Pass,Entity detail payload path contained the temp wiki absolute path before fix.,Monitor API leaked local wiki filesystem layout to JSON clients.,GET /api/entity/python-patterns.json under a temp wiki and inspect detail path before fix.,Return wiki_relative_path for entity_detail and assert the host path is absent.,Fixed,.venv/bin/python -m pytest src/tests/test_ctx_monitor.py::test_entity_search_and_detail_apis_support_edit_flow -q |
| AUDIT-030,CI Gate,Hugging Face sync,card-only classifier stale tracked files,.github/workflows/huggingface-sync.yml; src/tests/test_huggingface_sync.py,Lagrange CI audit found src/tests and .github changes routed to |
| AUDIT-031,CI Gate,No-test policy,maintainer script contract coverage,scripts/ci_no_test_policy.py; src/tests/test_ci_classifier.py,Lagrange CI audit found release sync and artifact maintainer scripts were not contract files for no-test policy.,High,Changes to release sync or artifact maintainer scripts should require matching tests.,parallel CI audit + focused pytest,Retested Pass,scripts/sync_huggingface.py and graph artifact scripts passed no-test policy without tests before fix.,Release and artifact script changes could bypass test-change requirements.,Evaluate no-test policy with scripts/sync_huggingface.py and graph artifact scripts before fix.,Add named maintainer scripts to contract file set and cover them in classifier tests.,Fixed,.venv/bin/python -m pytest src/tests/test_huggingface_sync.py src/tests/test_ci_classifier.py -q |
| AUDIT-032,Privacy,Graph artifacts,host paths in public wiki archives,graph/wiki-graph.tar.gz; graph/wiki-graph-runtime.tar.gz; scripts/pack_full_wiki_tar.py; src/validate_graph_artifacts.py,Turing graph audit found shipped wiki archives contained C:\\Users and /Users host paths in log and packed markdown pages.,High,Public graph and runtime wiki archives should omit generated local catalogs and redact host-user paths from markdown payloads.,parallel graph audit + artifact validator,Retested Pass,Top-level log and catalog pages plus packed converted references contained host paths before fix.,Published graph artifacts leaked local filesystem paths.,Scan wiki graph tarballs and wiki-pack pages for C:\\Users C:/Users or /Users before fix.,Omit generated local markdown catalogs redact host-user paths during repack and enforce strict archive markdown validation.,Fixed,.venv/bin/python src/validate_graph_artifacts.py |
| AUDIT-033,CLI Safety,Backup prune,legacy keep dry-run deletion,src/backup_mirror.py; src/tests/test_backup_mirror.py,Hegel runtime audit found prune |
| AUDIT-034,Security,Backup config,unsafe top_files entries,src/backup_config.py; src/tests/test_backup_config.py,Hegel runtime audit found top_files accepted traversal absolute drive and UNC paths.,High,backup top_files should be top-level filenames only and should never escape the configured home root.,parallel runtime audit + focused pytest,Retested Pass,top_files accepted ../../.ssh/id_rsa and absolute paths before fix.,Backup mirror configuration could include files outside the intended top-level home scope.,Load backup config with traversal absolute drive and UNC top_files values before fix.,Validate top_files as non-empty top-level filenames before ALWAYS_EXCLUDE filtering.,Fixed,.venv/bin/python -m pytest src/tests/test_backup_config.py src/tests/test_backup_mirror.py src/tests/test_harness_cli_run.py -q |
| AUDIT-035,Security,ctx run MCP inline specs,inline secret argv persistence,src/ctx/cli/run.py; src/tests/test_harness_cli_run.py,Hegel runtime audit found |
| AUDIT-036,Security,Wiki queue artifact promotion,arbitrary target_path overwrite,src/ctx/core/wiki/wiki_queue_worker.py; src/tests/test_wiki_queue_worker.py,Turing graph audit found queued artifact promotion trusted payload target_path and could replace arbitrary files.,High,Queued artifact promotion should only promote known graph and wiki artifact targets from sibling staged files.,parallel graph audit + focused pytest,Retested Pass,ARTIFACT_PROMOTION_JOB payload could promote /tmp/staged to /tmp/outside before fix.,Queue worker could overwrite files outside allowed graph artifact locations.,Enqueue artifact promotion with outside target_path and inspect overwritten outside file before fix.,Resolve paths validate exact allowed target names and require staged_path to equal target sibling .staged before promotion.,Fixed,.venv/bin/python -m pytest src/tests/test_wiki_queue_worker.py src/tests/test_wiki_queue.py src/tests/test_wiki_queue_producers.py src/tests/test_artifact_promotion.py -q |
| AUDIT-037,CI Gate,Windows pytest matrix,no-mistakes POSIX shell wrapper tests,src/tests/test_no_mistakes_env.py; .github/workflows/test.yml; scripts/ci_required.py,Post-merge Tests run 28808683083 failed only on windows-latest py3.11 and py3.12 with WSL bash and no installed distributions.,High,CI shell-wrapper tests should run only where their POSIX contract is available and CI workflow changes should run the full OS pytest matrix before merge.,GitHub Actions log audit + focused regression tests,Retested Pass,Windows pytest executed POSIX no-mistakes shell-wrapper tests through a bash command that resolved to WSL without a distro.,Post-merge main CI failed after PR checks were green because pull_request skipped the full test matrix and CI required allowed that skip unconditionally.,Inspect run 28808683083 failed logs and compare pull_request test job condition to push matrix behavior.,Skip POSIX-only no-mistakes shell-wrapper tests on Windows and require the full pytest OS matrix for PRs that change CI workflow files.,Fixed,.venv/bin/python -m pytest src/tests/test_no_mistakes_env.py src/tests/test_ci_classifier.py -q |
| AUDIT-038,CI Gate,No-test policy,no-tests-needed label bypass,scripts/ci_no_test_policy.py; .github/workflows/test.yml; src/tests/test_ci_classifier.py,Workbench QA pair and CTO probe showed the no-tests-needed label exemption is implemented but missing focused test coverage and workflow exemption prose.,Medium,No-test policy exemptions should be explicit in workflow prose and covered by regression tests.,agent-reviewer workbench plus local policy probe,Retested Pass,2026-07-07,No-test label bypass is not documented in the workflow exemption comment and has no focused regression.,Call evaluate_policy for scripts/ci_classifier.py with no test file and the no-tests-needed label; it passes while rg finds no no-tests-needed assertion in focused tests.,Add focused regression for the label exemption and update the workflow policy comment.,Fixed,.venv/bin/python -m pytest src/tests/test_ci_classifier.py src/tests/test_ci_preflight.py -q |
| AUDIT-039,API Contract,Runtime/API public exports,documented adapter helpers not exported,src/ctx/api.py; src/ctx/__init__.py; src/tests/test_public_api.py,Runtime/API pair and CTO probe showed ctx_core_tool_names and recommendation_graph exist in ctx.api but are absent from ctx.api.__all__ and top-level ctx.,Medium,Public helper names documented as adapter API should have an explicit export contract or docs should stop presenting them as public imports.,agent-reviewer workbench plus import/export probe,Retested Pass,2026-07-07,Documented adapter helpers are not exported by ctx.api.__all__ or ctx.__all__.,Run PYTHONPATH=src import probe for ctx_core_tool_names and recommendation_graph; api_attr is true while api_all ctx_attr and ctx_all are false.,Either export the helpers with tests or narrow the public API documentation.,Fixed,.venv/bin/python -m pytest src/tests/test_public_api.py src/tests/test_loopflow_adapter.py -q |
| AUDIT-040,Privacy,MCP lifecycle output,absolute events_path in tool output,src/ctx/adapters/generic/runtime_lifecycle.py; src/ctx/adapters/generic/ctx_core_tools.py; src/ctx/mcp_server/server.py,Runtime/API pair and CTO probe showed ctx__load_entity returns an absolute events_path through the generic toolbox lifecycle dispatch.,Medium,MCP-facing lifecycle tool output should not expose local filesystem paths unless the caller explicitly asks for a local diagnostics field.,agent-reviewer workbench plus lifecycle dispatch probe,Retested Pass,2026-07-07,ctx__load_entity records successfully but returns an absolute events_path in model-facing JSON.,Dispatch ToolCall id 1 name ctx__load_entity through CtxCoreToolbox with temp lifecycle_dir and inspect payload events_path; it is absolute and exists.,Remove events_path from lifecycle tool responses while preserving local append-only recording.,Fixed,.venv/bin/python -m pytest src/tests/test_harness_ctx_core.py::TestRuntimeLifecycle src/tests/test_mcp_server.py -q |
| AUDIT-041,Tracker Hygiene,Feature tracker duplicate route rows,blank parent linkage for duplicate dashboard API routes,qa/feature_status.csv,Feature Mapper pair and CTO CSV probe found 14 same surface plus entrypoint groups with all parent_feature_id blank including API and DASH-API route rows.,Medium,Duplicate canonical feature rows for the same route should be parent-linked or explicitly allowed so reviewers do not update stale parallel rows.,agent-reviewer workbench plus CSV duplicate probe,Retested Pass,2026-07-07,Dashboard API route coverage appears as parallel canonical rows instead of parent-linked source coverage.,Parse qa/feature_status.csv group by lowercased surface and entrypoint_or_route and filter groups with all blank parent_feature_id; observe 14 groups.,Link dashboard-specific rows to canonical API parents or add a tracker hygiene allowlist for intentional duplicates.,Fixed,.venv/bin/python -m pytest src/tests/test_feature_user_story_tracker.py -q |
| AUDIT-042,Tracker Hygiene,Harness CLI safety coverage,missing feature tracking for opt-in execution flags,qa/feature_status.csv; src/harness_install.py; docs/entity-onboarding.md; src/tests/test_harness_install.py,Feature Mapper pair found harness install safety flags in source docs and tests but not in qa/feature_status.csv.,High,Safety-critical harness install flags should be explicitly tracked in user-story coverage.,agent-reviewer workbench plus rg coverage probe,Retested Pass,2026-07-07,ctx-harness-install approve-commands run-verify and keep-files behavior is not named in the canonical feature tracker.,Run rg for |
| AUDIT-043,Tracker Hygiene,Public docs tracker evidence,shared build evidence for per-page DOC-NAV rows,qa/feature_status.csv; src/tests/test_feature_user_story_tracker.py,Feature Mapper pair and CTO CSV probe showed all 27 DOC-NAV rows share the same mkdocs/nav evidence while promising page-specific behavior.,Medium,Per-page docs feature rows should either have page-specific evidence or be collapsed into one navigation/build feature row.,agent-reviewer workbench plus DOC-NAV CSV probe,Retested Pass,2026-07-07,DOC-NAV rows have unique stories but identical renderability evidence.,Parse qa/feature_status.csv for feature_id starting DOC-NAV; observe 27 rows with one unique evidence string and one unique test command string.,Collapse DOC-NAV rows or add page-specific content anchors and checks for each promised behavior.,Fixed,.venv/bin/python -m pytest src/tests/test_feature_user_story_tracker.py && .venv/bin/python -m mkdocs build |
| AUDIT-044,Permission Model,Loopflow MCP handoff,no read-only subgroup scope for ctx MCP tools,src/ctx/adapters/loopflow.py; src/ctx/adapters/generic/ctx_core_tools.py; docs/harness/loopflow-adapter-demo.md,Loopflow pair and CTO probe showed ctx-mcp-server appears only when all capability groups are granted and then includes lifecycle write tools.,Medium,Loopflow should be able to request read-only ctx recommendation/wiki MCP tools without also granting lifecycle write tools.,agent-reviewer workbench plus loopflow permission probe,Retested Pass,2026-07-07,Loopflow MCP handoff is all-or-nothing and all grants expose lifecycle tools such as ctx__load_entity and ctx__record_validation.,Monkeypatch ctx_core_tool_names then call recommend_for_loop for mcps only skills+agents+mcps and all grants; only all grants returns ctx-mcp-server with lifecycle tools.,Split read-only recommendation/wiki tools from lifecycle/session-write tools behind explicit permission scope.,Fixed,.venv/bin/python -m pytest src/tests/test_loopflow_adapter.py src/tests/test_mcp_server.py -q |
| AUDIT-045,Permission Model,Loopflow harness ownership,implicit harness enablement from model metadata,src/ctx/adapters/loopflow.py; docs/harness/loopflow-adapter-demo.md,Loopflow pair and CTO probe showed own_llm false still returns harness recommendations when model_provider or model is supplied.,Medium,Harness recommendations should require explicit user model ownership consent rather than inferring ownership from ranking metadata.,agent-reviewer workbench plus loopflow harness probe,Retested Pass,2026-07-07,Passing model_provider or model unlocks dry-run harness recommendations even when own_llm is false.,Monkeypatch recommend_harnesses then call recommend_for_loop with permissions harnesses and own_llm false plus model_provider or model; harness_install is returned.,Make own_llm or explicit model_ownership authoritative and treat model fields as ranking metadata unless consent is set.,Fixed,.venv/bin/python -m pytest src/tests/test_loopflow_adapter.py -q |
| AUDIT-046,DSL Feature Gap,Loopflow .loop permissions,DSL cannot grant ctx capability groups,src/ctx/adapters/loopflow.py; docs/harness/loopflow-adapter-demo.md,Loopflow pair and CTO parse probe showed parse_loop_file ignores permissions and ctx permissions lines despite the owner ask for .loop capability grants.,Medium,Loopflow DSL files should be able to express ctx capability grants if the integration proposal promises DSL-native subgroup selection.,agent-reviewer workbench plus parse_loop_file probe,Retested Pass,2026-07-07,.loop files cannot grant capability groups today because parse_loop_file returns only source goal look_at and done_when fields.,Parse a temp .loop file containing permissions and ctx permissions lines; returned dict has no permissions field.,Add a small documented permission syntax and precedence between DSL grants and CLI/API grants.,Fixed,.venv/bin/python -m pytest src/tests/test_loopflow_adapter.py -q |
| AUDIT-047,Privacy,Telemetry redaction,raw host paths in arbitrary payload string values,src/ctx/telemetry/__init__.py; src/tests/test_enterprise_telemetry.py; docs/telemetry.md,Telemetry pair and CTO repro showed local_redacted hashes sensitive-looking keys but leaves a /Users path inside a safe_note string in spool and local export.,High,Local-redacted telemetry should not persist raw host paths inside arbitrary string payload values.,agent-reviewer workbench plus temp-spool telemetry probe,Retested Pass,2026-07-07,Payload value text can carry raw host paths into local telemetry and exported local_jsonl records.,Record event with payload safe_note containing /Users/example/private-repo/app.py then export to local_jsonl; raw and export both contain the path.,Hash local host path substrings in arbitrary payload string values and add spool/local export regression coverage.,Fixed,.venv/bin/python -m pytest src/tests/test_enterprise_telemetry.py -q,PASS: 67 enterprise telemetry tests passed; arbitrary safe_note and nested strings now contain path_hash markers and no raw host paths.,2026-07-07,Codex,Reviewed by Telemetry actor/critic pair + local tests,Exporter-boundary sanitization keeps local JSONL and OTLP payloads privacy-safe.,Closed; continue Phase 2 after approval. |
| AUDIT-048,Privacy,Telemetry OTLP export,legacy raw payload exported remotely,src/ctx/telemetry/__init__.py; src/tests/test_enterprise_telemetry.py; docs/telemetry.md,Telemetry pair and CTO repro showed OTLP export trusts an existing local_redacted record with raw payload query and path values.,High,Remote exporters should re-sanitize legacy or manually repaired local telemetry before sending payload attributes.,agent-reviewer workbench plus monkeypatched OTLP export probe,Retested Pass,2026-07-07,Legacy local event payloads with raw query and path are serialized into OTLP attributes.,Write a TelemetryEvent JSONL record with privacy_mode local_redacted and raw payload query/path then monkeypatch _post_otlp_http and export_events; captured payload contains both values.,Re-sanitize event payloads and metric attributes at exporter boundary before local_jsonl or OTLP serialization.,Fixed,.venv/bin/python -m pytest src/tests/test_enterprise_telemetry.py -q,PASS: 67 enterprise telemetry tests passed; legacy raw event payload and metric attributes are re-sanitized before OTLP export.,2026-07-07,Codex,Reviewed by Telemetry actor/critic pair + local tests,Exporter boundary now protects legacy local repairs and older raw records before remote send.,Closed; continue Phase 2 after approval. |
| AUDIT-049,Telemetry Export,Continuous checkpointing,backlog skipped after continuous export,src/ctx/telemetry/__init__.py; src/tests/test_enterprise_telemetry.py,Telemetry pair and CTO repro showed continuous event and metric export advances checkpoint to the newest record while older backlog remains unexported.,High,Enabling continuous export after a local backlog should not checkpoint past older unexported event or metric records.,agent-reviewer workbench plus event and metric checkpoint probes,Retested Pass,2026-07-07,Continuous export of the second record causes later batch export to skip the first event and first metric.,Record first event/metric with export disabled then second with export enabled and run batch export; later result is noop and first id is missing from exported JSONL.,Continuous export now drains pending event and metric spool ranges before checkpointing newest exported record.,Fixed,.venv/bin/python -m pytest src/tests/test_enterprise_telemetry.py -q,PASS: 67 enterprise telemetry tests passed; continuous event and metric export writes backlog in order checkpoints newest record and later batch export is noop.,2026-07-07,Codex,Reviewed by Telemetry actor/critic pair + local tests,Events and metrics now reuse pending-spool checkpoint semantics for continuous export.,Closed; continue Phase 2 after approval. |
| AUDIT-050,UX,Dashboard home audit links,entity type omitted from wiki href,src/ctx/monitor/pages/home.py; src/ctx/monitor/compat.py; src/tests/test_ctx_monitor.py,Dashboard UX pair and CTO render probe showed Home latest audit rows link to /wiki/<slug> without preserving subject_type.,Medium,Dashboard audit links should include entity type when available so duplicate slugs navigate to the intended wiki entity.,agent-reviewer workbench plus render_home probe,Retested Pass,2026-07-07,Home audit links drop subject_type for agent MCP and harness rows.,Render home with recent_audit subject_type agent and subject shared-slug; output contains /wiki/shared-slug and not /wiki/shared-slug?type=agent.,Build typed audit hrefs using subject_type or event prefix and add focused dashboard test.,Fixed,.venv/bin/python -m pytest src/tests/test_ctx_monitor.py src/tests/test_dashboard_user_story_tracker.py -q |
| AUDIT-051,Graph Artifacts,Promotion metadata,stale current hash and size for graph tarballs,graph/wiki-graph.tar.gz.promotion.json; graph/wiki-graph-runtime.tar.gz.promotion.json; src/validate_graph_artifacts.py,Graph/Wiki pair and CTO artifact probe showed hydrated graph tarballs match stats but sibling promotion current metadata has stale size and sha256 values.,Medium,Promotion metadata should match current hydrated graph artifacts or validation should flag stale current metadata.,agent-reviewer workbench plus artifact hash probe,Retested Pass,2026-07-07,Graph promotion JSON current entries do not match actual wiki graph tarball size and sha256.,Compare actual size and sha256 for graph/wiki-graph.tar.gz and graph/wiki-graph-runtime.tar.gz to sibling promotion JSON current fields; both mismatch.,Refresh promotion metadata and add validator coverage for promotion current metadata drift.,Fixed,.venv/bin/python src/validate_graph_artifacts.py |
| AUDIT-052,Security,Wiki pack manifest,non-hex checksum accepted,src/ctx/core/wiki/wiki_packs.py; src/ctx/core/graph/graph_packs.py; src/tests/test_wiki_packs.py,Graph/Wiki pair and CTO manifest probe showed wiki pack checksums accept any 64-character string while graph packs require SHA-256 hex shape.,Low,Wiki pack manifest checksum validation should reject non-hex digest strings consistently with graph pack manifests.,agent-reviewer workbench plus manifest parser probe,Retested Pass,2026-07-07,WikiPackManifest accepts pages.jsonl checksum z repeated 64 times.,Call WikiPackManifest.from_mapping with a valid base manifest and checksums pages.jsonl z*64; it accepts while GraphPackManifest rejects graph.json z*64.,Use SHA-256 hex regex in wiki pack checksum validation and add regression test.,Fixed,.venv/bin/python -m pytest src/tests/test_wiki_packs.py src/tests/test_graph_packs.py -q,PASS: WikiPackManifest rejects non-hex SHA-256 checksums; wiki/graph pack tests passed; combined focused integration suite -> 487 passed.,2026-07-08,Codex,Reviewed by workbench agent pair + integration retest,Fixed in parallel backlog batch and retested with focused lane checks plus combined integration pytest.,Closed; keep covered by local-fast/no-mistakes gates. |
| AUDIT-053,Docs,Dashboard route reference,missing supported routes and APIs,docs/dashboard.md; src/ctx/monitor/routes.py; src/tests/test_ctx_monitor.py,Docs/Runbook pair and CTO route diff showed dashboard docs omit /skillspector and APIs for skillspector grades and sidecars even though routes expose them.,Medium,Dashboard reference docs should list supported navigation routes and API routes that operators can use.,agent-reviewer workbench plus route-doc diff,Retested Pass,2026-07-07,Dashboard route reference omits SkillSpector and several supported JSON API routes.,Compare docs/dashboard.md text against ctx.monitor.routes; /skillspector /api/skillspector.json /api/grades.json and /api/sidecars.json are in routes but absent from docs.,Update docs/dashboard.md route and API reference and keep tracker tests passing.,Fixed,.venv/bin/python -m pytest src/tests/test_ctx_monitor.py src/tests/test_dashboard_user_story_tracker.py -q && .venv/bin/python -m mkdocs build |
| AUDIT-054,Docs,Knowledge graph pre-ship gates,docs say two gates but list three shipped gates,docs/knowledge-graph.md; pyproject.toml; src/tests/test_package_scaffold.py,Docs/Runbook pair and CTO help probes showed docs/knowledge-graph.md says two advisory pre-ship gates while pyproject exposes three related gate commands.,Low,Knowledge graph runbook wording should match the shipped pre-ship gate commands.,agent-reviewer workbench plus CLI help probes,Retested Pass,2026-07-07,Knowledge graph docs say two advisory gates while ctx-dedup-check ctx-tag-backfill and ctx-skillspector-audit are all shipped commands.,Read docs/knowledge-graph.md pre-ship gates section and run help for all three console modules; all three commands print usage.,Change wording to three advisory gates or split SkillSpector into a separate release audit section.,Fixed,.venv/bin/python -m mkdocs build |
| AUDIT-055,Tracker Hygiene,Canonical feature tracker,DIST-003 current inventory evidence,qa/feature_status.csv; docs/qa/feature-user-story-status.csv; README.md,README and docs report 4641 tests while DIST-003 still claimed the current inventory was 4473.,Low,Tracker prose that claims a current test inventory should match the generated README inventory.,local CSV and README cross-check,Retested Pass,2026-07-11,DIST-003 carried stale current-inventory evidence after later test additions.,Compare the README Tests badge with current-inventory claims in both feature trackers.,Update both DIST-003 rows and add a regression that parses current-inventory claims against the README badge.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-056,Tracker Hygiene,Canonical feature tracker,B-API-005 nonexistent source evidence,qa/feature_status.csv; src/ctx/api.py; src/ctx/__init__.py; src/tests/test_public_api.py,B-API-005 cited missing src/ctx/identity.py and omitted its direct public API behavior tests.,Medium,Canonical feature evidence should point to existing implementation and test paths.,canonical CSV path probe plus focused public API tests,Retested Pass,2026-07-11,The catalog API row had stale source attribution and indirect-only test evidence.,Parse canonical source_evidence and test_command_or_steps paths then verify each non-glob path exists.,Replace the stale path with actual API/export modules add direct public API tests and enforce evidence-path existence.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-057,Test Gap,Agent mirror,ctx-agent-mirror behavior,src/agent_mirror.py; src/tests/test_agent_mirror.py,Full unit coverage reports 0 of 144 agent_mirror statements exercised and no dedicated test module exists.,High,Agent mirror behavior should be protected by automated mirror unchanged dry-run prune filtering and error-exit regressions.,coverage JSON plus test-reference scan,Retested Pass,2026-07-11,Only packaging checks and a historical temp smoke supported the prior canonical Tested Pass claim.,Run the non-browser unit suite with coverage and search src/tests for agent_mirror behavior.,Added focused temp-directory and CLI behavior tests then retested the CLI-015 user story.,Fixed,.venv/bin/python -m pytest -q src/tests/test_agent_mirror.py |
| AUDIT-058,Test Gap,Tag backfill,ctx-tag-backfill behavior,src/ctx/core/quality/tag_backfill.py; src/tests/test_tag_backfill.py,Initial full coverage reported zero exercised statements and the new focused suite reproduced rejection of valid importer-attributed frontmatter.,High,Tag proposal report and apply behavior should preserve attribution curated tags markdown bodies and idempotency while rejecting malformed frontmatter safely.,coverage JSON plus focused behavior tests,Retested Pass,2026-07-11,The parser documented attribution-header support but an initial startswith guard made that branch unreachable.,Run test_split_frontmatter_supports_import_attribution_header against an imported skill whose HTML attribution precedes YAML frontmatter.,Search for the existing line-delimited opening delimiter after the attribution prefix and retain the current body and tag behavior.,Fixed,.venv/bin/python -m pytest -q src/tests/test_tag_backfill.py |
| AUDIT-059,Test Gap,MCP rebuild index,ctx-mcp-rebuild-index behavior,src/mcp_rebuild_index.py; src/tests/test_mcp_rebuild_index.py,Initial full coverage reported zero of 30 entrypoint statements exercised while canonical index internals were already tested.,Medium,MCP index rebuild CLI should preserve dry-run non-writing behavior write normalized sidecars and return distinct missing-wiki and rebuild-failure exits.,coverage JSON plus focused CLI tests,Retested Pass,2026-07-11,The shipped entrypoint and exit behavior relied only on historical manual smoke evidence.,Run the CLI against a temporary extracted MCP entity then against missing and injected-failure wiki states.,Add focused entrypoint tests without changing the already-correct product semantics.,Fixed,.venv/bin/python -m pytest -q src/tests/test_mcp_rebuild_index.py |
| AUDIT-060,Feature Gap,Imported skill deployment,canonical stories adversarial tests independent approval and platform evidence,src/import_designdotmd_skills.py; src/import_mattpocock_skills.py; src/import_strix_skills.py; .github/workflows/test.yml,All three importers have canonical stories focused adversarial tests real-corpus dry-runs independent approval and successful selective Windows 3.12 CI evidence.,High,Each importer should have a user story plus dry-run install idempotency attribution traversal collision final-write containment truthful status and relevant platform tests.,coverage JSON canonical inventory real-corpus dry-runs adversarial review and targeted Windows workflow contract,Retested Pass,2026-07-11,Security-sensitive importer behavior previously lacked canonical status regression evidence and native Windows execution.,Run all three focused suites adversarial probes and the targeted Windows runner job containing all importer tests.,Keep each bounded importer under independent approval and require exact platform evidence before merge.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-061,Logic and Test Gap,Wiki maintenance utilities,user-visible command contracts and discriminating regressions,src/wiki_visualize.py; src/skill_add_detector.py; src/wiki_batch_entities.py; src/wiki_orchestrator.py,Independent review confirmed the concurrency failure-reporting graph-filter script-safety and truthful hook-output fixes.,High,Wiki operators must preserve read-only atomic and concurrency boundaries expose failures unambiguously independently protect every graph filter and serialize hostile data safely for HTML5 script parsing.,focused behavior repros mutation probes parser structure loader outcomes concurrency stress and combined integration,Retested Pass,2026-07-11,Hooks lost concurrent rows orchestrator hid canonical or sync failures and graph dropped valid selections or embedded unsafe script data.,Run concurrent hooks canonical failure paths zero-hop and weight mutations hostile script roundtrip and the combined operator slice.,Retain file locking structured sync failures orthogonal graph filters all-less-than JSON escaping and neutral refresh wording.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-062,Tracker Hygiene,Canonical source attribution,definition-bearing modules absent exact evidence paths,qa/feature_status.csv; src,The mapping attributes all 181 substantive production Python modules and adds six distinct missing stories; stale contracts were split into explicit findings and the invariant is locally green.,Medium,Every substantive production module should be attributable to at least one canonical user story without inventing file-level pseudo-features.,exact source-path inventory plus executable tracker invariant,Retested Pass,2026-07-11,Canonical rows previously covered public entrypoints without proving full code-to-story attribution.,Run the tracker invariant against every substantive production Python module after excluding source metadata and empty package markers.,Map cohesive modules to existing stories add only distinct functionality enforce zero unattributed modules and split stale behavior into findings.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-064,Security,Imported skill deployment,Strix final write boundary,src/import_strix_skills.py; src/tests/test_import_strix_skills.py,Independent adversarial review reproduced outside-target hard-link symlink-swap and canonical-alias failures; the current patch blocks each path.,High,Importer writes must remain inside the selected target and distinct manifest entries must never resolve to the same file or inode.,independent reviewer hard-link symlink-swap alias and malformed-CLI repros,Retested Pass,2026-07-15,Strix preflight containment became stale before the final write and lexical collision keys missed canonical destination aliases.,Prepare alias or hard-linked destinations swap a prepared parent to an outside symlink and exercise malformed UTF-8 and target errors.,Use atomic replacement reject symlinked or multiply-linked destinations revalidate parent containment and deduplicate canonical paths and inode identities.,Fixed,.venv/bin/python -m pytest -q src/tests/test_import_strix_skills.py |
| AUDIT-065,Security Portability and Data Quality,DesignDotMD skill deployment,portable anchored writes trusted roots and mode preservation,imported-skills/designdotmd; src/import_designdotmd_skills.py; src/tests/test_import_designdotmd_skills.py; .github/workflows/test.yml,Parser-safe YAML whole-manifest preflight descriptor containment portable guarded writes mode preservation concise errors and selective Windows execution pass review.,Critical,The corpus must preserve valid YAML and file modes preflight before mutation anchor descendant writes across supported platforms accept a resolved trusted target root and reject malformed input concisely.,real-corpus YAML race partial-install platform fallback symlink-root mode special-file and native Windows junction probes,Retested Pass,2026-07-15,POSIX-only APIs path races special destination files over-rejected trusted roots and replacement modes previously violated the portable importer contract.,Use source and destination swaps directory or FIFO blockers Windows junctions a symlinked target root and existing-mode or controlled-umask fixtures.,Retain anchored POSIX operations add guarded Windows fallbacks resolve the selected root once preserve modes preflight final destinations and use nonblocking untrusted opens.,Fixed,.venv/bin/python -m pytest -q src/tests/test_import_designdotmd_skills.py |
| AUDIT-063,Gate Efficiency,Generated test inventory,volatile counts duplicated in tracker prose,src/tests/test_feature_user_story_tracker.py; qa/feature_status.csv; docs/qa/feature-user-story-status.csv; src/update_repo_stats.py,Adding one test made generated README/docs stats correct but forced unrelated manual edits to two tracker prose fields.,Medium,The inventory generator should own volatile numeric counts while trackers validate any optional current-count claim without requiring one.,agent-mirror test inventory probe,Retested Pass,2026-07-11,Tracker prose duplicated a generated number and created recurring five-file churn for every test batch.,Add tests run update_repo_stats and observe tracker tests fail solely because duplicated prose is stale.,Removed volatile numeric claims retained mismatch detection for any future claim and proved the next seven-test addition updates generated files only.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-066,Security Portability and Data Integrity,Imported skill deployment,portable staged identity anchored commit recovery and platform gate,src/import_mattpocock_skills.py; src/tests/test_import_mattpocock_skills.py; .github/workflows/test.yml,Descriptor-anchored creation staged and recovery identity mode digest validation independent recovery snapshots cleanup reporting idempotent rerun and selective Windows execution pass review.,Critical,Every generated and support write must preserve trusted-root portability verify staged and recovery content resist parent swaps contain or explicitly identify injected canonical content converge after per-file failure and report truthful status without redundant transaction machinery.,symlink parent-swap staged-name replacement recovery overwrite recovery-name replacement cleanup refusal async interruption Windows fallback symlink-root and native runner probes,Retested Pass,2026-07-15,Fallback path staged identity recovery hardlinks partial commits mode handling trusted roots and status reporting previously violated the portable importer contract.,Emulate fallback parent swaps staged and recovery tamper restore and cleanup failures post-success interruption missing fchmod symlinked roots and native Windows guards.,Use descriptor-anchored or fail-closed paths per-file atomic commits independent fsynced recovery snapshots digest verification canonical cleanup critical failure reporting idempotent rerun and selective Windows CI.,Fixed,.venv/bin/python -m pytest -q src/tests/test_import_mattpocock_skills.py |
| AUDIT-067,Data Integrity,Skill write detection hook,exact concurrent catalog upsert,src/skill_add_detector.py; src/tests/test_skill_add_detector.py,The hardened catalog upsert and neutral large-skill notice pass independent review.,High,The hook should upsert only an existing exact SKILL.md row under concurrent sessions remain nonblocking for malformed paths and label refresh output accurately.,independent installed Write and Edit repros coordinated multiprocess probe and counterfactual stress,Retested Pass,2026-07-15,Concurrent row loss was fixed first; the remaining notice incorrectly labeled an existing long-skill Edit as New skill.,Edit an existing over-threshold installed SKILL.md through the from-stdin hook and capture the conversion notice.,Keep the hardened catalog upsert use neutral Skill wording and add an exact Edit regression.,Fixed,.venv/bin/python -m pytest -q src/tests/test_skill_add_detector.py src/tests/test_inject_hooks_security.py,PASS: commit 7b64ac8e uses neutral Skill wording; 54 integrated hook/security tests pass and an independent reviewer approved the exact Edit regression.,2026-07-20,Hook Lane,Approved by independent reviewer,The locking failure paths and human-facing output are now truthful with no repository consumer of the old prefix.,Closed; retain the exact Edit-output and concurrent catalog regressions. |
| AUDIT-068,Tracker Hygiene,Canonical feature stories,code-versus-story contract drift,qa/feature_status.csv; src/mcp_fetch.py; src/ctx_lifecycle.py; src/ctx/core/wiki/wiki_queue_worker.py; src/ctx/dashboard_entities.py,Four historical rows overclaimed behavior or cited an impossible command: CLI-019 CLI-028 CLI-038 and DASH-POST-005.,Medium,Canonical expected behavior and test steps must describe executable shipped contracts rather than adjacent subsystem concepts.,source inspection plus focused command and behavior tests,Retested Pass,2026-07-15,Historical tracker prose invented retry-safe fetch load/unload ownership semantics and combined mutually exclusive worker arguments.,Compare each row to parser and implementation then execute its revised focused test command.,Correct only the canonical story evidence and add a direct wiki-worker CLI argument regression.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-069,Enterprise Privacy,Dashboard config payload,recursive boundary-aware secret redaction,src/ctx/monitor/services/config.py; src/tests/test_monitor_config_service.py; qa/feature_status.csv,Independent review reproduced nested quoted assignment header bearer and argv leaks plus false-positive token-setting redaction; the final payload boundary resolves all retained cases.,High,Dashboard config pages and APIs must expose ordinary metadata without returning stored or inline credentials or hiding legitimate typed settings.,temp user-config adversarial strings sequences nested values and serialization probes,Retested Pass,2026-07-16,The first recursive redactor missed credential forms and treated broad token-named configuration keys as secrets.,Exercise quoted and spaced assignments Authorization Bearer argv pairs nested secrets allowlisted typed values on the graph.edge_weights.slug_tokens and graph.token_edges paths and generic token-named keys that must be redacted.,Use boundary-aware key matching sequence-aware argv redaction and established value scanners while preserving raw files and only allowlisted typed graph token-path values.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-070,Logic,Backup snapshot change detection,capture parity for exclusions baselines and size limits,src/change_detector.py; src/backup_mirror.py; src/backup_config.py; src/tests/test_change_detector_exclusions.py,Independent review reproduced exclusion baseline and oversized top-file divergence; the final detector models the same persisted file set as capture.,High,Snapshot-if-changed must compare exactly the files capture would persist including destination exclusions historical baselines and max_file_bytes for top tree and memory files.,temp exclusion stale-baseline exact-limit oversized-top repeated-snapshot and removal fixtures,Retested Pass,2026-07-16,Detector previously hashed excluded historical or oversized top files and could create empty or repeated snapshots.,Exercise current and stale exclusions exact-limit and oversized top files repeated snapshot_if_changed and genuine removals.,Apply capture-equivalent destination and inclusive size predicates to current and baseline comparison.,Fixed,.venv/bin/python -m pytest -q |
| AUDIT-071,Tracker Hygiene,Graph and incremental attach stories,ownership and executable evidence,qa/feature_status.csv; src/ctx/core/graph/incremental_attach.py; src/ctx/core/graph/graph_packs.py; src/ctx/core/wiki/wiki_packs.py,CLI-034 assigned queued fallback to the direct attach CLI and GRAPH-003 used broad prose paths and a non-command test step.,Medium,Canonical stories must separate direct attach behavior from queue orchestration and provide exact executable evidence.,source and parser inspection plus focused pack suites,Retested Pass,2026-07-16,Historical rows blurred subsystem ownership and could not be replayed as written.,Compare attach and pack code to row claims then run current attach pack promotion and compaction tests.,Correct tracker ownership expected behavior source paths and commands without adding speculative product behavior.,Fixed,.venv/bin/python -m pytest -q |
| "AUDIT-094","Gate Efficiency","Full pytest xdist","bounded automatic worker selection","src/tests/conftest.py; src/tests/test_ci_preflight.py","Commit 9e0e6c4c caps xdist auto workers and preserves exact test inventory.","High","Automatic parallel tests must use a bounded worker count so local-fast converges without exhausting memory or changing collection.","full-suite serial-versus-xdist timing and count comparison","Retested Pass","2026-07-27","Unbounded xdist auto selection could oversubscribe the host and make the supposedly fast gate slower or unstable.","Run the exact suite with -n auto and compare completion, inventory, and resource behavior with the serial baseline.","Cap automatic workers from available CPU and memory while retaining explicit worker overrides.","Fixed",".venv/bin/python -m pytest -q -n auto","PASS: the exact xdist suite completed with 5560 passed, 2 skipped, and 4 warnings in 26.39 seconds; focused CI-preflight regressions pass.","2026-07-27","QA/Test Gate Lane","Approved by independent gate reviewer","The cap improves throughput without skipping or reclassifying tests.","Closed; retain worker-cap and exact-inventory checks." |
| "AUDIT-095","Provider Reliability and Privacy","Agent-loop provider failures","machine-readable sanitized failure and provenance evidence","src/ctx/adapters/generic/loop.py; src/ctx/adapters/generic/state.py; src/ctx/adapters/generic/providers/base.py; src/ctx/adapters/generic/providers/litellm_provider.py; src/ctx/cli/run.py","Commits 85dd339d, bf09247a, and 56806434 preserve structured errors, redact sensitive text, and persist provider provenance.","High","Provider failures remain machine readable and privacy safe while successful and failed calls retain truthful provider and model provenance.","adversarial provider exceptions plus persisted-session and CLI JSON review","Retested Pass","2026-07-27","Provider failures could collapse into ambiguous text, expose sensitive exception material, or omit the provenance needed to audit a run.","Raise structured and secret-shaped provider failures, inspect CLI JSON and telemetry, then replay persisted session evidence.","Normalize bounded error fields, sanitize messages and stacks, and persist provider provenance independently from outcome.","Fixed",".venv/bin/python -m pytest -q src/tests/test_harness_cli_run.py src/tests/test_harness_loop.py src/tests/test_harness_state.py src/tests/test_litellm_provider.py","PASS: provider error, privacy, provenance, persistence, and CLI regressions pass with no raw secret-shaped values in emitted evidence.","2026-07-27","Runtime/API/MCP Lane","Approved by independent runtime and privacy reviewers","Structured failure semantics and provenance remain available without weakening redaction.","Closed; retain structured-error, secret-redaction, and provenance regressions." |
| "AUDIT-096","Benchmark Integrity","Adaptive ctx benchmark","attested provider and runtime provenance","scripts/ctx_ab_benchmark.py; src/tests/test_ctx_ab_benchmark.py","Commit a45b6034 makes benchmark claims fail closed unless provider and runtime provenance are attested.","Critical","Benchmark results count only when the requested provider, model, ctx runtime, source revision, and treatment boundary are proven by captured evidence.","tampered, missing, and mismatched benchmark provenance fixtures","Retested Pass","2026-07-27","A benchmark artifact could previously look valid without proving that the requested provider and ctx runtime actually produced it.","Remove or alter provider, model, runtime, or source attestation in a completed trial and run validation.","Require exact attestation at trial validation and exclude unverifiable evidence from aggregate claims.","Fixed",".venv/bin/python -m pytest -q src/tests/test_ctx_ab_benchmark.py","PASS: 53 benchmark tests cover shipped execution, exact provider usage, attestation, lifecycle ordering, cleanup, and fail-closed claim gating.","2026-07-27","QA/Test Gate Lane","Approved by benchmark evidence reviewer","The methodology boundary is closed; real-provider efficiency collection remains separately tracked.","Closed; retain adversarial provenance and aggregate-exclusion fixtures." |
| "AUDIT-097","State Integrity","Recommendation feedback","external and indexed rejection persistence","src/ctx/adapters/generic/ctx_core_tools.py; src/ctx/core/resolve/recommendations.py; src/ctx/adapters/generic/runtime_lifecycle.py","Commits db7429d5 and 2ac780cc persist rejected external recommendations and suppress them through indexed and graph paths.","High","A rejected recommendation stays suppressed for the session across indexed, graph, and external-catalog paths unless replacement feedback explicitly changes it.","session feedback replay through indexed, graph, and external-catalog recommendation paths","Retested Pass","2026-07-27","External-catalog candidates could bypass durable rejection memory and reappear after the user rejected them.","Reject an external recommendation, issue a related or monitor recommendation in the same session, and compare every backend.","Normalize all candidate identities before ranking and consult authenticated session rejection state before selection.","Fixed",".venv/bin/python -m pytest -q src/tests/test_harness_ctx_core.py src/tests/test_indexed_recommendations.py","PASS: durable rejection, tamper detection, indexed and graph parity, external-catalog suppression, and 100k-event performance regressions pass.","2026-07-27","Runtime/API/MCP Lane","Approved by independent runtime reviewer","No repeated-rejection path remains in the reviewed recommendation backends.","Closed; retain cross-backend rejection-memory regressions." |
| "AUDIT-098","Loop Integration","Loopflow adapter","actionable project-owned fallback recommendations","src/ctx/adapters/loopflow.py; src/tests/test_loopflow_adapter.py","Commit 1a166084 preserves actionable project-owned recommendations when primary ranking yields filtered or unavailable candidates.","High","Loopflow returns permission-aware actionable skills, agents, and MCPs for local work instead of an empty payload when trusted project-owned context exists.","filtered-primary and clean-runtime Loopflow fixtures","Retested Pass","2026-07-27","Context filtering could remove every primary result without backfilling trusted project-owned capabilities.","Run a local no-key loop with unavailable primary candidates and an installed project-owned runtime pack.","Merge bounded project-owned fallback rows through the same permission, availability, selected, and rejected filters.","Fixed",".venv/bin/python -m pytest -q src/tests/test_loopflow_adapter.py","PASS: 81 Loopflow tests cover permission gating, selected and rejected state, actionable fallback, own-LLM use, and CLI JSON.","2026-07-27","Runtime/API/MCP Lane","Approved by paired Loopflow reviewer","Fallback does not bypass permissions, availability, or rejection memory.","Closed; retain clean-runtime and filtered-primary fallback cases." |
| "AUDIT-099","Dashboard UX","Responsive dashboard","mobile action and metadata overflow","src/ctx/assets/monitor.css; src/ctx/monitor/pages/activity.py; src/ctx/monitor/pages/home.py; src/ctx/monitor/pages/wiki.py; src/tests/test_ctx_monitor.py","Commit 2b18e6cb gives action groups and long metadata bounded responsive layouts.","Medium","Dashboard controls and long entity metadata remain readable and reachable without horizontal viewport overflow on mobile screens.","mobile viewport browser inspection and focused dashboard regressions","Retested Pass","2026-07-27","Long labels and action groups could force horizontal overflow and hide controls on narrow viewports.","Open home, activity, and wiki pages at a narrow viewport with long entity names and inspect scroll width and control reachability.","Use wrapping action groups, bounded text containers, and overflow-safe metadata styles.","Fixed",".venv/bin/python -m pytest -q src/tests/test_ctx_monitor.py","PASS: dashboard regressions pass and browser viewport evidence shows no incoherent overlap or horizontal overflow.","2026-07-27","Dashboard/UX Lane","Approved with browser and regression evidence","The change is presentation-only and preserves routes and actions.","Closed; retain narrow-viewport overflow checks." |
| "AUDIT-100","Install Safety","Converted skill inspection","descriptor-pinned containment and identity","src/ctx/adapters/generic/ctx_core_tools.py; src/ctx/utils/_fs_utils.py; src/tests/test_ctx_init.py; src/tests/test_fs_utils.py","Commit 09d157a1 pins converted skill inspection to trusted descriptors and rejects symlink and replacement races.","Critical","Inspection reads only the attested converted skill under its trusted root even when attackers swap ancestors, links, or the target during access.","symlink, ancestor replacement, target replacement, and special-file adversarial fixtures","Retested Pass","2026-07-27","Path-based inspection could race a validated path and read a replaced or linked file outside the converted-skill root.","Swap the converted directory or SKILL.md between validation and read, and try symlinked ancestors and special files.","Open through pinned directory descriptors, verify identity and regular-file constraints, and fail closed on unsupported platforms.","Fixed",".venv/bin/python -m pytest -q src/tests/test_ctx_init.py src/tests/test_fs_utils.py src/tests/test_harness_ctx_core.py","PASS: 274 parent and focused tests plus independent adversarial review confirm symlink and TOCTOU containment.","2026-07-27","Security/Supply Chain Lane","Approved by independent filesystem security reviewer","No untrusted path fallback was introduced.","Closed; retain descriptor identity, symlink, replacement, and special-file regressions." |
| "AUDIT-101","Enterprise Telemetry","OTLP logs and traces","privacy-safe trace export and independent checkpointing","src/ctx/telemetry/__init__.py; src/ctx/cli/telemetry.py; src/tests/test_enterprise_telemetry.py; docs/telemetry.md","Commit 34e258af completes OTLP trace export, bounded responses, partial-success handling, correlation, privacy sanitation, and trace-specific checkpoints.","Critical","Logs, traces, and metrics export through vendor-neutral OTLP with bounded retries, valid correlation IDs, privacy-safe envelopes, and checkpoints that never strand malformed evidence.","privacy, malformed-tail, partial-success, retry, header, timeout, response-bound, and live loopback probes","Retested Pass","2026-07-27","Trace export lacked complete enterprise retry, checkpoint, partial-success, correlation, response-bound, and legacy-envelope privacy behavior.","Export valid, malformed, partial, secret-shaped, oversized-response, and retrying batches; compare log and trace IDs and checkpoint movement.","Use strict OTLP validation, signal-specific checkpoints, bounded HTTP reads and retries, sanitized envelopes, and fail-closed malformed-record barriers.","Fixed",".venv/bin/python -m pytest -q src/tests/test_enterprise_telemetry.py","PASS: independent reviewer found no P0-P2; 88 module tests, 177 repository telemetry tests, strict docs, static checks, and a 5.47-second bounded live loopback pass.","2026-07-27","Telemetry/Release Lane","Approved by independent telemetry privacy reviewer","Invalid secret-shaped correlation IDs are omitted from top-level OTLP fields while valid IDs remain exact.","Closed; retain privacy, checkpoint, partial-success, timeout, and bounded-response regressions." |
| "AUDIT-102","Dashboard API","Runtime graph entity detail","typed bounded ambiguity-safe lookup","src/ctx/monitor/api/readonly.py; src/tests/test_ctx_monitor.py","Commit 495cf7f4 exposes typed runtime graph details with safe ambiguity and input bounds.","High","The dashboard entity API resolves typed runtime entities, rejects ambiguous untyped matches, bounds inputs and payloads, and never exposes host paths.","typed, ambiguous, oversized, unsafe, and live HTTP entity probes","Retested Pass","2026-07-27","The API could not inspect runtime-only graph entities that had no wiki page.","Request runtime entities by type and slug, then repeat with ambiguous labels, unsafe slugs, and oversized query values.","Add a bounded graph-store lookup behind the existing safe entity route and require type when labels collide.","Fixed",".venv/bin/python -m pytest -q src/tests/test_ctx_monitor.py","PASS: 251 dashboard tests and live HTTP probes return typed 200, ambiguity 400, bounded errors, and no host-root leakage.","2026-07-27","Dashboard/UX Lane","Approved by independent dashboard API reviewer","The route preserves existing wiki detail behavior and adds only bounded runtime fallback.","Closed; retain typed, ambiguous, unsafe, and oversized lookup regressions." |
| "AUDIT-103","Recommendation Quality","Candidate ranking","policy filtering before normalization and top-k","src/ctx/adapters/generic/ctx_core_tools.py; src/ctx/core/resolve/recommendations.py; src/tests/test_harness_ctx_core.py; src/tests/test_indexed_recommendations.py","Commit 3efa9464 applies availability, language, no-key, selected, and rejected filters before score normalization and truncation.","High","Eligible recommendations are ranked and normalized against other eligible candidates, with deterministic backfill beyond any number of filtered rows.","indexed and graph backfill, threshold, external-catalog, and 60-candidate starvation fixtures","Retested Pass","2026-07-27","High-scoring ineligible candidates could consume the fixed fetch window or normalization baseline and starve actionable recommendations.","Place more than 50 unavailable, rejected, or wrong-language candidates above one eligible local candidate and request top_k=1.","Pass a shared candidate predicate into graph, indexed, and external ranking before normalization and truncation.","Fixed",".venv/bin/python -m pytest -q src/tests/test_harness_ctx_core.py src/tests/test_indexed_recommendations.py","PASS: 140 focused tests plus independent adversarial review cover threshold parity, unlimited backfill, external suppression, and deterministic top-k.","2026-07-27","Graph/Wiki Lane","Approved by independent recommendation reviewer","Indexed and NetworkX behavior remain aligned and the fast path does not load the graph.","Closed; retain starvation, normalization, and cross-backend parity fixtures." |
| "AUDIT-104","Wiki Discovery","Installed runtime overlays","attested skill agent and MCP pages","src/ctx/core/wiki/wiki_query.py; src/tests/test_query.py","Commit 5ef5f81c merges exact package-attested runtime pages only while preserving active pack precedence.","High","Search and list discover installed runtime skill, agent, and MCP pages only when exact packaged content is present and an active pack does not override it.","exact-content, tampered, symlinked, arbitrary, and pack-precedence fixtures","Retested Pass","2026-07-27","Installed runtime capability pages were actionable through recommendations but absent from wiki search and list.","Install exact packaged runtime pages, then tamper, symlink, add arbitrary pages, and overlay an active pack before search and list.","Attest source-relative path and exact content, merge only missing slugs, and keep pack overlays authoritative.","Fixed",".venv/bin/python -m pytest -q src/tests/test_query.py src/tests/test_harness_ctx_core.py","PASS: runtime overlay discovery and cache invalidation tests pass; independent reviewer confirms arbitrary, spoofed, and symlink pages stay excluded.","2026-07-27","Graph/Wiki Lane","Approved by independent wiki evidence reviewer","The overlay is discovery-only and cannot override an active pack.","Closed; retain attestation, tamper, symlink, and precedence regressions." |
| "AUDIT-105","Constraint Semantics","No-key recommendations","token-aware inference and explicit override","src/ctx/adapters/generic/ctx_core_tools.py; src/ctx/adapters/loopflow.py; src/tests/test_loopflow_adapter.py","Commit 468173be shares token-aware no-key inference and exposes mutually exclusive Loopflow overrides.","High","Singular, plural, and hyphenated no-key constraints filter remote capabilities, privacy observations do not trigger the constraint, and explicit host input wins.","positive constraint, privacy-observation, explicit override, and CLI conflict matrix","Retested Pass","2026-07-27","Marker matching missed singular forms and could misread phrases such as ensure no API key is logged as a no-key runtime constraint.","Compare no API key, without an API key, privacy-observation phrases, and both explicit Loopflow flags.","Use a shared boundary-aware parser, observation-tail guard, and optional explicit boolean propagated outside the ranking query.","Fixed",".venv/bin/python -m pytest -q src/tests/test_loopflow_adapter.py src/tests/test_harness_ctx_core.py","PASS: 81 Loopflow tests and the 140-test recommendation slice cover 23 positive forms, 12 privacy false positives, overrides, and CLI conflicts.","2026-07-27","Runtime/API/MCP Lane","Approved by independent constraint reviewer","The explicit flag is metadata and is not leaked into user query text.","Closed; retain language matrix, privacy-observation, and override regressions." |
| "AUDIT-106","Protocol Correctness","MCP server identity","installed package version and clean startup","src/ctx/mcp_server/__init__.py; src/ctx/mcp_server/server.py; src/tests/test_mcp_server.py","Commit 17d59bed resolves the MCP initialize version from package metadata through lazy exports.","Medium","Module and console startup report the installed ctx version without import-cycle or runpy warnings.","module, console, editable-install, and initialize response probes","Retested Pass","2026-07-27","The MCP server reported a stale hard-coded 0.1.0 version and module execution emitted an import warning.","Run python -m ctx.mcp_server.server and ctx-mcp-server initialize, then compare serverInfo.version with installed package metadata.","Resolve version lazily from package metadata and avoid importing the server module from package initialization.","Fixed",".venv/bin/python -m pytest -q src/tests/test_mcp_server.py","PASS: 45 MCP tests plus module and console probes report 1.0.21 with no runpy warning.","2026-07-27","Runtime/API/MCP Lane","Approved by independent MCP contract reviewer","The change affects identity metadata only and preserves the JSON-RPC tool contract.","Closed; retain version and warning regressions." |
| "AUDIT-107","Recommendation Availability","Loopflow own-LLM integration","actionability filtering before ranking","src/ctx/adapters/loopflow.py; src/tests/test_loopflow_adapter.py","Commit 21cb540b filters unavailable agents and MCPs before ranking while retaining local entities and external skills with concrete install commands.","High","Permissioned Loopflow payloads contain only capabilities that can be loaded now or installed through an explicit command, including related recommendations.","clean-wheel A-Z run against the real graph plus adversarial ranker fixtures","Retested Pass","2026-07-27","The broader own-LLM path could return high-ranked agents marked not-in-wiki with no source or install path.","Run Loopflow with all grants, an owned model, API keys available, and a real graph containing unavailable agents above a local agent.","Apply availability metadata before score normalization and top-k, backfill actionable rows, and enforce the same rule for related results.","Fixed",".venv/bin/python -m pytest -q src/tests/test_loopflow_adapter.py src/tests/test_harness_ctx_core.py src/tests/test_indexed_recommendations.py","PASS: independent reviewer found no P0-P3; 82 Loopflow and 222 integrated recommendation tests pass, and the real graph suppresses unavailable agents while retaining the local reviewer, install-command skills, and harness.","2026-07-27","Runtime/API/MCP Lane","Approved by independent Loopflow actionability reviewer","Permissions, selections, no-key constraints, external install commands, and related-result behavior remain intact.","Closed; retain clean-wheel real-graph and pre-ranking backfill regressions." |
| "AUDIT-108","Documentation Accuracy","Final test inventory","README and documentation test count","README.md; docs/index.md; src/update_repo_stats.py","The final local-fast cheap lane compared checked-in prose with live pytest collection after no-mistakes CI fixes added tests.","Medium","README and documentation test counts match live collection after the final code and test commit.","scripts/no_mistakes_run.sh fast plus update_repo_stats --check","Retested Pass","2026-07-27","No-mistakes refreshed the inventory before later CI fixes added tests, leaving 5,691 checked in while live collection reported 5,694; the gate-stability regression then raised the final inventory to 5,695.","Run .venv/bin/python src/update_repo_stats.py --check on commit 84a64933 and observe the stale 5,691 versus 5,694 diff.","Regenerate repository statistics after all test fixes are committed and keep the cheap local-fast lane fail-closed.","Fixed",".venv/bin/python src/update_repo_stats.py --check; scripts/no_mistakes_run.sh fast --summary-json .gate/local-fast-final.json","PASS: commits 0cce9beb and b8d26f41 leave the updater current at 5,695 and all 11 local-fast lanes green.","2026-07-27","QA/Test Gate Lane","Reviewed by final convergence gate","The repair changes documentation evidence only; product behavior is unchanged.","Closed; retain live collection validation after every test-changing fix." |
| "AUDIT-109","CI Gate Stability","M5 local-fast parallelism","nested lane and pytest-xdist worker allocation","scripts/local_fast_gate.py; src/tests/test_adaptive_runtime.py; src/tests/test_ci_preflight.py","Independent CI review reproduced selector abstention only under saturated nested CPU load at the production 50 ms fail-closed deadline.","High","Local-fast uses bounded parallelism and semantic selector tests validate ranking independently of the production latency budget.","repeated focused pytest, saturated selector probe, and exact full local-fast rerun","Retested Pass","2026-07-27","Eleven outer lanes combined with the unit lane's xdist auto workers could oversubscribe the host, while a semantic ranking test also relied on the 50 ms production deadline.","The focused selector passed 20 serial and eight xdist runs; the full 11-lane gate returned None under load, and independent stress reproduced five deadline abstentions in 1,166 calls at 50.56 to 55.97 ms.","Give semantic tests an explicit 5 second deadline, cap local-fast xdist at four workers, and reserve half the CPU budget for nested work without changing GitHub or production defaults.","Fixed",".venv/bin/python -m pytest -q --no-cov src/tests/test_adaptive_runtime.py src/tests/test_ci_preflight.py; scripts/no_mistakes_run.sh fast --summary-json .gate/local-fast-final.json","PASS: commit b8d26f41 passes 93 focused tests; exact local-fast uses nine outer workers and xdist -n 4, then passes all 11 lanes in 58.267 seconds with 5,679 passed, 2 skipped, and 91.83 percent coverage.","2026-07-27","QA/Test Gate Lane","Approved by independent CI reviewer","No file-descriptor leak or mutable shared state was found; production's 50 ms fail-closed behavior and GitHub xdist policy are unchanged.","Closed; retain bounded local-fast worker allocation and semantic-versus-latency test separation." |
|
|