Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
475b0aa
admit_callers: restore the native-route caller-admission wall
Oct 3, 2026
f9dd500
review 74766: fail closed on the two failure arms; re-spell against m…
Oct 3, 2026
a236de0
retire admit_callers_discarded_on_the_native_route by its own trigger
Oct 3, 2026
fa09c95
reviews 74992+75065: one spine walker, facts-backed callee arrow, cro…
Oct 4, 2026
a6d95f1
total the two closed-coproduct matches the required floor refused
Oct 4, 2026
a2c7ad6
DBG-PROBE: temporary reason probes for the cross fixtures
Oct 4, 2026
a99a064
DBG-PROBE: peer clause shape walker
Oct 4, 2026
0f03c59
consume the admit clause encoding at lowering; structured roster + re…
Oct 4, 2026
8a886e0
fix param name: dag_string_literal_value_symbol_optional takes node:
Oct 4, 2026
b4c8c5e
empty list as Empty (FreeMonoid identity), not []
Oct 4, 2026
14e2025
carrier walks the clause roster via the proven comma-list walker
Oct 4, 2026
b6dad0a
probe: reader on normalized clause
Oct 4, 2026
ec43687
consume the admit clause at lowering: pair-walk spine, operator-carry…
Oct 5, 2026
30179ad
DBG-PROBE: stage-by-stage fatal reason for the cross red; assert entr…
Oct 5, 2026
507736f
consume the admit clause encoding at lowering; structured roster + re…
Oct 5, 2026
f60794b
fail closed at the carrier: a captured clause that cannot be read han…
Oct 5, 2026
f3b018d
witness: wrap NonEmptyDiagnostics into Diagnostics at both judge matches
Oct 5, 2026
b2c3935
witness: wrap the last bare NonEmptyDiagnostics at the judge match
Oct 5, 2026
cf36f6b
admit roster: split minted sources inside a marker record (conj rides…
Oct 5, 2026
e743cfd
DBG-PROBE: raw entry anatomy walker
Oct 5, 2026
9de8909
DBG-PROBE: dump module root anatomy when the clause shell is not found
Oct 5, 2026
a68725d
DBG-PROBE: root anatomy dump in the entry-anat probe too
Oct 5, 2026
1820c8c
admit entries: read the callee through construct_tag_path_optional (t…
Oct 5, 2026
fda9727
DBG-PROBE: subject call anatomy
Oct 5, 2026
38e40f3
admit carrier: read the clause off the fn shell's optional-element pr…
Oct 5, 2026
1393bb2
fix: close the fold's acc match in body_lower_admit_clause_shell_opti…
Oct 5, 2026
1ad39a6
DBG-PROBE: infer-stage accepted root anatomy
Oct 5, 2026
5076614
wall: resolve a cross-module callee's arrow from resolved_declaration…
Oct 5, 2026
79d9ba9
wall: read the cross callee's reference through declaration_reference…
Oct 5, 2026
0611225
DBG-PROBE: link-by-link decl lookup
Oct 5, 2026
bc9987d
DBG-PROBE: use the real assembled route in the decl-lookup probe
Oct 5, 2026
f22bf44
DBG-PROBE: find_named_child is an Outcome
Oct 5, 2026
f7044c5
DBG-PROBE: arrow path through the module body captured
Oct 5, 2026
91c47aa
DBG-PROBE: captured -> module body -> fn arrow
Oct 5, 2026
db402e5
DBG-PROBE: resolved-root anatomy on NO-ARROW
Oct 5, 2026
95638e5
DBG-PROBE: unambiguous miss markers
Oct 5, 2026
c28ec25
wall: fail closed when a declared callee's arrow is unreadable (calle…
Oct 5, 2026
b4e5e86
DBG-PROBE: temporary unmarked-facts-arrow diagnostic + probe prints S…
Oct 6, 2026
545d26f
wall: recover the admit roster from the resolved-declarations arrow w…
Oct 6, 2026
b46085b
wall: unique variant names for the roster lookup (flat variant namesp…
Oct 6, 2026
1b5b0a9
wall: read the authored admit clause through the captured spine and c…
Oct 6, 2026
bcfd6e2
floor: roster the four native-route live sites the admit wall added
Oct 6, 2026
1cfe447
chore: regenerate drifted generated artifacts (ci auto-heal)
gunbai-bot[bot] Oct 6, 2026
49d1264
floor: close the admit-wall match arms instead of rostering them; ret…
Oct 6, 2026
f97efc7
wall: import the closed match's ApplicationHeadRefused/ArrowHead/NotA…
Oct 6, 2026
9d824e5
wall: the roster rides the declared sequence-pair shape (review 77044)
Oct 6, 2026
752192d
wall: a callee that names no declaration is not judged; only a FOUND …
Oct 6, 2026
6de5f7a
wall: judge the tree however it is rooted; the module check moves to …
Oct 6, 2026
64c5270
probe: drop the diagnosis probe (temporary, diagnosis complete)
Oct 6, 2026
b704292
wall: wrap the roster entry's module_path in an explicit Present at c…
Oct 7, 2026
4bd61f1
wall: drop the long-route inhabitance claim (496,179 eval steps over …
Oct 7, 2026
0868bcd
chore: untrack the scratch probe dir (ignore rule so the auto-stage c…
Oct 7, 2026
04d8111
wall: restore the real-path inhabitance claim (review 77470) — the he…
Oct 7, 2026
5aa9fac
floor: admit the caller-admission long claim as a typed cost-debt row…
Oct 7, 2026
59dc7c3
floor: close the proven-chunks chain around the new row (the insertio…
Oct 7, 2026
72caf8e
wall: close the side-chat blockers (review 5439746794) -- the edge ri…
Oct 7, 2026
6f8bcad
wall: the judged path refuses the unresolved marked callee too (revie…
Oct 7, 2026
c6bdc81
wall: one accessor for named children; the entry's module path cannot…
Oct 7, 2026
cde27ce
wall: import the judged helper into the claim file explicitly (review…
Oct 7, 2026
0cbb074
chore: drop the stray empty 'acc' file at the repo root (review 77619…
Oct 7, 2026
6441557
wall: rebase onto main -- Optional moved to std.optional
Oct 7, 2026
62a61cf
docs: restore the rung-drop projection main evolved; remove only the …
Oct 7, 2026
5b2c3a0
chore: drop the /acc ignore line (review 77659) -- the stray file is …
Oct 7, 2026
69fda34
chore: regenerate drifted generated artifacts (ci auto-heal)
gunbai-bot[bot] Oct 7, 2026
458063a
review 77706: the census pin follows its file, the former drop is cit…
Oct 7, 2026
8fdc19d
Merge remote-tracking branch 'origin/main' into HEAD
Oct 9, 2026
7728049
Re-apply the retired admit_callers drop to main's regenerated project…
Oct 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Every node declares its parent in the functional decomposition: gunbc-project-ro
- [ ] **DP-M3: extdeps-scope closure halved** — The legacy extdeps scope manifest (dag/gunbc/legacy_extdeps_scope_frontier.tsv via gunbc.extdeps_scope_frontier) halved, and tools.extdeps_scope_placement_gate enrolled on an executing route before anything is counted. The unimported-bare-provider roster the census pairs with this is not on this line (v2.workflow.floor_unimported_bare_provider_debt_roster exists on main only). Why: An undeclared external-authority placement is a §3 citation nobody can check. [authority](dag/gunbc/extdeps_scope_frontier.dag)
- [ ] **DP-M4: closed matches are total** — gunbc.non_fold_residue non_fold_residue_frontier (about 186 rows on this tree) down to at most 100, draining the nfr_reason_mint_era rows first (82). The six seed-Rust wildcard sites are out of scope. Why: A wildcard arm silently absorbs a new variant, which is the floor-level exhaustiveness guarantee missing. [authority](dag/gunbc/non_fold_residue.dag)
- [ ] **DP-M5: absence is established, never inferred** — extdeps.filesystem.filesystem_io filesystem_absence_establishment_adoption_standing driven to zero open sites (each routed through filesystem_file_observation / filesystem_entry_presence), and filesystem_read_outcome_adoption_standing re-measured at identity grain. Why: Each unconverted site can report "nothing there" when it could not look. [authority](dag/extdeps/filesystem/filesystem_io.dag)
- [ ] **DP-M6: v2 native-route walls restored** — The native-route rung drops retired and the eval-step drop family shrunk. The three drops the census names (g0_type_decl_modifier_parse_without_sealing_property, variant_fields_unlowered_on_the_native_route, admit_callers_discarded_on_the_native_route) exist on main and not on this line, so this milestone's population is re-derived from gunbc.rung_drop once the line carries them. Why: Each standing drop is a known wall down on the path v2 is meant to run on. [authority](dag/gunbc/rung_drop.dag)
- [ ] **DP-M6: v2 native-route walls restored** — The native-route rung drops retired and the eval-step drop family shrunk. The three drops the census names (g0_type_decl_modifier_parse_without_sealing_property, variant_fields_unlowered_on_the_native_route, admit_callers_discarded_on_the_native_route) existed on main and not on this line. admit_callers_discarded_on_the_native_route is now retired by its own trigger -- the native route checks caller admission from the fn's declared admit_callers list, with the Arrow carrier and its consumer landing together (v2.compiler body_lowering_fold body_lower_fn_admit_clause_edges; v2.compiler.infer infer_caller_admission_diags) -- so it no longer counts. The other two remain, re-derived from gunbc.rung_drop once the line carries them. Why: Each standing drop is a known wall down on the path v2 is meant to run on. [authority](dag/gunbc/rung_drop.dag)
- [ ] **The factory: harness, workers, CI/floor and the daily workspace, the machine that lands and verifies work** — The steps every change traverses (orientation, implementation, test, commit, publication, review, verification) are owned by the workflow as durable state, not by an agent's memory. CI and floor verdicts name what they executed and cost what their inputs require. Why: Every obligation left in prose is re-learned per session and dropped under pressure. Every finished candidate that needs hand-integration spends operator time the factory exists to save. [authority](docs/plans/harness-work-lifecycle.md)
- [ ] **One request travels the whole factory and comes back as an independently reviewed, published candidate** — The dogfood route as one acceptance case: request, immutable subject, shared computation, placement grant, isolated execution, durable result, metering, independent review, candidate published, cleanup, result returned (production order: the belt reviews a head before publishing it) -- each established by its own typed record from the durable records the real srv2 route wrote for ONE attempt (gunbc.roadmap_dogfood_route DogfoodRouteReceipt). The start receipt is the first complete attempt, selected in refname order, by the first successful recorder to observe one (scanning durable attempt history), recorded once, create-only; attempts operated by hand before the route existed do not qualify. Why: Without one executable case the factory is a set of stages that each pass alone while no request has crossed them all, and the operator's confidence -- the gate for the first external customer -- has nothing to rest on. [authority](dag/gunbc/roadmap/roadmap_dogfood_route.dag)
- [ ] **Publish each attempt's worker events to the fabric event log** — The harness's per-attempt worker events, today appended only to a host-local provider-events.jsonl that gunbc.roadmap_provider_events reads, are appended to gunbc.fabric_event_log as a new payload kind over its existing partitions (product.capacity.event_chain), one partition per attempt. Any consumer then reads an attempt's events from the fabric rather than from a file on the worker's host. Why: Without it, every live view depends on sharing a filesystem with the worker, and streaming cannot go through the fabric as ruled. [authority](dag/gunbc/fabric/fabric_event_log.dag)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
module gunbc.recurring_failure_mode.a_kind_level_default_hides_the_children_its_producer_minted

import std.types { NonEmptyStr }
import gunbc.recurring_failure_mode { RecurringFailureMode }

data a_kind_level_default_hides_the_children_its_producer_minted: RecurringFailureMode = RecurringFailureMode {
identity: "a_kind_level_default_hides_the_children_its_producer_minted" as NonEmptyStr,

receipts: [
"A shared node reader carries a KIND-LEVEL default: for one node kind it answers `missing` unconditionally, without consulting the node's actual children, while the same query on a sibling kind folds them. Any node the pipeline mints in the defaulted kind therefore carries facts no reader can see.",

"**RECEIPT (eager-cat-664, 2026-10-06, PR #13108, this carrier).** `v2.std.node_query` `named_child_lookup` folded authored edges for `TypeNode { Conj }` and answered `NamedChildMissing` for every `ComputationNode`. Body-lowering mints a call as `comp:transform[ *=atom:callee[] @arg=atom:... ]` -- a ComputationNode whose authored edges ARE its named arguments -- so the admit-wall roster reader could hang a correct record and still read `module_path` as missing. Three probes were spent proving the carrier wrong before the accessor was instrumented; the miss was one arm in std.",

"The blindness is SILENT in both directions. The producer does not fail (it minted the edges); the reader does not fail (it answers a well-typed `missing`); the stage between them manufactures a refusal whose correction points at data that is present. A typed, located refusal -- the §5 shape -- is what turned the miss legible: the correction carried the looked-up key, and one probe printed the key next to the keys the accessor actually saw.",

"**RECOGNITION RULE: when a reader's `missing` is about to be trusted, ask what the node's PRODUCER writes at that position and whether the reader's kind-level arm ever looks.** The discriminator is one instrument run printing the node's actual children beside the answer the accessor gave.",

"THE REMEDY IS AT THE ACCESSOR, NOT THE CALL SITE: re-walking children at a call site (a parallel first-child walk) re-invents the concept and forks the shape -- the same §2/§3 violation the ctrl review policy's walker-dissolution rule names. The fix that closed this receipt changed the one arm in std and was witnessed red-then-green in the accessor's own claim file, with the missing-name control alongside, so the corpus decides whether any other reader's output moves.",
],

evidence: [],
}
2 changes: 1 addition & 1 deletion dag/gunbc/roadmap/roadmap_authority.dag
Original file line number Diff line number Diff line change
Expand Up @@ -2247,7 +2247,7 @@ fn declared_roadmap_nodes() -> List<RoadmapNode> {
carriers: carrier(path: "dag/gunbc/rung_drop.dag"),
line: ticket(t: level_fields(
headline: "DP-M6: v2 native-route walls restored",
boundary: "The native-route rung drops retired and the eval-step drop family shrunk. The three drops the census names (g0_type_decl_modifier_parse_without_sealing_property, variant_fields_unlowered_on_the_native_route, admit_callers_discarded_on_the_native_route) exist on main and not on this line, so this milestone's population is re-derived from gunbc.rung_drop once the line carries them.",
boundary: "The native-route rung drops retired and the eval-step drop family shrunk. The three drops the census names (g0_type_decl_modifier_parse_without_sealing_property, variant_fields_unlowered_on_the_native_route, admit_callers_discarded_on_the_native_route) existed on main and not on this line. admit_callers_discarded_on_the_native_route is now retired by its own trigger -- the native route checks caller admission from the fn's declared admit_callers list, with the Arrow carrier and its consumer landing together (v2.compiler body_lowering_fold body_lower_fn_admit_clause_edges; v2.compiler.infer infer_caller_admission_diags) -- so it no longer counts. The other two remain, re-derived from gunbc.rung_drop once the line carries them.",
approach: "Re-derive the population from gunbc.rung_drop, then one drop per change with its RED fixture and positive control.",
red_control: "A drop retired without its restoration capability executing keeps this open (§4b(3)).",
displaced_cost: "Each standing drop is a known wall down on the path v2 is meant to run on.",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ data live_tree_disposition: LiveTreeDisposition = ReadsLiveTree
// neither diagnostic. Without it, a wall that refused every use of the leaf would score identically
// on the reds.
//
// PATH SCOPE (DESIGN 4b): source -> .dag acceptance on the seed route only. admit_callers is
// parsed and discarded on the native route (gunbc.rung_drop admit_callers_discarded_on_the_native_route),
// so this wall does not hold there, and nothing here claims it does. It also holds only over what a
// PATH SCOPE (DESIGN 4b): source -> .dag acceptance on the seed route only. The native route's
// caller admission is judged by v2.compiler.infer infer_caller_admission_diags (restored); this
// wall grades a different admission -- violation-mint leaves over a compile's diagnostics census,
// a fact the native route does not judge -- so it does not hold there, and nothing here claims it
// does. It also holds only over what a
// run compiles: a new uncataloged mint in a module no required closure reaches is refused whenever
// that module is next compiled, not on the pull request that adds it.

Expand Down
80 changes: 79 additions & 1 deletion dag/test/claim/scm/scm_object_table_json_witness_test.dag
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module test.claim.scm_object_table_json_witness
// closure document's concern; what is asserted is that the TABLE preserves what it was given.

import std.types { Bool, Int, String, List, list_length, NonEmptyStr }
import v2.std.node { Node, Edge, Symbol, Authored, Conj, Atom, TypeNode, node_synthetic }
import v2.std.node { Node, Edge, Symbol, Authored, Conj, Atom, TypeNode, node_synthetic, AdmitCallersEdge, StructuralLabel, CoreMarker }
import extdeps.languages.json.emit { json_object, json_kv, json_array, json_string, json_null, JsonValue }
import gunbc.scm.object_store {
ObjectId,
Expand Down Expand Up @@ -62,6 +62,8 @@ import gunbc.scm.object_store {
CorpusManifestIsAuthoredSource,
StoreAdmission,
store_admission_store,
stored_edge_label_of,
ScmObject,
}
import gunbc.scm.object_table_json {
ObjectTableDecodeRefusal,
Expand Down Expand Up @@ -669,3 +671,79 @@ test fn ot_a_contained_manifest_source_at_a_manifest_stands_as_a_wrong_kind_requ
}
}
}

// THE WALL'S EDGE IS A CLOSED-LIST MARKER (side chat review 5439746794). The caller-admission
// carrier AdmitCallersEdge rides core_edge_labels(), the closed list this codec decodes markers
// through -- the same list object_table_json's decode_object_table folds when it reads a
// "structural_core" edge's marker lexeme. A marker the list does not name is a LOUD, typed
// refusal: the decoder answers NodeEntryUnknownLabelTag and the whole entry fails to decode --
// a round-trip/compatibility refusal, not silent edge loss, and exactly what the wall's edge
// would hit if AdmitCallersEdge were dropped from core_edge_labels(). So the control is here, in
// the codec's own witness: an entry carrying the wall's marker must decode, and the marker must
// come home as itself -- edge_is_core names it -- not merely fail to refuse.
fn ot_admit_edge_entry(marker: String) -> JsonValue {
json_object(
members: [
json_kv(
key: "kind",
value: json_object(
members: [
json_kv(key: "kind", value: json_string(s: "type")),
json_kv(key: "connective", value: json_string(s: "conj")),
]
),
),
json_kv(
key: "children",
value: json_array(
elements: [
json_object(
members: [
json_kv(key: "label", value: json_string(s: "structural_core")),
json_kv(key: "marker", value: json_string(s: marker)),
json_kv(
key: "target",
value: json_object(
members: [
json_kv(key: "uncontained", value: json_string(s: "aabbccdd00112233"))
]
),
),
]
),
]
),
),
]
)
}

// THE POSITIVE: the marker is a member of the closed list, so the entry decodes and the decoded
// edge's label is AdmitCallersEdge -- the codec hands back the wall's edge, not a stripped node.
test fn ot_the_admit_callers_edge_marker_decodes_to_itself() -> Bool {
match ot_decoded(entries: [ot_admit_edge_entry(marker: "core_admit_callers_edge")]) {
DecodeAcc { refusal: Absent, admission } =>
match ot_admitted_store(admission: admission).objects {
Empty => false
Cons { head: first, tail: _ } =>
match first {
SemanticNodeObject(record) =>
match record.children {
Empty => false
Cons { head: edge, tail: _ } =>
stored_edge_label_of(e: edge)
== StructuralLabel { label: CoreMarker { marker: AdmitCallersEdge } }
}
_ => false
}
}
DecodeAcc { refusal: Present { value: _ }, admission: _ } => false
}
}

// THE NEGATIVE: a marker the closed list does not name refuses as an unknown label. This is the
// discriminating arm -- if AdmitCallersEdge left core_edge_labels(), the positive claim above
// would land here too.
test fn ot_a_marker_the_closed_list_does_not_name_refuses() -> Bool {
ot_tag_of(entries: [ot_admit_edge_entry(marker: "core_nonsuch_edge")]) == "label"
}
Loading
Loading