Skip to content

chore: Delete the campaign-only source-transition actuators - #4806

Merged
Sinity merged 14 commits into
masterfrom
batch/polylogue-20260907-045819-0eb68874/integration
Sep 7, 2026
Merged

Sinity merged 14 commits into
masterfrom
batch/polylogue-20260907-045819-0eb68874/integration

Conversation

@Sinity

@Sinity Sinity commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Batch polylogue-20260907-045819-0eb68874 on base ed3d034256e8.

polylogue-2x6xu Delete the campaign-only source-transition actuators

  • 1. The polylogue-6kur.4 disposition has zero unknown actuator entries, and every private survivor names an exact terminal restoration receipt.
  • 2. Every wanted source-missing item has been copied and fsynced into an ordinary source or spool, independently verified, and accepted through current production acquisition before its extractor is re
  • 3. All remaining source-transition extractors, registrations, wrappers, transition-only schema declarations, tests, generated surfaces and vocabularies are deleted.
  • 4. Current acquisition, source lineage, blob liveness, idempotency, append authenticity and supported extant provider formats remain with their canonical domain owners.
  • 5. Producer age is never a deletion criterion. An oldest-supported source-shaped fixture remains importable.
  • 6. Recurring semantic containment has one source-adapter-owned API with equality, both containment directions, divergence and not-evaluated. It has no durable verdict, obstacle, plan, census or eviden
  • 7. A source tier seeded with arbitrary quarantine, verdict, census and incident rows cannot alter what the fresh archive builds.
  • 8. Canonical fresh source DDL omits the obsolete transition objects. The frozen old databases are not migrated for tidiness.
  • 9. Focused production-route restoration, admission, containment, command-discovery, schema-versioning, oracle-integrity, generated-surface, quick and affected verification pass. Controlled missing-rec
  • 10. The deletion ledger reports production, test, schema and generated LOC plus commands and schema objects removed. The change is net-negative and leaves no replacement campaign control plane.

polylogue-bp12n.4 Reserve interactive compute capacity and prove mixed-load progress

  • 1. A checked benchmark profile exercises the actual installed cold CLI and direct UDS operation route for status, find/read, static/live completion, concurrent reads, incremental ingest, derivation ca
  • 2. CPython 3.14t with free-threading is the sole production compute runtime. Bounded comparisons select thread count, admission quotas, and writer batch/hold limits. No permanent standard/free-threade
  • 3. The old HTTP UDS adapter and separate health probe are absent from the measured CLI path. One typed UDS request returns protocol, archive/generation, readiness/authority, progress/result, and error
  • 4. Under simultaneous interactive and representative bulk work, interactive p95/p99 remain within declared budgets, background throughput is nonzero, queue depth and estimated queued bytes remain boun
  • 5. No writer transaction spans parsing, hashing, network I/O, executor waits, or queue waits. Repeated commit intents are idempotent; generation/input/version revalidation rejects stale computation. C
  • 6. Crash, cancellation, deadline expiry, worker failure, queue saturation, connection loss after mutation acceptance, and daemon restart have deterministic typed outcomes. A timed-out mutation cannot
  • 7. Sequential read execution is default. Parallel fan-out survives only for named operations whose production benchmark improves p95 while preserving writer progress, cancellation, connection/RSS budg
  • 8. The initial architecture contains no general memo result cache. If one operation still misses its SLO, a bounded disabled/enabled experiment must show material p95 benefit and prove generation/rela
  • 9. CLI, MCP, HTTP, and Python lower to the same operation declarations and return equivalent authority/result envelopes. Allowed reads use the same executor directly only when the daemon is absent; wr
  • 10. Controlled production-seam mutants for queue admission, deadline propagation, stale publication, idempotency, writer hold, UDS envelope fields, CLI fallback, cancellation, and result ordering fail
  • 11. Exact verification: devtools test focused daemon protocol, scheduler, writer-intent, cancellation/fault, CLI parity, and concurrency selectors; the named managed daemon/CLI performance profile; de
  • 12. The deletion ledger reports gross deleted, relocated, added, and net maintained LOC and proves one scheduler, compute adapter, writer-intent path, protocol, and SLO authority. Superseded process-p

Sinity and others added 13 commits September 7, 2026 13:10
The bounded compute adapter accepted an admission class and discarded it, so
interactive reads, control mutations, and background work competed for one
undifferentiated queue. Bulk work could take every unit and every worker slot.

Each class now holds a reserve no other class can take, and a ceiling that is
capacity minus every other class's reserve. Dispatch is FIFO within a class and
ordered control, interactive, incremental, bulk between them, so background work
always has a slot and its admission-to-dispatch wait is bounded by one running
task rather than by interactive load. Saturation returns typed backpressure
carrying queue evidence; a cancelled read leaves its queue before it starts and
returns its reservation exactly once.

Mutating HTTP routes now carry the control class and wait for their own
substrate call, which retires the second admission path (a bounded semaphore
plus raw executor submission) that existed only to keep the writer lease off
the read timeout contract.

Co-Authored-By: Claude Opus 5 <[email protected]>
The typed operation envelope declares elapsed_ms and queue_ms as authority
metadata and sent literal zeros for both, so a slow or queued request was
indistinguishable from an instant one. elapsed_ms is now measured across the
route and queue_ms is the scheduler's own admission-to-dispatch wait for that
request.

Co-Authored-By: Claude Opus 5 <[email protected]>
DaemonClient.probe() issued a separate /api/health round trip and
DaemonClient.cli_query() spoke the pre-operation HTTP route; neither had a
production caller once the typed operation envelope started carrying archive
identity, readiness and authority. The archive-mismatch law they protected now
runs against operation(), and the CLI reaches the daemon in one request.

Co-Authored-By: Claude Opus 5 <[email protected]>
One completion can free several slots when a unit occupies more than one, and
dispatching a single task per event left the rest idle until an unrelated
completion or submission arrived.

Co-Authored-By: Claude Opus 5 <[email protected]>
A five-second body let a loaded host release the saturating tasks before the
assertion, turning a fairness law into a vacuous pass.

Co-Authored-By: Claude Opus 5 <[email protected]>
A saturated class now returns a typed 503 rather than queueing, which is a
user-visible API outcome the daemon reference did not name.

Co-Authored-By: Claude Opus 5 <[email protected]>
polylogue.insights was merged into polylogue.analysis in #4614; this test kept
the old path and failed at import.

Co-Authored-By: Claude Opus 5 <[email protected]>
Eight one-shot transition receipt tables recorded what a historical
actuator did to the pre-restart archive. Every actuator is gone, so
nothing writes them and nothing in the build path reads them.

Fresh source generations no longer declare them; they are added to
RETIRED_SOURCE_SCHEMA_OBJECTS so a migrated historical tier keeps them
and still passes parity. No database is migrated.

Deleted with them: the four classifier halves whose actuators were
already retired (live_source_reconciliation, raw_membership_writeback,
raw_append_chain_backfill, raw_byte_duplicate_supersession), the dead
raw-failure-disposition actuator probe in the durable change train, and
the campaign-genesis verifier and its `verify-campaign-genesis` command.

raw_authority_verdicts was marked PURGE under this bead's name. It is a
live fingerprint-invalidated cache with a daemon convergence stage and
production readers, fixed and tuned on 2026-09-05; its disposition is
corrected to KEEP rather than executed.

The durable-schema-evolution gate now recognises a rendered-DDL change
that only removes declared-retired objects. Adding or redefining an
object, or removing an undeclared one, still needs the version bump and
the contiguous migration chain.

Deletion ledger: production -1306 LOC, tests -271, generated docs -2444,
devtools +48; net -3973. 8 tables and 10 indexes removed from fresh
source DDL, 111 source disposition rows, 1 CLI command, 10 files.

Co-Authored-By: Claude Opus 5 <[email protected]>
…u' into batch/polylogue-20260907-045819-0eb68874/integration
…n.4' into batch/polylogue-20260907-045819-0eb68874/integration
@coderabbitai

coderabbitai Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: 90d10749-faaa-4634-a202-c2d35422ae82


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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-07T17:07:50.037990Z 9e6bbad New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

…60907-045819-0eb68874/integration

# Conflicts:
#	docs/evidence/schema-disposition-2026-08-31.json
#	docs/schema-disposition-2026-08-19.md

@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: 8ac3e2f054

ℹ️ 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/execution.py Resolved
Comment thread polylogue/daemon/execution.py Resolved
@Sinity
Sinity merged commit 28850e3 into master Sep 7, 2026
3 checks passed
@Sinity
Sinity deleted the batch/polylogue-20260907-045819-0eb68874/integration branch September 7, 2026 17:00

@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: 9e6bbad4d9

ℹ️ 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/execution.py Resolved
Comment thread polylogue/daemon/execution.py Resolved
@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at ef10e59):

Resolving the fixed, stale and refuted threads; tracked threads stay open.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at 64a9bd0):

  • P1 polylogue/storage/sqlite/archive_tiers/source.py:31: Not a defect (checked at 64a9bd0): The premise is an archive migrated through historical source versions 18-41. The fresh format starts source.db at version 1 (init.py:23) and moves earlier state aside as salvage with no migration (AGENTS.md:74-76). Retaining reconciliation exemptions for that state would be a compatibility path.

Resolving every thread listed; confirmed defects are fixed under the named bead.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at 0914f89):

  • P2 polylogue/daemon/execution.py:444: Fixed on master (checked at 0914f89): submit now refuses a task whose slot demand exceeds its class slot ceiling before admission (polylogue/daemon/execution.py:537-545).
  • P2 polylogue/daemon/execution.py:404: Fixed on master (checked at 0914f89): Admission now subtracts every other group's unmet reserve from capacity, and group ceilings apply to aggregate group usage (polylogue/daemon/execution.py:478-483).
  • P2 polylogue/daemon/execution.py:476: Fixed on master (checked at 0914f89): Background classes are now selected in a rotating turn order that advances after each dispatch (polylogue/daemon/execution.py:566-572, :590-591).
  • P2 polylogue/daemon/execution.py:436: Fixed on master (checked at 0914f89): Cancelling the returned future cancels the handle (polylogue/daemon/execution.py:516), and the handle's listener removes the queued task (polylogue/daemon/execution.py:550).

Resolving every thread listed; confirmed defects are fixed under the named bead.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at 0914f89):

  • P2 polylogue/storage/sqlite/archive_tiers/source.py:38: Stale: The last references to raw_non_session_duplicate_exclusion_receipts were removed from source.py when transition-era machinery was retired, and no remaining code queries that table. maintenance/schema_inference_gate.py, the consumer the finding names, no longer exists. The static gates are now listed by devtools (AGENTS.md:159). (checked at 0914f89)

Resolving every thread listed; confirmed defects are fixed under the named bead.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at bf68918):

Resolving every thread listed; confirmed defects are fixed under the named bead.

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