Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
287f4fb
docs(audit): subvalue bounded lattice claim
briansrls May 2, 2026
4abdf05
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 2, 2026
60658df
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 2, 2026
1734b9f
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 2, 2026
c49d4b1
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 2, 2026
3cc4994
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 2, 2026
094522a
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 2, 2026
4c6aff3
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 2, 2026
791813b
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 2, 2026
6c19da5
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 2, 2026
795ddfe
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
1d4aa93
WIP: snappy-koi-58
briansrls May 3, 2026
2b78d33
chore: apply cargo fmt
briansrls May 3, 2026
b6bb23d
WIP: snappy-koi-58
briansrls May 3, 2026
ad92101
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
f5fab4d
WIP: snappy-koi-58
briansrls May 3, 2026
2661617
WIP: snappy-koi-58
briansrls May 3, 2026
72daff4
chore: apply cargo fmt
briansrls May 3, 2026
3b486cb
WIP: snappy-koi-58
briansrls May 3, 2026
9a09f28
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
32b8584
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
44a82d8
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
19034d5
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
78e04e8
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
785aaa1
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
2914238
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
7e3b7f8
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
fc2ac9f
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
8451d0d
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
2a3c077
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
d6d52e3
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
c41f540
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
5078d9f
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
36c6275
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
acaf89c
WIP: snappy-koi-58
briansrls May 3, 2026
d10afc9
WIP: snappy-koi-58
briansrls May 3, 2026
4721296
WIP: snappy-koi-58
briansrls May 3, 2026
45bc588
WIP: snappy-koi-58
briansrls May 3, 2026
9d58b94
chore: apply cargo fmt
briansrls May 3, 2026
aeaab2d
WIP: snappy-koi-58
briansrls May 3, 2026
d0b1b59
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
8000f8d
WIP: snappy-koi-58
briansrls May 3, 2026
f0274ee
WIP: snappy-koi-58
briansrls May 3, 2026
7ec3ac2
WIP: snappy-koi-58
briansrls May 3, 2026
b90f53f
chore: apply cargo fmt
briansrls May 3, 2026
780fd7e
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
89e1a0a
WIP: snappy-koi-58
briansrls May 3, 2026
b0debc7
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
bec28d9
WIP: snappy-koi-58
briansrls May 3, 2026
163a5d4
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
4508b5f
WIP: snappy-koi-58
briansrls May 3, 2026
4431a51
WIP: snappy-koi-58
briansrls May 3, 2026
63644c5
WIP: snappy-koi-58
briansrls May 3, 2026
645eeb4
chore: apply cargo fmt
briansrls May 3, 2026
fc7f02c
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
1a2dc26
WIP: snappy-koi-58
briansrls May 3, 2026
29e976c
WIP: snappy-koi-58
briansrls May 3, 2026
392d8d7
chore: apply cargo fmt
briansrls May 3, 2026
f8295b3
WIP: snappy-koi-58
briansrls May 3, 2026
4b299b6
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
8aea6be
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
5c8cf72
WIP: snappy-koi-58
briansrls May 3, 2026
775bc5f
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
8d159cc
chore: apply cargo fmt
briansrls May 3, 2026
c8b965a
chore(v3): refresh anthropic schema parse manifest
briansrls May 3, 2026
d5fe063
WIP: snappy-koi-58
briansrls May 3, 2026
9dcec19
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
e486751
WIP: snappy-koi-58
briansrls May 3, 2026
b1b4a87
chore: apply cargo fmt
briansrls May 3, 2026
064882d
WIP: snappy-koi-58
briansrls May 3, 2026
2db1612
WIP: snappy-koi-58
briansrls May 3, 2026
cecbdf0
chore: apply cargo fmt
briansrls May 3, 2026
213f761
WIP: snappy-koi-58
briansrls May 3, 2026
a494d9d
chore(v3): refresh anthropic schema parse manifest
briansrls May 3, 2026
c44faf3
Merge remote-tracking branch 'origin/main' into codex/subvalue-bounde…
briansrls May 3, 2026
a196c02
fix(v3): match target integer rows structurally
briansrls May 3, 2026
6ab5658
chore(v3): remove unused selected row capture
briansrls May 3, 2026
ecd3521
fix(v3): derive scratch output from selected realization
briansrls May 3, 2026
2cbab33
Merge remote-tracking branch 'origin/main' into codex/cc1-target-inte…
briansrls May 3, 2026
9c26f15
Merge remote-tracking branch 'origin/main' into codex/cc1-target-inte…
briansrls May 4, 2026
2cc6f09
WIP: snappy-koi-58
briansrls May 4, 2026
d69f4c9
WIP: snappy-koi-58
briansrls May 4, 2026
28cf632
chore: apply cargo fmt
briansrls May 4, 2026
836740f
Merge remote-tracking branch 'origin/main' into codex/cc1-target-inte…
briansrls May 4, 2026
ae9f2d4
WIP: snappy-koi-58
briansrls May 4, 2026
bf19a7e
Merge remote-tracking branch 'origin/main' into codex/cc1-target-inte…
briansrls May 4, 2026
3374e26
WIP: snappy-koi-58
briansrls May 4, 2026
4e1e012
test: avoid nested Anthropic tool-result wire fixture
briansrls May 4, 2026
9799f8d
Merge remote-tracking branch 'origin/main' into codex/cc1-target-inte…
briansrls May 4, 2026
ded705d
Merge remote-tracking branch 'origin/main' into codex/cc1-target-inte…
briansrls May 4, 2026
440a72f
Merge remote-tracking branch 'origin/main' into codex/cc1-target-inte…
briansrls May 4, 2026
16241d0
WIP: snappy-koi-58
briansrls May 4, 2026
a86b0e1
WIP: snappy-koi-58
briansrls May 4, 2026
04373b8
chore: apply cargo fmt
briansrls May 4, 2026
6436307
WIP: snappy-koi-58
briansrls May 4, 2026
1c2dc71
Merge remote-tracking branch 'origin/main' into codex/cc1-target-inte…
briansrls May 4, 2026
87ea799
Merge remote-tracking branch 'origin/main' into codex/cc1-target-inte…
briansrls May 4, 2026
1d0c99a
Merge remote-tracking branch 'origin/main' into codex/cc1-target-inte…
briansrls May 4, 2026
fb7a680
Merge remote-tracking branch 'origin/main' into codex/cc1-target-inte…
briansrls May 4, 2026
680cee2
Merge remote-tracking branch 'origin/main' into codex/cc1-target-inte…
briansrls May 4, 2026
d7a0aa7
WIP: snappy-koi-58
briansrls May 4, 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 @@ -370,7 +370,7 @@ Per-row tagging is a scheduled follow-up sweep — **trigger:** post-merge of th

### P3 — modeling gaps

- **`declaration_by_name(...)` pattern in emit** — 20 sites on `origin/main`, including `emit.rs`, `emit/rust_target.rs`, `emit/python_target.rs` looking up `"OrderedRing"`, `"SubstrateAccessorBinding"`, `"Dag"`, `"fold"`, `"id"`. Violates Layer Opacity / Semantic Authority (post-lowering). Dissolution: typed substrate access via cached declaration-id (`algebra_field_for_operator` pattern) at every call site.
- **~~`declaration_by_name(...)` pattern in emit~~** — **RETIRED 2026-05-04 (PR #1638)**. Audit found the production emit callers were fixed substrate / emit-model anchors, not caller-provided program strings: `MethodEmitTemplate`, `MethodTemplateContract`, collection method anchors (`concat_method`, `length_method`, `fold_method`, `is_empty_method`), and fixed emit-model coproduct variants (`PatternStrategy`, `FieldAccess`, `ParameterDisposition`, `MemoryModel`, `ScopeModel`, Rust rendering/computation-model variants). Dissolved by extending the bootstrap-populated `Dag` typed caches (`EmitAnchorCache` / `EmitModelVariants`) and replacing emit-time string lookups with cached `DeclarationId` reads. Ratchet: `emit_production_code_has_no_declaration_by_name_calls` fails closed if production `src/v3/compiler/src/emit*` code reintroduces `Dag::declaration_by_name`; test-only fixture lookups remain outside the row scope.
- **`pipeline_authority.rs` (case 2c):** runtime stage order is **structural** (`PipelineStageBinding` declaration order only). `fn compile` body vs binding drift check is **suspended** (PR #1171): `compile` stays `ArrowBody::Unparsed` — no lowered ordered stage list without a source-text channel; neither `include_str!` nor `read_to_string`+slice satisfies R3 for that reconcile. Dissolution: single typed carrier or structural compile body.
- **LLM service flattening**: `dsl/extdeps/llm/llm.dag` declares `Role`, `ContentBlock`, `LlmMessage`, `StopReason`; Anthropic/OpenAI service operations still take `model: String`, `messages: Json`, and extract outputs by string path. Dissolution: service operations consume the typed carriers; outputs returned as typed responses. **Typed request JSON vs wire (e2e risk):** closure trigger identifier `rest_request_wire_serde_alignment` — Anthropic request payload coproducts carry source-level `CoproductWireContract` rows for message `role` and content-block `type` tagging, ratcheted by `anthropic_request_coproduct_wire_contracts_emit_targeted_serde` and `anthropic_messages_request_body_json_matches_messages_wire_tags`; `structural_coverage_gap_anthropic_messages_request_wire` is retired for those outer request coproduct discriminators. Nested Anthropic tool-result `content` still needs scalar-text vs content-block-array wire serde and remains tracked by `structural_coverage_gap_anthropic_tool_result_content_wire_shape`; additive document/search/tool-reference nested blocks remain tracked separately by `structural_coverage_gap_anthropic_tool_result_additive_blocks`. OpenAI Chat Completions narrow-row `messages[].role` for `OpenAiChatMessageRole` is ratcheted by pipeline test `openai_chat_message_role_wire_matches_llm_snake_contract` (`src/v2/tests/src/pipeline.rs`) against `data wire_contract: VariantEncoding = llm_snake_wire_contract` in `dsl/extdeps/llm/openai.dag` (same M2 pattern as Anthropic: module-local `wire_contract` names the single `llm_snake_wire_contract` authority in `extdeps.llm.llm`; emitter derefs `init.inferred` / `Resolved` per `resolve_wire_serde_policy_for_coproduct` in `05_emit_rust.dag`). `v2.compiler.emit_rust` authorizes coproduct serde from `CoproductWireContract` rows targeting local coproduct declarations, then module `wire_contract`, then the tagged-object default; stale local contract targets emit `compile_error!`. The old `structural_coverage_gap_openai_chat_request_messages_wire` row was removed when that receipt landed; tracker [#987](https://github.com/gunb-ai/gunbc/issues/987).
- **GitHub auth model bypass**: `dsl/extdeps/github/github.dag:42-46` declares `GitHubAuthToken { token, scopes, expires_at }` but `dsl/extdeps/github/auth.dag:13-23` returns only `{ token: Secret }` and hardcodes GCP secret-manager policy. Dissolution: `github_token()` returns the full typed token; remove the hardcoded provider policy.
Expand Down
1 change: 1 addition & 0 deletions src/v3/compiler/src/bootstrap_generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub(crate) fn bootstrapped_fixture_dag() -> Dag {
),
verifier_output_policy_variants: VerifierOutputPolicyVariants::default(),
callable_strategy_variants: CallableStrategyVariants::default(),
emit_model_variants: EmitModelVariants::default(),
clusters: bootstrapped_fixture_dag_clusters(),
optional_match_disjs: bootstrapped_fixture_dag_optional_match_disjs(),
declaration_append_begin_after_bootstrap: 2317,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub(crate) fn bootstrapped_fixture_without_parse_surface_dag() -> Dag {
),
verifier_output_policy_variants: VerifierOutputPolicyVariants::default(),
callable_strategy_variants: CallableStrategyVariants::default(),
emit_model_variants: EmitModelVariants::default(),
clusters: bootstrapped_fixture_without_parse_surface_dag_clusters(),
optional_match_disjs: bootstrapped_fixture_without_parse_surface_dag_optional_match_disjs(),
declaration_append_begin_after_bootstrap: 2234,
Expand Down
1 change: 1 addition & 0 deletions src/v3/compiler/src/bootstrap_std_generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub(crate) fn bootstrapped_std_fixture_dag() -> Dag {
),
verifier_output_policy_variants: VerifierOutputPolicyVariants::default(),
callable_strategy_variants: CallableStrategyVariants::default(),
emit_model_variants: EmitModelVariants::default(),
clusters: bootstrapped_std_fixture_dag_clusters(),
optional_match_disjs: bootstrapped_std_fixture_dag_optional_match_disjs(),
declaration_append_begin_after_bootstrap: 607,
Expand Down
Loading
Loading