diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 94ad373..47aa026 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,10 +10,12 @@ // The .NET SDK beside Python, for canon (tools/canon/, DDD-dec-101): built from source here and // in CI, never pulled from a feed (DDD-dec-106). The feature's major version was checked against - // ghcr.io/devcontainers/features/dotnet on 2026-11-02 (latest 2.5.0). + // ghcr.io/devcontainers/features/dotnet on 2026-11-02 (latest 2.5.0). The SDK is the exact version + // tools/canon/global.json pins (rollForward "disable"); the two are bumped together, with the lock + // file (#83). A drift fails validate: dotnet refuses to run in tools/canon/ on any other SDK. "features": { "ghcr.io/devcontainers/features/github-cli:1": {}, - "ghcr.io/devcontainers/features/dotnet:2": { "version": "10.0" } + "ghcr.io/devcontainers/features/dotnet:2": { "version": "10.0.404" } }, "onCreateCommand": "pip install --no-cache-dir -r scripts/requirements.txt && dotnet build tools/canon/canon.slnx", diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 31f6599..d67e294 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -33,9 +33,13 @@ jobs: # Gate 2 it adds three checks no Python gate makes: its own tests, CHANGELOG.md as the # projection of releases/ (DDD-dec-104), and Refs #N with Basis: on canon commits over # the range under test (DDD-dec-105). GITHUB_BASE_REF is passed in so a pull request's - # range is base..head. + # range is base..head. CI is passed in so canon's restores are locked here as on any CI + # runner (tools/canon/Directory.Build.props): a lock file that does not match the pinned + # SDK fails this job, as it fails agent review (#83). The rule is not new; the container + # did not see CI, so it was not applied here. env: | GITHUB_BASE_REF + CI runCmd: | set -e python3 scripts/ci.py diff --git a/meta/sessions/2026-11-18-canon-lock-file/bootstrap.md b/meta/sessions/2026-11-18-canon-lock-file/bootstrap.md new file mode 100644 index 0000000..50a3910 --- /dev/null +++ b/meta/sessions/2026-11-18-canon-lock-file/bootstrap.md @@ -0,0 +1,32 @@ +# Bootstrap — canon's lock file, 2026-11-18 + +Filled in at arrival and committed with `prompt.md` as the session's first commit. + +| Parameter | Value | +|---|---| +| Invocation | Interactive, gated. Emil's prompt is verbatim in `prompt.md` | +| Principal | Emil (rules the fix at G1; ratifies the head at G2) | +| Issue | [#83](https://github.com/mindovermachine-dev/decision-driven-design/issues/83). Every commit of the session carries `Refs #83` | +| Upstream pin | unchanged by this session (`graph/upstream.yaml`) | +| Downstream base | `84aa466` (`84aa4665b4b0392ef4bb08ac042e42ae9fc6d12c`), the head of `main` at arrival | +| Downstream branch | `claude/canon-lock-file-2026-11-18`, from `main` at `84aa466` | +| Local toolchain | `dotnet --list-sdks`: `10.0.404` only (this container; not the devcontainer) | +| Model | Claude Opus 5.5 | + +## Gates + +| Gate | What | Who | +|---|---|---| +| G0 | This charter committed before any other change | Claude | +| G1 | Deliverable 1 (NU1004 reproduced, diagnosis confirmed or corrected) and deliverable 2 (proposals, weakest point first, each with what happens at the next .NET patch) | Claude; **stops for Emil's ruling** | +| G2 | Deliverable 3, the ruled fix: a pull request against `main`, the head to ratify named, `pipeline (devcontainer)` and `agent review` reported for it | Claude; **stops for Emil** | + +## Scope + +In scope: `tools/canon/` build inputs (SDK selection, lock files) and, if ruled, the SDK install +in `.github/workflows/agent-review.yml`, `.github/workflows/validate.yml` and +`.devcontainer/devcontainer.json`; this session record and its row in `meta/sessions/README.md`; +a decision record only if the ruling needs one. + +Out of scope: anything that changes what canon checks; any claim, decision text, method card or +lifecycle data; the branches of #80 and the archive branch; the act map work (#80, #81, #82). diff --git a/meta/sessions/2026-11-18-canon-lock-file/decision-draft.yaml b/meta/sessions/2026-11-18-canon-lock-file/decision-draft.yaml new file mode 100644 index 0000000..deb1a02 --- /dev/null +++ b/meta/sessions/2026-11-18-canon-lock-file/decision-draft.yaml @@ -0,0 +1,51 @@ +# DRAFT for Emil's ruling on its text (G1, Q-1). Not filed: it is not under core/decisions/ and +# no gate reads it. On the ruling, the id is settled (question at the foot), the <...> fields are +# filled with the head and the times Emil gives, and it is filed as core/decisions/.yaml. +format: 1 +id: DDD-dec-123 +kind: decision +statement: | + For one landing only, the trunk ruleset's required `agent review` check is lifted, so that #83's fix can reach main; it is restored straight after. Nothing else in trunk or in any other ruleset changes, and nothing in DDD-dec-108 or DDD-dec-109 is superseded. The waiver is not a precedent: a later broken main is a new decision. +principal: Emil +made: | + 2026-11-18, G1 of the canon-lock-file session (issue #83), given by Emil in the session and recorded verbatim at meta/sessions/2026-11-18-canon-lock-file/rulings.md (received 13:17 UTC). The requirement was lifted at