Skip to content

chore: template 8ebc131, and each check once (no cargo job) - #48

Merged
afflom merged 3 commits into
mainfrom
claude/project-thread-ykj0ul
Oct 31, 2026
Merged

afflom merged 3 commits into
mainfrom
claude/project-thread-ykj0ul

Conversation

@afflom

@afflom afflom commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

There are three commits. Each stands on its own.

1. Update the locked template contract to 8ebc131

This brings in the universal policy files from template 8ebc131, on this repository's existing SDK (prismpm-sdk-candidate@sha256:36da25ef…) and action (f785ee46). prismpm.lock, standards.lock and the devcontainer are therefore unchanged. Of the four copied files, only bootstrap.yml differs:

  • A newer push to a pull request cancels its older run (template#21). Main and tag runs are never cancelled.
  • A pull request runs acceptance once, natively on amd64. Main and tags run both architectures.
  • actions/checkout runs on Node 24.

template.lock binds 8ebc131, and render.mjs's own lock computation produced it. Moving to the template's newer SDK (cd3b47d7) would replace this repository's standards.lock, which needs an explicit standards review, so that is left as its own decision.

template-update.yml couldn't produce this commit at first. Commit 3 fixes it.

2. Run each check once

The same change as UOR-Foundation/lexlean-mcp#68 and UOR-Foundation/template#27:

  • model is the one xtask validate.
  • template-check is the SDK's two checks.
  • lint is Clippy with --all-features --all-targets, which replaces the separate features build.
  • bdd leaves vv, because test already runs it.
  • Every Cargo call is --locked.

It also removes lexlean.yml's cargo job, which reran all of just vv's checks outside the SDK. The conformance job, which installs the suite and runs the ignored oracle tests, is unchanged.

CF-08 held the cargo job to installing no suite and setting no root. It now holds just test, the workspace gate that just vv runs in the SDK, to the same rule. A planted MCP_CONFORMANCE_SUITE_ROOT=/x in that recipe fails it with "the workspace gate uses MCP_CONFORMANCE_SUITE_ROOT".

3. Fix the template-update workflow (template#29)

  • The offline template check compiles xtask, but the SDK's Cargo home holds only the SDK's crates. A credential-free cargo fetch --locked now fills a temporary Cargo home first, and the check runs offline against it. It prints its JSON if it fails.
  • upload-artifact skips dot files by default, so .template-update.patch was never uploaded. The step now sets include-hidden-files: true.

With both fixes, lexlean-mcp's dispatch run 41209165931 rendered a proposal byte-identical to its own update commit.

Verification

Run locally:

  • cargo fmt --check passes.
  • cargo clippy --workspace --all-targets --all-features --locked -- -D warnings passes.
  • cargo test --workspace --locked --no-fail-fast, without the suite root, passes with 0 failures after the CF-08 change.
  • The 14 xtask tests pass on the updated bootstrap.yml.

prismpm template check, lock check and the full just vv run in this PR's bootstrap job.


Generated by Claude Code

The universal policy files from template 8ebc131, on this repository's
existing SDK (prismpm-sdk-candidate 36da25ef) and action (f785ee46), so
prismpm.lock, standards.lock and the devcontainer are unchanged. Of the four
copied files only bootstrap.yml differs: a newer push to a pull request now
cancels its older run, a pull request runs acceptance once on amd64 while
main and tags run both architectures, and checkout runs on Node 24.
template.lock is recomputed by render.mjs's lock step.

The template-update workflow could not produce this: its prismpm template
check runs just model-write, which compiles xtask, in a --network none
container.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Asa3MhcQEwMfZSDWaZCJd
… no cargo job

`just vv` ran check-model and audit-bootstrap twice (template-check, then
inside xtask validate), the repo-conformance tests twice (test, then bdd),
and the workspace through two compilers that differ only in features (lint,
then features). Now model is the one xtask validate, template-check is the
SDK's two checks, and lint is Clippy with --all-features. Every Cargo call is
--locked. bdd stays as a slice outside vv.

lexlean.yml's cargo job ran the same fmt, Clippy, feature build, xtask
gates, deny and tests outside the SDK again; the bootstrap acceptance job's
`just vv` runs each in the locked SDK, and xtask validate includes
audit-dependency-updates through bootstrap::audit, so the job is removed.
CF-08 held the cargo job to installing no suite and setting no root; it now
holds `just test`, the workspace gate, to the same, and a planted
MCP_CONFORMANCE_SUITE_ROOT in that recipe fails it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Asa3MhcQEwMfZSDWaZCJd
…load the hidden patch

The template check compiles the project's xtask with no network, but the
SDK's Cargo home holds only the SDK's crates. A credential-free step now
fetches the locked crates first. upload-artifact also skipped the dot-file
patch, so the proposal job failed after a successful render.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Asa3MhcQEwMfZSDWaZCJd
@afflom
afflom merged commit a74608f into main Oct 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants