baldart 4.85.0 → 4.86.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,22 @@ All notable changes to BALDART will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [4.86.0] - 2026-07-01
9
+
10
+ **AGENTS.md primitive regains the universal working-discipline rules (primitive `1.2.0`).** The lean v4.83.0 rewrite of the skeleton dropped a handful of everyday-habit MUSTs to stay short — but those are exactly the "conventions an agent can't infer and gets wrong" the file exists to carry. Restored as compact, stack-agnostic rules in the `AGENTS.md` skeleton (the cross-tool SSOT):
11
+
12
+ - **File navigation**: MUST find real paths via Glob/Grep before reading — never guess a path from naming conventions.
13
+ - **Investigation before claiming**: check git history (`git log --all --grep`) + the actual source before asserting a feature does or does not exist.
14
+ - **Implementation completeness**: MUST verify every plan item / acceptance criterion is wired and functional before marking work DONE — cross-check against the code, not the intent.
15
+ - **Testing convention** (Workflow Gates): when a test fails, fix the *code* not the test (unless the test is wrong); for a new feature, write the failing test first.
16
+
17
+ **MINOR** — enriches shipped skeleton content; no config key, no CLI/layout change; contamination-clean (no project tokens). Consumers pick it up on the next `npx baldart update` (byte-stable on everything else; adopted overlays untouched). `primitive_version` (AGENTS) 1.1.0 → 1.2.0; CLAUDE stub unchanged (1.1.0).
18
+
19
+ ### Changed
20
+
21
+ - **`framework/templates/primitives/AGENTS.md`** — added the file-navigation + investigation + implementation-completeness MUSTs and the testing convention in Workflow Gates. `primitive_version` → 1.2.0.
22
+ - **`framework/templates/primitives/AGENTS.CHANGELOG.md`** — `1.2.0` entry.
23
+
8
24
  ## [4.85.0] - 2026-07-01
9
25
 
10
26
  **Root-file primitives gain universal delegation + quality rules (primitive `1.1.0`).** The v4.83.0 skeletons pointed to `.claude/agents/REGISTRY.md` for agent routing but never stated the single highest-frequency rule in the always-loaded file: *which agent writes what*. The `AGENTS.md` primitive (the cross-tool SSOT Codex also reads) now carries a **MUST**: plan-and-delegate, never write substantial code inline — **code / logic / tests → `coder`**, **UI → `ui-expert`** (dual-tool: Claude Task `subagent_type` / Codex custom agent by name; every other agent routes via `REGISTRY.md`). The `CLAUDE.md` stub's Plan Mode names both agents to match (was `coder` only).
package/VERSION CHANGED
@@ -1 +1 @@
1
- 4.85.0
1
+ 4.86.0
@@ -4,6 +4,19 @@ Formato: [Keep a Changelog](https://keepachangelog.com/) · [SemVer](https://sem
4
4
  Questo è il changelog INTERNO dello skeleton spedito (`primitive_version`), separato dal
5
5
  file `AGENTS.md` generato nel consumer e indipendente dal `VERSION` del framework.
6
6
 
7
+ ## 1.2.0 — 2026-07-01
8
+
9
+ - Restored the universal **working-discipline** rules the lean v1.0.0 rewrite had dropped
10
+ (they prevent concrete, recurring failures and are exactly the "conventions an agent
11
+ can't infer" the file should carry):
12
+ - MUST find real paths via Glob/Grep before reading — never guess from naming; check git
13
+ history + source before claiming a feature exists or not.
14
+ - MUST verify every plan item / acceptance criterion is wired + functional before DONE
15
+ (cross-check against code, not intent).
16
+ - Testing convention in Workflow Gates: fix the **code** not the test (unless the test is
17
+ wrong); for a new feature, write the failing test first.
18
+ - All stack-agnostic; no project tokens (contamination-clean).
19
+
7
20
  ## 1.1.0 — 2026-07-01
8
21
 
9
22
  - **Implementation-delegation MUST**: plan-and-delegate, never write substantial code
@@ -1,4 +1,4 @@
1
- <!-- baldart-primitive: name=AGENTS primitive_version=1.1.0
1
+ <!-- baldart-primitive: name=AGENTS primitive_version=1.2.0
2
2
  This is the SHIPPED SKELETON. The writer (src/utils/root-primitives.js) strips
3
3
  this banner, resolves every {{ slot }} / {{> partial }} / {{#flag}} from
4
4
  baldart.config.yml (+ package.json/README), merges .baldart/overlays/AGENTS.md,
@@ -51,6 +51,11 @@ mechanics — this file remains the single source of truth for the protocol.
51
51
  `backup/<YYYYMMDD>-<reason>` tag first). Deleting an already-merged branch is routine.
52
52
  - MUST NOT hardcode secrets / tokens / API keys (env vars only), expose internal stack
53
53
  traces in responses, or log PII. Validate & parse every external / user input at the boundary.
54
+ - MUST find real file paths via Glob/Grep before reading — never guess a path from naming
55
+ conventions. Check git history (`git log --all --grep`) and the actual source before
56
+ claiming a feature does or does not exist.
57
+ - MUST verify every plan item / acceptance criterion is wired and functional before marking
58
+ work DONE — cross-check each against the code, not the intent.
54
59
  - MUST run the testing gates before DONE (see § Workflow Gates).
55
60
 
56
61
  **Feature-gated (active only when the flag is `true` in `baldart.config.yml`):**
@@ -93,6 +98,9 @@ run a full build every commit.
93
98
  **Pre-PR (once, before opening a PR):** full build (must pass) · unit tests (if they exist) ·
94
99
  E2E for critical-flow changes.
95
100
 
101
+ When a test fails, fix the **code**, not the test — unless the test itself is wrong. For a
102
+ new feature with tests, prefer writing the failing test first, then the minimum code to pass.
103
+
96
104
  ## Quality bar (SHOULD)
97
105
 
98
106
  - SHOULD respect performance budgets — avoid unbounded or N+1 data access on list paths
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baldart",
3
- "version": "4.85.0",
3
+ "version": "4.86.0",
4
4
  "description": "Claude Agent Framework - Reusable framework for coordinating AI agents and humans in software projects",
5
5
  "bin": {
6
6
  "baldart": "./bin/baldart.js"