baldart 4.85.0 → 4.87.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,33 @@ 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.87.0] - 2026-07-01
|
|
9
|
+
|
|
10
|
+
**Plan-review gate promoted to the cross-tool SSOT (AGENTS.md primitive `1.3.0`).** The "have the plan reviewed by `plan-auditor` + `doc-reviewer` before presenting it" rule lived only in the `CLAUDE.md` stub's Plan Mode — so Codex never ran it. Now that both agents exist on Codex (transpiled to `.codex/agents/`), the tool-agnostic principle is promoted into `AGENTS.md`: **MUST have any non-trivial plan reviewed by `plan-auditor` + `doc-reviewer` (in parallel), fold in their feedback, note the review gate in the plan, and present the ALREADY-reviewed plan — never a raw one.** The Claude-only `EnterPlanMode`/`ExitPlanMode` mechanics stay in `CLAUDE.md`; `AGENTS.md` carries the principle so both tools honor it.
|
|
11
|
+
|
|
12
|
+
**MINOR** — cross-tool enrichment of the shipped skeleton; no config key, no CLI/layout change, contamination-clean. Consumers pick it up on the next `npx baldart update`. `primitive_version` (AGENTS) 1.2.0 → 1.3.0; CLAUDE stub unchanged (1.1.0).
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- **`framework/templates/primitives/AGENTS.md`** — added the plan-review MUST after the `codebase-architect` MUST. `primitive_version` → 1.3.0.
|
|
17
|
+
- **`framework/templates/primitives/AGENTS.CHANGELOG.md`** — `1.3.0` entry.
|
|
18
|
+
|
|
19
|
+
## [4.86.0] - 2026-07-01
|
|
20
|
+
|
|
21
|
+
**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):
|
|
22
|
+
|
|
23
|
+
- **File navigation**: MUST find real paths via Glob/Grep before reading — never guess a path from naming conventions.
|
|
24
|
+
- **Investigation before claiming**: check git history (`git log --all --grep`) + the actual source before asserting a feature does or does not exist.
|
|
25
|
+
- **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.
|
|
26
|
+
- **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.
|
|
27
|
+
|
|
28
|
+
**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).
|
|
29
|
+
|
|
30
|
+
### Changed
|
|
31
|
+
|
|
32
|
+
- **`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.
|
|
33
|
+
- **`framework/templates/primitives/AGENTS.CHANGELOG.md`** — `1.2.0` entry.
|
|
34
|
+
|
|
8
35
|
## [4.85.0] - 2026-07-01
|
|
9
36
|
|
|
10
37
|
**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.
|
|
1
|
+
4.87.0
|
|
@@ -4,6 +4,28 @@ 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.3.0 — 2026-07-01
|
|
8
|
+
|
|
9
|
+
- **Plan-review gate promoted to the cross-tool SSOT**: MUST have any non-trivial plan
|
|
10
|
+
reviewed by `plan-auditor` + `doc-reviewer` (in parallel) and fold in their feedback
|
|
11
|
+
BEFORE presenting it for approval — present the already-reviewed plan, never a raw one.
|
|
12
|
+
Was Claude-only (CLAUDE.md Plan Mode, before `ExitPlanMode`); now in AGENTS.md so Codex
|
|
13
|
+
runs it too (both agents exist on Codex via the transpiler). The `EnterPlanMode`/
|
|
14
|
+
`ExitPlanMode` mechanics stay in CLAUDE.md; AGENTS.md carries the tool-agnostic principle.
|
|
15
|
+
|
|
16
|
+
## 1.2.0 — 2026-07-01
|
|
17
|
+
|
|
18
|
+
- Restored the universal **working-discipline** rules the lean v1.0.0 rewrite had dropped
|
|
19
|
+
(they prevent concrete, recurring failures and are exactly the "conventions an agent
|
|
20
|
+
can't infer" the file should carry):
|
|
21
|
+
- MUST find real paths via Glob/Grep before reading — never guess from naming; check git
|
|
22
|
+
history + source before claiming a feature exists or not.
|
|
23
|
+
- MUST verify every plan item / acceptance criterion is wired + functional before DONE
|
|
24
|
+
(cross-check against code, not intent).
|
|
25
|
+
- Testing convention in Workflow Gates: fix the **code** not the test (unless the test is
|
|
26
|
+
wrong); for a new feature, write the failing test first.
|
|
27
|
+
- All stack-agnostic; no project tokens (contamination-clean).
|
|
28
|
+
|
|
7
29
|
## 1.1.0 — 2026-07-01
|
|
8
30
|
|
|
9
31
|
- **Implementation-delegation MUST**: plan-and-delegate, never write substantial code
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- baldart-primitive: name=AGENTS primitive_version=1.
|
|
1
|
+
<!-- baldart-primitive: name=AGENTS primitive_version=1.3.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,
|
|
@@ -28,6 +28,10 @@ mechanics — this file remains the single source of truth for the protocol.
|
|
|
28
28
|
(Claude Code: Task tool `subagent_type: codebase-architect`; Codex: the custom agent by
|
|
29
29
|
name at `.codex/agents/codebase-architect.toml`). Only if NEITHER mechanism exists,
|
|
30
30
|
degrade explicitly to inline retrieval (code-graph → LSP → Grep) and SAY SO.
|
|
31
|
+
- MUST have any non-trivial plan reviewed BEFORE presenting it for approval — run
|
|
32
|
+
`plan-auditor` + `doc-reviewer` (in parallel), incorporate their feedback, and note in the
|
|
33
|
+
plan that the review gate was honored. Present the ALREADY-reviewed plan, never a raw one.
|
|
34
|
+
(Claude Code enforces this inside plan mode, before `ExitPlanMode` — see `CLAUDE.md`.)
|
|
31
35
|
- MUST delegate implementation to the domain agent — plan and delegate, do NOT write
|
|
32
36
|
substantial code inline: **code / logic / tests → `coder`**; **UI (components, pages,
|
|
33
37
|
styling, visual output) → `ui-expert`**. Same dual-tool invocation as `codebase-architect`
|
|
@@ -51,6 +55,11 @@ mechanics — this file remains the single source of truth for the protocol.
|
|
|
51
55
|
`backup/<YYYYMMDD>-<reason>` tag first). Deleting an already-merged branch is routine.
|
|
52
56
|
- MUST NOT hardcode secrets / tokens / API keys (env vars only), expose internal stack
|
|
53
57
|
traces in responses, or log PII. Validate & parse every external / user input at the boundary.
|
|
58
|
+
- MUST find real file paths via Glob/Grep before reading — never guess a path from naming
|
|
59
|
+
conventions. Check git history (`git log --all --grep`) and the actual source before
|
|
60
|
+
claiming a feature does or does not exist.
|
|
61
|
+
- MUST verify every plan item / acceptance criterion is wired and functional before marking
|
|
62
|
+
work DONE — cross-check each against the code, not the intent.
|
|
54
63
|
- MUST run the testing gates before DONE (see § Workflow Gates).
|
|
55
64
|
|
|
56
65
|
**Feature-gated (active only when the flag is `true` in `baldart.config.yml`):**
|
|
@@ -93,6 +102,9 @@ run a full build every commit.
|
|
|
93
102
|
**Pre-PR (once, before opening a PR):** full build (must pass) · unit tests (if they exist) ·
|
|
94
103
|
E2E for critical-flow changes.
|
|
95
104
|
|
|
105
|
+
When a test fails, fix the **code**, not the test — unless the test itself is wrong. For a
|
|
106
|
+
new feature with tests, prefer writing the failing test first, then the minimum code to pass.
|
|
107
|
+
|
|
96
108
|
## Quality bar (SHOULD)
|
|
97
109
|
|
|
98
110
|
- SHOULD respect performance budgets — avoid unbounded or N+1 data access on list paths
|