CR-DD-012A: Implement governed decision foundation#107
Merged
coreytshaffer merged 1 commit intoJul 24, 2026
Merged
Conversation
coreytshaffer
marked this pull request as ready for review
July 24, 2026 23:04
coreytshaffer
added a commit
that referenced
this pull request
Jul 26, 2026
* docs: propose observed local capability binding Add CR-DD-013, the first M1 slice: bind the existing validated local_backend_probe_record.v1 observation into ResilienceRouteInput so route selection stops asserting local availability it has never checked. The proposal specifies one additive validated capability-evidence field on ResilienceRouteInput, shaped as a discriminated union of ObservedAvailable, ObservedUnavailable, Configured, and Unknown, each with its own required and forbidden fields, built as a validated projection of the probe record rather than an embedding of it. Unknown is never promoted to availability and the tc run construction path may not synthesize True from it. Observed failure is conclusive for dependent routes; a single reachability result may not assert both local_fast and local_heavy. Ordinary backend configuration does not qualify as a capability declaration. Evidence uses the existing open route_decision payload extension point; no new ledger schema. Also re-pin the daily-driver spec to current main, correct CR-DD-012A from "merge is pending" to merged through PR #107 as bccaaad, and rewrite G4/M1 to record that observation already exists via tc probe and the missing slice is binding it. CR-DD-012B is unchanged and retains its CR-YK-002 gate. Documentation only; no runtime implementation and no implementation authority granted. Readiness percentages are unchanged and remain planning estimates. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * docs: record daily-driver DOCX mirror drift No reproducible generation path for TriageCore_DailyDriver_Spec.docx exists in the repository, so it was not regenerated alongside the re-pin and was left unmodified rather than hand-edited. Record the drift and the bounded follow-up explicitly, and state that the markdown remains authoritative where the two disagree. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * docs: fix acceptance-criteria numbering in CR-DD-013 The 6a./6b. entries were not valid ordered-list markers, so GitHub absorbed them into item 6 as literal text and rendered 13 items instead of 15. Renumber to a flat 1-15 sequence. Verified against the GitHub Markdown API: 15 list items, no literal 6a./6b. leak. No content change beyond the numbering. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Status
Internal foundation only. CR-DD-012A adds no public integration or execution authority.
CR-DD-012B remains blocked. This PR does not authorize or implement shared
preview/execution consumption, saved-plan execution, or any new operator
capability.
What changed
GovernedRunInputSnapshotfoundation.duplicate-source, verbatim path-header, inline-input, and absent-input
semantics.
AssembledExecutionBytes—the UTF-8 bytes ofprompt + "\n\nDATA:\n" + data—the authoritative future parity binding.input limit or converting advisory token budgets into byte limits.
GovernedDecisionwith closed schemas,canonical JSON, strict parsing, domain-separated identity, and explicit
authority boundaries.
integration-absence tests.
Decision IDs are linkage only. They do not establish authenticity, approval,
execution authority, cloud authorization, acceptance, or quality.
Exact scope
Exactly nine authorized files:
triage_core/governed_run_snapshot.pytriage_core/governed_decision.pytests/test_governed_run_snapshot.pytests/test_governed_decision.pytests/test_governed_decision_integration_absence.pydocs/change/requests/CR-DD-012A-governed-decision-foundation.mddocs/current_backlog.mddocs/architecture/daily_driver_orchestrator_spec.mddocs/change/requests/CR-DD-012-shared-governed-run-decision.mdNo CLI, existing runtime path, ledger, artifact contract, router, worker,
backend, renderer, cloud-authority, or plan-schema integration changed. No
existing production module imports either new foundation module.
Validation
py_compilegit diff --check: passedmain: one commit ahead, zero behind, exactly ninefiles
The full suite appended one metadata-only
supervisor usage scanline to theexisting ignored
.triagecore/triagecore.log. The line was preserved; nocleanup or history rewrite was performed.
Explicitly absent
tc runortc run --plangoverned_run_plan.v2--confirmed-planor saved-plan executionFinal review gate
limit.
unsupported versions, malformed digests, noncanonical bytes, and ID
mismatches.
source paths or basenames, sensitive markers, credentials, or secrets.
and duplicates.