baldart 5.3.0 → 5.3.1

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,27 @@ 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
+ ## [5.3.1] - 2026-07-03
9
+
10
+ **AGENTS.md primitive 1.7.3 — anti-fabricated-policy guard on the grounding spawn.**
11
+ A live Codex session on an up-to-date consumer (mayo) reconstructed the
12
+ `codebase-architect PROFILE=ui` mandate correctly and then self-exempted by
13
+ inventing a runtime constraint ("subagent tool disponibile ma policy runtime lo
14
+ vieta senza delega esplicita") that exists nowhere — the only real Codex limit
15
+ is `agents.max_depth: 1`, which forbids *nested* spawns from inside a subagent,
16
+ never the top-level session. Recurrence of the 1.7.0/v4.98.0 misreading class:
17
+ the AGENTS.md delegation rules inverted into "spawn only on explicit user
18
+ delegation".
19
+
20
+ - **Primitive `AGENTS.md` 1.7.3**: the grounding MUST now states in place that
21
+ **the mandate IS the delegation** — claiming a runtime policy requires prior
22
+ user delegation is named as non-compliant, and the degrade precondition is
23
+ tightened to "Task tool absent AND no
24
+ `.codex/agents/codebase-architect.toml`". Declaring the tool available and
25
+ degrading anyway is a protocol violation, not a fallback.
26
+ - Codex parity: portable (the primitive is the cross-tool SSOT; the guard's
27
+ Codex branch cites the real `max_depth` semantics from `CODEX-AGENTS.md`).
28
+
8
29
  ## [5.3.0] - 2026-07-03
9
30
 
10
31
  **Haiku banned fleet-wide + FEAT-0067 post-mortem fixes.** The FEAT-0067 audit
package/VERSION CHANGED
@@ -1 +1 @@
1
- 5.3.0
1
+ 5.3.1
@@ -4,6 +4,22 @@ 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.7.3 — 2026-07-03
8
+
9
+ - **Anti-fabricated-policy guard: no runtime policy gates the `codebase-architect` spawn.**
10
+ A live Codex session (mayo, UP-TO-DATE install with 1.7.2) correctly reconstructed the
11
+ mandate ("Grounding obbligatorio via codebase-architect PROFILE=ui") and then self-exempted
12
+ by inventing a constraint — "subagent tool disponibile ma policy runtime lo vieta senza
13
+ delega esplicita" — a policy that exists nowhere (framework or Codex runtime; the only real
14
+ Codex limit is `agents.max_depth: 1`, which forbids *nested* spawns from inside a subagent,
15
+ never the top-level session). Same misreading class as 1.7.0's Claude/Codex asymmetry: the
16
+ AGENTS.md *delegation* rules ("MUST delegate Heavy implementation…") inverted into "I may
17
+ only spawn when the user explicitly delegates". The MUST now states in place that **the
18
+ mandate IS the delegation**, names the fabricated-policy claim as non-compliant, and
19
+ tightens the degrade precondition to "Task tool absent AND no
20
+ `.codex/agents/codebase-architect.toml`" — declaring the tool available and degrading anyway
21
+ is a protocol violation, not a fallback. Portable (Claude + Codex).
22
+
7
23
  ## 1.7.2 — 2026-07-02
8
24
 
9
25
  - **Negative guard: the understanding step is `codebase-architect`, NOT a generic search
@@ -1,4 +1,4 @@
1
- <!-- baldart-primitive: name=AGENTS primitive_version=1.7.2
1
+ <!-- baldart-primitive: name=AGENTS primitive_version=1.7.3
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,
@@ -43,7 +43,15 @@ mechanics — this file remains the single source of truth for the protocol.
43
43
  matching profile) — **NOT the generic built-in search / `general-purpose` agent**, which
44
44
  lacks the profile engine, Reuse Analysis, Canonical Evidence, and the Return Contract; that
45
45
  is the agent to invoke, not a generic explorer.
46
- Only if NEITHER invocation mechanism exists, degrade explicitly to inline retrieval
46
+ **No runtime policy gates this spawn this mandate IS the delegation.** Never claim the
47
+ spawn requires "explicit user delegation" or that a "runtime policy forbids it": no such
48
+ rule exists on Claude Code or Codex (Codex's `agents.max_depth: 1` only forbids a
49
+ *subagent* spawning further agents — it never applies to the top-level session, which is
50
+ where this rule fires). If the invocation mechanism is reachable, invoking it is the only
51
+ compliant move; declaring the tool available and then degrading anyway is a protocol
52
+ violation, not a fallback.
53
+ Only if NEITHER invocation mechanism exists (Task tool absent AND no
54
+ `.codex/agents/codebase-architect.toml`), degrade explicitly to inline retrieval
47
55
  (code-graph → LSP → Grep) and SAY SO.
48
56
  - MUST have any **Heavy** plan (see § Change Tiers) reviewed BEFORE presenting it for
49
57
  approval — run `plan-auditor` + `doc-reviewer` (in parallel), incorporate their feedback,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baldart",
3
- "version": "5.3.0",
3
+ "version": "5.3.1",
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"