Repository navigation
T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; WI-2 projection → future dsl/gunbc/ci_emission.dag) #2745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
3d7135e
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls 79a7b4e
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls 05b7c30
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls 4afbf82
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls 1904dab
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls b0e9d22
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls bef50f6
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls 0be4fab
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls 6624a64
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls 0f602b0
docs(ci): document _wi2_empty_env and dual-source dissolution (PR #27…
briansrls 89c4cc3
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls e88f5b9
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls 47eab69
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls de1bb21
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls 28412ff
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls b947ca1
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls 5fe71e5
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls becedcf
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls 787cbfc
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls f23588f
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls 399ed7d
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls b508ff4
Merge remote-tracking branch 'origin/main' into session/cool-carp-720
briansrls de30a4d
Merge remote-tracking branch 'origin/main' into session/cool-carp-720
briansrls 284deb6
Merge remote-tracking branch 'origin/main' into session/cool-carp-720
briansrls 7b4b6fd
Merge remote-tracking branch 'origin/main' into session/cool-carp-720
briansrls 0633dc1
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls 6971d2e
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls e6bc604
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls 38bb904
docs(ci): align WI-2 comments with WorkflowRuntime rename (EmissionTa…
briansrls 8cfaed7
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls 41f9c94
chore(bootstrap): regen snapshots for extdeps github ci.dag drift
briansrls ed22a62
Merge remote-tracking branch 'origin/main' into session/cool-carp-720
briansrls 6456e2b
WIP: T-WAD FULL R3 ci.dag scaffold first-draft (PR #2744 brief; outpu…
briansrls bd61d25
fix(extdeps): Practice 4 classifications + branded workflow stem
briansrls 113c4e8
fix(modeling): Practice 4 classification for RunnerSpec / RunsOnExpre…
briansrls 82bcbcd
merge branch 'main' into session/cool-carp-720
briansrls 9bac691
fix(extdeps): split concurrency mapping to forbid max + cancel true
briansrls 0b38782
Merge remote-tracking branch 'origin/main' into session/cool-carp-720
briansrls File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
docs/briefs/pb1-e-parse-surface-free-bootstrap-regen-p5-receipt.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| # PB-1-e parse-surface-free bootstrap regen — P5 receipt (hand-Rust) | ||
|
|
||
| **Status:** PR-scoped planning artifact — satisfies `INVARIANTS.md` §P5 | ||
| *Dispatch-Discipline Mechanisms* **(b)** for intentional hand-Rust under | ||
| `src/v3/compiler/src/bootstrap_regen_fresh.rs` (parse-surface-free bootstrap | ||
| path: `WITHOUT_PARSE_SURFACE_EXCLUDED_FIXTURE_PATHS`, `spec_iter` exclusion in | ||
| `load_runtime_bootstrap_authorities`). | ||
|
|
||
| ## Exactly one disposition (mechanism (b), option 3) | ||
|
|
||
| **Explicit deferral** — lane **T-PB-A** (non-test hand-Rust → 0-floor per pure | ||
| bootstrap program). | ||
|
|
||
| **Cited ROADMAP row (one hop):** `ROADMAP.md` in this repo, **`### Goals (the six non-negotiables)`** — numbered goal **6. Self-hosting (Pure Bootstrap).** (references | ||
| `docs/design-pure-bootstrap-zero.md`), **and** the **`### Nine lanes`** table row | ||
| **T-PB-A** (`pb_hand_rust_at_shim_floor`, SG-0 census, `docs/design-pure-bootstrap-zero.md`). | ||
|
|
||
| ## Why this Rust exists (interim, not steady state) | ||
|
|
||
| PB-1-e ships two committed bootstrap snapshots: full (`bootstrap_generated.rs`) | ||
| and parse-surface-free (`bootstrap_generated_without_parse_surface.rs`). The | ||
| latter must not load `parse_surface.dag` or the Rust/Go/Python spec files that | ||
| depend on it, or resolve diagnostics pollute the embedded graph (see comments | ||
| on `WITHOUT_PARSE_SURFACE_EXCLUDED_FIXTURE_PATHS` in | ||
| `bootstrap_regen_fresh.rs`). | ||
|
|
||
| ## Named dissolution trigger | ||
|
|
||
| **Primary:** `bootstrap.rs` and this module’s module-level note — **PB-Bootstrap-Process** | ||
| replaces the regen host with a declared `bootstrap.dag` / generated producer | ||
| path; this hand-Rust regen module **deletes** in favor of that single authority. | ||
|
|
||
| **Secondary (substrate convergence):** if `parse_surface` types and spec | ||
| imports converge such that the excluded specs load cleanly without | ||
| `parse_surface.dag`, the exclusion list and `spec_iter` filter **shrink** or | ||
| disappear in the same PR that proves diagnostic-clean `compile_full_bootstrap_without_parse_surface_dag_from_std_seed` without those exclusions (checkable: | ||
| `regen_bootstrap --verify` + empty bootstrap diagnostics on the no-parse-surface | ||
| snapshot). | ||
|
|
||
| ## Checkable ratchet | ||
|
|
||
| Until dissolution: any change to `BOOTSTRAP_FIXTURE_PATH_KEYS` or the | ||
| parse-surface-free fixture set must keep | ||
| `compile_full_bootstrap_without_parse_surface_dag_from_std_seed` diagnostic-clean; | ||
| `regen_bootstrap --verify` remains the acid test (`PB-1-e` mechanism (ii)). |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| // extdeps/github/ci.dag — GitHub repository facts for Actions workflow artifacts. | ||
| // | ||
| // This module is the extdeps home for **where** GitHub expects workflow YAML | ||
| // under a repository tree — not the YAML syntax model (`extdeps.github.actions` | ||
| // in actions.dag) and not compiler CI gate intent (`gunbc.ci` in gunbc/ci.dag). | ||
| // | ||
| // Ratified substrate layering (PR #2749 option (c-refined), T-WAD FULL R3): | ||
| // - Semantic gate DAG + `WorkflowRuntime` + `project_github_actions` live in | ||
| // gunbc namespace; projection outputs bind there, not in this file. | ||
| // - `extdeps.github.actions.Workflow` stays a platform-only carrier (no | ||
| // emission-policy fields). | ||
| // | ||
| // Spec (workflow file location): https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions | ||
| // | ||
| // Consumers (planned / future): | ||
| // gunbc/ci_emission.dag — default sink path when emitting static YAML | ||
|
|
||
| module extdeps.github.ci | ||
|
|
||
| import std.types { NonEmptyStr } | ||
|
|
||
| // Directory (repository-relative, forward slashes) where GitHub loads workflow definitions. | ||
| // Single string authority for the tree root — do not add a parallel unconstrained | ||
| // `path: String` carrier for the same fact (INVARIANTS P1/P2). | ||
| data github_actions_workflows_dir: String = ".github/workflows" | ||
|
|
||
| // Coproduct dissolution classification (modeling-discipline.md Practice 4): | ||
| // 🟢 GREEN (terminal). GitHub allows exactly two filename suffixes for workflow definitions | ||
| // under `.github/workflows/` (`.yml` / `.yaml`); variants are 1:1 with that closed surface. | ||
| // Ledger (Patterns 1–4): (1) no per-consumer split — suffix is global to the file ref. | ||
| // (2) variant-is-data rejected — the two suffixes are not labels on identical payloads; they | ||
| // select distinct YAML parse entrypoints. (3) no std algebraic source. (4) not dimensional | ||
| // beyond the single binary suffix axis already explicit in the two variants. | ||
| type GitHubActionsWorkflowExtension | ||
This comment was marked as resolved.
Sorry, something went wrong. |
||
| = GitHubActionsWorkflowYml | ||
| | GitHubActionsWorkflowYaml | ||
|
|
||
| // Coproduct dissolution classification (modeling-discipline.md Practice 4): | ||
| // 🟡 YELLOW (scaffold). `NonEmptyStr` + nominal brand enforces non-emptiness only; GitHub | ||
| // additionally requires a single path segment (no `/`) and stem/extension consistency | ||
| // (no embedded `.yml`/`.yaml` suffix in the segment when extension is carried separately). | ||
| // Named dissolution trigger: WI-2 / Slice 4 `project_github_actions` emitter asserts stem | ||
| // segment invariant at projection boundary (#1956) OR `std` lands a validated workflow- | ||
| // basename refinement rejecting `/` and suffix overlap with `GitHubActionsWorkflowExtension`. | ||
| type GitHubActionsWorkflowStemSegment = NonEmptyStr where brand("GitHubActionsWorkflowStemSegment") | ||
|
|
||
| // Filename stem (no `/`, no extension suffix — enforced at projection per YELLOW trigger). | ||
| // Projection joins: | ||
| // github_actions_workflows_dir + "/" + segment + (extension → ".yml" | ".yaml") | ||
| type GitHubActionsWorkflowStem { | ||
This comment was marked as resolved.
Sorry, something went wrong. |
||
| segment: GitHubActionsWorkflowStemSegment | ||
| } | ||
|
|
||
| // Workflow file identity: composes only with `github_actions_workflows_dir` — no | ||
| // unconstrained repository-relative path string as a second authority. | ||
| // Coproduct dissolution classification (modeling-discipline.md Practice 4): | ||
| // 🟢 GREEN (terminal). Product of the fixed-dir constant + stem + closed extension; | ||
| // single structural sink for "which workflow file" under the GitHub layout rule. | ||
| type GitHubActionsWorkflowFileRef { | ||
| stem: GitHubActionsWorkflowStem | ||
| extension: GitHubActionsWorkflowExtension | ||
| } | ||
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.