instar 1.3.193 → 1.3.194

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instar",
3
- "version": "1.3.193",
3
+ "version": "1.3.194",
4
4
  "description": "Coherence infrastructure for self-evolving AI agents — on the Claude Code or Codex subscription you already have.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "./builtin-manifest.schema.json",
3
3
  "schemaVersion": 1,
4
- "generatedAt": "2026-06-02T00:35:32.161Z",
5
- "instarVersion": "1.3.193",
4
+ "generatedAt": "2026-06-02T01:01:44.852Z",
5
+ "instarVersion": "1.3.194",
6
6
  "entryCount": 193,
7
7
  "entries": {
8
8
  "hook:session-start": {
@@ -0,0 +1,39 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- assembled-by: assemble-next-md -->
4
+ <!-- bump: patch -->
5
+
6
+ ## What Changed
7
+
8
+ The instar-*developing* agent is now aware of the **tier system** that shipped earlier in
9
+ the tiered-development project. The `/instar-dev` skill gains a focused "Tiered development
10
+ (tier signal → you decide → audited)" section, and the constitution
11
+ (`docs/STANDARDS-REGISTRY.md`) gains a **Tiered Development** standard deriving from *The
12
+ Body and the Mind*. Documentation-only — no runtime, gate, classifier, or trace-writer
13
+ change. This is Steps C + D (the final steps) of the tiered-development project.
14
+
15
+ ## What to Tell Your User
16
+
17
+ Nothing to do — this only affects how the agent develops instar itself. It records, in the
18
+ developer's own playbook and constitution, the rule already enforced by the commit gate:
19
+ process scales with a change's size and risk, the gate *informs* the tier, the agent
20
+ *decides*, and the decision is *audited*.
21
+
22
+ ## Summary of New Capabilities
23
+
24
+ - `skills/instar-dev/SKILL.md` — new section: the gate prints a tier SIGNAL; the agent
25
+ DECLARES the tier in its trace; the Tier-1 light path (ELI16 + side-effects, no converged
26
+ spec) vs the Tier-2+ full chain; the Tier-1 auto-merge policy; the `belowFloor` decision
27
+ audit (`.instar/instar-dev-decisions.jsonl`).
28
+ - `docs/STANDARDS-REGISTRY.md` — new "Tiered Development" standard in the Building family,
29
+ cross-linked to *The Body and the Mind*.
30
+
31
+ ## Evidence
32
+
33
+ - `npx tsc --noEmit` exit 0; `npm run lint` green. Documentation-only — no runtime behavior
34
+ changed, so no new tests; the new skill section was verified against the live gate
35
+ (`scripts/instar-dev-precommit.js` + `scripts/lib/classify-tier.mjs`).
36
+ - **Migration parity: none.** `instar-dev` is dev-repo-only — not in `package.json`
37
+ `files[]`, not installed by `installBuiltinSkills()`, and `generateClaudeMd()` is
38
+ untouched — so no agent-installed file changed and no `PostUpdateMigrator` migration is
39
+ required.
@@ -0,0 +1,84 @@
1
+ # Side-Effects Review — Tiered-dev awareness + migration parity (Steps C + D)
2
+
3
+ **Slug:** `tiered-dev-awareness-stepCD`
4
+ **Date:** 2026-06-01
5
+ **Author:** echo
6
+ **Spec:** `docs/specs/tiered-dev-awareness-stepCD-spec.md`
7
+ **Project:** Steps C + D (final) of the Tiered Development Process
8
+
9
+ ## Summary of the change
10
+
11
+ Makes the instar-*developing* agent **aware** of the tier system shipped in Step A (#666) —
12
+ the gate's size+risk tier SIGNAL, the agent's tier DECLARATION in the trace, the Tier-1
13
+ light path (ELI16 + side-effects, no converged spec), the Tier-1 auto-merge policy, and the
14
+ `belowFloor` decision audit — and records the **migration-parity** analysis closing the
15
+ project. Documentation-only; no runtime code, no gate/classifier/trace-writer change.
16
+
17
+ **Files changed (in-scope):**
18
+ - `skills/instar-dev/SKILL.md` — adds one focused **"Tiered development (tier signal → you
19
+ decide → audited)"** section before "What this skill explicitly does NOT do". It states:
20
+ the gate prints `suggestedTier` (size + risk floor, from `scripts/lib/classify-tier.mjs`)
21
+ but the agent declares the tier (`write-trace.mjs --tier <1|2|3> --tier-reasoning ...`,
22
+ `--eli16-path`/`--side-effects-path` for Tier-1); Tier-1 requirement set (ELI16 +
23
+ side-effects, no pre-approved converged spec) vs Tier-2+ (the full chain); no-declared-tier
24
+ → Tier-2 (back-compat); the Tier-1 auto-merge policy (clean Tier-1 on green CI + operator
25
+ spot-check); the audit (`.instar/instar-dev-decisions.jsonl`, the loud `belowFloor`
26
+ override). Cross-links **The Body and the Mind**. 9 added lines (Tier-1 by the very
27
+ classifier it documents).
28
+
29
+ **Files changed (not in-scope for the commit gate):**
30
+ - `docs/STANDARDS-REGISTRY.md` — adds a concise **Tiered Development** standard in the
31
+ **Building — engineering discipline** family (house format: Rule / Derives from / In
32
+ practice / Earned from / Traces to the goal / Applied through), framed as deriving from
33
+ **The Body and the Mind** (the gate informs, the agent decides, the decision is audited;
34
+ formality scales with size AND risk).
35
+ - `docs/specs/tiered-dev-awareness-stepCD-spec.md` + `.eli16.md` — the design record.
36
+ - `upgrades/next/tiered-dev-awareness-stepCD.md` — the release fragment.
37
+
38
+ ## The seven side-effects questions
39
+
40
+ 1. **Over-block** — N/A. No filter, gate, or block is added or changed. This is prose.
41
+ 2. **Under-block** — N/A. No detection logic. The Step-A audit's honest blind spot
42
+ (heuristic-evasion is not flagged) is unchanged and already documented in the Step-A spec.
43
+ 3. **Level-of-abstraction fit** — Correct layer. Awareness for the *developing* agent
44
+ belongs in its skill (`/instar-dev`) and the constitution it is governed by, not in the
45
+ end-agent CLAUDE.md template (a customer bot never runs the instar-dev gate). Confirmed
46
+ against code (see Migration parity).
47
+ 4. **Signal vs authority compliance** — Compliant, and the documented system *is* the
48
+ canonical instance: the gate informs (signal), the agent decides (authority), the
49
+ decision is audited. The docs add no authority of their own.
50
+ 5. **Interactions** — None. The SKILL.md section sits beside the existing phases; it does
51
+ not change any phase or the gate's behavior. The constitution entry derives from an
52
+ existing standard (The Body and the Mind) whose "Applied through" already names the
53
+ tier-classifier, so the cross-link is consistent both directions — no contradiction.
54
+ 6. **External surfaces** — None visible to end users, other agents, or other systems. No
55
+ runtime, no API, no timing or conversation-state dependency. Dev-facing docs only.
56
+ 7. **Rollback cost** — Trivial. Revert two documentation edits + the artifacts. No deployed
57
+ state to repair, no migration to unwind.
58
+
59
+ ## Migration parity
60
+
61
+ **None needed — verified against code.** This is dev-tooling, not an agent-installed file.
62
+
63
+ - **`package.json` `files[]`** ships only `.claude/skills/{setup-wizard,secret-setup,autonomous,build}`.
64
+ The top-level `skills/` directory (home of `skills/instar-dev/SKILL.md`) is **not** in
65
+ `files[]`, so it is never published to npm or landed in an end-agent home.
66
+ - **`installBuiltinSkills()`** (`src/commands/init.ts`) installs a fixed end-agent allowlist
67
+ (`evolve`, `learn`, `gaps`, `commit-action`, `feedback`, `triage-findings`, `reflect`,
68
+ `coherence-audit`, `degradation-digest`, `state-integrity-check`, `memory-hygiene`,
69
+ `guardian-pulse`, `session-continuity-check`, `git-sync`, `rollback-from-artifact`).
70
+ `instar-dev` and `spec-converge` are **not** in it.
71
+ - **`generateClaudeMd()`** (`src/scaffold/templates.ts`) is **untouched** and the tiered
72
+ process is absent from it today. The Agent-Awareness Standard it serves governs *end-agent*
73
+ capabilities; the instar-dev commit gate is not one, so it correctly stays out.
74
+
75
+ Therefore **no `PostUpdateMigrator` / `migrateClaudeMd` change is required** — every changed
76
+ file is dev-repo-only (skill, constitution doc, spec) or a release artifact, and no
77
+ agent-installed file is touched. (Mirrors Step B's `/spec-converge` migration-parity
78
+ conclusion.)
79
+
80
+ ## Tests / lint
81
+
82
+ `npx tsc --noEmit` exit 0 (no TS changed); `npm run lint` green. No runtime behavior changed,
83
+ so no new unit/integration/E2E tests — the SKILL.md section was verified for accuracy against
84
+ the live gate (`scripts/instar-dev-precommit.js` Steps 3.5/4.5/4.6 + `classify-tier.mjs`).