D1-03a — Repair live dogfood preflight blockers #35
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Creatidy/creatidy-kernel#35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #30
Unblocks: #34 — D1-03 live dogfood preflight
Depends on merged D1-02 / PR #33
Goal
Repair the three deterministic blockers discovered by D1-03 before the first live Creatidy Kernel dogfood inference.
This is a narrow corrective implementation issue.
Do NOT execute Scarcity Router #143.
Do NOT start a live model turn.
Do NOT create a Scarcity Router PR.
After this issue is merged, D1-03 / #34 must be re-run from the beginning before any live dogfood execution is authorized.
Evidence
D1-03 preflight ran against:
Creatidy Kernel:
develop @ 72bee742ec0b34d2bb16ace95b03794b17ccc1d3Scarcity Router:
develop @ 59538e949d2b3488668c9649cf3728dbe87b38bbReal Router selection:
zaiglm-5.3lowNo model inference occurred.
D1-03 ended:
LIVE_CONFIGURATION_BLOCKEDbecause of the three issues below.
Blocker 1 — frozen structural token does not match the real target source
Current Kernel
scarcity_router_143_task()requires:The actual Scarcity Router source at the verified live base contains:
Therefore a legitimate candidate would deterministically fail the structural gate even if the coding task were implemented correctly.
Required correction
Update the frozen #143 structural token to match the actual assertion-bearing source form:
Preserve the semantic invariant:
the bystander worker receives no cancellation or other ownership effect.
Do not weaken the structural gate.
Do not generalize this into AST policy infrastructure or a generic assertion matcher.
Regression
Tests must prove:
The optional D1-02 review idea to detect novel assignments such as
bystander.cancels = ...remains DEFERRED. Do not expand this issue unless required by an existing failing test.Blocker 2 — live CodexStdio construction omits schema_version
Current live dogfood composition calls
CodexStdiowith:schema_methods=CODEX_METHODSschema_versionCodexStdiodeliberately requires:when
schema_methodsis non-empty,schema_version == expected_version.Therefore the live dogfood
connection_factory()fails before any model dispatch.Required correction
Pass the already configured exact Codex version as the schema version:
Do not relax the
CodexStdiovalidation.Do not remove method inventory checking.
Regression
Add/adjust a deterministic live-composition test proving:
No real Codex inference.
Blocker 3 — trusted reasoning-effort evidence is not wired into live CLI
CodexRuntimecorrectly requires an explicit trusted support binding for any non-null reasoning effort:Current dogfood CLI does not pass
supported_effortstorun_dogfood().The default is therefore:
The real Router selected:
so the Runtime would fail closed with
UnsupportedExecutionbefore dispatch.This fail-closed behavior is correct and MUST remain.
Existing authority source
Do not invent a new model registry.
The existing
CREATIDY_DOGFOOD_RUNTIME_BINDINGis already used to construct theAllocationpassed as a Scarcity Router runtime binding.ScarcityRouterAllocatorexplicitly defines these runtime bindings as:controller assertions of executable limits, not Router policy.
A binding contains the exact:
This controller-owned configured runtime binding is therefore the appropriate existing source for trusted supported-effort evidence.
The Router recommendation itself is NOT the evidence.
Required correction
Extend the dogfood live composition minimally so that its configured runtime binding also produces the trusted
supported_effortsset used byCodexRuntime.Conceptually:
For a binding with explicit effort:
the composition should expose:
and the CLI must pass that exact set to
run_dogfood().For a binding with
reasoning_effort is None, do not manufacture an effort binding.Preserve the existing distinction:
Critical invariant
Do NOT derive
supported_effortsfrom the Router response.The direction of authority must remain:
The Router may select only something compatible with the configured binding.
It must never expand Runtime capability.
Fail-closed cases
Tests must prove:
zai/glm-5.3/low+ Router selects same tuple -> accepted by Runtime support gate;"none";UnsupportedExecution.Do not weaken
CodexRuntime._inputs().Composition shape
A minimal change may extend
DogfoodLiveComponentswith something equivalent to:and pass it from CLI into:
Exact implementation is owned by the issue implementer.
Prefer reuse of the already parsed controller runtime binding rather than parsing the same configuration twice.
Do not add a second environment variable merely to duplicate the same provider/model/effort assertion unless source-level evidence shows the existing binding cannot safely serve both roles.
Scope guard
This issue MUST NOT introduce:
Keep the correction local to D1 dogfood composition and existing adapter seams.
Preserve D1-02 invariants
Regression coverage must continue to prove:
Validation
Run normal
/deliver-issuegovernance.Required:
make check;make package-check;No paid/live inference is required or authorized for this implementation issue.
Reviewer preference:
Acceptance
D1-03a is complete when deterministic tests prove all three original D1-03 blockers are removed:
schema_version;supported_effortsevidence used by liveCodexRuntime.The merged implementation must still fail closed on mismatched or unsupported provider/model/effort.
After merge
Do NOT start the live dogfood run.
Return to Issue #34 and repeat the complete D1-03 preflight against:
develop;develop;Only a new:
READY_FOR_LIVE_DOGFOODresult may authorize the subsequent live execution issue.