Repository navigation
Description
Parent
#861 — one live resource authority.
Roadmap: #945 C1.3. Deterministic acceleration parent: #1268.
Dependencies
- C1.2 scheduler: migrate the Required spine and configured proof to live TaskLedger admission #987 — live Required/configured TaskLedger scheduling.
- B7a integration(plan): prove the model-off SharedRunPlan core before deterministic scheduler migration #1274 — verified model-off SharedRunPlan core.
- B4a integration(portfolio): prove a model-off Required-first portfolio from local spine and mechanical impact #1271 — accepted model-off Required-first evidence portfolio.
- B0.7 proof(identity): satisfy later equivalent consumers from current-revision terminal receipts #966 — canonical identity, in-flight attachment and completed-receipt satisfaction.
#979's complete remote/architecture/model/follow-up portfolio enrichment is not a prerequisite for deterministic changed-seam migration. Later model-requested proof enters this same scheduler only after #1120 and C4 target/stream prerequisites; it does not create another scheduling path.
Objective
Bring exact changed-seam, impact and deterministically selected Detective proof under the same live scheduler as Required work, with cross-consumer deduplication and model-off operation.
Scope
- Admit the ranked local/mechanical candidates from B4a integration(portfolio): prove a model-off Required-first portfolio from local spine and mechanical impact #1271/B7a integration(plan): prove the model-off SharedRunPlan core before deterministic scheduler migration #1274 only after Required readiness/reservations are preserved.
- Attach equivalent gate, sensor, deterministic-review and proof consumers to queued, running or completed canonical tasks.
- Preserve Required/Detective/Advisory semantics per consumer.
- Execute exact tests, base-plus-tests discrimination and approved focused builds through existing adapters.
- Record selected, satisfied, unsupported, unsafe, ambiguous, superseded and latest-safe-start/budget-deferred states terminally.
- Keep broad fallback conservative when RepositoryContract/remote/model enrichment is absent.
- Derive TaskLedger/receipt links sufficient for later model consumers to attach without changing task identity.
- Keep fast/late sensor pools and workers on legacy authority until C1.4 scheduler: migrate fast and late sensors to the live TaskLedger resource authority #989/C1.5 scheduler: migrate local and distributed workers with terminal setup-failure handling #990.
- Preserve model-off as the complete active shape. Do not admit model-requested tasks in this PR.
Acceptance
- Exact changed-seam/Detective work cannot displace or starve Required work.
- Equivalent configured, sensor, gate and deterministic proof requests execute once and retain every consumer.
- A later equivalent deterministic consumer can attach to running/completed current-revision work without restart.
- Exact changed tests outrank unrelated broad fallback according to B4a integration(portfolio): prove a model-off Required-first portfolio from local spine and mechanical impact #1271.
- HEAD-pass, base-plus-tests sides, features, roots, packages, targets, filters, environments and tools remain distinct where required.
- A deterministically selected failing Detective test affects CI only through its current-revision receipt and explicit repository policy.
- Unselected or unavailable Detective work is nonblocking unless an explicit Required consumer exists.
- Unsafe, ambiguous, unsupported and too-late work never spawns and never becomes maintainer homework.
- Missing architecture/remote enrichment triggers named conservative fallback/gap rather than false precision.
- Model-off works without provider/programme state.
- Legacy-versus-scheduler comparison is exact for every migrated candidate/result.
- No sensor-pool, worker, model-streaming, gate-enforcement or public-review authority moves early.
Proof
- Required-plus-Detective capacity and starvation fixtures.
- Exact changed test versus broad fallback and PR fix(policy): fail closed on a malformed ripr suppression ledger #921-shaped scenario.
- Multi-consumer queued/running/completed deduplication and receipt reuse.
- Red/green sides and identity-discriminator negatives.
- Failing Detective with explicit policy, unselected/unavailable Detective and mixed-consumer truth table.
- Unsafe/ambiguous/unsupported/latest-safe-start terminal cases.
- Missing enrichment conservative fallback.
- Model-off exact-head hosted packet and legacy/new shadow comparison.
- Full scheduler/portfolio/proof/task/outcome/verifier/workspace/fmt/Clippy/policy validation.
Later model augmentation
After #1120, #1005–#1007 may resolve a semantic model intent and attach it to this same canonical scheduler/task/receipt authority. That later path must prove equivalent in-flight/completed attachment and Required reserve preservation; it may not reopen a separate model proof broker.
Non-goals
- No model-requested or streamed proof admission in this PR.
- No fast/late sensor migration; C1.4 scheduler: migrate fast and late sensors to the live TaskLedger resource authority #989.
- No local/distributed worker migration; C1.5 scheduler: migrate local and distributed workers with terminal setup-failure handling #990.
- No duration learning, live deadline phases or Cargo cache reuse.
- No gate enforcement or public-review change.
- No complete B4b.4 proof(portfolio): compare the complete enriched portfolio against legacy planners #979/B7b integration(plan): prove the complete shared reviewer-and-gate plan before model programme activation #1120 model-on acceptance.
Completion
Close only when local/mechanical changed-seam and Detective work is actually scheduled through the same TaskLedger authority as Required work, equivalent consumers execute once, and every deferred/non-runnable state is terminal and artifact-only.
Rollback
Return changed-seam/Detective execution to the legacy broker while keeping #987 Required scheduler authority and all canonical identity/receipt comparison artifacts. Do not operate silent duplicate authorities.
Activity