Repository navigation
InputEnvelope: first-class bounded input for WorkDemand + CI corpus instance - #5801
Merged
Merged
Conversation
6 tasks
…alues The ceiling values (2000/500000/5000000) are operator-set P1 scaffolds; P2 derives them from corpus discovery. Since .dag has no comment syntax, add an explicit Scaffold Disposition data declaration bound to the input_envelope_roadmap plan so the values are not read as authoritative measurements. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
input_bound was defined but not called anywhere in the diff; test file constructs InputBound records directly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced Jun 25, 2026
briansrls
added a commit
that referenced
this pull request
Jun 25, 2026
…locks fleet) (#5821) * Fix main CI floor: orphan-doc reachability + inline-shell roster (unblocks fleet) Two discovery witnesses are RED on main, inherited by every PR (jointly, not from any single PR's own diff): 1. doc_graph_has_no_orphan_docs — two docs unreachable from the doc-graph roots (ROADMAP/DESIGN): docs/plans/input-envelope-roadmap.md (#5801) and docs/plans/resource-aware-scheduler.md. Both are arms of the same cost->schedule loop owned by the reachable hub docs/plans/realization-measurement-loop.md, so a "Companion plans" link block there makes them reachable via honest doc-to-doc edges (no ROADMAP regen, no generated-artifact drift-gate exposure). 2. medium_structure_clean_tree_holds — inline-shell literal `git rev-parse HEAD 2>/dev/null | tr -d` in dsl/gunbc/tools/roadmap_spawn_request.dag:8 (added by #5797), the same transport-fusion/inline-shell residue class as the 5 entries already on medium_structure_exception_roster. Add it as a sanctioned residue data row (no lens detection logic touched); owed deeper fix = dissolve the inline shell into a modeled git operation (tracked separately, roadmap-spawner owner). Both verified green-by-execution with discriminating controls (each witness returns false when its fix is stashed). Greens main's floor → unblocks #5808 and #5772. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * Fix main floor: cite orphan plan docs via .dag authority + roster the roadmap-spawn shell leak Two discovery witnesses are RED on main and inherited fleet-wide: 1. doc_graph_has_no_orphan_docs — resource-aware-scheduler.md and input-envelope-roadmap.md were unreachable from the doc-graph roots. Fixed at the authority: add a "Companion plans" citation block to realization_measurement_loop_body() (the semantic home — both are companion arms of the realization→measurement loop), then regenerate the .md byte-faithfully via `main_wet`. Editing the generated .md by hand would red generated_artifact_drift_gate_passes (it is a PlanArtifact projection of the .dag authority). 2. medium_structure_clean_tree_holds — roadmap_spawn_request.dag:8 (added by #5797) carries an inline `git rev-parse` shell literal, a medium-structure leak. Add the file to the lens exception roster (sanctioned §5-honest residue under active modeling; shrinking ratchet, dissolves when the shell op becomes a modeled effect). Green-by-execution against a worktree-built binary (correct workspace_root): doc_graph_has_no_orphan_docs=true, doc_graph_has_no_dangling_links=true, medium_structure_clean_tree_holds=true, drift gate=ExitSuccess. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Brian Searls <briansrls@gunb.ai> Co-authored-by: Claude Opus 4.8 <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.
Summary
Models the InputEnvelope as a first-class fact on
WorkDemand, mirroringDescentEvidencefromstd/induction.dag. An unbounded input is the data-side of a non-terminating Loop; aWorkDemandwithout a declared input ceiling is therefore fail-open by construction.BoundedInputis the declared ceiling (analog ofStrict);EnvelopeUnknownis the honest fail-closed bottom (analog ofDescentUnknown).What changed
InputSizeAxisclosed enum:WitnessCount | SourceNodeCount | CorpusNodeCountInputBoundrecord:axis: InputSizeAxis, max: Measure<Count, One, Nat>InputEnvelopecoproduct:BoundedInput { bounds: List<InputBound> } | EnvelopeUnknownAdmissionVerdict:Admitted | RefusedOverEnvelope { axis } | RefusedUndeclaredinput_admittedfn:EnvelopeUnknown => RefusedUndeclared; undeclared axis and over-ceiling both=> RefusedOverEnvelope; all within =>AdmittedWorkDemand.input_enveloperequired field added; all 4 existingWorkDemanddata declarations updated to carryEnvelopeUnknown(honest: ceiling not yet declared)gunbc_ci_corpus_envelope: CI corpus as firstBoundedInputinstance (P1 scaffold — ceilings are operator-set operating-point values, NOT derived quantities; P2 derives them)input_envelope_admission_test.dag: 6 test functions, all green by executioninput_envelope_roadmap.dag: grounds the P1/P2 plan as a.dagPlan authorityCeiling values (P1 scaffold — operator sign-off needed before P2 locks them)
WitnessCountSourceNodeCountCorpusNodeCountTest plan
Kept draft: ceiling values need operator sign-off before locking (per brief from sharp-stag-782).