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

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 Resolved
Comment thread .circleci/config.yml Resolved
Comment thread polylogue/cli/archive_query.py Resolved
@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 Resolved
Comment thread docs/examples/README.md Resolved
Comment thread polylogue/scenarios/corpus.py Resolved
@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 Resolved
Comment thread polylogue/cli/archive_query.py Resolved
Comment thread polylogue/daemon/http.py Resolved
Comment thread TESTING.md Resolved
@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 Resolved
Comment thread TESTING.md Resolved
Comment thread polylogue/cli/archive_query.py Resolved
Comment thread polylogue/cli/archive_query.py Resolved
@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 Resolved
Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
Comment thread polylogue/operations/audit.py Resolved
Comment thread polylogue/api/archive.py Resolved
@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 Resolved
@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
This was referenced Oct 1, 2026
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