Skip to content

refactor: remove self-attesting campaign bureaucracy - #3950

Merged
Sinity merged 95 commits into
masterfrom
feature/chore/authority-foundation
Aug 14, 2026
Merged

refactor: remove self-attesting campaign bureaucracy#3950
Sinity merged 95 commits into
masterfrom
feature/chore/authority-foundation

Conversation

@Sinity

@Sinity Sinity commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Summary

Remove self-attesting campaign machinery while retaining executable product behavior, durable authority, operational safety, and independently valuable verification.

Problem

The repository had accumulated generated mirrors, passive ledgers, campaign packets, duplicate tracker projections, source-text scans, one-shot reports, and tests that proved only their declarations. They increased maintenance cost and made process artifacts look like runtime authority. Review of the purge also exposed real defects in destructive deletion, raw-authority proof binding, canary authority, benchmark reporting, and continuity replay isolation.

Solution

  • Delete 324 retired files and roughly 79,000 lines of generated reports, campaign wrappers, tracker/dashboard mirrors, prose-pattern gates, stale planning packets, and duplicate authority registries.
  • Retain runtime-consumed registries and executable evidence: operation/action/query descriptors, origin specifications, SLO benchmarks, durable migrations and audit records, parser fingerprints, continuity replay, schema/layering checks, and behavior-level tests.
  • Preserve one daemon-owned destructive-delete path with exact preview, authorization, acknowledgement, cancellation, and batch binding.
  • Bind raw-authority exceptions to the complete exact set of planted terminal/deferred outcomes and seeded component/raw IDs; reject missing, swapped, duplicate, unrelated, or falsely successful receipts.
  • Keep canary semantic authority package-local and exact: a delta must declare the reviewed operation, columns, table, and targeted session/origin scope. Constraint-only, unscoped, unrelated, tracker, or successor metadata cannot authorize candidate differences.
  • Require continuity replay to name an exact catalog and run in a completely hermetic environment: no inherited cwd/site config, daemon URL/token, MCP capability, HOME/XDG, temp, or user-data authority. Explicit offline mode suppresses per-call delivery and startup outbox draining. A supplied archive is proven byte-identical before/after and cannot emit an outbound daemon request.
  • Replace the cancellation swarm/timing race with one deterministic production-route proof per interruptible MCP tool. A disposable server holds its real admission slot, one official MCP request queues, one cancellation is confirmed, and a protocol ping proves healthy ordered teardown. Equivalent scenarios reuse that tool-level proof.
  • Keep structured Beads graph-cycle failure reporting, canonical canary row identities, real benchmark metrics, and behavior-derived command/document coverage.
  • Retire the closed claim-vs-evidence campaign’s private-report/calibration/publishing harness; reusable query semantics remain on ordinary production routes.

Verification

  • Affected reindex-canary, daemon coordination, continuity, MCP telemetry, CLI, and Beads graph suite: 167 passed in 154.70s.
  • Deterministic MCP cancellation regression: three fresh-process passes; deduplicated run 1 passed in 18.92s (previous redundant path was roughly 26–30 seconds).
  • Hermetic supplied-archive proof: zero outbound requests, unchanged tier SHA-256 digests, and no archive-local runtime state.
  • Focused deletion/raw-authority suites from the branch: 14 and 22 passed.
  • Semantic schema wiring: 30 passed.
  • Action/completion/workflow behavior: 192 passed.
  • Documentation discovery/render coverage: 7 passed; devtools render all --check passed.
  • Exact-head review-repair suite: 98 focused tests covering canary authority, raw-authority restart proof, hermetic continuity replay, MCP telemetry, and server runtime.
  • Exact post-rebase quick gate: all 10 checks passed in 59.29s (20260814T031542Z-quick-1912950-306d6f9e).
  • Final P1 repair restored the published source migration bytes exactly; two durable-train hash/replay tests passed, followed by the 25.4s exact-head quick gate (20260814T033106Z-quick-2033174-5bd70dec).

Scope disposition

This is self-contained repository cleanup and correctness repair. It assigns or mutates no Beads. #3952 merged first; this branch is now rebased onto that exact master, with the 98-test production-route suite and quick gate run at parent e49a320d, then the published-migration repair verified at final head 13135b37. The merge train still requires its terminal complete-suite/testmon receipt.

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 531 files, which is 431 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 300 files.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: e4b6515f-b675-4e7d-8be7-0ec297c89505

📥 Commits

Reviewing files that changed from the base of the PR and between 190f651 and 13135b3.

⛔ Files ignored due to path filters (27)
  • .agent/demos/_packet-contract-stub/run.log is excluded by !**/*.log
  • .agent/demos/agent-affordance-usage/archive-origin-counts.csv is excluded by !**/*.csv
  • .agent/demos/agent-affordance-usage/evidence-kind-counts.csv is excluded by !**/*.csv
  • .agent/demos/agent-affordance-usage/family-counts.csv is excluded by !**/*.csv
  • .agent/demos/agent-affordance-usage/recent-30d-tool-counts.csv is excluded by !**/*.csv
  • .agent/demos/agent-affordance-usage/recent-7d-tool-counts.csv is excluded by !**/*.csv
  • .agent/demos/agent-affordance-usage/surface-classification-summary.csv is excluded by !**/*.csv
  • .agent/demos/agent-affordance-usage/surface-inventory.csv is excluded by !**/*.csv
  • .agent/demos/agent-affordance-usage/tool-by-origin.csv is excluded by !**/*.csv
  • .agent/demos/agent-affordance-usage/tool-counts.csv is excluded by !**/*.csv
  • .agent/demos/agent-affordance-usage/tool-samples.csv is excluded by !**/*.csv
  • .agent/demos/anti-demo-multi-source-reconstruction/run.log is excluded by !**/*.log
  • .agent/demos/d1-receipts/run.log is excluded by !**/*.log
  • .agent/demos/d4-behavioral-archaeology/run.log is excluded by !**/*.log
  • docs/generated/api-operation-parity.json is excluded by !**/generated/**
  • docs/generated/mcp-equivalence.json is excluded by !**/generated/**
  • docs/generated/public-claims/findings-page.json is excluded by !**/generated/**
  • docs/generated/public-claims/findings-page.md is excluded by !**/generated/**
  • docs/generated/public-claims/launch.json is excluded by !**/generated/**
  • docs/generated/public-claims/launch.md is excluded by !**/generated/**
  • docs/generated/public-claims/readme.json is excluded by !**/generated/**
  • docs/generated/public-claims/readme.md is excluded by !**/generated/**
  • docs/generated/public-claims/verified-export.json is excluded by !**/generated/**
  • docs/generated/public-claims/verified-export.md is excluded by !**/generated/**
  • docs/generated/semantic-card-tool-map.json is excluded by !**/generated/**
  • docs/generated/semantic-card-tool-map.md is excluded by !**/generated/**
  • uv.lock is excluded by !**/*.lock, !**/*.lock
📒 Files selected for processing (531)
  • .agent/demos/CURATED_CATALOG.md
  • .agent/demos/MANIFEST.readable.json
  • .agent/demos/README.md
  • .agent/demos/SUMMARY_INDEX.json
  • .agent/demos/_packet-contract-stub/NON-CLAIMS.md
  • .agent/demos/_packet-contract-stub/PROMPT.md
  • .agent/demos/_packet-contract-stub/checks.json
  • .agent/demos/_packet-contract-stub/evidence.ndjson
  • .agent/demos/_packet-contract-stub/finding.yaml
  • .agent/demos/_packet-contract-stub/packet.json
  • .agent/demos/_packet-contract-stub/queries.ndjson
  • .agent/demos/_packet-contract-stub/report.md
  • .agent/demos/agent-affordance-usage/README.md
  • .agent/demos/agent-affordance-usage/affordance-usage.report.json
  • .agent/demos/agent-affordance-usage/summary.json
  • .agent/demos/agent-forensics/README.md
  • .agent/demos/agent-forensics/current/archive-workload.json
  • .agent/demos/agent-forensics/current/cost-rollups-timeout.txt
  • .agent/demos/agent-forensics/current/coverage-origin.json
  • .agent/demos/agent-forensics/current/summary.json
  • .agent/demos/agent-forensics/current/usage-headline-all.json
  • .agent/demos/agent-forensics/current/usage-headline-claude-code.json
  • .agent/demos/agent-forensics/current/usage-headline-codex.json
  • .agent/demos/agent-forensics/current/usage-timeline-month-origin-model.json
  • .agent/demos/anti-demo-multi-source-reconstruction/NON-CLAIMS.md
  • .agent/demos/anti-demo-multi-source-reconstruction/PROMPT.md
  • .agent/demos/anti-demo-multi-source-reconstruction/checks.json
  • .agent/demos/anti-demo-multi-source-reconstruction/evidence.ndjson
  • .agent/demos/anti-demo-multi-source-reconstruction/finding.yaml
  • .agent/demos/anti-demo-multi-source-reconstruction/packet.json
  • .agent/demos/anti-demo-multi-source-reconstruction/queries.ndjson
  • .agent/demos/anti-demo-multi-source-reconstruction/report.md
  • .agent/demos/attachment-acquisition-census/census.json
  • .agent/demos/attachment-acquisition-census/regenerate.sh
  • .agent/demos/basic-usage/01-find-query.txt
  • .agent/demos/basic-usage/02-read.txt
  • .agent/demos/basic-usage/03-search.txt
  • .agent/demos/basic-usage/04-resume.txt
  • .agent/demos/basic-usage/05-cost-usage.json
  • .agent/demos/basic-usage/06-lineage.txt
  • .agent/demos/basic-usage/07-mcp-roundtrip.json
  • .agent/demos/basic-usage/08-status-health.debt.json
  • .agent/demos/basic-usage/08-status-health.txt
  • .agent/demos/basic-usage/COLD_READER_GATE.md
  • .agent/demos/basic-usage/README.md
  • .agent/demos/d1-receipts/NON-CLAIMS.md
  • .agent/demos/d1-receipts/PROMPT.md
  • .agent/demos/d1-receipts/checks.json
  • .agent/demos/d1-receipts/evidence.ndjson
  • .agent/demos/d1-receipts/finding.yaml
  • .agent/demos/d1-receipts/packet.json
  • .agent/demos/d1-receipts/queries.ndjson
  • .agent/demos/d1-receipts/report.md
  • .agent/demos/d4-behavioral-archaeology/NON-CLAIMS.md
  • .agent/demos/d4-behavioral-archaeology/PROMPT.md
  • .agent/demos/d4-behavioral-archaeology/checks.json
  • .agent/demos/d4-behavioral-archaeology/evidence.ndjson
  • .agent/demos/d4-behavioral-archaeology/finding.yaml
  • .agent/demos/d4-behavioral-archaeology/packet.json
  • .agent/demos/d4-behavioral-archaeology/queries.ndjson
  • .agent/demos/d4-behavioral-archaeology/report.md
  • .agent/demos/registry.json
  • .agent/demos/uplift-two-arm/README.md
  • .agent/demos/uplift-two-arm/current/arms/pair1-handoff-pack-output.md
  • .agent/demos/uplift-two-arm/current/arms/pair1-raw-ref-output.md
  • .agent/demos/uplift-two-arm/current/arms/pair2-handoff-pack-output.md
  • .agent/demos/uplift-two-arm/current/arms/pair2-raw-ref-output.md
  • .agent/demos/uplift-two-arm/current/arms/pair3-handoff-pack-output.md
  • .agent/demos/uplift-two-arm/current/arms/pair3-raw-ref-output.md
  • .agent/demos/uplift-two-arm/current/arms/pair4-handoff-pack-output.md
  • .agent/demos/uplift-two-arm/current/arms/pair4-raw-ref-output.md
  • .agent/demos/uplift-two-arm/current/arms/pair5-handoff-pack-output.md
  • .agent/demos/uplift-two-arm/current/arms/pair5-raw-ref-output.md
  • .agent/demos/uplift-two-arm/current/metrics/ground-truth-pair1.json
  • .agent/demos/uplift-two-arm/current/metrics/ground-truth-pair2.json
  • .agent/demos/uplift-two-arm/current/metrics/ground-truth-pair3.json
  • .agent/demos/uplift-two-arm/current/metrics/ground-truth-pair4.json
  • .agent/demos/uplift-two-arm/current/metrics/ground-truth-pair5.json
  • .agent/demos/uplift-two-arm/current/metrics/rubric.json
  • .agent/demos/uplift-two-arm/current/metrics/score.json
  • .agent/demos/uplift-two-arm/current/pairs.json
  • .agent/demos/uplift-two-arm/current/report.md
  • .circleci/config.yml
  • .github/pull_request_template.md
  • .github/workflows/ci.yml
  • .tokeignore
  • CLAUDE.md
  • CONTRIBUTING.md
  • README.md
  • TESTING.md
  • browser-extension/README.md
  • devtools/acceptance_route_registry.py
  • devtools/action_contract_report.py
  • devtools/affordance_usage.py
  • devtools/artifact_graph.py
  • devtools/authored_scenario_catalog.py
  • devtools/backlog_calibration.py
  • devtools/bead_batch_show.py
  • devtools/bead_cluster.py
  • devtools/beads_acceptance_applier.py
  • devtools/beads_acceptance_contracts.py
  • devtools/beads_acceptance_reconciliation.py
  • devtools/beads_state_report.py
  • devtools/benchmark_campaign.py
  • devtools/benchmark_campaigns.py
  • devtools/benchmark_catalog.py
  • devtools/benchmark_models.py
  • devtools/benchmark_scenario_catalog.py
  • devtools/campaign_report.py
  • devtools/chatgpt_lifecycle_anchor_audit.py
  • devtools/claim_vs_evidence.py
  • devtools/claim_vs_evidence_evidence.py
  • devtools/cli_surface_audit.py
  • devtools/click_dispatch.py
  • devtools/command_catalog.py
  • devtools/continuity_evidence.py
  • devtools/continuity_replay.py
  • devtools/coordination_latency_probe.py
  • devtools/daemon_workload_probe.py
  • devtools/data/bead-lint-allow.txt
  • devtools/data/tracker-authority.json
  • devtools/delivery_gate_status.py
  • devtools/demo_packet.py
  • devtools/demo_shelf.py
  • devtools/devloop_temporal.py
  • devtools/docs_surface.py
  • devtools/evidence_dashboard.py
  • devtools/frontier_report.py
  • devtools/generated_surfaces.py
  • devtools/incident_coverage_ledger.py
  • devtools/inject_semantic_annotations.py
  • devtools/lab_scenario.py
  • devtools/lane_brief.py
  • devtools/lane_models.py
  • devtools/lineage_validation.py
  • devtools/mandate_continuity_replay.py
  • devtools/manifest_models.py
  • devtools/merge_boundary.py
  • devtools/merge_conductor.py
  • devtools/merge_gate.py
  • devtools/mutation_catalog.py
  • devtools/mutation_scenario_catalog.py
  • devtools/mutmut_campaign.py
  • devtools/pr_scope.py
  • devtools/pre_push_gate.py
  • devtools/preflight_ledger.py
  • devtools/public_claims.py
  • devtools/pytest_timeout_overrides.toml
  • devtools/pytest_witness_repetitions.py
  • devtools/quality_registry.py
  • devtools/raw_authority_restart_proof.py
  • devtools/raw_authority_scale_proof.py
  • devtools/reconcile_tracker_authority.py
  • devtools/regenerate_acceptance_contracts.py
  • devtools/reindex_canary.py
  • devtools/release_readiness.py
  • devtools/render_agent_manual.py
  • devtools/render_api_operation_parity.py
  • devtools/render_cli_output_schemas.py
  • devtools/render_cli_reference.py
  • devtools/render_demo_corpus_datasheet.py
  • devtools/render_devtools_reference.py
  • devtools/render_docs_surface.py
  • devtools/render_mcp_equivalence.py
  • devtools/render_mcp_tool_index.py
  • devtools/render_pages.py
  • devtools/render_product_workflows.py
  • devtools/render_public_claims.py
  • devtools/render_quality_reference.py
  • devtools/render_semantic_card_registry.py
  • devtools/render_visual_tapes.py
  • devtools/run_campaign.py
  • devtools/run_validation_lanes.py
  • devtools/scenario_coverage.py
  • devtools/scenario_projection_catalog.py
  • devtools/scenario_projections.py
  • devtools/seed_receipt_compare.py
  • devtools/synthetic_benchmark_catalog.py
  • devtools/task_history.py
  • devtools/test_economics_report.py
  • devtools/testmon_blind_spot_audit.py
  • devtools/validation_catalog.py
  • devtools/validation_lane_catalog_contracts.py
  • devtools/validation_lane_catalog_live.py
  • devtools/validation_lane_runtime.py
  • devtools/verify.py
  • devtools/verify_agent_integration.py
  • devtools/verify_backlog_hygiene.py
  • devtools/verify_bead_graph.py
  • devtools/verify_campaign_archive_boundaries.py
  • devtools/verify_catalog_bypasses.py
  • devtools/verify_ci_commands.py
  • devtools/verify_ci_workflows.py
  • devtools/verify_classifier_fingerprints.py
  • devtools/verify_closure_matrix.py
  • devtools/verify_degrade_loudly.py
  • devtools/verify_demo_packet_registry.py
  • devtools/verify_demo_tour_freshness.py
  • devtools/verify_doc_commands.py
  • devtools/verify_docs_coverage.py
  • devtools/verify_docs_drift.py
  • devtools/verify_layering.py
  • devtools/verify_manifests.py
  • devtools/verify_mutation_freshness.py
  • devtools/verify_position_derived_identity.py
  • devtools/verify_pytest_timeout_overrides.py
  • devtools/verify_raw_authority_frontier_executability.py
  • devtools/verify_raw_payload_hash_purity.py
  • devtools/verify_schema_upgrade_lane.py
  • devtools/verify_slos.py
  • devtools/verify_table_exists_duplication.py
  • devtools/verify_test_infra_currency.py
  • devtools/visual_artifacts.py
  • docs/README.md
  • docs/agent-forensics.md
  • docs/agent-integration-reference.md
  • docs/architecture-spine.md
  • docs/audits/2026-05-19-closed-issue-workload-audit.md
  • docs/audits/2026-05-20-cross-surface-coherence-audit.md
  • docs/audits/2026-05-25-api-bypass-audit.md
  • docs/audits/2026-07-09-hash-boundary-census.md
  • docs/audits/2026-07-09-race-window-audit.md
  • docs/audits/2026-08-04-blob-ref-liveness-closure.md
  • docs/audits/2026-08-04-polylogue-uqwd-chatgpt-lifecycle-anchor-receipt.json
  • docs/audits/2026-08-04-polylogue-uqwd-chatgpt-lifecycle-anchor.md
  • docs/audits/2026-08-04-schema-disposition-audit.yaml
  • docs/audits/README.md
  • docs/cli-reference.md
  • docs/code-navigation.md
  • docs/cost-model.md
  • docs/demos.md
  • docs/design/README.md
  • docs/design/query-action-workflows.md
  • docs/devtools.md
  • docs/evidence/polylogue-0x7nh-reindex-canary-differ-implementation-2026-08-09.md
  • docs/evidence/polylogue-excluded-cursor-live-proof-2026-08-06.json
  • docs/evidence/polylogue-topology-live-proof-2026-08-06.md
  • docs/evidence/polylogue-xeck9-cursor-authority-census-2026-08-04.md
  • docs/examples/README.md
  • docs/examples/demo-packet-v2/README.md
  • docs/examples/demo-tour/command-output/01-claim-versus-receipt.txt
  • docs/examples/demo-tour/command-output/02-failed-actions-aggregate.txt
  • docs/examples/demo-tour/command-output/03-composed-lineage.txt
  • docs/examples/demo-tour/command-output/04-archive-facets.txt
  • docs/examples/demo-tour/recording.tape
  • docs/examples/demo-tour/report.json
  • docs/examples/demo-tour/report.md
  • docs/examples/demo-tour/transcript.txt
  • docs/examples/demo-tour/uvx-proof.md
  • docs/examples/reader-comprehension-test/README.md
  • docs/examples/visual-tapes/README.md
  • docs/findings/claim-vs-evidence.md
  • docs/getting-started.md
  • docs/hermes-operators.md
  • docs/internals.md
  • docs/library-api.md
  • docs/maintenance.md
  • docs/mcp-reference.md
  • docs/openapi/search.yaml
  • docs/plans/STORAGE_TWINS_DIVERGENCES.md
  • docs/plans/bead-readiness-audit-implementation-cluster.md
  • docs/plans/beads-acceptance-contracts-2026-08-07.md
  • docs/plans/beads-acceptance-contracts-2026-08-07.txt
  • docs/plans/beads-acceptance-reconciliation.md
  • docs/plans/beads-acceptance-route-registry.json
  • docs/plans/campaign-coverage.yaml
  • docs/plans/classifier-fingerprints.json
  • docs/plans/decision-adjudication-kea7p-avna-cijx-uh6c-rxdo9-ze5-dx1-fie-ca4.md
  • docs/plans/degrade-loudly-allowlist.yaml
  • docs/plans/demo-corpus-construct-audit.md
  • docs/plans/distribution-coverage.yaml
  • docs/plans/docs-coverage-baseline.yaml
  • docs/plans/docs-media-coverage.yaml
  • docs/plans/mutation-census.yaml
  • docs/plans/query-pipeline-substrate.md
  • docs/plans/reindex-incident-coverage.json
  • docs/plans/reindex-incident-coverage.schema.json
  • docs/plans/release-readiness-gate.md
  • docs/plans/scenario-coverage.yaml
  • docs/plans/security-privacy-coverage.yaml
  • docs/plans/slo-catalog.yaml
  • docs/plans/test-closure-matrix.yaml
  • docs/plans/test-quality-coverage.yaml
  • docs/product/workflows.md
  • docs/proof-artifacts.md
  • docs/providers/README.md
  • docs/public-claims.yaml
  • docs/retro/2026-05-24-1498-cascade.md
  • docs/schema.md
  • docs/schemas/cli-output/README.md
  • docs/schemas/cli-output/machine-error.schema.json
  • docs/schemas/cli-output/machine-success.schema.json
  • docs/schemas/cli-output/query-unit-aggregate-envelope.schema.json
  • docs/schemas/cli-output/query-unit-envelope.schema.json
  • docs/schemas/cli-output/search-envelope.schema.json
  • docs/schemas/cli-output/session-search-hit.schema.json
  • docs/schemas/cli-output/session-summary.schema.json
  • docs/schemas/demo-packet-v2.schema.json
  • docs/security.md
  • docs/site/pages.toml
  • docs/test-economics.md
  • docs/test-quality-workflows.md
  • docs/tracker-authority.md
  • docs/visual-evidence.md
  • experiments/audit-tooling/REPORT.md
  • polylogue/agent_integration/data/deep-reference.md
  • polylogue/agent_integration/data/integration-spec.json
  • polylogue/api/operation_parity.py
  • polylogue/archive/actions/followup.py
  • polylogue/archive/query/metadata.py
  • polylogue/cli/archive_query.py
  • polylogue/cli/click_app.py
  • polylogue/cli/commands/status.py
  • polylogue/cli/machine_main.py
  • polylogue/cli/query_actions.py
  • polylogue/cli/query_group.py
  • polylogue/daemon/embedding_backlog.py
  • polylogue/daemon/http.py
  • polylogue/daemon/route_contracts.py
  • polylogue/daemon/status.py
  • polylogue/daemon/status_snapshot.py
  • polylogue/daemon/web_shell_selection.py
  • polylogue/daemon_client.py
  • polylogue/demo/constructs.py
  • polylogue/demo/tour.py
  • polylogue/insights/improvement_loops.py
  • polylogue/insights/incident_evidence_materialization.py
  • polylogue/maintenance/archive_verification.py
  • polylogue/maintenance/canary_authorities.py
  • polylogue/maintenance/rebuild_index.py
  • polylogue/maintenance/reindex_canary.py
  • polylogue/mcp/call_log.py
  • polylogue/mcp/declarations/__init__.py
  • polylogue/mcp/declarations/adapter.py
  • polylogue/mcp/declarations/models.py
  • polylogue/mcp/declarations/registry.py
  • polylogue/mcp/server_resources.py
  • polylogue/mcp/server_support.py
  • polylogue/operations/action_contracts.py
  • polylogue/operations/audit.py
  • polylogue/operations/delete_authorization.py
  • polylogue/operations/mutation_actuators.py
  • polylogue/operations/mutation_transaction.py
  • polylogue/operations/specs.py
  • polylogue/product/__init__.py
  • polylogue/product/workflows.py
  • polylogue/scenarios/corpus.py
  • polylogue/schemas/validation/corpus.py
  • polylogue/schemas/validator_resolution.py
  • polylogue/security/secret_scan.py
  • polylogue/storage/fts/sql.py
  • polylogue/storage/index_generation.py
  • polylogue/storage/message_type_backfill.py
  • polylogue/storage/repair.py
  • polylogue/storage/sqlite/archive_tiers/archive.py
  • polylogue/storage/sqlite/archive_tiers/index.py
  • polylogue/storage/sqlite/async_sqlite_archive.py
  • polylogue/storage/sqlite/connection.py
  • polylogue/storage/sqlite/lifecycle.py
  • pyproject.toml
  • tests/benchmarks/conftest.py
  • tests/benchmarks/test_scale_tiers.py
  • tests/conftest.py
  • tests/data/continuity/catalog.json
  • tests/data/witnesses/blob-store-layout.json
  • tests/data/witnesses/mcp-tool-schemas.json
  • tests/fixtures/demo-packet-v2/invalid-missing-controls.json
  • tests/fixtures/demo-packet-v2/invalid-missing-falsifier.json
  • tests/fixtures/demo-packet-v2/receipt.json
  • tests/fixtures/demo-packet-v2/valid-minimal.json
  • tests/fixtures/reindex_incident_coverage/campaign_graph.json
  • tests/fixtures/reindex_incident_coverage/registries.py
  • tests/infra/test_timeout_policy.py
  • tests/infra/timeout_policy.py
  • tests/infra/timeout_policy_cases/invalid_zero_timeout.py
  • tests/integration/test_basic_usage_cli.py
  • tests/integration/test_continuity_evidence.py
  • tests/integration/test_continuity_replay.py
  • tests/integration/test_mandate_continuity_replay.py
  • tests/unit/agent_integration/test_assets_and_cli.py
  • tests/unit/api/test_embedding_readiness_api.py
  • tests/unit/api/test_operation_parity.py
  • tests/unit/architecture/test_static_rendering_contracts.py
  • tests/unit/architecture/test_topology_invariants.py
  • tests/unit/archive/query/test_read_surface_control.py
  • tests/unit/cli/__snapshots__/test_help_snapshots.ambr
  • tests/unit/cli/__snapshots__/test_terminal_snapshots.ambr
  • tests/unit/cli/commands/test_status.py
  • tests/unit/cli/test_archive_query.py
  • tests/unit/cli/test_cli_action_contracts.py
  • tests/unit/cli/test_daemon_client.py
  • tests/unit/cli/test_query_exec_laws.py
  • tests/unit/cli/test_query_support_runtime.py
  • tests/unit/cli/test_reindex_canary_cli.py
  • tests/unit/cli/test_status.py
  • tests/unit/cli/test_verb_cardinality.py
  • tests/unit/core/test_claim_guard.py
  • tests/unit/core/test_synthetic_semantic_wiring.py
  • tests/unit/daemon/test_daemon_cli.py
  • tests/unit/daemon/test_http_write_coordination.py
  • tests/unit/daemon/test_web_shell_endpoint_contracts.py
  • tests/unit/demo/test_tour_packet_contract.py
  • tests/unit/devtools/test_action_contract_report.py
  • tests/unit/devtools/test_affordance_usage.py
  • tests/unit/devtools/test_artifact_graph.py
  • tests/unit/devtools/test_authored_scenario_catalog.py
  • tests/unit/devtools/test_backlog_calibration.py
  • tests/unit/devtools/test_bead_batch_show.py
  • tests/unit/devtools/test_beads_acceptance_applier.py
  • tests/unit/devtools/test_beads_acceptance_cli_routes.py
  • tests/unit/devtools/test_beads_acceptance_contracts.py
  • tests/unit/devtools/test_beads_acceptance_reconciliation.py
  • tests/unit/devtools/test_beads_state_report.py
  • tests/unit/devtools/test_benchmark_campaign.py
  • tests/unit/devtools/test_benchmark_campaigns.py
  • tests/unit/devtools/test_campaign_archive_location.py
  • tests/unit/devtools/test_campaign_receipt_reconciliation.py
  • tests/unit/devtools/test_campaign_report.py
  • tests/unit/devtools/test_chatgpt_lifecycle_anchor_audit.py
  • tests/unit/devtools/test_claim_vs_evidence.py
  • tests/unit/devtools/test_claim_vs_evidence_evidence.py
  • tests/unit/devtools/test_cli_surface_audit.py
  • tests/unit/devtools/test_cold_model_continuity_replay.py
  • tests/unit/devtools/test_command_catalog.py
  • tests/unit/devtools/test_continuity_evidence.py
  • tests/unit/devtools/test_corpus_fidelity.py
  • tests/unit/devtools/test_coverage_gate.py
  • tests/unit/devtools/test_delivery_gate_status.py
  • tests/unit/devtools/test_demo_packet.py
  • tests/unit/devtools/test_demo_shelf.py
  • tests/unit/devtools/test_devloop_temporal.py
  • tests/unit/devtools/test_devtools_main.py
  • tests/unit/devtools/test_durable_schema_policy_gate.py
  • tests/unit/devtools/test_evidence_dashboard.py
  • tests/unit/devtools/test_failure_context.py
  • tests/unit/devtools/test_frontier_report.py
  • tests/unit/devtools/test_generated_surfaces.py
  • tests/unit/devtools/test_incident_coverage_ledger.py
  • tests/unit/devtools/test_lab_scenario.py
  • tests/unit/devtools/test_lane_brief.py
  • tests/unit/devtools/test_lineage_validation.py
  • tests/unit/devtools/test_mandate_continuity_replay.py
  • tests/unit/devtools/test_merge_boundary.py
  • tests/unit/devtools/test_merge_conductor.py
  • tests/unit/devtools/test_merge_gate.py
  • tests/unit/devtools/test_mutation_catalog.py
  • tests/unit/devtools/test_pre_push_hook.py
  • tests/unit/devtools/test_preflight_ledger.py
  • tests/unit/devtools/test_public_claims.py
  • tests/unit/devtools/test_pytest_witness_repetitions.py
  • tests/unit/devtools/test_quality_registry.py
  • tests/unit/devtools/test_raw_authority_artifact_census.py
  • tests/unit/devtools/test_raw_authority_daemon_health_proof.py
  • tests/unit/devtools/test_raw_authority_restart_proof.py
  • tests/unit/devtools/test_raw_authority_scale_proof.py
  • tests/unit/devtools/test_reindex_canary.py
  • tests/unit/devtools/test_release_readiness.py
  • tests/unit/devtools/test_render_all.py
  • tests/unit/devtools/test_render_api_operation_parity.py
  • tests/unit/devtools/test_render_cli_reference.py
  • tests/unit/devtools/test_render_demo_corpus_datasheet.py
  • tests/unit/devtools/test_render_devtools_reference.py
  • tests/unit/devtools/test_render_docs_surface.py
  • tests/unit/devtools/test_render_quality_reference.py
  • tests/unit/devtools/test_render_visual_tapes.py
  • tests/unit/devtools/test_scenario_coverage.py
  • tests/unit/devtools/test_scenario_projections.py
  • tests/unit/devtools/test_seed_receipt_compare.py
  • tests/unit/devtools/test_slo_catalog.py
  • tests/unit/devtools/test_task_history.py
  • tests/unit/devtools/test_test_economics_report.py
  • tests/unit/devtools/test_testmon_blind_spot_audit.py
  • tests/unit/devtools/test_unknown_export_reclassification_apply.py
  • tests/unit/devtools/test_validation_lanes.py
  • tests/unit/devtools/test_verify.py
  • tests/unit/devtools/test_verify_backlog_hygiene.py
  • tests/unit/devtools/test_verify_bead_graph.py
  • tests/unit/devtools/test_verify_campaign_archive_boundaries.py
  • tests/unit/devtools/test_verify_catalog_bypasses.py
  • tests/unit/devtools/test_verify_ci_commands.py
  • tests/unit/devtools/test_verify_ci_workflows.py
  • tests/unit/devtools/test_verify_classifier_fingerprints.py
  • tests/unit/devtools/test_verify_closure_matrix.py
  • tests/unit/devtools/test_verify_degrade_loudly.py
  • tests/unit/devtools/test_verify_demo_tour_freshness.py
  • tests/unit/devtools/test_verify_doc_commands.py
  • tests/unit/devtools/test_verify_docs_coverage.py
  • tests/unit/devtools/test_verify_docs_drift.py
  • tests/unit/devtools/test_verify_manifests.py
  • tests/unit/devtools/test_verify_mutation_freshness.py
  • tests/unit/devtools/test_verify_position_derived_identity.py
  • tests/unit/devtools/test_verify_pytest_timeout_overrides.py
  • tests/unit/devtools/test_verify_raw_authority_frontier_executability.py
  • tests/unit/devtools/test_verify_raw_payload_hash_purity.py
  • tests/unit/devtools/test_verify_schema_upgrade_lane.py
  • tests/unit/devtools/test_visual_artifacts.py
  • tests/unit/insights/test_improvement_loops.py
  • tests/unit/maintenance/test_archive_verification.py
  • tests/unit/maintenance/test_rebuild_status.py
  • tests/unit/maintenance/test_reindex_canary.py
  • tests/unit/mcp/test_mcp_call_log.py
  • tests/unit/mcp/test_privileged_tools.py
  • tests/unit/mcp/test_prompt_registry_pinning.py
  • tests/unit/mcp/test_tool_declarations.py
  • tests/unit/operations/test_mutation_census.py
  • tests/unit/operations/test_operation_audit.py
  • tests/unit/operations/test_specs.py
  • tests/unit/pipeline/test_no_cli_imports.py
  • tests/unit/pipeline/test_search_text_coverage_contract.py
  • tests/unit/pipeline/test_validation_parallelism_contracts.py
  • tests/unit/product/test_continuity_scenarios.py
  • tests/unit/product/test_query_action_workflows.py
  • tests/unit/rendering/test_semantic_cards.py
  • tests/unit/sources/test_excluded_cursor_live_proof.py
  • tests/unit/sources/test_fuzz_targets_executable.py
  • tests/unit/storage/test_attachment_first_class_ids.py
  • tests/unit/storage/test_index_generation.py
  • tests/unit/storage/test_pl_fold.py
  • tests/unit/storage/test_public_claims_projection.py
  • tests/unit/storage/test_raw.py
  • tests/unit/storage/test_raw_admission.py
  • tests/unit/storage/test_raw_authority_ledger.py
  • tests/unit/storage/test_schema_safety.py
  • tests/unit/storage/test_search_text_write_tool_coverage.py
  • tests/unit/storage/test_spec_driven_hydration.py
  • tests/unit/storage/test_storage_twins.py
  • tests/unit/test_mutmut_campaign.py
  • tests/unit/test_session_profile_staleness_predicate.py
  • tests/unit/test_sqlite_connection_hygiene.py
  • tests/visual/conftest.py
  • tests/visual/test_reader_semantic_cards.py

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Sinity

Sinity commented Aug 11, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please review exact head fa41465d23bd01b8cb2a9966323638b6334308b9. Treat this as a capability-preservation audit: look for any deleted production/runtime route, independently valuable semantic invariant, migration authority, or test oracle hidden among the campaign/generated/report surfaces. Also inspect the CLI delete fix and the replacement executable workflow tests.

@Sinity

Sinity commented Aug 11, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please review exact head 629ceaee304518f145688c4d811ca1f8ee51c374. The only delta from the prior requested head restores the published source/003 migration bytes exactly; continue the capability-preservation audit against this final head.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 629ceaee30

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .circleci/config.yml Outdated
Comment thread .circleci/config.yml Outdated
Comment thread polylogue/cli/archive_query.py Outdated
@Sinity

Sinity commented Aug 11, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please review exact head 77294a201238e23fe0cce91d23e583c017051acb. This revision removes the stale CircleCI invocation of the deleted public-claims gate and restores the unfinished z9gh.7 continuity replay plus its real MCP/end-to-end tests after the active-Bead capability audit. Continue the capability-preservation review against this head.

@Sinity

Sinity commented Aug 11, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please review exact head 4f7b86f3a2c75bac5229e13c478ca3b53bf36b52. The final delta replaces one schema import-spelling assertion and three MCP AST-forwarding assertions with fresh-database parity and real FastMCP calls persisted/queryable through ops.db. Continue the capability-preservation and anti-bureaucracy audit on this exact head.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 4f7b86f3a2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Sinity

Sinity commented Aug 11, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please review exact head b6069b36aef9e579db5500e6c8eb42bcb4f656f9. The prior findings were addressed: both CI providers again run the real coverage gate, dead docs-drift CI calls are gone, and CLI deletion now uses the daemon writer gate or requires exclusive offline archive ownership.

@Sinity

Sinity commented Aug 11, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please review exact head 691f3337f72669e7029d50fb5c39aa892c0f5f43. The additional delta deletes only three non-behavioral fossils: a template-existence test already covered by renderer behavior, a natural-language MCP prompt regex, and a negative test freezing a standalone command’s absence. Confirm the retained registration, rendering, continuity, and real workflow coverage is sufficient.

@Sinity

Sinity commented Aug 11, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please review exact head e397f8543fd626c43fbe9eb3c7029dd2c94b1647. Additional delta removes the unreferenced package-root filename allowlist test; the real surface/storage architectural boundary remains and passes 169 focused tests.

@Sinity

Sinity commented Aug 11, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please review exact head 28c18ecccfa4ea54a6e1089d2fee74b65326e800. Final delta also corrects stale managed-generation guidance: status and project instructions now point to polylogue ops maintenance rebuild-index; the reset command remains for legitimate unmanaged/identity paths, and the embedding orphan command is documented as read-only.

@Sinity

Sinity commented Aug 11, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please review exact head 53479c8b148da911c9664b5250d777f93d3bd746. This deletes the spent one-time devtools lab pytest-witness-repetitions harness (413-line implementation + 153-line test), its catalog entry, and generated docs. The ordinary managed test/supervisor path and current lifecycle tests remain; confirm no live caller or required gate was removed.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 53479c8b14

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Sinity

Sinity commented Aug 11, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please review exact head 7f741f4ae after restoring the visual-tapes generated-surface registry/check path and the public search_similar_sessions fail-closed API test identified by independent review. Re-audit the remaining deletion set for capability preservation.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

command: ~/.local/bin/uv run devtools verify coverage

P1 Badge Restore the coverage threshold consumed by the CI gate

Fresh evidence after b6069b3 is that the new devtools.coverage_gate.read_coverage_threshold() requires [tool.coverage.report].fail_under, while this same change removes that table from pyproject.toml; invoking this exact command now raises ValueError: pyproject.toml does not define tool.coverage.report.fail_under before pytest starts. Both CircleCI and GitHub Actions therefore fail immediately instead of running the restored coverage suite, so retain the threshold or make the gate own a valid default.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread polylogue/daemon/http.py Outdated
Comment thread docs/examples/README.md Outdated
Comment thread polylogue/scenarios/corpus.py
@Sinity

Sinity commented Aug 12, 2026

Copy link
Copy Markdown
Owner Author

The reviewed head 7f741f4ae4c9333f18205984bd32afc4c336cf4b retains [tool.coverage.report].fail_under = 82 in pyproject.toml; the reported missing-threshold condition is not present at the current head. I verified the exact worktree with env -u PYTHONPATH -u VIRTUAL_ENV .venv/bin/python -m devtools.coverage_gate --help (exit 0). The comment appears to describe an earlier head.

@Sinity

Sinity commented Aug 12, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please review exact head f75be1dfca4a12109426f0632365cf7d7e13f0ec. The delta resolves the three current-head inline findings: CLI deletion is one authorized batch transaction, deleted example links are removed, and the retained judgment demo explicitly seeds candidate assertions. Focused real-route tests and the nine-step quick gate are green.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f75be1dfca

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pyproject.toml
Comment thread polylogue/cli/archive_query.py Outdated
Comment thread polylogue/daemon/http.py Outdated
Comment thread TESTING.md
@Sinity

Sinity commented Aug 12, 2026

Copy link
Copy Markdown
Owner Author

@codex review the exact current head 750e932. Focus on confirmed daemon delete indeterminacy, no offline fallback, full batch routing, coverage gate retention, and TESTING history guidance.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 750e9324c1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread polylogue/daemon_client.py
Comment thread TESTING.md Outdated
Comment thread polylogue/cli/archive_query.py Outdated
Comment thread polylogue/cli/archive_query.py Outdated
@Sinity
Sinity force-pushed the feature/chore/authority-foundation branch from 750e932 to 5e15303 Compare August 13, 2026 07:26
@Sinity

Sinity commented Aug 13, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please review exact pushed head 3550ca4ec0488e1e582fbd65ea356618128e1628. Audit the authority-foundation purge for any deleted live route, semantic invariant, migration authority, or independently valuable regression oracle. Focus additionally on the daemon-owned delete plan, post-connect interruption handling, split-root binding, snapshot release, and the corrected verification-history guidance. All prior inline findings have exact-head dispositions and are resolved.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3550ca4ec0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread polylogue/daemon/http.py Outdated
Comment thread devtools/verify.py Outdated
Comment thread devtools/verify.py
Comment thread polylogue/operations/audit.py
Comment thread polylogue/operations/delete_authorization.py
Comment thread polylogue/api/archive.py Outdated
@Sinity

Sinity commented Aug 13, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@Sinity

Sinity commented Aug 13, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown
⚠️ Action not completed

Review skipped: 458 files exceed the limit of 100.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8953f3e82d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread polylogue/api/archive.py Outdated
@Sinity

Sinity commented Aug 13, 2026

Copy link
Copy Markdown
Owner Author

Taking the inferred-corpus/schema-drift timeout cluster for Bead polylogue-lvz6. My write scope is tests/property/test_inferred_corpus_loop.py, tests/unit/schemas/test_inferred_corpus_manifest.py, tests/unit/storage/test_schema_drift_samples.py, plus only the narrow production or fixture helpers demonstrated responsible. I will avoid the files owned by PRs #3950, #3952, and #3962, along with the active status, rebuild, and durable-fixture lanes.

Sinity added a commit that referenced this pull request Aug 13, 2026
Problem: three non-reconstructible audit records were removed even though open Beads still use them as historical evidence.

What changed: restore the exact origin/master records and add a narrow index that marks them as historical evidence rather than current guides or generated gates.

Ref #3950
Sinity added 17 commits August 14, 2026 05:12
The documentation command checker treated every unknown Polylogue root as a legal free-text query, even though the product CLI rejects unquoted roots without find or field syntax. Generated schemas and active help also retained invalid check, diagnostics, and machine-mode examples.

Reuse the live root splitter and shared query-intent predicate, preserve shell quoting while scanning examples, exclude explicitly historical and proposed-design records, and regenerate current command surfaces from executable examples.
Problem: structured canary review references accepted arbitrary Bead and successor IDs, allowing an unexpected difference to be marked reviewed without durable open ownership.

What changed: resolve Bead authorities from the exact Git-HEAD issues JSONL through the existing PR-scope parser. Expected Beads must exist; unexpected successors must exist and remain open. Preserve executable index-delta validation and add real manifest-loader regressions for unknown and closed authorities.
Cover the manifest-loader path that rejects an unexpected difference whose successor identifier is absent from the committed Bead snapshot.
@Sinity
Sinity force-pushed the feature/chore/authority-foundation branch from 5c47314 to e49a320 Compare August 14, 2026 03:17

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e49a320d15

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread polylogue/storage/sqlite/migrations/source/003_drop_pending_blob_refs.sql Outdated
@Sinity

Sinity commented Aug 14, 2026

Copy link
Copy Markdown
Owner Author

Exact-head P1 repaired in 13135b3: restored polylogue/storage/sqlite/migrations/source/003_drop_pending_blob_refs.sql byte-for-byte to the published master bytes. Verified via git diff --exit-code origin/master -- for that migration, two durable-train hash/replay tests, and the 25.4s exact-head quick gate (20260814T033106Z-quick-2033174-5bd70dec).

@Sinity
Sinity merged commit c17e385 into master Aug 14, 2026
3 checks passed
@Sinity
Sinity deleted the feature/chore/authority-foundation branch August 14, 2026 03:37
Sinity added a commit that referenced this pull request Aug 14, 2026
## Summary

Validate Bead mutations and dispositions against the exact PR revisions
and the prospective post-merge tracker state.

## Problem

The v2 PR-scope check derived the merge base from `HEAD` and read
candidate Beads from a mutable worktree path. That made the result
depend on checkout state even when the caller already had immutable base
and head revisions. It also checked some successor relationships against
base state rather than the complete prospective base-plus-candidate
state, so a PR could misclassify a successor it created or changed
itself.

An earlier version of this PR attempted to solve a broader
candidate-code threat with an organization-level required-workflow
ruleset. That design was removed after auditing the actual repository
topology: `Sinity/polylogue` is user-owned, so GitHub's
organization/enterprise required-workflow rule cannot be installed here.
The retained change is the smaller revision-binding correctness fix.
CircleCI and the local merge wrapper exercise it only as cooperative
defense-in-depth: this user-owned repository has no required-workflow
ruleset, and PR-controlled CI configuration can omit the job. Neither
path is presented as an unspoofable repository security boundary.

## Solution

- Resolve Bead mutation scope from explicit base and head Git objects,
including the merge base and exact head `.beads/issues.jsonl` blob.
- Build one prospective Bead snapshot by applying the complete candidate
mutation set to base state before validating assigned Beads, residual
successors, links, and digests.
- Keep CircleCI.s existing base-revision validator and commit-to-open-PR
fallback as an explicitly advisory signal; do not add an unenforceable
workflow or another source-text policy test.
- Read candidate Bead records from the immutable `head_sha` Git object
whenever a base revision is supplied; mutable checkout paths are used
only for revision-less local rendering.
- Replace the misleading “authoritative” CLI wording with “base
validator” and document the actual enforcement boundary.
- Remove the proposed `pull_request_target` workflow, authority-only
API, declarative workflow documentation, and 320 lines of tests that
only supported the unavailable deployment shape.

## Verification

- `direnv exec . devtools test tests/unit/devtools/test_pr_scope.py`: 45
passed.
- `direnv exec . devtools verify --quick`: all 10 checks passed in
30.97s (`20260814T035204Z-quick-2171189-9c9a3203`).
- `direnv exec . devtools workspace pr-scope check --pr 3973`: `pr-scope
OK @ 419ba7d`.
- The focused suite uses real temporary Git repositories and committed
Beads snapshots; changing the head revision or prospective mutation set
changes the verdict.

## Merge ordering

#3950 is merged and this PR is retargeted to `master`; its effective
delta remains the same two files.

## Bead disposition

| Assigned | Mutated | Residual |
| --- | --- | --- |
| None | None | None |

<!-- polylogue-pr-scope:v2
{
  "assigned_beads": [],
  "dispositions": [],
  "mutated_beads": [],
"scope_digest":
"79a7984a9ec80a157c96dc8d28561159c642c15de3793837eff751fa7eac34a1",
  "scope_kind": "self_contained",
  "version": 2
}
-->
Sinity added a commit that referenced this pull request Aug 14, 2026
## Summary

Remove declarative artifact topology and its self-attesting verification
surfaces. Preserve the single executor apply gate exposed by the
retained MCP authority oracle, and make bound executor prevalidation and
audit-continuity recovery safe for concurrent and nested use.

## Problem

The artifact registry duplicated runtime relationships as manually
curated descriptors and code-reference claims. It could attest to itself
without proving a production route.

The retained MCP write-route oracle also exposed two real integration
faults. `OperationExecutor.execute_bound` revalidated a typed plan but
called `actuator.apply` directly. Routing the effect through
`OperationExecutor.execute` initially used one mutable executor slot, so
concurrent callers could overwrite each other's prevalidation authority.
Separately, the new continuity write lock covered ordinary execution but
not recovery; a concurrently constructed executor could reconcile and
promote an in-flight writer's prepared command before that writer
applied its domain effect.

## Solution

- Delete the declarative artifact graph, generated/control-plane
consumers, and artifact-specific source-shape checks while preserving
real operation, scenario, daemon, and MCP behavior tests.
- Route bound execution's final effect through
`OperationExecutor.execute` after typed freshness and audit checks.
- Hold the prevalidation scope as an immutable `ContextVar` stack and
restore it by token after success or failure. Concurrent threads and
async contexts are isolated; nested execution is supported; the bypass
is limited to the exact active actuator and plan identities.
- Serialize reconciliation, pending-rebind recovery, pre-continuity
binding, restore reconciliation, and ordinary continuity writes under
the same archive-scoped reentrant lock.
- Keep ordinary `execute` calls on stale-plan revalidation.

The executor regression uses one production executor, real
`TagAddActuator` routes, real archive and audit SQLite tiers, and
deterministic barrier ordering. It proves both receipts apply, both tags
persist, and both audit runs complete with zero unknown effects.
Restoring the former mutable executor slot makes it fail with
`MutationTransactionError`.

The continuity regression pauses a real source-WAL write after prepare,
concurrently starts recovery through a second coordinator for the same
archive, proves recovery cannot enter until the writer commits and
promotes, and then verifies only the writer applied the command and both
durable heads agree. Removing the recovery lock makes recovery steal the
pending command and the original writer fail promotion.

## Verification

- Focused operation/MCP/scenario/daemon/continuity suite: 129 passed in
21.49s.
- `direnv exec . devtools verify --quick`: all 10 checks passed in
27.21s (`20260814T033945Z-quick-2109307-916454c8`).
- `git diff --check`: clean.

## Merge ordering

#3950 is merged and this PR is retargeted to `master`; its effective
34-file delta is unchanged.

## Bead disposition

| Assigned | Mutated | Residual |
| --- | --- | --- |
| None | None | None |

<!-- polylogue-pr-scope:v2
{
  "assigned_beads": [],
  "dispositions": [],
  "mutated_beads": [],
"scope_digest":
"79a7984a9ec80a157c96dc8d28561159c642c15de3793837eff751fa7eac34a1",
  "scope_kind": "self_contained",
  "version": 2
}
-->
Sinity added a commit that referenced this pull request Aug 14, 2026
## Summary

Replace Polylogue's bespoke seed, shard, mutation-proof, and repair
registries with one automatic native `pytest-testmon` lifecycle owned by
plain `devtools verify`. Every managed native pytest lane now runs under
a closed-world command and environment contract, including ordinary
affected selection.

## Problem

The prior harness exposed several repair commands and separate state
registries while still allowing stale or incomplete dependency
authority. Untraceable runtime-data changes could select zero tests,
deleted or moved modules could leave stale graph inputs, inherited
pytest controls could suppress test bodies or narrow collection,
configured discovery could omit failing tests, and linked worktrees
could reuse or replace another checkout's database. Historical
verification receipts could also be mistaken for current release
authority.

Classifying individual pytest options was not a stable security
boundary. `--setup-only`, `--collect-only`, positional selectors,
`--ignore-glob`, `--last-failed`, configured `addopts`, configured
`testpaths`, discovery patterns, and ambient plugins all provided
independent ways to change what a managed invocation executed.

## Solution

- Make plain `devtools verify` create, validate, copy, repair, and
replace native testmon state automatically. No operator or agent
seed/repair command remains.
- Replace the old shard, seed, testmon-state, and mutation-proof
machinery with one native two-lane correctness corpus and one typed
verification record.
- Give affected, bootstrap, and full lanes one exact positive command
contract: the explicit `tests` root, repository-owned
file/class/function patterns, an empty recursion exclusion, empty
configured `addopts`, and only explicitly owned pytest plugins.
- Remove `PYTEST_ADDOPTS` and `PYTEST_PLUGINS` from every managed native
child and disable ambient plugin autoload. Record addopts
neutralization, plugin neutralization, and closed-world collection for
each lane; release authority depends on those recorded invariants.
- Validate the complete generated command instead of maintaining a
pytest option deny-list. Added selectors, ignores, deselection controls,
positional targets, or later overrides invalidate the managed-command
receipt.
- Force complete selection for untraceable package, test-runtime, and
packaging changes. Exclude the intentional performance benchmark tree
from correctness graph requirements.
- Treat deleted and moved Python paths as bootstrap triggers, then
require post-build graph edges only for executable paths that still
exist. Ordinary imports are executable; `TYPE_CHECKING`-only imports
remain declarations.
- Bind testmon SQLite access to one no-follow checkout-owned directory
descriptor through preparation, both lanes, and final inspection. Reject
symlinked parents, database files, and sidecars; serialize the complete
lifecycle with a checkout-local lock.
- Keep the checkout mutation monitor active through final Git HEAD and
worktree fingerprint sampling on normal, preflight-failure,
runner-exception, and interrupt paths. Every exceptional finalization
denies release authority.
- Pin the validated native plugin range to
`pytest-testmon>=2.2.0,<2.3.0` and assert the private schema contract
used by the inspector.
- Preserve the #3950/#3974 deletion set during the final rebase. Retired
campaign, catalog, Beads, and evidence modules were not restored.

## Verification

- `direnv exec . devtools workspace verify-worktree
/realm/worktrees/polylogue-native-testmon --expect-branch
feature/test/native-testmon-lifecycle`: isolated linked worktree
verified at exact head `c7556c982384dac9948f142301769088d0eee2da`.
- `direnv exec . devtools test tests/unit/devtools/test_verify.py
tests/unit/devtools/test_testmon_bootstrap.py`: **227 passed in
34.63s**. This covers exact command construction, all three native
modes, typed release authority, finalization paths, lifecycle locking,
Git-authority monitoring, schema compatibility, change classification,
plugin declarations, and symlink refusal.
- `direnv exec . devtools test
tests/integration/devtools/test_native_testmon_lifecycle.py -k
'production_affected_verify_neutralizes_execution_suppressing_addopts or
production_verify_fails_closed_on_dynamic_pytest_plugins or
managed_native_launch_keeps_state_inode_bound_during_parent_replacement
or managed_native_routes_reject_replaced_cache_parent or
production_verify_all_owns_complete_test_root_over_configured_testpaths
or production_verify_all_neutralizes_external_pytest_addopts'`: **14
passed, 17 deselected in 126.43s**. Real nested `devtools verify`
invocations prove affected failing bodies execute under inherited
`--collect-only` and `--setup-only`; full lanes cannot be narrowed by
positional selectors, ignore globs, last-failed state, configured
addopts/testpaths/discovery, or ambient plugins; dynamic repository
plugin declarations fail closed; and parent replacement cannot redirect
managed SQLite state.
- `direnv exec . devtools verify --quick`: all 10 format, lint, strict
mypy, render, layering, command, schema, and promotion-audit gates
passed in **28.17s**. The receipt records matching initial/final head
`c7556c982384dac9948f142301769088d0eee2da` and matching worktree
fingerprints.
- `git merge-base --is-ancestor b0cee7b
HEAD`: success. The branch is rebased onto the requested stable master.
- All 27 review threads were classified against current code, answered
with concrete evidence, and resolved. The final thread was an outdated
operations-layer concern on a file byte-identical between exact base and
head, so it was recorded as a potentially valid base issue but
non-actionable for this verifier-scoped PR. Five independent adversarial
review iterations were run. Each in-scope finding was fixed and covered;
the loop reached its five-iteration cap after the fifth fixes, so this
does not claim an unrun sixth clean iteration.

## Acceptance criteria

| Criterion | Disposition | Evidence |
| --- | --- | --- |
| Fresh main checkouts and linked worktrees acquire usable testmon state
automatically | Satisfied | Production lifecycle tests cover absent
state, main-checkout build, linked-worktree copy/rebind, malformed cache
recovery, and atomic replacement. |
| Runtime or packaging data changes cannot yield a green zero-selection
run | Satisfied | Change classification forces the complete correctness
corpus, including additions and deletions. |
| Deleted and moved modules cannot preserve stale release authority |
Satisfied | Deleted paths trigger bootstrap while post-build
requirements include only extant executable paths; real deletion and
rename routes are covered. |
| Ambient or configured pytest controls cannot suppress bodies or narrow
managed authority | Satisfied | All native lanes own the exact command,
environment, plugins, discovery, and explicit `tests` root. Production
regressions observe failing parallel and load-sensitive bodies. |
| Parallel and serial lanes use the same authority contract | Satisfied
| Both commands come from one builder and every aggregate requires both
lanes to attest neutralization and closed-world collection. |
| Testmon state replacement is checkout-owned and race-safe | Satisfied
| Parent/file/sidecar validation, no-follow directory binding, lifecycle
locking, and mid-run parent replacement tests cover the production
route. |
| Historical or exceptional receipts cannot grant current release
authority | Satisfied | Typed scope compatibility remains diagnostic;
checkout drift, preparation failure, runner exceptions, and interrupts
finalize with release authority denied. |
| Manual seed, shard, and repair bureaucracy is removed | Satisfied |
Legacy commands, registries, mutation-proof modules, seed-recovery
suite, and scale-fixture registry remain deleted after rebasing. |

## Remaining scope

`polylogue-lvz6` still owns final release-authority convergence. This PR
supplies the automatic test-selection and baseline substrate; it does
not claim that the production archive is release-ready.

## Stack resolution

The branch is rebased directly onto stable master
`b0cee7b99c36a7f8eb94bf122782255f42072709`. No further retarget or
intermediate restack is required.

<!-- polylogue-pr-scope:v2
{
  "assigned_beads": [],
  "dispositions": [],
  "mutated_beads": [],
"scope_digest":
"79a7984a9ec80a157c96dc8d28561159c642c15de3793837eff751fa7eac34a1",
  "scope_kind": "self_contained",
  "version": 2
}
-->

## Exact-head review follow-up

At `43fee85a2a47512e5da9efaebde7f38bc5aaed47`, all four current review
findings were fixed and covered.

- Release-baseline bootstrap and `--all` lanes now force the full
Hypothesis profile, and native environment preparation receives that
explicit profile identity.
- The lifecycle lock is opened through a no-follow cache directory
descriptor and checked as the same checkout-owned regular inode before
it is truncated or written.
- A transient tracked-file mutation observed during changed-path
classification or native preparation now makes the final exact-head
receipt ineligible, even if the file is restored before pytest begins.
- Merge-train help and pending-status guidance now require a
release-baseline `devtools verify --all` receipt; a narrow selection is
explicitly described as insufficient.

## Review-fix verification

- `direnv exec . devtools test
tests/unit/devtools/test_verify.py::test_native_testmon_lifecycle_lock_refuses_symlink_without_touching_target
tests/unit/devtools/test_verify.py::test_preparation_mutation_withholds_release_authority_after_restoration
tests/unit/devtools/test_merge_boundary.py::test_train_status_requires_release_baseline_guidance
tests/integration/devtools/test_native_testmon_lifecycle.py::test_release_native_runs_override_a_reduced_hypothesis_profile`:
**5 passed in 19.50s**. The production regression invokes both
automatic-bootstrap and `--all` routes with `HYPOTHESIS_PROFILE=verify`,
while each fixture test asserts the full 100-example profile and the
receipt grants release authority.
- `direnv exec . devtools verify --quick`: all 10 quick gates passed in
**25.78s** at the exact head above.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Verification automatically prepares, repairs, and validates its test
state.
- Verification history now reports clearer outcomes, resource usage,
cleanup, containment, and deadlines.
  - Release-baseline verification is required for full merge validation.
- Nightly large-scale benchmarks now run as an explicit four-test
campaign.

- **Bug Fixes**
- Improved handling of invalid, interrupted, or outdated verification
state.
  - Safer behavior for linked worktrees and temporary files.

- **Documentation**
- Updated verification and contribution guidance for the streamlined
workflow.

- **Tests**
- Expanded coverage for native verification, worktrees, recovery,
deadlines, and benchmarks.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Codex <noreply@openai.com>
Sinity added a commit that referenced this pull request Aug 17, 2026
test_lab_scenario asserted the scenario listing reports a baseline
artifact_count, which #3950 deliberately removed as self-attesting bureaucracy
-- reader-visual artifacts are produced into a report directory when the
scenario runs. The case is literally named
"reports_live_paths_without_baseline_counts", so it now asserts the key is
absent rather than positive.

test_resilience expected message ids without the position discriminator
(`<session>:0.0` rather than `<session>:p:0.0`). The generated column carries
`COALESCE(native_id, 'p:'||position||'.'||variant_index)`, so these rows -- which
have no native id -- take the `p:` form.

Verification: devtools test tests/unit/devtools/test_lab_scenario.py -> 11 passed
(was 10 passed, 1 failed). devtools test tests/unit/pipeline/test_resilience.py
-> 24 passed (was 23 passed, 1 failed).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HWcPJJJvuF25CqVwTFgSQC
Sinity added a commit that referenced this pull request Aug 17, 2026
polylogue-g8v5z asked how to bind the executable ARCHIVE_VERIFICATION_CHECKS
registry to the conceptual incident ledger. That ledger was deleted in c17e385
(#3950) and no copy survives in the tree; its verify step is gone from the
pipeline. Meanwhile all 26 checks now carry a populated, distinct invariant_id
equal to the check name, plus a coarser bead_id grouping -- the identity field
whose absence stopped the lane.

So there is no two-plane mismatch to arbitrate, and polylogue-reindex-registry-two-plane-subset
was blocked on a stale premise. That unblocks polylogue-t0m73 (P0).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HWcPJJJvuF25CqVwTFgSQC
Sinity added a commit that referenced this pull request Aug 19, 2026
## Summary

Deletes 5 of the 8 devtools modules the WS-C pruning ledger's tranche-1
table
listed for deletion, plus their catalog entries and tests. Three named
rows
(`dev_loop`, `mutmut_campaign`/`run_campaign`, `proof_world_real_slice`)
turned out to be live or contested on verification and are explicitly
excluded — see Problem below.

## Problem

`.agent/campaigns/2026-08-overhaul/ws-c-devtools-pruning.md` catalogs
~139
devtools modules toward a ~45k LOC / ~55 command target. Tranche 1 lists
8
"retired-workflow fossil" rows as high-confidence deletions, gated on a
per-row checklist (rule 5, "EVIDENCE BEFORE DELETION"): re-grep
`.beads-hooks/`, `.circleci/config.yml`, `.claude/hooks/`, `scripts/`,
and
`.github/workflows/*.yml` for module invocations before deleting,
because
string-keyed CLI dispatch and shell-invoked entrypoints don't show up in
an
import-graph grep (this is exactly how `pre_push_gate` and
`coverage_gate`
were wrongly flagged for deletion in the ledger's own 2026-08-18
correction
pass).

Re-running that checklist per row (the ledger's 2026-08-19 spot-check
had
already run it, but omitted `.github/workflows/*.yml` from the grep
target
list) found two more wrong entries before this PR was first opened, and
a
third was caught afterward by cold adversarial re-verification:

- **`dev_loop` (3,844 LOC + a cited product-side family in
`daemon/http.py`,
`daemon/cli.py`, `route_contracts.py`)** is not dead. It's
catalog-registered
  as `workspace dev-loop` with a large flag surface

(`--prepare`/`--launch-daemon`/`--capture-cli`/`--receiver-smoke`/etc.),
has
a 1,629-line test file, and a 757-line doc (`docs/dev-loop.md`) linked
from
`docs/README.md`'s nav — last touched by a real feature commit 5 days
before
this PR (#3333, "close remaining polylogue-5en gaps"). The ledger's
citation
("devloop workflow explicitly retired, CLAUDE.md: do not resurrect") is
a
name collision: CLAUDE.md's retirement note is about the unrelated
bespoke
  Beads/conductor-packet workflow, not this branch-local
  daemon/browser-capture preflight tool.
- **`mutmut_campaign` + `run_campaign` (624 LOC)** are two unrelated
modules
the ledger conflated by name similarity. `mutmut_campaign.py` (catalog:
  `bench mutation`) is invoked weekly by
  `.github/workflows/mutation-testing.yml` (`devtools bench mutation run
  "$campaign"`) — exactly the grep the spot-check missed by skipping
`.github/workflows/`. `run_campaign.py` (catalog: `bench synthetic`) is
a
  separate, live-tested command

(`test_benchmark_campaigns.py::test_run_campaign_skips_seed_archive_for_daemon_live`)
driving the ledger's own NEEDS-EVIDENCE/default-keep
`large_archive_generator`
+ `synthetic_benchmark_runtime` modules; it has nothing to do with
mutation
  testing.
- **AUDITED AND EXCLUDED (found by cold verification after this PR's
first
push, restored in a follow-up commit): `proof_world_real_slice` (440 LOC
+
test)**. The ledger's row cited it as belonging to the closed `jxe`
uplift
  campaign, but the module's own docstring and its test both cite
`polylogue-212.11` instead — an **open, P3** bead whose notes name this
  tool as "the harness half of the real-archive-data extension" with a
pending, unpromoted deliverable. Same name-collision failure class as
the
`dev_loop`/`mutmut_campaign` catches above, just missed on this row
during
  the original per-row pass. Restored verbatim (module, test, and the
  `demo real-slice-screen` CommandSpec) from before deletion.

All three exclusions were reported to the coordinator (the first two
before
this PR was opened, the third as soon as cold review surfaced it).

## Solution

Deletes the remaining 5 rows, each independently re-verified clean (no
hook/CI/doc/production references beyond the module's own catalog entry
and
test file):

- `claim_vs_evidence.py` + `claim_vs_evidence_evidence.py` (+ both test
  files) — the `polylogue-sru` campaign closed with terminal artifacts
  2026-07-06; this CLI re-proved an already-recorded claim. The durable
  production primitive it wrote through, `PublicClaimProjection`
(`polylogue/insights/measurement/public_claims.py`), is untouched and
lives
  independently. Trimmed `docs/findings/claim-vs-evidence.md`'s now-dead
"Reproduce"/"Regenerate" sections (they invoked the deleted command)
while
keeping the finding's substantive text as a frozen historical record —
the
2026-08-14 purge (#3950) had already retired "the closed
claim-vs-evidence
campaign's private-report/calibration/publishing harness" in spirit;
this
  PR finishes that.
- `turso_probe.py` (+ test) — Turso storage-backend research
(#2257/#2281,
June) concluded; direction settled on SQLite independence + Sinex mode.
- `resume_ranking_eval.py` (+ test) — orphan: no catalog entry, no
importers
  beyond its own test.
- `help_latency_probe.py` (no dedicated test file existed) — one-shot
  CLI-latency research; not wired into any gate.
- `temporal_read_profile.py` + `temporal_archive_aggregates.py` (+ both
test
  files) — one-shot read-profiling research (July 2).

Each deleted module's `CommandSpec` was removed from
`devtools/command_catalog.py`, then `devtools render devtools-reference`
regenerated `docs/devtools.md`. No CLAUDE.md tooling-list lines named
any of
the six deleted commands, so none needed trimming there.
`proof_world_real_slice`'s `CommandSpec` was restored to the same spot
in the
follow-up commit and `devtools render devtools-reference` re-run.

## Verification

- `devtools render all --check` — exit 0, no `out of sync` surfaces.
- `devtools verify --quick` — `"status": "success"`, `"exit_code": 0`
(run
  again after the `proof_world_real_slice` restore, still green).
- `devtools verify` (full, complete-corpus) — `"status": "success"`,
`"exit_code": 0`, `"terminal_green": true`, `"complete_corpus_covered":
  true`, `"non_green_count": 0`, `"release_baseline_allowed": true`.
- `devtools test tests/unit/devtools/test_proof_world_real_slice.py` —
20/20
  passed, confirming the restored module's tests are intact.
- `python -m devtools.verify_doc_commands` — `67 doc files scanned, no
stale
  commands` (caught and fixed one accidental literal reference to the
  now-deleted claim-vs-evidence command in the trimmed findings doc).

Anti-vacuity: pure deletion (plus one restoration); reachability
evidence per
surviving row is in the ledger plus the re-verification above (all rows
independently re-grepped against `.beads-hooks/`,
`.circleci/config.yml`,
`.claude/hooks/`, `scripts/`, `.git/hooks/`, and
`.github/workflows/*.yml`,
and cross-checked against `docs/` and git log recency).

## Bead disposition matrix

This PR does not close, claim, or otherwise mutate any Beads issue — it
is
pure code/doc deletion against the campaign's markdown ledger, not a
Beads
tracker item. `mutated_beads` is empty; using the `self_contained` scope
carrier. `polylogue-212.11` is cited as evidence for the
`proof_world_real_slice` exclusion but is not touched, claimed, or
closed by
this PR.

Candidate follow-ups for the coordinator (not closed by this PR):

| Item | Note |
| --- | --- |
| Tranche 1 revision | The ledger's tranche-1 table and its "Est. ~8.6k
LOC" total need updating to remove `dev_loop`,
`mutmut_campaign`/`run_campaign`, and `proof_world_real_slice` as
confirmed-live/contested, plus record the `.github/workflows/` gap in
the spot-check methodology so future tranches don't repeat it. |
| Tranche 2 execution | Unblocked to proceed independently; nothing in
this PR touches tranche-2 rows. |

## Verification commands run

```
devtools render all --check
devtools verify --quick
devtools verify
devtools test tests/unit/devtools/test_proof_world_real_slice.py
python -m devtools.verify_doc_commands
```
<!-- polylogue-pr-scope:v2
{
  "assigned_beads": [],
  "dispositions": [],
  "mutated_beads": [],
"scope_digest":
"79a7984a9ec80a157c96dc8d28561159c642c15de3793837eff751fa7eac34a1",
  "scope_kind": "self_contained",
  "version": 2
}
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant