Repository navigation
v4.17.0
Package Fan-Out Cohesion Gate (
max_package_files) & Rename-Aware Brownfield Ratchets, 1-Turn AST Refactoring & CWE-22 Confinement Recipes, Working-Tree Verification Receipt Caching, Closed-Loop Mneme Hot-Scope Reflexes, Native MCP Catalog Pinning, Plus Pre-Tag GoReleaser & SemVer Airlock Gates (Apache 2.0)
Changelog
Intent & Specifications
- c118de0 [INT-1984] feat(intent): specify closed-loop Mneme hot-scope reflexes and...
- 7e7d8ad [INT-1985] feat(intent): specify 1-turn AST refactoring recipes across...
- aed478b [INT-1986] docs(intent): specify max_package_files cohesion gate and...
- 2f6d5bb [INT-1987] docs(intent): specify pre-tag GoReleaser, semver parity, and...
- 6224382 [INT-1989] docs(intent): specify rename-aware ratchets, verify cache, and CWE-22
Verification & Quality Gates
- 6b913a3 [SUB-2280] feat(verify): emit 1-turn AST refactoring recipes on dCDS,...
- d5afc2a [SUB-2281] feat(verify,cli): enforce max_package_files gate and split...
- 01427df [SUB-2283] feat(verify,release): enforce pre-tag GoReleaser, semver parity,...
- c0cae7e [SUB-2292] feat(verify,cli): add rename-aware ratchets, verify cache, and CWE-22
Task, Memory & Session
- b172f62 [SUB-2279] feat(mem,radar): close Open-Core Mneme self-learning loop with...
Release & Packaging
- 0c964ee [SUB-2256] docs(changelog): reword v4.16.0 home-prefix prose for portal...
- 40829b0 [SUB-2278] fix(security,radar): enforce native MCP catalog pinning,...
- c5943ee [SUB-2290] fix(radar,hook): emit 1-turn PostToolUse recipes for file LOC,...
- b7084c9 [SUB-2302] chore(release): prepare v4.17.0 Open-Core milestone release and...
Full Changelog: v4.16.2...v4.17.0
Release Notes & Architecture Details
Verification & Quality Gates (nomos verify)
max_package_filesCohesion Gate & Core Sub-Package Decomposition (INT-1986,SUB-2281): Adds configurablegovernance.quality_gates.thresholds.max_package_files(default40non-test source files per directory) across Go SSoT configuration andnomos.schema.json(TC-SSOT-06,TC-TS-12) with monotonicgit ls-treebrownfield ratcheting and strict enforcement onnomos, decomposingsubstrate/src/nomos/modules/verify(70->38files acrossverify/astdebt,verify/vscope,verify/impact, andverify/polyrun) andsubstrate/cli(79->36files acrosscli/tui,cli/commitmsg,cli/inspectcmd,cli/diag,cli/selfupdate, andcli/taskui).- Rename-Aware Baseline Lookup & Monotonic Fan-Out Ratcheting (
INT-1989,SUB-2292): WiresResolveRenamedBaselinePath(git diff --find-renames=50%) intoloadBaselineFileBytes(TC-TS-13) so moved files (git mv) inherit their pre-move AST baselines rather than being treated as net-new code, and permits zero-net-file edits inside pre-existing> max_package_filesbrownfield directories without false-positive fan-out blocks. - 1-Turn AST Refactoring & Polyglot CWE-22 Confinement Recipes (
INT-1985,INT-1989,SUB-2280,SUB-2292): Enriches cognitive debt (dCDS), cyclomatic complexity (V(G)), function LOC, and parameter arity gate diagnostics across Go, Python, and JS/TS withfile:start-endspans, exact numeric excess deltas, and explicit helper or<fn>Optionsextraction targets (TC-PHY-05,TC-PHY-06,TC-TS-11), and refinesFastFileRadarCWE-22 path-sink precision (TC-TS-14) with Go, JS/TS, and Python path-confinement recipes.
CLI, Distribution & Hooks (nomos hook, capbac)
- Native MCP Catalog Pinning & 1-Hop
PostToolUseImpact Recipes (SUB-2278,SUB-2290): Enforces native MCP catalog pinning (mcp_catalog_pin.go) alongside polyglot CWE and structural-clone fast-radar checks, surfaces 1-hopPostToolUseblast-radius alerts (cmd_hook_impact.go), and emits 1-turnPostToolUserecipes for above-ceiling file LOC, inlinedCDS, CWE sinks, and first-read hotspot peers.
Task, Memory & Session (nomos verify, nomos task sync, nomos mem)
- Working-Tree SHA Verification Receipt Cache (
INT-1989,SUB-2292): Computes unstaged working-tree SHA digests via an isolated temporaryGIT_INDEX_FILE(cmd_verify_working_tree_cache.go) so verified clean-tree receipts are reused acrossnomos verify,pre-commit, andnomos task syncwithout redundant full-suite gate runs. - Closed-Loop Mneme Hot-Scope Reflexes & Clean-Streak Cooling (
INT-1984,SUB-2279): Escalates recurring directory pitfalls (recurrence >= 3, active headaccess_count < 5) into sensitized65%FastFileRadarwarnings and inlinearity,unchecked_error_hygiene, andanti_shimmicro-probes (TC-MEM-16), cools reflexes automatically after5consecutive clean recalls (TC-MEM-17), and suppressesnomos.yamlgraduation prompts for built-in compiled AST gates (TC-MEM-18).
Release & Packaging (nomos verify, CHANGELOG.md)
- Pre-Tag GoReleaser Template, SemVer Parity &
CHANGELOG.mdAirlock (INT-1987,SUB-2283,SUB-2256): EnforcesEvaluatePreTagReleaseAirlockinsideReleaseReceiptGate(Cell 3.3) prior to release commits or tags (TC-SYNC-022,TC-SYNC-023), validating.goreleaser.yamlGotext/templateand v2.20+{{ .Env.<VAR> }}secret-token syntax, statutory SemVer pin parity acrossroot.go,CHANGELOG.md,templates/nomos.yaml, andpackaging/aur/PKGBUILD, and cleanroom-safeCHANGELOG.mdprose free of host user-home prefixes or Unicode dashes.