Skip to content

juniper-ml v0.11.0

Choose a tag to compare

@pcalnon pcalnon released this 21 Oct 09:27
Immutable release. Only release title and notes can be modified.
0b714d9

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-ml v0.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
    point gpg.program or core.hooksPath at its own program, plant a repository-local key that outranks the include,
    drop a post-commit hook inside a cached-touch window, or re-enable signing past D11 with git -c include.path= or
    --config-env.
    • util/claude_agent_guard.py 1.1.0 adds two rules:
      • GIT-SIGNING-CONFIG (Bash) denies those forms. It also denies signing-key git config writes 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 / --remove without --dry-run.
      • GIT-SIGNING-FILE (the file writers) denies writes to the same files. Reads stay allowed.
    • tests/test_claude_agent_guard.py pins 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.py kills 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-date main to install
      the new copy. No YubiKey goes into turing until then: the first gpg --card-status writes 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.py installs and verifies the owner's signing for every checkout under
      ~/Development/python/Juniper/ with one includeIf "gitdir/i:~/Development/python/Juniper/", which points at
      ~/.config/git/juniper-signing.gitconfig. That file holds yamaguchi's values: user.signingkey pinned to the full
      fingerprint with !, commit.gpgsign and tag.gpgsign, plus an absolute gpg.program in a known GnuPG install.
    • Why the IDEs need no setting. Cursor's and VS Code's git extension adds -S only 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 --check covers. 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. --remove undoes --apply exactly.
    • Tests and evidence. tests/test_configure_commit_signing.py pins R-S1..R-S19, and util/ad-hoc/2026-10-19_commit_signing_mutation_check.py kills 50 of 50 mutants.
    • Doc changes. notes/JUNIPER_2026-10-15_JUNIPER-ML_TURING-HOST-BRINGUP-DEVELOPMENT-PLAN.md gains §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 first gpg --card-status writes 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.
  • stats.json / summary.md carry 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.json reported the sequence dimensions and a class_distribution of null, and nothing about the target the
    equities fit predicts.
    • util/experiments/stats_summary.py gains the stdlib regression_target_summary: per split, n, n_finite,
      finite_fraction, mean, std (population, ddof=0), min, max, plus a basis string; NaN and ±Inf count
      toward n and against the fraction and stay out of the moments; an empty split reports finite_fraction: null.
      build_stats writes it as dataset.target_summary (null when absent) and turns a reader error into a
      provenance.degraded_notes entry; summary.md prints one line per split.
    • util/experiments/run_experiment.py fetches the dataset artifact once after the dataset phase (the body the plot
      set already reads) and summarises every y_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 to build_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.yml and docs/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 a run_suite.py passthrough. The data leg launched with
    JUNIPER_DATA_EQUITIES_CACHE_DIR=$RUN_DIR/equities-cache and 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, and dataset_ids are unchanged.
    • Evidence: the announce line, env/launch.env, and ports.json's new equities_cache_dir / equities_cache_shared.
    • util/experiments/run_suite.py --shared-equities-cache DIR passes it to every cell's --up (the env knob is honoured
      and passed explicitly) and records it on each registry row and in suite_manifest.json; cell ids and
      config_sha256 are unchanged, as with the Grafana bridge.
    • docs/REFERENCE.md gains 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, live data_up (PATH stubs), the ports.json record and the suite passthrough; wired into ci.yml and
      docs/REFERENCE.md (216 suites).
  • 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, .py or .yml file under util/, scripts/ or .github/ may hold no more
      lines carrying /home/pcalnon than conf/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 under util/ad-hoc/.
      A line ending in # home-path-literal: allow is not counted.
    • It runs as the home-path-literal pre-commit hook on staged files, and as a whole-scope step in
      ci.yml's Pre-commit job. --update-baseline recounts, and --dry-run writes nothing.
    • tests/test_home_path_literal_check.py (new) is wired into ci.yml and docs/REFERENCE.md.
    • util/ad-hoc/2026-10-20_turing_g5_mutation_check.py (new) shows that the suite kills 22 of 22 mutants.
  • The git-remote-alias pre-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.yaml runs util/git_remote_alias_check.py --check --if-configured (task G2) at the
      pre-push stage. On a host with the github_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_version rises from
      3.0.0 to 3.2.0, the release that named the stage pre-push.
    • default_stages: [pre-commit] keeps every other hook at commit time. Without it, a hook with no stages
      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-files and isort set
      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.py gains the acceptance: facility, and the E-H recurrence suite carries
    the R5 band
    (W5.4 of notes/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 scored cv_r2 = -18081 and the suite
    called it succeeded -- 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
      include row (that row only). metric is one of the headline columns aggregate.csv carries (train_r2,
      cv_r2, cv_r2_std, n_windows, final_accuracy, test_accuracy, val_accuracy); min / max are
      inclusive finite numbers, at least one present, min <= max; mode is gate or report and 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 gate miss makes a succeeded cell failed, with error naming the miss
      (acceptance: cv_r2=-18081.0 outside [-1.0, 0.5] (gate)), and the suite exits non-zero; a report miss
      makes it flagged (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 from degraded, which says an enabled phase did not run; a cell already failed / degraded /
      stalled / timed_out keeps that outcome with its bands recorded. flagged is complete: --resume skips
      it and the exit code counts it with succeeded (COMPLETE_OUTCOMES).
    • Surface. The registry row carries acceptance (per band: value, result in pass / fail /
      absent); aggregate.csv gains an acceptance column, placed last so no existing column moves; the
      REPORT table gains the same column when any cell has bands, plus a ## Acceptance bands section, and the
      summary line counts flagged cells when there are any; --dry-run prints each banded cell's bands;
      suite_manifest.json records 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] and cv_r2_std ≤ 0.5, both gate (the owner accepted the W5.1 note's amended
      recommendation on 2026-10-18). Row-scoped because the irregular-sine control's cv_r2 0.975 would fail
      +0.5 under 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 the JUNIPER_SUITE_* seams) pins the
      schema, the comparator, the outcomes, the row scoping, the resume and exit behaviour, the columns and the
      shipped band; wired into ci.yml and docs/REFERENCE.md's run list (213 suites).
  • 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 with ssh -G. A second run writes nothing. Existing non-compliant state is reported, not fixed.
      UseKeychain is written on Darwin only, because upstream OpenSSH rejects it.
    • tests/test_juniper_repo_ssh_setup.py (new) is wired into ci.yml and docs/REFERENCE.md.
    • util/ad-hoc/2026-10-17_turing_a5_mutation_check.py (new) shows that the suite kills 16 of 16 mutants.
  • 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.bash is deleted. It ran gpg --clearsign -u 93E8591643C507FF, the ed448 key, which has
      not been the signing key since 2026-08-07. util/headless_signing_preflight.bash replaces it with non-credential
      checks.
    • tests/test_headless_signing_preflight.py gains R-B8: no file under util/ or scripts/ may carry that key id,
      and the deleted validator stays deleted.
    • notes/JUNIPER_2026-07-16_JUNIPER-ECOSYSTEM_CODE-SIGNING-KEY-MIGRATION-STATUS.md is 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 and no-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 into ci.yml and docs/REFERENCE.md.
    • util/ad-hoc/2026-10-17_turing_b7_mutation_check.py (new) shows that the suite kills 18 of 18 mutants.
  • 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's ssh -G view, and its key's mode.
      On turing it names juniper-k8s (R-G2a) and juniper-recurrence (R-G2b), the two remotes task A1 rewrites.
    • --fix rewrites only a same-repository origin. --if-configured passes hosts that have no aliases, for
      the G6 pre-push hook. Every git call drops the GIT_DIR that a hook inherits in a linked worktree.
    • tests/test_git_remote_alias_check.py (new) is wired into ci.yml and docs/REFERENCE.md.
    • util/ad-hoc/2026-10-17_turing_g2_mutation_check.py (new) shows that the suite kills 16 of 16 mutants.
  • ci.yml's host-tooling-macos job, 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/bash 3.2,
      which the Linux regression step cannot show. A step asserts both, and that brew --prefix is 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 relevant from 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
      stub git. It is wired into ci.yml and docs/REFERENCE.md.
  • util/host_state_probe.bash and util/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
      ~/.ssh and ~/.gnupg it tests names and permission bits only, and it runs no credential probe. It
      graduates util/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. --check exits 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.py and tests/test_host_state_check.py (new) are wired into ci.yml,
      the advisory host-tooling-macos job and docs/REFERENCE.md (220 suites).
    • util/ad-hoc/2026-10-20_turing_g1_mutation_check.py (new) shows that they kill 57 of 57 mutants.
  • 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 against conf/hosts/<host>/expected.yaml
      with util/host_state_check.py --json, and explains each failing gate condition with its plan task, actor
      and remediation. It writes one reports/ 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-only gh api GETs. Its one reports/ 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 one notes/
      audit. It holds WebFetch and no Bash.
    • tests/test_macos_host_sme_contract.py, tests/test_signing_auth_sme_contract.py and
      tests/test_k8s_node_sme_contract.py (new) share tests/agent_contract_support.py (new). Each pins its
      agent's exact tool set and Must-never items, and runs util/claude_agent_guard.py to show that the guard
      denies each item under the rule the agent cites while passing the agent's own procedure. They are wired
      into ci.yml and docs/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's serena entry: 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. --check and
      --remove complete it.
    • --project fixes audit A2-F1 (Serena started with no active project), and running it per checkout fixes
      A2-F4 (no worktree had a .mcp.json), both from notes/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, whose excluded_tools hold execute_shell_command. .serena/project.yml now
      excludes it too, and .gitignore covers the script's .mcp.json.bak-* backups.
    • On turing the pinned Serena does not start yet: its exact cryptography==50.0.0 pin ships no Intel-macOS
      wheel, and building it needs Rust 1.83 (the host has 1.71). The live claude mcp list check waits on
      that.
    • tests/test_mcp_setup.py (new) is wired into ci.yml, the host-tooling-macos job 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.
  • 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, and gh api takes its flags in any order. The macOS sandbox alternative,
    option (a), would break agent git fetch and 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 8 permissions.deny rules.
    • tests/test_claude_agent_guard.py (new) is wired into ci.yml and docs/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).
    • start never calls VBoxManage startvm unless 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 call start at every boot.
    • tests/test_macvm_ctl.py (new) pins R-F5 with every tool stubbed, so it runs on Linux CI. It is
      wired into ci.yml and docs/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 to ci.yml,
      docs/REFERENCE.md, CHANGELOG.md and AGENTS.md the 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, so required_signatures
    blocked it with every check green. That PR is closed in favour of this one.
    • util/juniper_clone.bash (new, A4) clones through the github_juniper-<repo> ssh alias. It
      then reads the persisted remote.origin.url back and exits 1 unless that value is in alias form.
      It replaces the branch's util/git_clone_with_specified_id.bash, which is not landed. That
      helper persisted git@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 runs eval on find
      output. A file named $(:>x)encryption.bash was 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.py and tests/test_find_encryption_readme_notes.py (new) are wired
      into ci.yml and docs/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.toml gains juniper-secret-assignment. It fires when SETTINGS_ENCRYPTION_KEY[_OLD],
      PASSPHRASE[_OLD], DUPLICATI_WEB_CREDENTIAL or Duplicati's DUPLICATI__ 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, after export, in a systemd Environment= 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.yaml adds the upstream gitleaks hook at v8.24.3. ci.yml now states
      the same version as GITLEAKS_VERSION, instead of inheriting the action's default.
    • tests/test_gitleaks_secret_assignment_rule.py (new) is wired into ci.yml and
      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.py and …_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_patterns on 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.md now records the
      owner-requested follow-up:
      • three ANTHROPIC_API_KEY secrets added;
      • the five §4 defects fixed, across nine repos;
      • the data-client t / dt check accepted as written;
      • juniper-service-core 0.7.1, juniper-observability 0.4.1 and juniper-data 0.17.0 cut and parked
        at the pypi gate;
      • six new open findings.
  • 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 and util/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 on main (three are owner decisions: an ANTHROPIC_API_KEY secret in
    three client repos, the data-client t / dt tolerance, 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 from main and 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 the juniper-ci-tools, juniper-observability and juniper-service-core READMEs. Fixes four
    places on main that 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 on main, mutation-checked against the code it
    pins, and wired into ci.yml and both docs/REFERENCE.md lists. 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), a requests stand-in that crashed on
    Python < 3.14, CodeQL-flagged fixture modes, and an untested --accept-degraded flag 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 into ci.yml
    and docs/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,
    served juniper-recurrence-model 0.1.5 (no derive_full_split) and juniper-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/ready answered, and every
    POST /v1/crossval then 422'd. recurrence_up now checks the interpreter the console script
    runs under, each probe as python -s from /: pip check scoped 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 installed juniper-recurrence
    declares, and the derive_full_split import. 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 (or JUNIPER_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-served JuniperCascor1 is refused until
    W0.1's env repair lands
    , by design: it still carries juniper-service-core 0.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's main as it is
    at cut time, while the notes come from the --ecosystem-root checkout. 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 at 7125e161) and the cut. #428 left a
    duplicate ## [0.16.0] heading on main, and the section parser takes the first match, so a cut
    of main would 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 of main's newest run, and the dry run names
    the commit. commit_ci_verdict calls 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
    cancelled although nothing failed. 7125e161 itself has a green push run and a later
    repository_dispatch run cancelled that way, so a newest-run probe would have halted a green
    commit. The flag needs exactly one --package and refuses an abbreviated sha before anything is
    written, because gh rejects 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 on main'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 dockerhub environments
    (tests/test_publish_env_policy_drift.py). Wave 4's Docker Hub credential will live in a
    tags-only dockerhub environment 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*, where pypi has six. It also checks that no DOCKERHUB_* secret or variable sits
    at repository scope, where every workflow on every ref could read it. That check reads names only:
    gh applies the --jq filter, 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
    the pypi helper would add six patterns. Live, with JUNIPER_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 real CROSS_REPO_DISPATCH_TOKEN, and an environment name that exists. Per-PR
    CI cannot read the image repos, so the dockerhub half 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 in ci.yml,
    docs/REFERENCE.md and AGENTS.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 before import torch makes torch bind the
      env's copy instead.
    • OpenMPRuntime() opens only an already-mapped runtime, with RTLD_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 under OMP_NUM_THREADS=2, cascor's default since cascor#683, the
      re-pin is 2 → 2 and invisible.
    • The gate AST-scans util/ad-hoc/ and util/experiments/. Six pre-helper instruments are
      grandfathered by name and must each still offend. --self-check measures every claim above
      in an env with torch.
  • PF-2 axis 3, built and RUN (util/experiments/suites/perf/pf2-axis3-cascor-spiral-count.yaml
    and util/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.
  • Two instruments: util/ad-hoc/2026-09-23_d6_advisory_firing_count.py counts D6 advisory
    firings per head SHA and per matrix leg, from workflow runs rather than PR commits. A
    force-pushed head survives there, and a ci-probe/* positive control is excluded.
    util/ad-hoc/2026-09-23_data_additive_overflow_repro.py is 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 its TargetURL check, or copy a cleartext database into the backup Source.
    • The service lane. util/systemd/duplicati.default carries D-1's --require-db-encryption-key and
      D-9's two web-service options. util/systemd/duplicati.service masks both escrow copies. The snapshot
      lane runs an installed copy under ProtectSystem=strict with ReadWritePaths=
      (util/systemd/yamaguchi-server-db-snapshot.service and .timer;
      util/ad-hoc/yamaguchi_server_db_snapshot.py 1.2.0, which now writes one DELETE-mode file with no
      -wal/-shm). scripts/duplicati-wrapper.bash 2.4.0 reads /etc/duplicati/env and accepts only an
      allow-list of eight tunables there. Its deny list, which --parameters-file had 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 refuses DUPLICATI__* exports (the server
      reads DUPLICATI__<OPTION> for every option, disable-db-encryption included) and a CR or NUL in the
      key. util/install_duplicati_service.bash 1.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 is util/systemd/duplicati-env.contract, because a *.env name 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 an Option, Source or BackupTargetUrl row 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,
        where wipe-encryption or an empty database leaves none.
    • Round 2's BLOCKER, found by all three lanes by reading. systemctl revert duplicati.service would have
      deleted the installed unit, because a dpkg vendor unit exists under /usr/lib/systemd/system/. The
      re-key now removes its drop-in with rm and daemon-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 as 2W:1D,6M:1W,2Y:1M,5Y:2M only 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=0 while 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-run first 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-config too. The index's -wal/-journal are copied with it,
        including into the A0 scripts' throwaway copy.
    • The design is regenerated from main's copy by
      util/ad-hoc/2026-09-22_stage_design_artifacts.py --from-repo and
      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_PR that is not ml#<digits>.

    • Tests and record. There are five new hermetic suites, wired into ci.yml; none runs a Duplicati
      binary or depends on /mnt/Backups being 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 in notes/JUNIPER_2026-10-04_JUNIPER-ECOSYSTEM_BACKUP-PHASE-B-CONSENSUS-RECORD.md.

Changed

  • [recurrence] now floors juniper-recurrence>=0.8.0 (<0.9.0) and juniper-recurrence-model>=0.6.0 (<0.7.0), the
    W5.2 release pair (P5 of notes/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.0 and juniper-recurrence-model>=0.5.0,<0.6.0.
    • Why both move. recurrence 0.8.0's requires_dist is juniper-recurrence-model>=0.6.0,<0.7.0:
      its crossval pool is model 0.6.0's composed trainval view and its per-entity folds read the
      ticker_code / window_end_date keys 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/crossval selects over the
      trainval pool, so the reserved test partition 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; embargo defaults to the
      look-back (an explicit smaller value is honoured and logged); the optional embargo_days; a folding
      block on the response and on GET /v1/crossval/status; dataset.split reads trainval. 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.0 stays (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 list block 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.
  • [recurrence] now floors juniper-recurrence>=0.7.0 (<0.8.0) and juniper-recurrence-model>=0.5.0 (<0.6.0), the
    P5 release pair (W5.8 (B), W5.9, W5.10 of notes/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.0 and juniper-recurrence-model>=0.3.0,<0.5.0.
    • Why both move. recurrence 0.7.0's requires_dist is juniper-recurrence-model>=0.5.0,<0.6.0:
      its default_ridge is "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/crossval on 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 a diagnostics block (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.0 stays (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.
  • util/experiments/run_experiment.py omits embargo from 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 send embargo: 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.py pins the omission.
  • [recurrence] now floors juniper-recurrence>=0.6.1, the release that carries the recurrence floors ruling
    (M1 of notes/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
      admitted juniper-recurrence-model>=0.3.0 and juniper-data-client>=0.4.2. Over a 0.5.0
      environment, pip install -U juniper-recurrence kept model 0.3.0 and data-client 0.5.0,
      pip check was clean, and the service started without the W1.4 rules (float32, finite dt,
      target_dt, seq_lengths) and without the model 0.4.0 target checks. juniper-recurrence#206
      raised the floors to model >=0.4.0 and data-client >=0.6.0, and 0.6.1 published them on
      2026-10-18. Its requires_dist on 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.
  • util/isolated_stack.bash hands the --with-recurrence leg JUNIPER_RECURRENCE_SNAPSHOTS_DIR=${RUN_DIR}/snapshots
    and creates that directory before serve
    (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, which util/experiment_stack.bash already ships; canopy Lane B
    adopts it in juniper-canopy#751). Unexported, the service wrote a CWD-relative recurrence-snapshots/
    (F-D9). tests/test_isolated_stack_script.py pins the variable and the directory.
  • BREAKING (resolution): [servers] now floors juniper-canopy>=0.9.0, and [recurrence] admits the W1.13 releases, with
    juniper-recurrence>=0.6.0,<0.7.0 and juniper-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]
    capped juniper-recurrence<0.6.0 and juniper-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.0 for the model, <0.7.0 for 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
        padded CANOPY_API_KEY out 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.0 and 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 (every manylinux_2_39 to manylinux_2_17 tag, 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.x row 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 floors juniper-data>=0.17.0, so the meta-package stops admitting the
    juniper-data releases that serve equities_seq as classification
    (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 serves equities_seq with
    task_type: classification and n_classes: 2, and the two the old >=0.15.0 floor admitted,
    0.15.0 and 0.16.0, serve it at generator 5.0.0 (0.14.0 was 3.0.0). juniper-data#437 (owner ruling X8)
    relabelled it regression at 6.0.0 after v0.16.0 was cut, and 0.17.0 is the release that
    carries it. The arrays did not change, and a recurrence fit reads y_reg_* under either
    version. What changed is the producer's stored metadata, and with it the dataset_id, which
    hashes the generator version. canopy already labels the pair regression, 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: under fundamentals_fill="drop", an equities
    request whose purchase_date is a weekday or more after start_date is 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.0 then resolved in 61 packages on Python 3.12,
    3.13 and 3.14 alike, with juniper-service-core 0.7.1 and juniper-model-core 0.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 serves equities_seq at
    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 the 0.11.x row of docs/REFERENCE.md's compatibility matrix
    lands with that bump. Applied
    by util/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.yaml header;
    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 at spiral-smoke's budgets only. step_count is 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 throwaway workflow_dispatch branch 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, cascor 0e016a7, 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.
  • 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.md new §4.3;
    util/ad-hoc/2026-09-24_pf2_axis3_seed_probe.yaml and 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.
  • ci.yml's host-tooling-macos job 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 != success arm, because the gate tests each
      need's result itself.
    • It never reads skipped: it has no job-level if and no path filter, and on a pull request with no host-tooling
      change it reports success.
    • tests/test_ci_quality_gate.py pins the need and its success predicate, and rehearses its failure and skip;
      tests/test_ci_host_tooling_macos.py flips its advisory pin.

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.py inlined the whole drafted release notes in the
    proposal PR body, and execute_proposal opens 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 --execute would have left release/juniper-ml-v0.11.0 and 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 before create_branch when a body is still over the limit. The 0.11.0 body is now 1,909 B. Four tests
    in tests/test_release_train_propose.py.
  • The release-train detector no longer discounts a pyproject.toml hunk 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_patch took 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 pins juniper-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, and propose.py had 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 .py substantive 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 (its Typing :: 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 daily release-train.yml run is in report mode, so
      nothing is proposed by itself.
    • Nine new tests in tests/test_release_train_detect.py, one of them on real git diff output; all nine fail on
      main's detector.
  • 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_commit passed the base64 file as one gh argument, which a Linux runner caps at 128 KiB
    (MAX_ARG_STRLEN); the E2BIG escaped _gh after 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>, _gh turns an OSError
    into a SourceError, and plan_ceremony HALTs archive-too-large after the re-entry checks and before
    create_branch when 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_MAX overrides 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.py pins the file transport, the HALT, the env override, that re-entry
    is not blocked by the cap, and the OSError mapping; the release-train operator runbook §4 and
    docs/REFERENCE.md gain 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 = true restores 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_dispatch of ci.yml scans all history, so .gitleaksignore holds the 24 as
      commit-scoped entries grouped by class. The full-history scan of every branch and tag now
      reports nothing.
  • The R-S9 audit in tests/test_configure_commit_signing.py no 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 from 036e53e2 to 398c5f5d (2026-10-21).
    • The cause: on a runner whose Python 3.12.15 toolcache had no cached encodings/__pycache__/utf_8_sig bytecode,
      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 -B and passes with it.
  • 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 its defaultdict read inserted every
      unseen source IP, while pruning ran only from record_failure(). _failures is now a plain
      dict read with .get(). The juniper-data and juniper-cascor forks get the same fix in their
      own repos. Details are in juniper-service-core/CHANGELOG.md.
    • util/worktree_cleanup.bash (1.1.1): the "These commits would be lost" list is no longer
      always empty.
      It ran git log <branch> --not --branches …, and --branches excluded the
      refused branch itself. It now passes --exclude=<branch> before --branches.
      tests/test_worktree_cleanup_destructive_refusal.py pins 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 in juniper-ci-tools/CHANGELOG.md; consumers pick
      it up only after a juniper-ci-tools release.
    • Sequence Safety is 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.md 0.6.63, docs/QUICK_START.md 0.3.42,
      docs/DEVELOPER_CHEATSHEET_JUNIPER-ML.md 1.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 export works 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.py 0.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.
    • export obtains the single-operation token. In 2.4.0.0, GET /api/v1/backup/{id}/export has
      no Bearer authorization. It requires a token query parameter holding a single-operation token
      for export (BackupGet.cs), which only the Bearer-authorised
      POST /api/v1/auth/issuetoken/export issues (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.md would then
      have started the pre-backup guard with DUPLICATI__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-empty Backup.TargetURL now 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.py answered 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-id is 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 durable ALERT 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 2 until the web credential exists to look the id up.
    • util/ad-hoc/2026-10-03_b2_mutation_check.py kills 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, not succeeded, 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/crossval 422'd on the
    missing X_full key was recorded succeeded with exit_code: 1 and acceptance.ok: false, and
    run_suite.py copied it, printed succeeded, counted a success and exited 0.
    • The phase record. The recurrence manifest gains phases: train / predict / crossval /
      save_model, each ok, failed with its error, skipped (not enabled) or not_reached.
      MANIFEST_SCHEMA stays juniper-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 run succeeded (exit 1). A degraded run exits EXIT_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 optional snapshot_at_end is a non-essential
      collect step that does not fail acceptance.
    • The suite. degraded joins TERMINAL_OUTCOMES; the summary line reads
      Cells: N total, X succeeded, Y degraded, Z failed/other, W not run.; REPORT.md lists each
      degraded cell under ## Degraded cells with the phase it lost; the console prints
      degraded (crossval failed: HTTP 422: …); --resume re-runs it; the exit code stays 1.
    • Four existing assertions changed from succeeded to degraded in
      tests/test_run_experiment.py (predict, crossval, missing-CLI and failing-CLI save_model
      arms). They pinned the defect; each keeps its other assertions and gains the phase record.
  • 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_metrics read train_r2 / cv_r2 / r2 at the top
    of stats["recurrence"], a shape stats_summary.py never wrote, so every recurrence cell got
    metrics: {} and neither aggregate.csv nor REPORT.md showed an r2. It now reads
    final_metrics.r2 → train_r2, crossval.eval_aggregate.r2 → cv_r2, crossval.eval_std.r2 →
    cv_r2_std and dataset_descriptor.n_windows → n_windows. A null crossval yields no cv_*
    key, and the test is isinstance, not truthiness, so 0.0 and -18081.0 both reach the report.
    The cascor keys are read as before.
  • The save_model re-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_model re-ran
    juniper-recurrence train through shutil.which on the DRIVER's PATH, which need not be the env
    the launcher served from (F-D4). The service fell back to its CWD-relative recurrence-snapshots
    although create_run_dir makes $RUN_DIR/snapshots for it (F-D9). And the launcher recorded no
    log settings, leaving the YAML service: block as the only visible route (F-L11).
    • The record (W1.9). After the env preflight passes, recurrence_up rewrites ports.json,
      which the driver already reads, with a recurrence_launch object: conda_env, cli, python
      (the interpreter the CLI's shebang names), model_version (probed without -s and from /, as
      serve imports; null when unreadable), snapshots_dir, log_level, log_format and
      config_file. It goes through the one write_ports_json writer, now rendered with printf
      (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 before serve.
    • The re-run (W1.9). save_model executes recurrence_launch.cli. shutil.which is 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-model version must still be the recorded one. A mismatch fails the phase with
      both sides named, without running the CLI; missing evidence is reported as unverified, not
      guessed. A record for a service the run does not drive (--recurrence-url elsewhere) is set
      aside. save_model_rerun gains cli_source, parity and, when set aside, launch_record.
      W0.3's outcome derivation is untouched: a failed save_model phase is degraded, exit 1.
    • The service env (W1.10). recurrence_up exports
      JUNIPER_RECURRENCE_SNAPSHOTS_DIR=$RUN_DIR/snapshots (cascor lists only *.h5 there, recurrence
      only *.npz) and passes JUNIPER_RECURRENCE_LOG_LEVEL / JUNIPER_RECURRENCE_LOG_FORMAT when they
      are set, never exported empty, naming all three in the announce line, env/launch.env and
      ports.json. A set log var already reached serve by inheritance; what is new is the record. The
      YAML service: block still outranks env (juniper-recurrence settings.py
      settings_customise_sources), and the launcher header now says so. util/isolated_stack.bash is
      unchanged: it has no ports.json, no per-run snapshots dir and no --config route.
    • One existing assertion changed, in tests/test_experiment_stack_script.py: the live
      recurrence_up happy path counted 3 calls to the fake interpreter and now counts 4, the
      preflight's three (each still pinned to pass -s first) and then the model-version probe
      (pinned to run without -s, from /). New tests: TestRecurrenceUpLaunchRecord,
      TestRecurrenceLaunchRecordWiring, TestPortsJsonRender and a TestDryRunUp arm in that
      suite; SaveModelLaunchRecordTest and LauncherMirrorTest in tests/test_run_experiment.py.
  • 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 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, util/experiment_stack.bash,
    docs/REFERENCE.md; tests/test_recurrence_operation_identity_and_dataset_budget.py, new, wired
    into ci.yml and both docs/REFERENCE.md lists; 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) bounds POST /v1/datasets on
      both paths, apart from the wall budget, which still bounds train, predict and crossval. An expired
      dataset budget is outcome: timed_out, exit 1, with the knob named in acceptance.reasons, on the
      cascor path as well as the recurrence one. manifest.driver records it. Neither budget cancels
      anything, and the module docstring and the runbook now say so: the recurrence fit runs to its end
      and holds train_lock.
    • Operation identity. POST /v1/train sends X-Request-ID: run_experiment:<run_id>:<12 hex>,
      the fit's requested_by. The operation_id it 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), and save_model needs none (its
      CLI re-run fits its own model; the driver never calls POST /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 new manifest.operation block 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.py gains execution.dataset_create_timeout_seconds
      (forwarded on the max_wall_seconds rule), and exports a recurrence cell's dataset budget (that
      key, else the cell's outputs key) to --up as JUNIPER_RECURRENCE_JUNIPER_DATA_TIMEOUT_SECONDS,
      recorded on the registry row as service_env. recurrence_up passes that variable to serve when
      set, names it like the log knobs, records it in ports.json as 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, an ss probe) 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_launch dicts 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.
  • Tier 2 finds its drives under /run/media again, 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_DEVICES and JUNIPER_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 of notes/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 -q is true of
      /, /home, /tmp and /run/user/<uid>. So every device's mount root, in either form, must lie
      strictly under the literal DRIVE_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-run writes nothing, and it refuses root and a missing Linger before any write.
    • The failure unit. juniper-backup-failure.service points 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), so FAILED with no stamp. Until that first success, a run with no stick mounted reads
      FAILED, not SKIPPED. Never run the scheduler with --dry-run by 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 launcher suites' kill helper killed nothing for a nohup'd stub, so the stub outlived its
    test and raced TemporaryDirectory cleanup
    (juniper-ml#2046; tests/process_cleanup.py, new;
    tests/test_isolated_stack_script.py; tests/test_experiment_stack_script.py). That turned main
    red on run 35864791786 (OSError: [Errno 39] Directory not empty: '…/markers') and HALTed the
    0.10.0 release ceremony. Ten hand-copied _force_kill helpers sent os.killpg(pid) first and read
    its ProcessLookupError as "already dead". killpg also raises that for a live pid that leads no
    process group, which describes every service the launchers start with a bare nohup … &. 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
    in test_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 handed setsid leaders. All five now
    call one force_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-flight mv child,
    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
    TestForceKill cases 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 only setsid leaders, which killpg
    reaches. Also fixed: each suite had a mid-file if __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.md gives 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-recurrence juniper-recurrence-model-v0.1.4 (juniper-recurrence-v0.5.0).
    The registry now marks one package per repo latest: true. Seven are the v*-tagged packages,
    and the eighth is juniper-recurrence's app, since that repo has no v* tag. The ceremony cuts that
    package with --latest and every other with --latest=false. Only a YAML boolean true counts,
    so a quoted "true" reads false. Tests pin the whole chain, from the entry to the plan, the
    cut_release action, 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 to published only
    (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 ### Removed and an uppercase
    BREAKING. juniper-canopy's CHANGELOG has zero uppercase BREAKING and marks breaks with
    **Breaking Change:** / Breaking change: labels, often on sub-bullets, and with
    ### Breaking Changes in [...] headings. A substring test also read NON-BREAKING as a break.
    Separately, parse_unreleased (drafts) and changelog_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 ### Changed under "Breaking changes: NO", and
    ### Technical Notes rendered as ### Technical. A shared heading_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 / no negation 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.py kills 10/10 mutants.
    notes/JUNIPER_2026-06-18_JUNIPER-ECOSYSTEM_PYPI-PUBLISH-PROCEDURE.md gains §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