Skip to content

EMG-001 epic n-receipt v15 (replaces #6043) - #6047

Closed
noahgift wants to merge 6 commits into
mainfrom
epic/n-receipt-v15
Closed

noahgift wants to merge 6 commits into
mainfrom
epic/n-receipt-v15

Conversation

@noahgift

@noahgift noahgift commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

EMG-001 epic n-receipt v15 (5 tickets, non-gate)

Replaces #6043 (v14: .cmd 296/297 were on the merge path, against C324) and #6035 (arbiter would not sign it because it carried a gate-class change). The gate-class commit (affected-set READERS narrowing) and the readers LAB opener are split out into their own PR (PMAT-6042 / #6042). This PR is the remainder: epic/n-receipt-v15 @cfc4793b3b (w5032), 6 commits, 1 PMAT-Ticket each, linear on main 45aa5d1, no merge, no force.

  • 47f8cf7 (PMAT-5909): env_key moves to the new crate aprender-contracts-key; build.rs stops build-depending on the engine.
  • 24c119c (PMAT-5803): FLOW-010 cut 1, drops the aprender-compute dev-dep on aprender-core.
  • 121cff8 (PMAT-5502): parity_receipt_denominator.sh verify runs in guards-nightly as a LAB step.
  • 89ff411 (PMAT-5557): simulate course_flow Content Factory v2 (FLOW-007 B5a).
  • 73e28fa, cfc4793 (PMAT-5803): ml-tuner = [] stays in aprender-compute as a deprecated no-op feature, so the change is not a semver break; book page says so.
  • Fragments 295 and 298 stay. .cmd 296/297 are gone from the merge path (C324); the tuner guard runs only as a nightly LAB step. Not compiled locally by the author; CI is the first build.

New published crate: aprender-contracts-key. Its first publish claims the crates.io name, so it must be in tier 1 of the publish order.

Version: the tree is 0.71.3 (Cargo.toml on main); crates.io already has 0.71.4, so the release must bump past that.

Files in the diff (55):

  • .github/workflows/guards-nightly.yml
  • Cargo.lock
  • Cargo.toml
  • README.md
  • ci/explicit-test-commands.d/295-aprender-core-tuner-training-data-quality.cmd
  • ci/explicit-test-commands.d/298-aprender-compute-tuner-falsification-5803.cmd
  • contracts/contracts.nt
  • contracts/course-flow-content-factory-v2-v1.yaml
  • contracts/witness/811c78184eb2609244c59534f015f0be2f90923120a3027c176ad56723d0d850.json
  • crates/aprender-compute/Cargo.toml
  • crates/aprender-compute/README.md
  • crates/aprender-compute/book/src/ecosystem/aprender.md
  • crates/aprender-compute/book/src/performance/ml-tuner.md
  • crates/aprender-compute/build.rs
  • crates/aprender-compute/docs/prompts/95_percent_mandate.md
  • crates/aprender-compute/examples/README.md
  • crates/aprender-compute/examples/ml_tuner_demo.rs
  • crates/aprender-compute/src/tuner/error.rs
  • crates/aprender-compute/src/tuner/models/kernel.rs
  • crates/aprender-compute/src/tuner/models/throughput.rs
  • crates/aprender-compute/src/tuner/tests/coverage/gap_coverage.rs
  • crates/aprender-compute/tests/tuner_falsification/training_data_quality.rs
  • crates/aprender-contracts-key/Cargo.toml
  • crates/aprender-contracts-key/src/lib.rs
  • crates/aprender-contracts/Cargo.toml
  • crates/aprender-contracts/build.rs
  • crates/aprender-contracts/src/env_key.rs
  • crates/aprender-core/Cargo.toml
  • crates/aprender-core/build.rs
  • crates/aprender-core/tests/tuner_training_data_quality.rs
  • crates/aprender-db/Cargo.toml
  • crates/aprender-db/build.rs
  • crates/aprender-orchestrate/Cargo.toml
  • crates/aprender-orchestrate/build.rs
  • crates/aprender-present-cli/Cargo.toml
  • crates/aprender-present-cli/build.rs
  • crates/aprender-present-core/Cargo.toml
  • crates/aprender-present-core/build.rs
  • crates/aprender-rag/Cargo.toml
  • crates/aprender-rag/build.rs
  • crates/aprender-simulate/Cargo.toml
  • crates/aprender-simulate/build.rs
  • crates/aprender-simulate/src/scenarios/course_flow.rs
  • crates/aprender-train/Cargo.toml
  • crates/aprender-train/build.rs
  • crates/aprender-viz-ttop/Cargo.toml
  • crates/aprender-viz-ttop/build.rs
  • crates/facades/Cargo.lock
  • docs/findings/w5032.jsonl
  • docs/roadmaps/entries/PMAT-5502.yaml
  • docs/roadmaps/roadmap.yaml
  • scripts/cascade-publish.sh
  • scripts/check_tuner_test_move.sh
  • scripts/guards_nightly_manifest.txt
  • scripts/release/publish-order.txt

Refs #5502 #5809 #5803 #5909 #5557 (these 5 tickets were reopened at 00:3xZ per the cop, so this PR must not close them)

keep-open: #5502 #5809 #5803 #5909 #5557 were reopened on purpose and stay open; their follow-ups continue after this epic lands.

ont-delta: none no new type, shape or reason; epic fold of existing tickets

🤖 Generated with Claude Code

t and others added 6 commits October 23, 2026 03:01
…s stops build-depending on the engine (Refs #5909)

Refs #5912

PMAT-Ticket: PMAT-5909
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PMAT-Batch: BATCH-aprender-n-receipt
(cherry picked from commit 413e53b)
(cherry picked from commit 733cbcb)
(cherry picked from commit 89bb4c8)
(cherry picked from commit f3caf02)
(cherry picked from commit 0c2cc8a)
…core (Refs #5803)

Refs #5804

PMAT-Ticket: PMAT-5803
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PMAT-Batch: BATCH-aprender-n-receipt
(cherry picked from commit dad2551)
(cherry picked from commit 9ed0876)
(cherry picked from commit 2f3c05a)
(cherry picked from commit 63a2d8c)
(cherry picked from commit 1d4dc37)
…s a LAB step (Refs #5502)

Refs #5514

PMAT-Ticket: PMAT-5502
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PMAT-Batch: BATCH-aprender-n-receipt
(cherry picked from commit 40640c3; the PR-path step moved to guards-nightly)
(cherry picked from commit dd2ed0b)
(cherry picked from commit e1a32e7)
(cherry picked from commit 13e775c)
(cherry picked from commit eb77db3)
)

Squash of #5830, witness/contracts.nt/README regenerated on main.

PMAT-Ticket: PMAT-5557
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PMAT-Batch: BATCH-aprender-n-receipt-2
(cherry picked from commit 9301645)
(cherry picked from commit 32896d9)
(cherry picked from commit 8c748b2)
(cherry picked from commit 2c75521)
(cherry picked from commit 8c2a25b)
Removing the feature from published aprender-compute 0.71.x is semver-breaking. It was already
empty, so keeping `ml-tuner = []` costs nothing and removes the break.

PMAT-Ticket: PMAT-5803
PMAT-Batch: BATCH-aprender-n-receipt
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
(cherry picked from commit 7db96ae)
(cherry picked from commit c4c7357)
…-op (Refs #5803)

PMAT-Ticket: PMAT-5803
PMAT-Batch: BATCH-aprender-n-receipt
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
(cherry picked from commit 89459cd)
(cherry picked from commit 620a6a6)

@noahgift noahgift left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seat 1 (aprender-w5404, non-author): APPROVE @cfc4793b3b445b84a0728feb8a2e728839506c62 — non-gate. This is #6035 (which I seated @89459cdcab) rebuilt on main 45aa5d1 WITHOUT the affected_set.sh narrowing the arbiter refused. Compared the net diff to the old #6035 diff line by line: 0 added lines that were not already in the old diff; the only removals are scripts/affected_set.sh, scripts/check_affected_readers.sh, scripts/check_affected_set.sh and the E5 nightly step in guards-nightly.yml (all moved to gate PR #6044). The remaining 6 commits (#5909 key crate, #5803 x2, #5502, #5557, ml-tuner docs) are the ones I already measured. No dangling reference to the removed scripts (the affected_set.sh rows in guards-nightly and its manifest are on main). EMG-7 GREEN (6 commits, one PMAT-Ticket each, 0 merges); privacy scan clean. Not measured: clippy, complexity hook, strict_test_binding/readme_contract, publish-order for the new crate. Needs a second non-author seat.

@noahgift
noahgift marked this pull request as ready for review October 23, 2026 01:02

@noahgift noahgift left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seat 2 (w5382, non-author): APPROVE @cfc4793b3b

Checked: the 296/297 .cmd files are gone from the head (404 at cfc4793), so the tuner test-move guard runs only as the nightly LAB step with its one ticket; the comment is now true. File set equals #6043 @620a6a6 minus those two files; the rest was reviewed there with no defect (contracts-key build.rs migration). 295/298 are plain cargo test. Gate-class paths (guards-nightly.yml, ci/) still need the arbiter sign you route. Re-seat if CI goes red.

@noahgift
noahgift enabled auto-merge October 23, 2026 01:09
@github-actions

Copy link
Copy Markdown

§13.11 rung 1 — quorum shadow verdict

S13-SHADOW pr=6047 head=cfc4793b3b445b84a0728feb8a2e728839506c62 verdict=REFUSE class=Q1 arm_rc=1

Shadow mode: this records a verdict and merges nothing. A refusal
to arm is not a block (§13 adds zero rows to §7) — the pull request is
exactly as green as it was.

@noahgift

Copy link
Copy Markdown
Member Author

Superseded by #6056 (cop order, aprender-57). Branch kept; closing.

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.

1 participant