Repository navigation
juniper-ml v0.11.0
Juniper ML v0.11.0 Release Notes
Release Date: 2026-10-21
Version: 0.11.0
Release Type: MINOR
Overview
juniper-ml v0.11.0 rolls up the release-worthy changes accumulated on main since the last published release, generated by the Juniper release-train from this package's CHANGELOG.
Release Summary
- Release type: MINOR
- Primary focus: new features, behavioural changes, bug fixes
- Breaking changes: YES
- Package:
juniper-mlv0.11.0
What's New
Added
- The agent guard protects the owner's signing configuration (K12) (
notes/JUNIPER_2026-10-19_JUNIPER-ECOSYSTEM_COMMIT-SIGNING-TERMINAL-AND-IDE-PLAN.md, S9). With the YubiKey stubs
learned, an agent that could rewrite the owner's signing configuration could obtain the owner's signature. It could
pointgpg.programorcore.hooksPathat its own program, plant a repository-local key that outranks the include,
drop apost-commithook inside a cached-touch window, or re-enable signing past D11 withgit -c include.path=or
--config-env.util/claude_agent_guard.py1.1.0 adds two rules:GIT-SIGNING-CONFIG(Bash) denies those forms. It also denies signing-keygit configwrites at any scope,
git config --edit, any mention of~/.gitconfig,~/.config/git, a system gitconfig or.git/hooks, and
util/configure_commit_signing.py --apply/--removewithout--dry-run.GIT-SIGNING-FILE(the file writers) denies writes to the same files. Reads stay allowed.
tests/test_claude_agent_guard.pypins 63 Bash cases (42 denied, 21 allowed) and 18 file cases (10 denied, 8
allowed), and the self-test runs 40 checks.util/ad-hoc/2026-10-20_k12_guard_mutation_check.pykills 18 of 18 mutants, each by its own pin test.- The owner re-runs
bash util/install_claude_agent_guard.bash --apply(task C8) from an up-to-datemainto install
the new copy. No YubiKey goes into turing until then: the firstgpg --card-statuswrites the card stubs (plan §1).
- Commit signing for the terminal and the IDEs (
notes/JUNIPER_2026-10-19_JUNIPER-ECOSYSTEM_COMMIT-SIGNING-TERMINAL-AND-IDE-PLAN.md, VALIDATED after two consensus rounds; it extends arc B of
notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md).- What the tool does.
util/configure_commit_signing.pyinstalls and verifies the owner's signing for every checkout under
~/Development/python/Juniper/with oneincludeIf "gitdir/i:~/Development/python/Juniper/", which points at
~/.config/git/juniper-signing.gitconfig. That file holds yamaguchi's values:user.signingkeypinned to the full
fingerprint with!,commit.gpgsignandtag.gpgsign, plus an absolutegpg.programin a known GnuPG install. - Why the IDEs need no setting. Cursor's and VS Code's git extension adds
-Sonly on request and never disables
signing. So both IDEs sign through git's config, without the shell's PATH or a TTY. - What is unchanged. Repositories outside the root, and Claude Code sessions, which D11 keeps unsigned by
construction. - What
--checkcovers. It verifies the setup without credentials:- planted repo-local signing keys and hooks;
- the include's integrity;
- IDE settings that would defeat the config;
- whether an IDE agent can commit, or bypass signing, without a prompt.
- The other modes.
--removeundoes--applyexactly. - Tests and evidence.
tests/test_configure_commit_signing.pypins R-S1..R-S19, andutil/ad-hoc/2026-10-19_commit_signing_mutation_check.pykills 50 of 50 mutants. - Doc changes.
notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.mdgains §19 (v1.4.0). The AGENTS.md unsigned-commit hazard gains the IDE-agent rule. - Applied on turing (2026-10-20). An owner commit in the tree now fails closed until the owner imports the public
key and learns the card stubs (bring-up B2/B3). The firstgpg --card-statuswrites the stubs, so no card goes into
turing until the agent guard (C8) is installed, the guard rules (K12) are merged and re-installed, and the IDE-agent
approval rules (K13) are in place. The touch policy (S11) is set at that first insertion.
- What the tool does.
stats.json/summary.mdcarry a per-split regression target summary (W5.5 of
notes/JUNIPER_2026-10-03_JUNIPER-RECURRENCE_EQUITIES-END-TO-END-AUDIT-AND-DEVELOPMENT-PLAN.md; F-D8). The audited
stats.jsonreported the sequence dimensions and aclass_distributionofnull, and nothing about the target the
equities fit predicts.util/experiments/stats_summary.pygains the stdlibregression_target_summary: per split,n,n_finite,
finite_fraction,mean,std(population, ddof=0),min,max, plus abasisstring; NaN and ±Inf count
towardnand against the fraction and stay out of the moments; an empty split reportsfinite_fraction: null.
build_statswrites it asdataset.target_summary(nullwhen absent) and turns a reader error into a
provenance.degraded_notesentry;summary.mdprints one line per split.util/experiments/run_experiment.pyfetches the dataset artifact once after the dataset phase (the body the plot
set already reads) and summarises everyy_reg_<split>array; numpy is imported lazily, and a host without it, a
failed fetch or an unreadable body is a degraded note, never a run failure. Both kinds pass it tobuild_stats.tests/test_stats_summary_target_summary.py(new, 22 tests) pins the arithmetic, the carriage, the rendering and
the driver reader on the committed audited artifact (1346 / 176 / 176 windows, every one finite); wired into
ci.ymlanddocs/REFERENCE.md.
util/experiment_stack.bash --shared-equities-cache DIR, the experimentation plan's H-9 opt-in (W5.6 of the same
plan; F-D6), with arun_suite.pypassthrough. The data leg launched with
JUNIPER_DATA_EQUITIES_CACHE_DIR=$RUN_DIR/equities-cacheand nothing else, so every cell of an equities suite paid the
cold Yahoo / SEC fetch again.- The flag (or
JUNIPER_EXP_SHARED_EQUITIES_CACHE=DIR) launches the data leg with that directory instead -- one that
outlives the run. Absolute paths only (exit 2 before any port is allocated: the leg launches from the run dir, so a
relative path would be per-run again); created if absent; never removed by teardown; inert with--shared-data. The
default stays per-run, storage stays$RUN_DIR/data, anddataset_ids are unchanged. - Evidence: the announce line,
env/launch.env, andports.json's newequities_cache_dir/equities_cache_shared. util/experiments/run_suite.py --shared-equities-cache DIRpasses it to every cell's--up(the env knob is honoured
and passed explicitly) and records it on each registry row and insuite_manifest.json; cell ids and
config_sha256are unchanged, as with the Grafana bridge.docs/REFERENCE.mdgains the runbook subsection (sharing is read-mostly, not race-free: juniper-data's cache writes
are plain writes, so keep sharing to runs that do not overlap on cold symbols).tests/test_experiment_stack_shared_equities_cache.py(new, 25 tests): the contract text, the misuse matrix, dry
run, livedata_up(PATH stubs), theports.jsonrecord and the suite passthrough; wired intoci.ymland
docs/REFERENCE.md(216 suites).
- The flag (or
util/home_path_literal_check.py, the G-PATH gate (turing bring-up task G5, decision D12 of
notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md).- A tracked
.bash,.sh,.pyor.ymlfile underutil/,scripts/or.github/may hold no more
lines carrying/home/pcalnonthanconf/home_path_literal_baseline.json(new) allows it. The baseline
holds the 436 files and 651 lines in scope when the gate landed; 427 of the files are underutil/ad-hoc/.
A line ending in# home-path-literal: allowis not counted. - It runs as the
home-path-literalpre-commit hook on staged files, and as a whole-scope step in
ci.yml's Pre-commit job.--update-baselinerecounts, and--dry-runwrites nothing. tests/test_home_path_literal_check.py(new) is wired intoci.ymlanddocs/REFERENCE.md.util/ad-hoc/2026-10-20_turing_g5_mutation_check.py(new) shows that the suite kills 22 of 22 mutants.
- A tracked
- The
git-remote-aliaspre-push hook (turing bring-up task G6, gate G-ALIAS of
notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md)..pre-commit-config.yamlrunsutil/git_remote_alias_check.py --check --if-configured(task G2) at the
pre-push stage. On a host with thegithub_juniper-*aliases, a push is blocked while any of the 10
checkouts bypasses its alias, is missing, or has a key not at mode 600. A host without the aliases skips.- Each host opts in with
pre-commit install --hook-type pre-push.minimum_pre_commit_versionrises from
3.0.0 to 3.2.0, the release that named the stagepre-push. default_stages: [pre-commit]keeps every other hook at commit time. Without it, a hook with nostages
runs at every stage: a push would re-run the whole commit suite, and the CI smoke step would lint the
whole tree, undoing the Pre-commit job's changed-files split.check-added-large-filesandisortset
stages: [pre-commit]themselves, because their upstream manifests list pre-push and override
default_stages.- ci.yml's Pre-commit job runs the pre-push stage as a smoke test, and
tests/test_git_remote_alias_check.py
pins the hook's configuration.
util/experiments/run_suite.pygains theacceptance:facility, and the E-H recurrence suite carries
the R5 band (W5.4 ofnotes/JUNIPER_2026-10-03_JUNIPER-RECURRENCE_EQUITIES-END-TO-END-AUDIT-AND-DEVELOPMENT-PLAN.md;
F-D3 / F-SCI4; rulings R5 and R6). Before this the audited E-H cell scoredcv_r2 = -18081and the suite
called itsucceeded-- a number the suite produced correctly, which nothing judged.- Schema.
acceptance:is a list of bands{metric, min, max, mode}on the suite (every cell) or on an
includerow (that row only).metricis one of the headline columnsaggregate.csvcarries (train_r2,
cv_r2,cv_r2_std,n_windows,final_accuracy,test_accuracy,val_accuracy);min/maxare
inclusive finite numbers, at least one present,min <= max;modeisgateorreportand is required.
A malformed band refuses the suite at load (exit 2), before any cell launches. Bands do not enter the cell
id -- they judge the result, they do not change the experiment. - Outcomes (R6). A
gatemiss makes a succeeded cellfailed, witherrornaming the miss
(acceptance: cv_r2=-18081.0 outside [-1.0, 0.5] (gate)), and the suite exits non-zero; areportmiss
makes itflagged(new outcome;TERMINAL_OUTCOMES) with the same note and the exit code unchanged.
A metric the band names that the cell did not produce follows the mode (cv_r2 absent (gate)) and is
distinct fromdegraded, which says an enabled phase did not run; a cell alreadyfailed/degraded/
stalled/timed_outkeeps that outcome with its bands recorded.flaggedis complete:--resumeskips
it and the exit code counts it withsucceeded(COMPLETE_OUTCOMES). - Surface. The registry row carries
acceptance(per band:value,resultinpass/fail/
absent);aggregate.csvgains anacceptancecolumn, placed last so no existing column moves; the
REPORT table gains the same column when any cell has bands, plus a## Acceptance bandssection, and the
summary line countsflaggedcells when there are any;--dry-runprints each banded cell's bands;
suite_manifest.jsonrecords them. - The R5 band, on
util/experiments/suites/p4/e-h-recurrence-real-data.yaml's equities row only:
cv_r2 ∈ [-1.0, +0.5]andcv_r2_std ≤ 0.5, bothgate(the owner accepted the W5.1 note's amended
recommendation on 2026-10-18). Row-scoped because the irregular-sine control'scv_r2 0.975would fail
+0.5under a suite-level band. Re-measured on W5.2's trainval population on 2026-10-19 before encoding
(1,522 windows, five expanding folds, embargo = look-back 64): the bare 0.7.0 default scores-0.298/
0.281, the recommended RFF / ridge 1.0 / 256 / median configuration-0.111/0.041; both inside.
Round 3 of the CV-blowup note's consensus review (Lane A1-r3, 45 checks) was already recorded complete in
notes/JUNIPER_2026-10-05_JUNIPER-RECURRENCE_EQUITIES-CV-BLOWUP-CONSENSUS-VALIDATION.md, so the plan's
"round 3 first" precondition was met. tests/test_run_suite_acceptance.py(20 tests, hermetic through theJUNIPER_SUITE_*seams) pins the
schema, the comparator, the outcomes, the row scoping, the resume and exit behaviour, the columns and the
shipped band; wired intoci.ymlanddocs/REFERENCE.md's run list (213 suites).
- Schema.
util/juniper_repo_ssh_setup.bash: one repo's deploy key and Host alias, idempotently (turing bring-up
task A5,notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md).- It creates
id_ed25519_github_juniper-<repo>when absent and appends the canonical
Host github_juniper-<repo>block (AddKeysToAgent no). It prints the web-UI deploy-key step and checks
the alias withssh -G. A second run writes nothing. Existing non-compliant state is reported, not fixed.
UseKeychainis written on Darwin only, because upstream OpenSSH rejects it. tests/test_juniper_repo_ssh_setup.py(new) is wired intoci.ymlanddocs/REFERENCE.md.util/ad-hoc/2026-10-17_turing_a5_mutation_check.py(new) shows that the suite kills 16 of 16 mutants.
- It creates
- Turing bring-up B8: the superseded ed448 signing key leaves the executable tree
(notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md, erratum X7).util/test_gpg_signing.bashis deleted. It rangpg --clearsign -u 93E8591643C507FF, the ed448 key, which has
not been the signing key since 2026-08-07.util/headless_signing_preflight.bashreplaces it with non-credential
checks.tests/test_headless_signing_preflight.pygains R-B8: no file underutil/orscripts/may carry that key id,
and the deleted validator stays deleted.notes/JUNIPER_2026-07-16_JUNIPER-ECOSYSTEM_CODE-SIGNING-KEY-MIGRATION-STATUS.mdis marked SUPERSEDED, with a banner
naming the current key (BA18D1A733B1831A) and the audit that records it (audit findings A1-F1 and A1-F2).
util/headless_signing_preflight.bash: the turing bring-up B7 signing preflight
(notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md).- It runs non-credential checks only: R-B7a's
!pin,commit.gpgsign, R-B7b's GUI pinentry (turing named
the curses build until B1), the agent socket andno-allow-external-cache. It lists every failure and
exits 0 / 1 / 2. The D11 override fails as "signing disabled by construction". The card checks of the
original design (notes/JUNIPER_2026-08-09_JUNIPER-ECOSYSTEM_STANDING-ITEMS-CLOSEOUT-AND-HARNESS-REMEDIATION-PLAN.md)
stay owner-run. tests/test_headless_signing_preflight.py(new) is wired intoci.ymlanddocs/REFERENCE.md.util/ad-hoc/2026-10-17_turing_b7_mutation_check.py(new) shows that the suite kills 18 of 18 mutants.
- It runs non-credential checks only: R-B7a's
util/git_remote_alias_check.py, the G-ALIAS gate (turing bring-up task G2,
notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md).- It checks each checkout's persisted origin and
pushurl, its alias'sssh -Gview, and its key's mode.
On turing it names juniper-k8s (R-G2a) and juniper-recurrence (R-G2b), the two remotes task A1 rewrites. --fixrewrites only a same-repository origin.--if-configuredpasses hosts that have no aliases, for
the G6 pre-push hook. Every git call drops theGIT_DIRthat a hook inherits in a linked worktree.tests/test_git_remote_alias_check.py(new) is wired intoci.ymlanddocs/REFERENCE.md.util/ad-hoc/2026-10-17_turing_g2_mutation_check.py(new) shows that the suite kills 16 of 16 mutants.
- It checks each checkout's persisted origin and
- ci.yml's
host-tooling-macosjob, advisory (turing bring-up task G4 of
notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md).- It runs the eight turing host-tooling suites on
macos-latest, under BSD userland and/bin/bash3.2,
which the Linux regression step cannot show. A step asserts both, and thatbrew --prefixis not
turing's Intel/usr/local, so a green run also shows the scripts are prefix-independent. - No workflow path filter: a detection step sets
relevantfrom the pull request or merge-group diff,
and every later step is gated on it, so the job reports success when no host-tooling path changed. - Absent from the Quality Gate
needs:until 10 consecutive green runs; it then joins them, never as a
separate ruleset context. tests/test_ci_host_tooling_macos.py(new) gates the job's shape and runs the detection shell under a
stubgit. It is wired intoci.ymlanddocs/REFERENCE.md.
- It runs the eight turing host-tooling suites on
util/host_state_probe.bashandutil/host_state_check.py, the host gates (turing bring-up task G1 of
notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md; the gates of §9.3).- The probe collects a macOS host's state, read-only, as raw command captures in one JSON object. Under
~/.sshand~/.gnupgit tests names and permission bits only, and it runs no credential probe. It
graduatesutil/ad-hoc/2026-10-15_turing_host_state_probe.bash. - The check judges those captures against
conf/hosts/<host>/expected.yaml, new for turing. It evaluates
G-ALIAS, G-SIGN, G-SEC, G-TOOLS, G-ENV, G-NET and G-MEM condition by condition, and names the plan task
behind each failure.--checkexits 1 while a gate fails. - expected.yaml is validated before anything runs. A VM that cannot fit the machine is regression R-G1,
the X2 class (the primer's 44 GB VM on a 16 GiB host), and exits 2. - Turing's readiness on 2026-10-20 was 0 of 7. Each failure is an open plan task: A1; C1, C2 and C3;
D4; E4; A6 and F2; node mode (F3); and the I-SIGN record (signing plan K10). tests/test_host_state_probe.pyandtests/test_host_state_check.py(new) are wired intoci.yml,
the advisoryhost-tooling-macosjob anddocs/REFERENCE.md(220 suites).util/ad-hoc/2026-10-20_turing_g1_mutation_check.py(new) shows that they kill 57 of 57 mutants.
- The probe collects a macOS host's state, read-only, as raw command captures in one JSON object. Under
- Turing bring-up H2: the three SME agents of plan §11 (
notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md)..claude/agents/macos-host-sme.md(new) measures a macOS host againstconf/hosts/<host>/expected.yaml
withutil/host_state_check.py --json, and explains each failing gate condition with its plan task, actor
and remediation. It writes onereports/file and changes nothing on the host..claude/agents/signing-auth-sme.md(new) diagnoses git transport and commit signing from the repo's
non-credential checkers and read-onlygh apiGETs. Its onereports/file ends with the OWNER command
list: every check an agent may not run..claude/agents/k8s-node-sme.md(new) reviews the Mac worker VM (sizing, kubelet reservations, taints,
join steps) against the juniper-k8s primer and decision D1, and reconciles errata X1-X5, in onenotes/
audit. It holds WebFetch and no Bash.tests/test_macos_host_sme_contract.py,tests/test_signing_auth_sme_contract.pyand
tests/test_k8s_node_sme_contract.py(new) sharetests/agent_contract_support.py(new). Each pins its
agent's exact tool set and Must-never items, and runsutil/claude_agent_guard.pyto show that the guard
denies each item under the rule the agent cites while passing the agent's own procedure. They are wired
intoci.ymlanddocs/REFERENCE.md(223 suites).util/ad-hoc/2026-10-20_turing_h2_mutation_check.py(new) shows that they kill 28 of 28 mutants, six of
them in the guard.
util/mcp_setup.bash: each checkout's Serena entry, pinned and bound (turing bring-up task H4 of
notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md; decision D10).- It writes
<checkout>/.mcp.json'sserenaentry:uvx --from git+https://github.com/oraios/serena@<commit> serena start-mcp-server --context <context> --project <checkout> --open-web-dashboard False. Other
servers are kept, a changed file is backed up first, and a second run writes nothing.--checkand
--removecomplete it. --projectfixes audit A2-F1 (Serena started with no active project), and running it per checkout fixes
A2-F4 (no worktree had a.mcp.json), both fromnotes/JUNIPER_2026-08-09_JUNIPER-ECOSYSTEM_HEADLESS-SIGNING-AND-SERENA-HARNESS-AUDIT.md.- The pin comes from
conf/hosts/<host>/mcp.json(new for turing): Serena v1.7.0 at its full commit, on the
claude-code context, whoseexcluded_toolsholdexecute_shell_command..serena/project.ymlnow
excludes it too, and.gitignorecovers the script's.mcp.json.bak-*backups. - On turing the pinned Serena does not start yet: its exact
cryptography==50.0.0pin ships no Intel-macOS
wheel, and building it needs Rust 1.83 (the host has 1.71). The liveclaude mcp listcheck waits on
that. tests/test_mcp_setup.py(new) is wired intoci.yml, thehost-tooling-macosjob and
docs/REFERENCE.md(224 suites).util/ad-hoc/2026-10-21_turing_h4_mutation_check.py(new) shows that it
kills 20 of 20 mutants.
- It writes
- The D11 item 4 agent guard for turing (task C8, option (b) of
notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md). Pattern rules alone cannot carry D11:
Read(~/.ssh/**)does not bind Bash, andgh apitakes its flags in any order. The macOS sandbox alternative,
option (a), would break agentgit fetchand push over ssh.util/claude_agent_guard.py(new) is a PreToolUse hook with 15 rules. It only denies, never allows, and it
fails closed.util/install_claude_agent_guard.bash(new, owner-run) installs a checksummed copy, self-tests it, and prints
or merges the settings entry plus 8permissions.denyrules.tests/test_claude_agent_guard.py(new) is wired intoci.ymlanddocs/REFERENCE.md.util/ad-hoc/2026-10-17_turing_c8_guard_mutation_check.py(new) shows that the suite kills 18 of 18 mutants.
util/ad-hoc/2026-10-17_turing_c8_guard_review_probe.py(new) is an independent black-box review, 71 of 71.
util/macvm_ctl.bash: gated start / stop / status for turing's k8s worker VM (bring-up task
F5a,notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md).startnever callsVBoxManage startvmunless gate G-MEM passes: free + inactive memory
covers the VM plus 4 GiB, at most 2 GiB of swap is in use, and Docker Desktop is not running.
Otherwise it names each failing condition with its value and threshold and exits 1. A running
VM exits 0 with no gate, so F7's LaunchDaemon can callstartat every boot.tests/test_macvm_ctl.py(new) pins R-F5 with every tool stubbed, so it runs on Linux CI. It is
wired intoci.ymlanddocs/REFERENCE.md.util/ad-hoc/2026-10-17_turing_f5a_mutation_check.py(new) shows that the suite kills 22 of 22
mutants.util/ad-hoc/2026-10-17_turing_wire_suite.py(new) applies the plan's CI wiring rule toci.yml,
docs/REFERENCE.md,CHANGELOG.mdandAGENTS.mdthe same way for each Session 1 suite PR, and
refuses when an anchor is missing or the suite is already wired.
- The re-land of juniper-ml#2222 with GitHub-signed commits, carrying the turing bring-up plan's
A4 and B9 corrections (notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md).
juniper-ml#2222's branch held three unsigned commits from turing, sorequired_signatures
blocked it with every check green. That PR is closed in favour of this one.util/juniper_clone.bash(new, A4) clones through thegithub_juniper-<repo>ssh alias. It
then reads the persistedremote.origin.urlback and exits 1 unless that value is in alias form.
It replaces the branch'sutil/git_clone_with_specified_id.bash, which is not landed. That
helper persistedgit@github.com:, which bypasses the alias, and that is how juniper-k8s's
origin broke on turing (plan §4.1).util/find_encryption_readme_notes.bash(rewritten, B9) no longer runsevalonfind
output. A file named$(:>x)encryption.bashwas executed, not listed. Paths are now
NUL-delimited and absolute, the default root is$HOME-relative, and the exit codes are
0 / 1 / 2.tests/test_juniper_clone.pyandtests/test_find_encryption_readme_notes.py(new) are wired
intoci.ymlanddocs/REFERENCE.md. They pin R-A4 and R-B9. The B9 suite carries a
negative control: the same file names do execute through the original eval loop.util/ad-hoc/2026-10-16_turing_a4_b9_mutation_check.py(new) shows that the two suites
kill 17 of 17 mutants.prompts/manual/prompt133_2026-10-15.md, the turing bring-up session prompt, lands
unchanged from the branch.
- A gitleaks content rule for backup credentials, a gitleaks pre-commit hook, and a suite that
pins both (backup recovery B9, design P0.5a item 6)..gitleaks.tomlgainsjuniper-secret-assignment. It fires whenSETTINGS_ENCRYPTION_KEY[_OLD],
PASSPHRASE[_OLD],DUPLICATI_WEB_CREDENTIALor Duplicati'sDUPLICATI__option forms are
assigned a literal of 12 or more characters, and also for the argv forms--passphrase=,
--webservice-password[-init]=and--settings-encryption-key=. It matches quoted or unquoted
values, afterexport, in a systemdEnvironment=line, or in a comment. It also fires on a
diceware-style passphrase (lowercase words joined by-or_) and on a 12-15 character
word-only value; review narrowed both exemptions, because generic-api-key covers neither under
the PASSPHRASE names. It stays silent on expansions, templates, placeholder words, code and
one-word fixtures.- Across every commit on every remote branch and tag, the rule reports 8 historical lines: the two
commits that carried the 2026-09-20 settings-key literal, and six test fixtures and synthetic
keys..gitleaksignore(new) holds all of them as commit-scoped entries, each group under a
comment naming its class. .pre-commit-config.yamladds the upstreamgitleakshook atv8.24.3.ci.ymlnow states
the same version asGITLEAKS_VERSION, instead of inheriting the action's default.tests/test_gitleaks_secret_assignment_rule.py(new) is wired intoci.ymland
docs/REFERENCE.md. A new Security Scan step runs its RealEngine tests against the action's own
binary.- New:
util/ad-hoc/2026-10-10_gitleaks_probe.py,…_gitleaks_finding_inspect.py,
…_gitleaks_rule_mutation_check.pyand…_secret_assignment_corpus_survey.py. These are the
measurements behind the change; none of them prints a value. - Owner action, not done here: enable
secret_scanning_non_provider_patternson the repository.
util/ad-hoc/2026-10-08_run_ci_regression_suites.py, and the flood-3 record's follow-up
statuses.- The script runs exactly CI's hand-maintained regression list locally, one process per suite as
CI does. A repo-wide lint suite judges files a change never touched, so "the suites I edited
pass" is not the question CI asks. notes/JUNIPER_2026-10-08_JUNIPER-ECOSYSTEM_CURSOR-FLOOD-3-DISPOSITION.mdnow records the
owner-requested follow-up:- three
ANTHROPIC_API_KEYsecrets added; - the five §4 defects fixed, across nine repos;
- the data-client
t/dtcheck accepted as written; - juniper-service-core 0.7.1, juniper-observability 0.4.1 and juniper-data 0.17.0 cut and parked
at thepypigate; - six new open findings.
- three
- The script runs exactly CI's hand-maintained regression list locally, one process per suite as
- Cursor flood-3 disposition record and its tooling
(notes/JUNIPER_2026-10-08_JUNIPER-ECOSYSTEM_CURSOR-FLOOD-3-DISPOSITION.md, new; 46
util/ad-hoc/2026-10-08_*files andutil/ad-hoc/flood3_canopy_slowlog_plugin.py, new). How the
116 Cursor-fleet draft PRs opened 2026-10-04..06 across eight repositories were evaluated and
disposed of on 2026-10-08: 25 merged as themselves, 78 carried into six consolidation PRs (ml#2182,
ml#2184, data#475, canopy#729, cascor#709, data-client#230), 10 superseded and 3 closed as
incorrect. The record holds a per-PR table rendered from the verdicts and each PR's live state, the
defects the evaluation found onmain(three are owner decisions: anANTHROPIC_API_KEYsecret in
three client repos, the data-clientt/dttolerance, and releases that would ship the
non-ASCII-key and Sentry frame-locals fixes), and the process traps hit. The tooling: the census,
the signed one-commit re-cut, the gated close, the renderer, post-merge blob verification, and the
evaluators' mutation checks and repros. - Operator documentation consolidated from the Cursor flood-3 docs PRs (ml#2125, #2132, #2135,
#2142, #2148, #2152, #2155, #2158, #2160, #2162, #2165, #2167, #2170, #2172, #2175, #2177, with
the verified unique content of the superseded #2119, #2122, #2128, #2137, #2141 and #2146), every
claim re-derived frommainand corrected where the branch had gone stale:docs/REFERENCE.md
0.6.62, the developer cheatsheet, the documentation overview, the quick start,util/ad-hoc/README.md,
and thejuniper-ci-tools,juniper-observabilityandjuniper-service-coreREADMEs. Fixes four
places onmainthat said a pin-stable lockfile week opens no PR (all 12 scheduled runs opened
one) and three false Equities Symbol Cap rows. - 25 regression suites harvested from the Cursor flood-3 test PRs (ml#2121, #2124, #2127, #2133,
#2136, #2138, #2140, #2143, #2144, #2147, #2149, #2150, #2153, #2156, #2159, #2163, #2166, #2169,
#2171, #2173, #2174, #2178, #2180), each re-run onmain, mutation-checked against the code it
pins, and wired intoci.ymland bothdocs/REFERENCE.mdlists. They cover the Yamaguchi Duplicati
API clients, watchdog and pre-backup guard; the recurrence env preflight, degraded outcome, launch
record and crossval diagnostics; the CAN-015 replay re-drive; worktree cleanup's refusal to delete
unmerged work; the consensus archiver's credential screen; the main-verify screen verdicts; and the
Actions-outage rerun helper. Corrections over the PR heads include a sandboxed deploy-script run
replaced by a static check (no test may execute it), arequestsstand-in that crashed on
Python < 3.14, CodeQL-flagged fixture modes, and an untested--accept-degradedflag now pinned. - Both launchers refuse a stale recurrence env before
serve(W0.2)
(util/recurrence_env_preflight.bash, new;util/experiment_stack.bash;
util/isolated_stack.bash;tests/test_recurrence_env_preflight.py, new, wired intoci.yml
anddocs/REFERENCE.md;tests/recurrence_env_fakes.py, new). W0.2 of
notes/JUNIPER_2026-10-03_JUNIPER-RECURRENCE_EQUITIES-END-TO-END-AUDIT-AND-DEVELOPMENT-PLAN.md,
closing F-E2 and the launcher half of F-E5. On 2026-10-03 the default env,JuniperCascor1,
servedjuniper-recurrence-model0.1.5 (noderive_full_split) andjuniper-service-core
0.5.0 under an app pinned>=0.3.0,<0.4.0/>=0.6.0,<0.8.0. Both launchers accepted it
because the console script existed and/v1/health/readyanswered, and every
POST /v1/crossvalthen 422'd.recurrence_upnow checks the interpreter the console script
runs under, each probe aspython -sfrom/:pip checkscoped to the recurrence closure (a
line counts when its requiring or its "but you have" distribution is in it, so the env's CUDA
conflicts never refuse), the model / service-core pins the installedjuniper-recurrence
declares, and thederive_full_splitimport. A finding fails the leg, so the partial run is
torn down, and the lines are printed verbatim to stdout and to the new
$RUN_DIR/logs/launch.log.--skip-env-preflight(orJUNIPER_EXP_SKIP_ENV_PREFLIGHT=1/
JUNIPER_E2E_SKIP_ENV_PREFLIGHT=1) keeps every check and prints each finding as
WARNING: ENV PREFLIGHT SKIPPED —instead. The as-servedJuniperCascor1is refused until
W0.1's env repair lands, by design: it still carriesjuniper-service-core0.5.0. ceremony.py --target-sha: the tag, the CI gate and the notes describe one commit
(util/release_train/ceremony.py). By default the Release tags the owning repo'smainas it is
at cut time, while the notes come from the--ecosystem-rootcheckout. The two agree only if
nothing merged in between, and on 2026-09-23/24 three juniper-data PRs did: #428, #431 and #434,
between the owner's approval of the 0.16.0 notes (pinned at7125e161) and the cut. #428 left a
duplicate## [0.16.0]heading onmain, and the section parser takes the first match, so a cut
ofmainwould have published only #428's bullets. With a full 40-character sha, the tag lands on
that commit (gh release create --target). The S8 precondition then reads every completed CI
run of that commit (gh run list --commit) instead ofmain's newest run, and the dry run names
the commit.commit_ci_verdictcalls the commit green only if at least one run succeeded and none
is red (failure,timed_out,startup_failure). A run superseded by a later merge is
cancelledalthough nothing failed.7125e161itself has a green push run and a later
repository_dispatchrun cancelled that way, so a newest-run probe would have halted a green
commit. The flag needs exactly one--packageand refuses an abbreviated sha before anything is
written, becauseghrejects one only after the archive PR has been armed.TargetShaTest(12
tests) pins the seam's argv, the verdict, the gate, the plan, execute and the CLI. Five mutations
each fail it: dropping--target; gating onmain's newest run; not passing the target through
execute; letting green outvote red; and reading only the newest run. Recorded in §11.7 of
notes/JUNIPER_2026-06-18_JUNIPER-ECOSYSTEM_PYPI-PUBLISH-PROCEDURE.md.- The publish-environment drift gate covers the
dockerhubenvironments
(tests/test_publish_env_policy_drift.py). Wave 4's Docker Hub credential will live in a
tags-onlydockerhubenvironment in the five image repos (Option B, owner ruling 2026-09-22), and
nothing watched those settings. The gate now checks each one against its own tag set,v*and
juniper-*-v*, wherepypihas six. It also checks that noDOCKERHUB_*secret or variable sits
at repository scope, where every workflow on every ref could read it. That check reads names only:
ghapplies the--jqfilter, so a variable's value never reaches the test. A third check
confirms that no repo outside the five has the environment. A missing environment is reported as
a failure, because a workflow run that names it makes GitHub recreate it with no protection rules.
The repair hint points at §5.2B of
notes/JUNIPER_2026-09-22_JUNIPER-ECOSYSTEM_DOCKERHUB-SECRET-REGISTRATION-PROCEDURE.md, because
thepypihelper would add six patterns. Live, withJUNIPER_DRIFT_TEST_FORCE_LOCAL=1, 33 tests
pass, up from 17, with every repo read. Three mutations fail as they should: one shared tag set, a
prefix pointed at the realCROSS_REPO_DISPATCH_TOKEN, and an environment name that exists. Per-PR
CI cannot read the image repos, so thedockerhubhalf is a local gate and skips there by name.
§6 and §10 of the procedure are updated. util/thread_width.py: the perf lane's shared thread-width helper, plus a CI gate that stops
instruments bypassing it (tests/test_thread_width.py, new, the 168th suite inci.yml,
docs/REFERENCE.mdandAGENTS.md;util/ad-hoc/2026-09-23_thread_width_mutation_check.py,
new, which kills 12 of 12 mutants).- Two ways of reading an OpenMP width had destroyed measurements, and both had been written down
only as prose.torch.get_num_threads()re-pins a thread torch has not initialised (16 → 8).
CDLL("libgomp.so.1")need not be torch's runtime: torch 2.11.0+cu130 maps its BUNDLED
torch/lib/libgomp.so.1, and opening the soname beforeimport torchmakes torch bind the
env's copy instead. OpenMPRuntime()opens only an already-mapped runtime, withRTLD_NOLOAD, and refuses when
none, two or an unmapped one is in play.install_torch_getter_guard()makes the getter raise off the main thread. The guard is
unconditional because underOMP_NUM_THREADS=2, cascor's default since cascor#683, the
re-pin is 2 → 2 and invisible.- The gate AST-scans
util/ad-hoc/andutil/experiments/. Six pre-helper instruments are
grandfathered by name and must each still offend.--self-checkmeasures every claim above
in an env with torch.
- Two ways of reading an OpenMP width had destroyed measurements, and both had been written down
- PF-2 axis 3, built and RUN (
util/experiments/suites/perf/pf2-axis3-cascor-spiral-count.yaml
andutil/ad-hoc/2026-09-23_pf2_axis3_reduce.py, both new; PF-2 re-spec §4.2).- Owner decision D4 ruled this axis in, and it was dropped from two successive handoff work
lists. - Test roc_auc is 0.961 / 0.834 / 0.672 / 0.746 for 2 / 3 / 4 / 5 spirals. The three passes are
bit-identical, which shows the observable is load-insensitive. It is one seed, so 5 scoring
above 4 is not yet a finding. - The reducer reads
eval_metrics.final(split == "test"). A run's top-level f1 / roc_auc
are the selected-on validation split, and the reducer's first draft read those.
- Owner decision D4 ruled this axis in, and it was dropped from two successive handoff work
- Two instruments:
util/ad-hoc/2026-09-23_d6_advisory_firing_count.pycounts D6 advisory
firings per head SHA and per matrix leg, from workflow runs rather than PR commits. A
force-pushed head survives there, and aci-probe/*positive control is excluded.
util/ad-hoc/2026-09-23_data_additive_overflow_repro.pyis juniper-data#432's reproduction
through the real route. - The backup design's STOP is cleared: its five procedure defects are fixed in the artifacts §8
installs, and the validation rounds that checked them are folded in (Phase B of
notes/JUNIPER_2026-10-03_JUNIPER-ECOSYSTEM_BACKUP-SYSTEM-STATE-ASSESSMENT-AND-RECOVERY-PLAN.md, rows B1,
B3, B4, B5, B7, B8 and B10; note 8a of
notes/JUNIPER_2026-09-21_JUNIPER-ECOSYSTEM_BACKUP-INFRASTRUCTURE-INTEGRATED-DESIGN.md). The 2026-09-24
STOP held §8 because its procedure could re-lock the recovered database, pass the pre-backup guard
without itsTargetURLcheck, or copy a cleartext database into the backup Source.-
The service lane.
util/systemd/duplicati.defaultcarries D-1's--require-db-encryption-keyand
D-9's two web-service options.util/systemd/duplicati.servicemasks both escrow copies. The snapshot
lane runs an installed copy underProtectSystem=strictwithReadWritePaths=
(util/systemd/yamaguchi-server-db-snapshot.serviceand.timer;
util/ad-hoc/yamaguchi_server_db_snapshot.py1.2.0, which now writes one DELETE-mode file with no
-wal/-shm).scripts/duplicati-wrapper.bash2.4.0 reads/etc/duplicati/envand accepts only an
allow-list of eight tunables there. Its deny list, which--parameters-filehad slipped past, is kept for
its specific refusals. Both lists are pinned against a vendored copy of the product's option table
(tests/fixtures/duplicati_2.4.0.0_server_options.txt). It refusesDUPLICATI__*exports (the server
readsDUPLICATI__<OPTION>for every option,disable-db-encryptionincluded) and a CR or NUL in the
key.util/install_duplicati_service.bash1.5.1 installs seven files under its blessed-checksum gate,
gains--dry-run, and judges the contract by running the wrapper itself. It refuses an unblessed file
that differs without--update-backup-behavior, and copies such a file aside before replacing it, saying
where. An existing env file must be in either of O-12's two forms; the installer does not settle O-12.
The contract's repository copy isutil/systemd/duplicati-env.contract, because a*.envname is
gitignored here. -
The recovery helpers.
util/ad-hoc/2026-10-03_rekey_settings_key.bash(1.3.0) and its gate
util/ad-hoc/2026-10-03_rekey_gate.py(1.2.0) re-key Procedure A's database in two starts.- Before anything changes, the re-key refuses on an
enc-v1:blob the product never rewrites: a
ConnectionString, or anOption,SourceorBackupTargetUrlrow of no backup. It also refuses on a
snapshot timer that is enabled in any form or is active. - Its EXIT trap reads the key layout by hash, stops the unit while a drop-in is present, reports the
database UNKNOWN after an attempted start, and prints only the recovery that applies. util/ad-hoc/2026-10-03_password_init_hand_start.bash(1.3.0) sets a known UI password on A2 and B,
wherewipe-encryptionor an empty database leaves none.
- Before anything changes, the re-key refuses on an
-
Round 2's BLOCKER, found by all three lanes by reading.
systemctl revert duplicati.servicewould have
deleted the installed unit, because a dpkg vendor unit exists under/usr/lib/systemd/system/. The
re-key now removes its drop-in withrmanddaemon-reload, then asserts which unit systemd loads. -
Rounds 3 to 7, folded in. The procedure changes:
- Retention (owner ruling, 2026-10-08). Retention is suspended through recovery, in the job and in the
server's default options. It is restored as2W:1D,6M:1W,2Y:1M,5Y:2Monly after AC-4's first drill
passes, and the five dlists that first pass deletes are copied aside first. - The start-up sequence. Step 8 stores
paused-until=0while no server runs. Step 10 ends with a
restart, so the first backup runs the edited job and not a copy queued before the edits. - Procedure B. Its rebuild runs while paused. Verify runs in a resume/pause cycle. Repair runs
--dry-runfirst and copies every file it would delete aside; it is now named as §8's third,
conditional exception. - The rest. §7.3.6 deletes
pbkdf-configtoo. The index's-wal/-journalare copied with it,
including into the A0 scripts' throwaway copy.
- Retention (owner ruling, 2026-10-08). Retention is suspended through recovery, in the job and in the
-
The design is regenerated from
main's copy by
util/ad-hoc/2026-09-22_stage_design_artifacts.py --from-repoand
util/ad-hoc/2026-10-03_clear_stop_and_sync_backup_design.py. The second makes 79 edits: one declared
change to a fenced block, so that step 10's guard dry-run refuses an empty or unsubstituted id or URL, and
78 to prose. Its gates now also refuse a reworded deleted marker, a changed STOP block, and a
FIXFWD_PRthat is notml#<digits>. -
Tests and record. There are five new hermetic suites, wired into
ci.yml; none runs a Duplicati
binary or depends on/mnt/Backupsbeing mounted:tests/test_duplicati_wrapper_contract.py(53 tests);tests/test_duplicati_installer_real_path.py(18);tests/test_backup_rekey_real_path.py(25);tests/test_a0_restore_scripts.py(17);tests/test_clear_stop_backup_design.py(9).
Every report from rounds 2 to 7, the fold-in lanes' reports and the handoff validations are archived
verbatim innotes/JUNIPER_2026-10-04_JUNIPER-ECOSYSTEM_BACKUP-PHASE-B-CONSENSUS-RECORD.md.
-
Changed
[recurrence]now floorsjuniper-recurrence>=0.8.0(<0.9.0) andjuniper-recurrence-model>=0.6.0(<0.7.0), the
W5.2 release pair (P5 ofnotes/JUNIPER_2026-10-03_JUNIPER-RECURRENCE_EQUITIES-END-TO-END-AUDIT-AND-DEVELOPMENT-PLAN.md;
approved 2026-10-20 with the session's merge approval, the ruling 0.7.0 reopened). The pins were
juniper-recurrence>=0.7.0,<0.8.0andjuniper-recurrence-model>=0.5.0,<0.6.0.- Why both move. recurrence 0.8.0's
requires_distisjuniper-recurrence-model>=0.6.0,<0.7.0:
its crossval pool is model 0.6.0's composedtrainvalview and its per-entity folds read the
ticker_code/window_end_datekeys that 0.6.0 writes. Lifting the recurrence ceiling alone would
leave the extra unsatisfiable under the old model cap<0.6.0. The model range is the one 0.8.0
requires, not a wider one. - What 0.8.0 brings to
pip install juniper-ml[recurrence]:POST /v1/crossvalselects over the
trainvalpool, so the reservedtestpartition is never in a fold; a multi-ticker artifact's folds
are cut on the global date per entity with the embargo purged per entity;embargodefaults to the
look-back (an explicit smaller value is honoured and logged); the optionalembargo_days; afolding
block on the response and onGET /v1/crossval/status;dataset.splitreadstrainval. The
[torch]extra resolves again (0.7.0's was disjoint from its base floor). - Pre-flighted against real PyPI on 2026-10-20 with
util/ad-hoc/2026-10-18_preflight_extras_against_pypi.py:[recurrence]resolves in 32 packages on Python 3.12, 3.13 and 3.14, with recurrence 0.8.0, model
0.6.0, client 0.3.0, data-client 0.6.0, model-core 0.3.2 and service-core 0.7.1;[all]resolves in 76 on
each, the same versions plus canopy 0.9.0, cascor 0.11.0, cascor-worker 0.6.1 and juniper-data 0.17.0. - The client floor
juniper-recurrence-client>=0.3.0,<0.4.0stays (no client contract changed). The
release train cuts the version that carries this (0.11.0 in the plan).docs/QUICK_START.md's sample
pip listblock moves its two recurrence lines with the pins. Applied by
util/ad-hoc/2026-10-20_raise_recurrence_floor_0_8_0.py, which asserts each site's exact text and
requires exactly one match apiece.
- Why both move. recurrence 0.8.0's
[recurrence]now floorsjuniper-recurrence>=0.7.0(<0.8.0) andjuniper-recurrence-model>=0.5.0(<0.6.0), the
P5 release pair (W5.8 (B), W5.9, W5.10 ofnotes/JUNIPER_2026-10-03_JUNIPER-RECURRENCE_EQUITIES-END-TO-END-AUDIT-AND-DEVELOPMENT-PLAN.md;
approved 2026-10-19 with the session's merge approval, the ruling 0.7.0 reopened). The pins were
juniper-recurrence>=0.6.1,<0.7.0andjuniper-recurrence-model>=0.3.0,<0.5.0.- Why both move. recurrence 0.7.0's
requires_distisjuniper-recurrence-model>=0.5.0,<0.6.0:
itsdefault_ridgeis"gcv", which is safe only on model 0.5.0's train-fold standardisation of the
linear readout's memory block. Lifting the recurrence ceiling alone would leave the extra
unsatisfiable under the old model cap<0.5.0. The model range is the one 0.7.0 requires, not a
wider one: 0.7.0 refuses model 0.6.0, which is recurrence 0.8.0's floor (W5.2, on an open PR); the
next raise moves both again. - What 0.7.0 brings to
pip install juniper-ml[recurrence]:POST /v1/crossvalon the equities
row no longer blows up under the default readout (the W5.1 note's −2.1e4 becomes −0.195 on the E-H
artifact), and every fit carries adiagnosticsblock (readout,theta,ridge_mode/
ridge_selected,gamma,gcv_at_edge/null_model). - 0.7.0's own
[torch]extra is unresolvable (juniper-recurrence-model[torch]>=0.4.0,<0.5.0
against the base>=0.5.0);[recurrence]installs the base distribution and is unaffected. The
fix rides on juniper-recurrence#215 for 0.8.0. - Pre-flighted against real PyPI on 2026-10-19 with
util/ad-hoc/2026-10-18_preflight_extras_against_pypi.py:[recurrence]resolves in 32 packages on Python 3.12, 3.13 and 3.14, with recurrence 0.7.0, model
0.5.0, client 0.3.0, data-client 0.6.0, model-core 0.3.2 and service-core 0.7.1;[all]resolves in 76 on
each, the same versions plus canopy 0.9.0, cascor 0.11.0, cascor-worker 0.6.1 and juniper-data 0.17.0. - The client floor
juniper-recurrence-client>=0.3.0,<0.4.0stays (no client contract changed). The
release train cuts the version that carries this (0.11.0 in the plan). Applied by
util/ad-hoc/2026-10-19_raise_recurrence_floor_0_7_0.py, which asserts each site's exact text and
requires exactly one match apiece.
- Why both move. recurrence 0.7.0's
util/experiments/run_experiment.pyomitsembargofrom the crossval request when the config
omits it (W5.2 of
notes/JUNIPER_2026-10-03_JUNIPER-RECURRENCE_EQUITIES-END-TO-END-AUDIT-AND-DEVELOPMENT-PLAN.md).
It used to sendembargo: 0, which overrode the service's default; from juniper-recurrence 0.8.0
that default is one look-back per entity (the gap that keeps an eval window's history clear of
every train window), so a suite row that names no embargo now gets it. A config that names a value
-- the E-G scheme × embargo sweep -- still sends it, and on recurrence ≤ 0.7.0 an omitted value is
still the service's 0.tests/test_run_experiment.pypins the omission.[recurrence]now floorsjuniper-recurrence>=0.6.1, the release that carries the recurrence floors ruling
(M1 ofnotes/JUNIPER_2026-10-03_JUNIPER-RECURRENCE_EQUITIES-END-TO-END-AUDIT-AND-DEVELOPMENT-PLAN.md; owner ruling 2026-10-18 UTC). The floor was>=0.6.0.- Why 0.6.0 was not enough. 0.6.0 shipped without the owner's 2026-10-10 floors ruling: it still
admittedjuniper-recurrence-model>=0.3.0andjuniper-data-client>=0.4.2. Over a 0.5.0
environment,pip install -U juniper-recurrencekept model 0.3.0 and data-client 0.5.0,
pip checkwas clean, and the service started without the W1.4 rules (float32, finitedt,
target_dt,seq_lengths) and without the model 0.4.0 target checks. juniper-recurrence#206
raised the floors to model>=0.4.0and data-client>=0.6.0, and 0.6.1 published them on
2026-10-18. Itsrequires_diston PyPI carries both. - The meta-package's own model (
>=0.3.0) and data-client (>=0.5.0) floors stay, as the
extras ruling of 2026-10-18 kept them. recurrence 0.6.1's floors do the forcing: with this floor,
pip install -U juniper-ml[recurrence]cannot resolve the stale pair either. - Pre-flighted against real PyPI on 2026-10-18 with
util/ad-hoc/2026-10-18_preflight_extras_against_pypi.py:[recurrence]resolves in 32 packages
on Python 3.12, 3.13 and 3.14, with recurrence 0.6.1, model 0.4.0, client 0.3.0, data-client 0.6.0
and service-core 0.7.1. - The release train cuts the version that carries this (0.11.0 in the plan). Applied by
util/ad-hoc/2026-10-18_raise_recurrence_floor_0_6_1.py, which asserts each site's exact text and
requires exactly one match apiece.
- Why 0.6.0 was not enough. 0.6.0 shipped without the owner's 2026-10-10 floors ruling: it still
util/isolated_stack.bashhands the--with-recurrencelegJUNIPER_RECURRENCE_SNAPSHOTS_DIR=${RUN_DIR}/snapshots
and creates that directory beforeserve(item 2c of
notes/JUNIPER_2026-10-03_JUNIPER-RECURRENCE_EQUITIES-END-TO-END-AUDIT-AND-DEVELOPMENT-PLAN.md, owner
ruling 2026-10-18: the name is W1.10's, whichutil/experiment_stack.bashalready ships; canopy Lane B
adopts it in juniper-canopy#751). Unexported, the service wrote a CWD-relativerecurrence-snapshots/
(F-D9).tests/test_isolated_stack_script.pypins the variable and the directory.- BREAKING (resolution):
[servers]now floorsjuniper-canopy>=0.9.0, and[recurrence]admits the W1.13 releases, with
juniper-recurrence>=0.6.0,<0.7.0andjuniper-recurrence-model>=0.3.0,<0.5.0(W1.13 of
notes/JUNIPER_2026-10-03_JUNIPER-RECURRENCE_EQUITIES-END-TO-END-AUDIT-AND-DEVELOPMENT-PLAN.md). The meta-package could not install either new recurrence release.[recurrence]
cappedjuniper-recurrence<0.6.0andjuniper-recurrence-model<0.4.0, and both caps were
escaped: model 0.4.0 was published on 2026-10-13, and recurrence 0.6.0 and canopy 0.9.0 on
2026-10-17.-
The two ceilings rise to the next minor:
<0.5.0for the model,<0.7.0for the app. -
Two floors rise, each to a security release (owner ruling, 2026-10-18 UTC).
juniper-canopy>=0.9.0, up from>=0.8.1. 0.9.0 is rated High. It refuses an outbound key
with padding, a line break or a non-ASCII character where the key is read. It keeps a
paddedCANOPY_API_KEYout of the logs and Sentry, compares every API key without
short-circuiting, and picks up the juniper-observability 0.4.1 and juniper-service-core 0.7.1
patches.juniper-recurrence>=0.6.0, up from>=0.5.0. 0.6.0 is rated Medium. It carries W1.14: a
5xx no longer relays the data client's text, which could quote a padded
JUNIPER_DATA_API_KEY, and a padded key is refused at load. It also picks up the same two
shared patches.
The model and data-client floors do not move, because recurrence 0.6.0 itself admits model
>=0.3.0and data-client>=0.4.2. -
Pre-flighted against real PyPI on 2026-10-18, with
util/ad-hoc/2026-10-18_preflight_extras_against_pypi.py(new). It runs pip's resolver over
Linux x86_64 wheels (everymanylinux_2_39tomanylinux_2_17tag, plus the legacy aliases)
and installs nothing.[servers]resolves in 61 packages on Python 3.12, 3.13 and 3.14: canopy 0.9.0, cascor
0.11.0, data 0.17.0, service-core 0.7.1, observability 0.4.1.[recurrence]resolves in 32 packages on all three: recurrence 0.6.0, model 0.4.0, client
0.3.0, data-client 0.6.0, service-core 0.7.1.[all]resolves in 95 packages on all three, with juniper-cascor-worker 0.6.1 and torch
through it. This was measured on a Linux host, because the run on this change's own host
could not complete torch's download.
-
The release train cuts the version that carries this (0.11.0 in the plan), and the
0.11.xrow of
docs/REFERENCE.md's compatibility matrix lands with that bump. Applied by
util/ad-hoc/2026-10-18_raise_recurrence_canopy_pins_w1_13.py, which asserts each site's exact
text and requires exactly one match apiece.
-
- BREAKING (resolution):
[servers]now floorsjuniper-data>=0.17.0, so the meta-package stops admitting the
juniper-data releases that serveequities_seqasclassification(W1.11 and F-P4 of
notes/JUNIPER_2026-10-03_JUNIPER-RECURRENCE_EQUITIES-END-TO-END-AUDIT-AND-DEVELOPMENT-PLAN.md). Every published juniper-data up to 0.16.0 servesequities_seqwith
task_type: classificationandn_classes: 2, and the two the old>=0.15.0floor admitted,
0.15.0 and 0.16.0, serve it at generator5.0.0(0.14.0 was3.0.0). juniper-data#437 (owner ruling X8)
relabelled itregressionat6.0.0after v0.16.0 was cut, and 0.17.0 is the release that
carries it. The arrays did not change, and a recurrence fit readsy_reg_*under either
version. What changed is the producer's stored metadata, and with it thedataset_id, which
hashes the generator version. canopy already labels the pairregression, so a stack resolved
under the old floor disagrees with its own producer about the dataset. The floor reaches[all].
The same release also carries juniper-data#451: underfundamentals_fill="drop", an equities
request whosepurchase_dateis a weekday or more afterstart_dateis refused with a 400
(W1.8). Held for publication, then pre-flighted: this was drafted on 2026-10-08, when
PyPI's latest was 0.16.0 and the floor could not be satisfied; no CI job installs[servers].
PyPI has served 0.17.0 since 2026-10-10 09:02Z. Against real PyPI,juniper-canopy>=0.8.1+
juniper-cascor>=0.11.0+juniper-data>=0.17.0then resolved in 61 packages on Python 3.12,
3.13 and 3.14 alike, withjuniper-service-core0.7.1 andjuniper-model-core0.3.2, both
inside the[tools]caps.
Over an installed juniper-data 0.16.0, the published 0.10.0[servers]leaves 0.16.0 in place,
and this tree's[servers]upgrades it to 0.17.0. The published wheel servesequities_seqat
6.0.0/regression(util/ad-hoc/2026-10-10_verify_data_0_17_0_published_wheel.py; the
0.16.0 control fails on the label). The version that carries the floor (0.11.0 in the plan) is
cut by the release train, and the0.11.xrow ofdocs/REFERENCE.md's compatibility matrix
lands with that bump. Applied
byutil/ad-hoc/2026-10-08_raise_data_floor_0_17_0.py, which asserts each site's exact text
and requires exactly one match apiece. - PF-2 axis 2 is RUN, with no knee, so the owner's in-process follow-up does not fire
(notes/JUNIPER_2026-09-12_JUNIPER-ECOSYSTEM_PERF-LANE-PF2-RESPECIFICATION.md§3 RESULT; the
util/experiments/suites/perf/pf2-axis2-cascor-dataset-range.yamlheader;
util/experiments/suites/perf/README.md;util/ad-hoc/2026-09-23_pf2_axis2_reduce.py, new).
18 of 18 cells ran over 3 round-robin passes, at 1-minute load 5-8. Wall time is flat: 24.1 s
at 250 points per spiral and 24.4 s at 5,800, x1.01, dominated by stack overhead. Training
compute (step_sum) grows x1.31, with log-log slopes of -0.15 to 0.31 between neighbouring
sizes. The D4 ruling sends the top end in-process only on a knee, so it stays on the suite path.
This holds atspiral-smoke's budgets only.step_countis 8 in every cell because the
budget fixes it, and it is never compared. - Perf lane, 2026-09-23/24: the D6 count, three owner rulings, PF-2 axis 1 blocked, and the
Python 3.14 micro reference
(notes/JUNIPER_2026-09-11_JUNIPER-ECOSYSTEM_PERF-LANE-SIX-OWNER-DECISIONS-RULED.md§5.4 and
new §6;notes/JUNIPER_2026-09-12_JUNIPER-ECOSYSTEM_PERF-LANE-PF2-RESPECIFICATION.md§1, §2,
§4.2 and §5;util/experiments/suites/perf/README.md;
util/experiments/suites/perf/pf2-axis2-cascor-dataset-range.yaml).- D6 advisory, first count: 0 firings on 6 head SHAs / 28 legs. That is too few to decide
blocking. A throwawayworkflow_dispatchbranch with the reference drifted fired on 4 of 4
legs, and all 4 still passed, so the zero is not vacuous. CI's CPU-only torch 2.14.0 observed
the same 68 as the torch 2.11.0+cu130 reference. - Owner rulings (§6). PF-3 waits for a quiet window. It opened at 02:39 and closed within
minutes, so PF-3 was not launched. The micro cut went ahead LOADED:
Linux-CPython-3.14-64bit/0001, cascor0e016a7, 1-minute load 5.5–6.6. PF-2 axis 1's
count will be published from cascor. - PF-2 axis 1 is BLOCKED on its instrument. No structured suite artifact carries
epochs_completed. The log carries it only for early-stopped candidates, and 6 of 8 ran the
full 400 epochs. - Corrections. The re-spec §1 said a request past the bound is a 422; it is a 400 that
carries the message. juniper-data#432 is filed. The axis-2 suite's description said 10,000;
it now says 5,800.
- D6 advisory, first count: 0 firings on 6 head SHAs / 28 legs. That is too few to decide
- PF-2 axis 3 seed probe: the 4/5 inversion was the seed, and one seed cannot order adjacent
spiral counts
(notes/JUNIPER_2026-09-12_JUNIPER-ECOSYSTEM_PERF-LANE-PF2-RESPECIFICATION.mdnew §4.3;
util/ad-hoc/2026-09-24_pf2_axis3_seed_probe.yamland its reducer
util/ad-hoc/2026-09-24_pf2_axis3_seed_probe_reduce.py, both new; the axis-3 suite header;
util/experiments/suites/perf/README.md).- Over 5 dataset seeds, 4 spirals beats 5 on test roc_auc for 4 of 5 seeds (median +0.040), and
on test f1 for 5 of 5 (median +0.108). - roc_auc at 4 spirals spans 0.611–0.830 across seeds, about 5× that gap. Any accuracy gate
on this axis needs several dataset seeds per cell. - Only the dataset seed can vary: the service exposes no network
random_seed. - The session handoff is
prompts/thread-handoff_automated-prompts/HANDOFF_2026-09-24_perf-lane-helper-binds-axis3-run-d6-control-micro-cut.md.
- Over 5 dataset seeds, 4 spirals beats 5 on test roc_auc for 4 of 5 seeds (median +0.040), and
- ci.yml's
host-tooling-macosjob is required (turing bring-up task G4's promotion step, per
notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md).- It joins the Quality Gate's
needs:after 12 consecutive green push runs on main (3968ca0 to e3ba193), each of which ran the suites;
the last ran all eleven, G1's two included. It has its own!= successarm, because the gate tests each
need's result itself. - It never reads skipped: it has no job-level
ifand no path filter, and on a pull request with no host-tooling
change it reports success. tests/test_ci_quality_gate.pypins the need and its success predicate, and rehearses its failure and skip;
tests/test_ci_host_tooling_macos.pyflips its advisory pin.
- It joins the Quality Gate's
Fixed
- The release-train proposal keeps its PR body under GitHub's 65,536-character limit, and refuses an
over-long one before any write.util/release_train/propose.pyinlined the whole drafted release notes in the
proposal PR body, andexecute_proposalopens the PR only after the release branch and its signed commit
exist. juniper-ml 0.11.0's draft is 88,548 B, so its body came to 90,219 characters, which GitHub refuses
("Body is too long"), and--executewould have leftrelease/juniper-ml-v0.11.0and its commit with no PR
(the juniper-ml#2227 half-written class). A draft that would carry the body past the limit, counted in UTF-8
bytes (never fewer than characters), is now replaced by a pointer to the[<version>]section that the PR's own
CHANGELOG diff shows in full; the ceremony's archive PR still carries the final notes.execute_proposal
raises beforecreate_branchwhen a body is still over the limit. The 0.11.0 body is now 1,909 B. Four tests
intests/test_release_train_propose.py. - The release-train detector no longer discounts a
pyproject.tomlhunk whose table its context does not name,
so juniper-ml reads UNRELEASED_CHANGES (0.11.0) instead of UP_TO_DATE.util/release_train/detect.py's
classify_pyproject_patchtook a hunk's TOML table only from a[table]line inside the hunk or from its@@
trailer, and git's default trailer is the nearest line that starts with a letter
(@@ -81,9 +81,9 @@ doc-tools = [), never a[table]. Every changed line of a hunk more than three lines below
its header therefore fell to the NON-SHIP default, and a later hunk inherited the previous hunk's table. Since
v0.10.0 the[servers]canopy and data floors and the[recurrence]recurrence and model ranges have moved
(published 0.10.0 still pinsjuniper-recurrence>=0.5.0,<0.6.0), yet the meta-package, which ships nothing but
pyproject.toml(ship_paths: []), read UP_TO_DATE with a CHANGELOG conflict, andpropose.pyhad nothing to
propose.- Each hunk now takes its table and extra from the HEAD file when the hunk's new-side lines sit at its stated
position there (the cumulative tag..HEAD patch aligns with the checkout, as for the.pysubstantive check).
A changed line whose table stays unknown (no aligned HEAD file, or a stale checkout) is UNCERTAIN, never
NON-SHIP, and a[[array.of.tables]]header now ends the table before it. - Measured on the seven in-repo packages against
main's detector: juniper-ml moves UP_TO_DATE →
UNRELEASED_CHANGES (0.11.0) and juniper-config-tools UP_TO_DATE → UNRELEASED_CHANGES (itsTyping :: Typed
classifier in[project], unreleased since 0.1.0; its[Unreleased]is empty, so the manifest flags it
under-documented); the other five are unchanged. The dailyrelease-train.ymlrun is in report mode, so
nothing is proposed by itself. - Nine new tests in
tests/test_release_train_detect.py, one of them on realgit diffoutput; all nine fail on
main's detector.
- Each hunk now takes its table and extra from the HEAD file when the hunk's new-side lines sit at its stated
- The release-train ceremony can archive notes larger than about 97 KB, and it HALTs before any write
when an archive cannot travel in one signed commit (juniper-ml#2227).util/release_train/ceremony.py's
create_signed_commitpassed the base64 file as oneghargument, which a Linux runner caps at 128 KiB
(MAX_ARG_STRLEN); theE2BIGescaped_ghafter the archive branch existed, so an empty
release-notes/<pkg>-v<ver>branch was left behind, and juniper-canopy 0.9.0's 103 KB notes had to be
condensed (juniper-ml#2225). Now the base64 reaches gh as-F contents=@<file>,_ghturns anOSError
into aSourceError, andplan_ceremonyHALTsarchive-too-largeafter the re-entry checks and before
create_branchwhen the encoded archive exceeds 125,000 B. That default is the figure measured from turing
for the GraphQL request body, which is not yet established as GitHub's own limit rather than that host's
weak link (re-diagnosed 2026-10-18: GitHub's GraphQL frontend drops a request that runs past about 7-10 s);
JUNIPER_RELEASE_TRAIN_ARCHIVE_B64_MAXoverrides it after a runner-side measurement (owner ruling
2026-10-18). The HALT names the condenser as the remedy, never an invented body.
tests/test_release_train_ceremony.pypins the file transport, the HALT, the env override, that re-entry
is not blocked by the cap, and theOSErrormapping; the release-train operator runbook §4 and
docs/REFERENCE.mdgain the reason key. - CI's gitleaks scan loaded zero rules, from 2026-08-13 until this change.
.gitleaks.toml
had an[allowlist]and no[extend]. In that case gitleaks v8 loads only the file's own
[[rules]], and there were none.- Measured with 8.24.3: the old config passed a fabricated GitHub token that the built-in config
flags (util/ad-hoc/2026-10-10_gitleaks_probe.py vacuity). [extend] useDefault = truerestores the default ruleset. It reports 17 findings over main's
history and 24 over every remote branch and tag. All were classified as false positives:
placeholder keys, fixtures, a WebSocket nonce, a commit SHA, a self-signed test CA and GPG user
IDs.- Push and pull_request scans cover only the event's commits and never see them. A manual
workflow_dispatchofci.ymlscans all history, so.gitleaksignoreholds the 24 as
commit-scoped entries grouped by class. The full-history scan of every branch and tag now
reports nothing.
- Measured with 8.24.3: the old config passed a fabricated GitHub token that the built-in config
- The R-S9 audit in
tests/test_configure_commit_signing.pyno longer charges the interpreter's bytecode-cache
writes to the script.- Post-merge main verification failed
test_r_s9_never_opens_credentials_never_runs_gpg_and_writes_only_its_files
on four of the five heads from036e53e2to398c5f5d(2026-10-21). - The cause: on a runner whose Python 3.12.15 toolcache had no cached
encodings/__pycache__/utf_8_sigbytecode,
the audited child wrote one while importing that codec for the VS Code settings read, and the audit hook counted
it as the script's write. - The fix: the child runs with
-B. Every write the script itself makes is still audited. - Forcing an empty bytecode cache (
-X pycache_prefix=) reproduces the failure without-Band passes with it.
- Post-merge main verification failed
- Four defects from the Cursor flood-3 evaluation
(notes/JUNIPER_2026-10-08_JUNIPER-ECOSYSTEM_CURSOR-FLOOD-3-DISPOSITION.md§4):juniper-service-core:FailedAuthThrottle.check()no longer grows its table by one entry per
client. It ran on every request before authentication, and itsdefaultdictread inserted every
unseen source IP, while pruning ran only fromrecord_failure()._failuresis now a plain
dictread with.get(). The juniper-data and juniper-cascor forks get the same fix in their
own repos. Details are injuniper-service-core/CHANGELOG.md.util/worktree_cleanup.bash(1.1.1): the "These commits would be lost" list is no longer
always empty. It rangit log <branch> --not --branches …, and--branchesexcluded the
refused branch itself. It now passes--exclude=<branch>before--branches.
tests/test_worktree_cleanup_destructive_refusal.pypins that the unmerged commit is named.juniper-ci-tools: the docs deletion screen no longer reads a#comment inside a fenced
code block as a heading. Five of juniper-cascor#704's six findings were this. It now takes
CommonMark fences into account. Details are injuniper-ci-tools/CHANGELOG.md; consumers pick
it up only after a juniper-ci-tools release.Sequence Safetyis documented as required..github/workflows/ci.yml's file header and
job banner said ADVISORY, although the check has been a required ruleset context since
2026-08-18. Updated with them:docs/REFERENCE.md0.6.63,docs/QUICK_START.md0.3.42,
docs/DEVELOPER_CHEATSHEET_JUNIPER-ML.md1.0.63. The same wording is being corrected in the
seven sibling repos that still carried it; juniper-data-client was already correct.
- The Duplicati API client's
exportworks against 2.4.0.0, and the watchdog records an absent
job id instead of exiting silently (the ml#2115 fix-forward, B2 of
notes/JUNIPER_2026-10-03_JUNIPER-ECOSYSTEM_BACKUP-SYSTEM-STATE-ASSESSMENT-AND-RECOVERY-PLAN.md;
util/ad-hoc/yamaguchi_server_api.py0.2.1;util/ad-hoc/yamaguchi_watchdog.py;
util/ad-hoc/yamaguchi_watchdog_deploy.bash;tests/duplicati_api_stub.py). ml#2115's validation
lane found both defects, and they merged unfixed.exportobtains the single-operation token. In 2.4.0.0,GET /api/v1/backup/{id}/exporthas
no Bearer authorization. It requires atokenquery parameter holding a single-operation token
forexport(BackupGet.cs), which only the Bearer-authorised
POST /api/v1/auth/issuetoken/exportissues (Auth.cs). The client sent the Bearer header alone,
so every export was HTTP 400. P0 step 10 of
notes/JUNIPER_2026-09-21_JUNIPER-ECOSYSTEM_BACKUP-INFRASTRUCTURE-INTEGRATED-DESIGN.mdwould then
have started the pre-backup guard withDUPLICATI__REMOTEURL="", which skips the guard's
TargetURL comparison. The client now issues the token first, as the vendor CLI and the shipped
UI do, and prints it nowhere. A 200 without a non-emptyBackup.TargetURLnow also fails with
nothing on stdout. The export code follows Cursor PR #2129, which this supersedes.- The stub enforces the product's rule.
tests/duplicati_api_stub.pyanswered a token-less
export 200, so ml#2115's suite pinned a call the product refuses. Before any canned route, it now
answers as 2.4.0.0 does: a token-less export 400, a token it never signed 500, a token issued for
another operation 401, and an issuetoken without the Bearer token 401. A test pins each status. - An absent
--backup-idis recorded. It was a usage error: exit 2 and no record. The primary
checkout picked up ml#2115 on 2026-10-03, and the live timer then ran the new script through the
pre-B2 unit, which passes no id: the 2026-10-04 12:00 check exited 2 and wrote nothing. An absent
id is now judged like an empty one, as a durableALERT JOB_MISSING. Usage errors exit 64,
because the watchdog's 2 means UNDETERMINED. The deploy script now says to run it immediately
after a sync, with--backup-id 2until the web credential exists to look the id up. util/ad-hoc/2026-10-03_b2_mutation_check.pykills 38 of 38 mutations, up from 25. Two anchors
moved with the code and thirteen mutations are new, five of them from the fix-forward's two
validation lanes.
- A recurrence run that loses an enabled phase is
degraded, notsucceeded, and the suite says
so and exits non-zero (W0.3, closes F-D1 of
notes/JUNIPER_2026-10-03_JUNIPER-RECURRENCE_EQUITIES-END-TO-END-AUDIT-AND-DEVELOPMENT-PLAN.md;
util/experiments/run_experiment.py,util/experiments/run_suite.py). The driver set the outcome
from the train phase alone, so the audited Scenario-A cell whose/v1/crossval422'd on the
missingX_fullkey was recordedsucceededwithexit_code: 1andacceptance.ok: false, and
run_suite.pycopied it, printedsucceeded, counted a success and exited 0.- The phase record. The recurrence manifest gains
phases:train/predict/crossval/
save_model, eachok,failedwith itserror,skipped(not enabled) ornot_reached.
MANIFEST_SCHEMAstaysjuniper-experiment-manifest/1, as it did for every earlier additive key. - The outcome is derived from those records, never from
acceptance.ok. Acceptance also
collects plot errors and, once W5.4 lands, metric-band failures, so a plot that cannot render
still leaves the runsucceeded(exit 1). A degraded run exitsEXIT_ACCEPTANCE(1): the plan's
recommended ruling R6, applied pending the owner's. The cascor path is unchanged: it has no
predict / crossval / save_model phases, and its optionalsnapshot_at_endis a non-essential
collect step that does not fail acceptance. - The suite.
degradedjoinsTERMINAL_OUTCOMES; the summary line reads
Cells: N total, X succeeded, Y degraded, Z failed/other, W not run.;REPORT.mdlists each
degraded cell under## Degraded cellswith the phase it lost; the console prints
degraded (crossval failed: HTTP 422: …);--resumere-runs it; the exit code stays 1. - Four existing assertions changed from
succeededtodegradedin
tests/test_run_experiment.py(predict, crossval, missing-CLI and failing-CLIsave_model
arms). They pinned the defect; each keeps its other assertions and gains the phase record.
- The phase record. The recurrence manifest gains
- The suite report carries the recurrence r2 again (W0.4, closes F-D2 of
notes/JUNIPER_2026-10-03_JUNIPER-RECURRENCE_EQUITIES-END-TO-END-AUDIT-AND-DEVELOPMENT-PLAN.md;
util/experiments/run_suite.py)._headline_metricsreadtrain_r2/cv_r2/r2at the top
ofstats["recurrence"], a shapestats_summary.pynever wrote, so every recurrence cell got
metrics: {}and neitheraggregate.csvnorREPORT.mdshowed an r2. It now reads
final_metrics.r2→train_r2,crossval.eval_aggregate.r2→cv_r2,crossval.eval_std.r2→
cv_r2_stdanddataset_descriptor.n_windows→n_windows. A nullcrossvalyields nocv_*
key, and the test isisinstance, not truthiness, so0.0and-18081.0both reach the report.
The cascor keys are read as before. - The
save_modelre-run runs the CLI the launcher served from, and refuses a different
interpreter or model version; the recurrence service gets the run's snapshots dir and the log
knobs (W1.9 and W1.10, closing F-D4, F-D9 and F-L11 of
notes/JUNIPER_2026-10-03_JUNIPER-RECURRENCE_EQUITIES-END-TO-END-AUDIT-AND-DEVELOPMENT-PLAN.md;
util/experiment_stack.bash,util/experiments/run_experiment.py).save_modelre-ran
juniper-recurrence trainthroughshutil.whichon the DRIVER's PATH, which need not be the env
the launcher served from (F-D4). The service fell back to its CWD-relativerecurrence-snapshots
althoughcreate_run_dirmakes$RUN_DIR/snapshotsfor it (F-D9). And the launcher recorded no
log settings, leaving the YAMLservice:block as the only visible route (F-L11).- The record (W1.9). After the env preflight passes,
recurrence_uprewritesports.json,
which the driver already reads, with arecurrence_launchobject:conda_env,cli,python
(the interpreter the CLI's shebang names),model_version(probed without-sand from/, as
serveimports;nullwhen unreadable),snapshots_dir,log_level,log_formatand
config_file. It goes through the onewrite_ports_jsonwriter, now rendered withprintf
(byte-identical output) into a temp file that is renamed into place, so no other key changes. A
refused env records nothing, and a record that cannot be written fails the leg beforeserve. - The re-run (W1.9).
save_modelexecutesrecurrence_launch.cli.shutil.whichis the
fallback only when none is recorded, and a recorded CLI that has gone missing fails the phase
instead of falling back. Rerun parity runs first: the CLI's interpreter, resolved exactly as the
launcher resolves it, must be the recorded one (compared as resolved paths), and its
juniper-recurrence-modelversion must still be the recorded one. A mismatch fails the phase with
both sides named, without running the CLI; missing evidence is reported asunverified, not
guessed. A record for a service the run does not drive (--recurrence-urlelsewhere) is set
aside.save_model_rerungainscli_source,parityand, when set aside,launch_record.
W0.3's outcome derivation is untouched: a failedsave_modelphase isdegraded, exit 1. - The service env (W1.10).
recurrence_upexports
JUNIPER_RECURRENCE_SNAPSHOTS_DIR=$RUN_DIR/snapshots(cascor lists only*.h5there, recurrence
only*.npz) and passesJUNIPER_RECURRENCE_LOG_LEVEL/JUNIPER_RECURRENCE_LOG_FORMATwhen they
are set, never exported empty, naming all three in the announce line,env/launch.envand
ports.json. A set log var already reachedserveby inheritance; what is new is the record. The
YAMLservice:block still outranks env (juniper-recurrencesettings.py
settings_customise_sources), and the launcher header now says so.util/isolated_stack.bashis
unchanged: it has noports.json, no per-run snapshots dir and no--configroute. - One existing assertion changed, in
tests/test_experiment_stack_script.py: the live
recurrence_uphappy path counted 3 calls to the fake interpreter and now counts 4, the
preflight's three (each still pinned to pass-sfirst) and then the model-version probe
(pinned to run without-s, from/). New tests:TestRecurrenceUpLaunchRecord,
TestRecurrenceLaunchRecordWiring,TestPortsJsonRenderand aTestDryRunUparm in that
suite;SaveModelLaunchRecordTestandLauncherMirrorTestintests/test_run_experiment.py.
- The record (W1.9). After the env preflight passes,
- Dataset creation gets its own budget, and a recurrence predict proves which model it scores
(W1.5's driver half, against the service half in juniper-recurrence#192; F-D5, F-CON1, F-CON2 and
F-CON3 ofnotes/JUNIPER_2026-10-03_JUNIPER-RECURRENCE_EQUITIES-END-TO-END-AUDIT-AND-DEVELOPMENT-PLAN.md;
util/experiments/run_experiment.py,util/experiments/run_suite.py,util/experiment_stack.bash,
docs/REFERENCE.md;tests/test_recurrence_operation_identity_and_dataset_budget.py, new, wired
intoci.ymland bothdocs/REFERENCE.mdlists;tests/test_run_suite.py,
tests/test_experiment_stack_script.py).POST /v1/datasets, where a cold equities fetch spends
its time, ran under a fixed 120 s literal that no config could raise, and a timeout there was
reported as "service unreachable" (exit 3). The driver sent no run identity, so a predict on a
listener another caller had trained on scored that caller's model without a sign.- The dataset budget.
outputs.dataset_create_timeout_seconds/--dataset-create-timeout-seconds
(default 120, the old literal; positive and finite, else exit 2) boundsPOST /v1/datasetson
both paths, apart from the wall budget, which still bounds train, predict and crossval. An expired
dataset budget isoutcome: timed_out, exit 1, with the knob named inacceptance.reasons, on the
cascor path as well as the recurrence one.manifest.driverrecords it. Neither budget cancels
anything, and the module docstring and the runbook now say so: the recurrence fit runs to its end
and holdstrain_lock. - Operation identity.
POST /v1/trainsendsX-Request-ID: run_experiment:<run_id>:<12 hex>,
the fit'srequested_by. Theoperation_idit returns goes back on predict as
expect_operation_id, so a model replaced in between is refused with 409 and the run is
degraded; crossval is never sent it (it never reads the model), andsave_modelneeds none (its
CLI re-run fits its own model; the driver never callsPOST /v1/model/snapshots). A service that
returns no usable id, such as the published juniper-recurrence 0.5.0, is never sent the key, since
it would ignore it; the driver logs a warning. The newmanifest.operationblock records the
request id, the operation id, whether predict carried it, and a note for a missing id, a timed-out
train, a busy 409 or a refused predict. - The service's inner budget.
run_suite.pygainsexecution.dataset_create_timeout_seconds
(forwarded on themax_wall_secondsrule), and exports a recurrence cell's dataset budget (that
key, else the cell'soutputskey) to--upasJUNIPER_RECURRENCE_JUNIPER_DATA_TIMEOUT_SECONDS,
recorded on the registry row asservice_env.recurrence_uppasses that variable toservewhen
set, names it like the log knobs, records it inports.jsonas the JSON number
recurrence_launch.juniper_data_timeout_seconds, and refuses the leg before the env preflight
unless it is a plain positive decimal. On the driver's path the service only downloads an artifact
the driver already created, so this aligns the two budgets rather than fixing a reproduced failure. - The runbook.
docs/REFERENCE.md§ "One caller per recurrence service" now says the driver
half is built, that a service is owned by one caller at a time, and how the launcher's per-run
ports (8260-8289, lockdirs, anssprobe) keep a suite off canopy's and Compose's listeners. - The acceptance case, time scaled 1:100 in the new suite: a juniper-data that sleeps 40 s fails
inside a service modelled on #192 at the client's old 30 s default while the driver's budgets are
untouched, and succeeds at the budget the suite exports. - Three existing assertions changed, in
tests/test_experiment_stack_script.py: two exact
recurrence_launchdicts gain"juniper_data_timeout_seconds": None, and the wiring pins on the
serve announce and launch lines gain${data_timeout_announce}/"${data_timeout_env[@]}". Each
keeps its other assertions. The log-var arm now unsets the data timeout first, and the dry-run
harness pins it empty, so an operator's export cannot reach an exact record.
- The dataset budget.
- Tier 2 finds its drives under
/run/mediaagain, and gains its installer, its failure unit and a
gate (B6 / I-20 of
notes/JUNIPER_2026-10-03_JUNIPER-ECOSYSTEM_BACKUP-SYSTEM-STATE-ASSESSMENT-AND-RECOVERY-PLAN.md;
util/juniper-backup.bash;util/duplicati_backup_failure.bash;util/install_juniper_backup_timer.bash,
new;util/systemd/juniper-backup-failure.service, new;tests/test_juniper_backup_tier2_lane.py, new).
udisks2 2.10.91 moved removable-media automounts from/media/<user>to/run/media/<user>on
2026-09-07, and the runner still forced/media/pcalnon/<name>, so every tier-2 run after that
skipped both sticks and exited 1. Its scheduler,util/juniper-backup-scheduled.bash, already
looked under/run/media, so every run it judged due would have ended the same way.- The runner's settings. It now reads the scheduler's three location settings under the same
names and defaults:JUNIPER_BACKUP_MEDIA_ROOT(default/run/media/$USER),
JUNIPER_BACKUP_DEVICESandJUNIPER_BACKUP_DIR. For the relative form the two therefore name
the same path. - The absolute form. An entry beginning with
/is its own mount root, for the fstab drive of
§7.9 ofnotes/JUNIPER_2026-09-21_JUNIPER-ECOSYSTEM_BACKUP-INFRASTRUCTURE-INTEGRATED-DESIGN.md. It
is runner-only until the scheduler learns it. - The drive bound. The mount guard does not protect the system disk:
mountpoint -qis true of
/,/home,/tmpand/run/user/<uid>. So every device's mount root, in either form, must lie
strictly under the literalDRIVE_PARENTS(/mnt,/media,/run/media), written plainly, or
the run exits 2. A newline in the device list is refused the same way. - The installer. It copies the runner, the scheduler and the shared reporter into
~/.local/bin/
and the four units into~/.config/systemd/user/, then enables the timer and the path unit. Its
--dry-runwrites nothing, and it refuses root and a missingLingerbefore any write. - The failure unit.
juniper-backup-failure.servicepoints the reporter at this lane's state
dir. The reporter (1.1.0) now titles its notification with the failed unit; it announced every
failure as "Duplicati backup FAILED". - The acceptance order. It is printed in both installer modes and documented in
docs/REFERENCE.md. Do the OK run first, with both configured sticks mounted: one stick is rc 4
(PARTIAL), soFAILEDwith no stamp. Until that first success, a run with no stick mounted reads
FAILED, notSKIPPED. Never run the scheduler with--dry-runby hand: it stamps the preview as
a success. - The gate. The suite kills 30 of 30 mutants, the pre-change runner among them
(util/ad-hoc/2026-10-03_juniper_backup_tier2_mutation_check.py, new). Seven of them come from the
PR's review.
- The runner's settings. It now reads the scheduler's three location settings under the same
- The launcher suites' kill helper killed nothing for a nohup'd stub, so the stub outlived its
test and racedTemporaryDirectorycleanup (juniper-ml#2046;tests/process_cleanup.py, new;
tests/test_isolated_stack_script.py;tests/test_experiment_stack_script.py). That turnedmain
red on run 35864791786 (OSError: [Errno 39] Directory not empty: '…/markers') and HALTed the
0.10.0 release ceremony. Ten hand-copied_force_killhelpers sentos.killpg(pid)first and read
itsProcessLookupErroras "already dead".killpgalso raises that for a live pid that leads no
process group, which describes every service the launchers start with a barenohup … &. A census
of every call site (util/ad-hoc/2026-09-23_force_kill_survivor_census.py, new) found two copies
handed such a pid in passing runs:TestDataUpLive's, which #2046 named, and the module-level copy
intest_experiment_stack_script.py, which it did not. 8 stubs outlived their tests per run of the
two suites. Two more copies back up a teardown under test and fail exactly when their test does.
TestStopPort's, the issue's other named copy, is only ever handedsetsidleaders. All five now
call oneforce_kill. It stops the process, then kills it along with every descendant and every
member of a group it leads, and waits for all of them. It also kills a stub's in-flightmvchild,
which the issue's suggested fix orphaned alive in 20 of 100 runs of a constructed slow-writer
shape (util/ad-hoc/2026-09-23_force_kill_orphan_writer_race.py, new). It never widens to
killpg(getpgid(pid)), because these stubs share the test runner's own process group. Four new
TestForceKillcases each assert their launch shape as a precondition, and
util/ad-hoc/2026-09-23_force_kill_mutation_check.py(new) kills 5/5 mutants, including the old
helper and the issue's fix. The five copies left are handed onlysetsidleaders, whichkillpg
reaches. Also fixed: each suite had a mid-fileif __name__ == "__main__":block, so
python3 tests/<file>ran 52 of 74 and 82 of 92 tests. CI uses-m unittest, which always ran all
of them. - The release-train ceremony cut every Release with
--latest=false, so six repos' "Latest"
badges fell behind (util/release_train/ceremony.py,util/release_train/detect.py,
util/release_train/registry.yaml). The flag was right for juniper-ml's sub-packages and wrong
for everything else, the meta-package included, although §11.4 of
notes/JUNIPER_2026-06-18_JUNIPER-ECOSYSTEM_PYPI-PUBLISH-PROCEDURE.mdgives it--latest. On
2026-09-23 the badges read juniper-ml v0.6.0 (newest v0.10.0), juniper-data v0.13.0 (v0.15.0),
juniper-data-client v0.4.2 (v0.5.0), juniper-cascor v0.10.0 (v0.11.0), juniper-canopy v0.5.0
(v0.8.1) and juniper-recurrencejuniper-recurrence-model-v0.1.4(juniper-recurrence-v0.5.0).
The registry now marks one package per repolatest: true. Seven are thev*-tagged packages,
and the eighth is juniper-recurrence's app, since that repo has nov*tag. The ceremony cuts that
package with--latestand every other with--latest=false. Only a YAML booleantruecounts,
so a quoted"true"reads false. Tests pin the whole chain, from the entry to the plan, the
cut_releaseaction,create_release's kwarg and the gh argv, plus exactly one flagged package
per repo. Five mutations, one per link and one on the registry data, each fail the new tests. The
six badges were moved by hand the same day, on the owner's approval. That fires nothing, because
all 24 release-triggered workflows in the nine repos subscribe topublishedonly
(util/ad-hoc/2026-09-23_release_trigger_types_census.py, new). The procedure's §11.7 records it. - Release notes: "Breaking changes" missed three registered house styles, and both section
parsers dropped every heading qualifier from the rendered body (util/release_train/notes_render.py,
util/release_train/ceremony.py). The rule honoured only### Removedand an uppercase
BREAKING. juniper-canopy's CHANGELOG has zero uppercaseBREAKINGand marks breaks with
**Breaking Change:**/Breaking change:labels, often on sub-bullets, and with
### Breaking Changes in [...]headings. A substring test also readNON-BREAKINGas a break.
Separately,parse_unreleased(drafts) andchangelog_version_section(finals) keyed a###
heading by its first word only. So### Changed (potentially breaking), which appears five times
across four registered CHANGELOGs, rendered as### Changedunder "Breaking changes: NO", and
### Technical Notesrendered as### Technical. A sharedheading_key()now keys a qualified
heading by its full text. An unqualified heading keeps its first-word key, so today's output is
byte-identical. The verdict reads labels, headings, qualifiers and uppercase markers, and honours
non-/not/nonegation at a word boundary. Also fixed:changelog_version_section("0.3.2")
returned 0.3.21's section, because the version pattern ended in an optional\]. That was
harmless for a forward cut and wrong for any re-render. Measured over all 226 version sections of
the 18 registry packages (util/ad-hoc/2026-09-22_breaking_marker_corpus_diff.py): 6 verdict
flips, all NO -> YES and all genuine, and zero YES -> NO. 21 new tests;
util/ad-hoc/2026-09-22_breaking_marker_mutation_check.pykills 10/10 mutants.
notes/JUNIPER_2026-06-18_JUNIPER-ECOSYSTEM_PYPI-PUBLISH-PROCEDURE.mdgains §11.7: the ceremony
as actually run, and five failure shapes with their controls.
Known Issues
None known at time of release.
Links
- Full Changelog
- Archive target:
notes/releases/RELEASE_NOTES_v0.11.0.md