instar 1.3.876 → 1.3.877

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.876",
3
+ "version": "1.3.877",
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-07-18T20:43:31.622Z",
5
- "instarVersion": "1.3.876",
4
+ "generatedAt": "2026-07-18T22:29:29.128Z",
5
+ "instarVersion": "1.3.877",
6
6
  "entryCount": 202,
7
7
  "entries": {
8
8
  "hook:session-start": {
@@ -0,0 +1,53 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- assembled-by: assemble-next-md -->
4
+ <!-- bump: patch -->
5
+
6
+ ## What Changed
7
+
8
+ Added one section to `docs/apprenticeship/PROGRAM-CONCEPTS.md`: "The
9
+ Hidden-Test Battery (regression tripwires)" — the durable, generic record of
10
+ the mechanism the operator approved on 2026-07-18. The battery is a set of
11
+ undisclosed scenarios that each detect the LOSS of an already-valued behavior:
12
+ passing means nothing broke, never that growth was achieved (growth stays with
13
+ the overseer's judgment). Scenarios stay undisclosed during a drive and are
14
+ scored retrospectively (pass / fail / not-triggered, with evidence pointers)
15
+ as ONE necessary-not-sufficient input to ladder promotions — a failure can
16
+ block a rung, no quantity of passes can earn one. The mechanism itself is
17
+ disclosed to the mentee once (results appear in drive reports the mentee can
18
+ read); only the scenario list stays hidden. The battery is disposable (a
19
+ performed-for scenario is retired; the operator reviews the list at every rung
20
+ change) and guardrailed: never a leaderboard, never a mid-drive threat, never
21
+ a gate on day-to-day work, never scenarios that can harm real users, data, or
22
+ services. Scenarios are preferentially captured from naturally-arising
23
+ situations, manufactured only as a last resort and never on production
24
+ surfaces.
25
+
26
+ This is documentation only. No code, config, hook, job, template, or test
27
+ changes; no runtime surface; no behavior change for any deployed agent.
28
+
29
+ ## What to Tell Your User
30
+
31
+ Nothing changes in how your agent behaves. The apprenticeship program's
32
+ documentation now records how regression tripwires work: a small, undisclosed
33
+ set of checks that only ever fire when a learning agent LOSES a good habit it
34
+ already had — never a score to chase, never a leaderboard, never a gate on
35
+ daily work — with results reviewed openly after each drive as one input to
36
+ promotion decisions a human still makes.
37
+
38
+ ## Summary of New Capabilities
39
+
40
+ - None (documentation only). New content: the "Hidden-Test Battery" section in
41
+ `docs/apprenticeship/PROGRAM-CONCEPTS.md`, recording the adopted
42
+ regression-tripwire discipline for the apprenticeship program.
43
+
44
+ ## Evidence
45
+
46
+ - `docs/apprenticeship/PROGRAM-CONCEPTS.md` — the new section (mechanism only;
47
+ deliberately no scenario, agent, or organization content).
48
+ - `docs/specs/hidden-test-battery-adoption.eli16.md` — plain-English explainer.
49
+ - `upgrades/side-effects/hidden-test-battery-adoption.md` — side-effects
50
+ review; every question resolves to "documentation-only, no runtime surface";
51
+ multi-machine posture unified-via-git; rollback = revert the doc.
52
+ - Sanity: the whole-tree stall-coverage CI ratchet
53
+ (`tests/unit/stall-coverage-ratchet.test.ts`) runs green on this tree.
@@ -0,0 +1,89 @@
1
+ # Side-Effects Review — hidden-test-battery-adoption (docs-only)
2
+
3
+ **Change:** appends one section — "The Hidden-Test Battery (regression
4
+ tripwires)" — to `docs/apprenticeship/PROGRAM-CONCEPTS.md`, recording the
5
+ operator-approved (2026-07-18) mechanism generically: undisclosed regression
6
+ tripwires over already-valued behaviors, scored retrospectively as one
7
+ necessary-not-sufficient input to ladder promotions, disposable, guardrailed.
8
+ Plus the standard artifacts (this review, the ELI16, the release fragment).
9
+ **No source, config, template, hook, job, or test files are touched.**
10
+ Documentation-only, no runtime surface.
11
+
12
+ ## Phase 1 principle check (recorded)
13
+
14
+ Does this change involve a decision point? **No.** The section describes an
15
+ evaluation discipline whose verdicts are produced by humans (operator/overseer)
16
+ in retrospective review; it ships no validator, gate, sentinel, scorer, or any
17
+ code that evaluates anything. Signal-vs-authority is not implicated: nothing
18
+ here can block, allow, or judge — and the described mechanism itself is
19
+ explicitly bounded to "can block a rung, never earn one", a human-held
20
+ authority outside this repo's runtime.
21
+
22
+ ## 1. Over-block
23
+
24
+ Nothing can be over-blocked: documentation-only, no runtime surface. The change
25
+ introduces no blocking surface of any kind — no CI check, no gate, no hook. The
26
+ described discipline explicitly forbids gating day-to-day work on tripwire
27
+ results, and even that prohibition is prose, not enforcement.
28
+
29
+ ## 2. Under-block
30
+
31
+ Nothing can be under-blocked: documentation-only, no runtime surface. No
32
+ enforcement is promised by this change, so there is no enforcement to be
33
+ incomplete. If the battery discipline is ever mechanized (a scenario registry,
34
+ a scoring surface), that work arrives with its own spec and its own review.
35
+
36
+ ## 3. Level-of-abstraction fit
37
+
38
+ Right layer. The mechanism is a program-level concept, and
39
+ `docs/apprenticeship/PROGRAM-CONCEPTS.md` is exactly the canonical home for
40
+ operator-ratified program framings (it already holds five). The section stays
41
+ generic by design — no concrete scenario, no agent name, no organization
42
+ specifics — because scenario content is operator-held and undisclosed by the
43
+ mechanism's own rules; putting scenarios in a public repo doc would break the
44
+ mechanism it documents.
45
+
46
+ ## 4. Signal vs authority compliance
47
+
48
+ Compliant vacuously: documentation-only, no runtime surface. The change creates
49
+ no authority (nothing blocks) and no signal (nothing observes). The documented
50
+ mechanism is itself shaped by the signal-vs-authority principle — tripwire
51
+ results are a signal into a human promotion decision, never an authority that
52
+ gates work — but describing that shape is not implementing it.
53
+
54
+ ## 5. Interactions
55
+
56
+ None at runtime: documentation-only, no runtime surface. No job, sentinel,
57
+ route, or hook reads this file. Repo-level interactions are benign: the new
58
+ section closes the "bounded adoption" left open by the same file's concept 5
59
+ (evaluation cautions), and coexists with it — concept 5 records the caution,
60
+ the new section records the adopted mechanism that satisfies it.
61
+
62
+ ## 6. External surfaces
63
+
64
+ None: documentation-only, no runtime surface. No API route, no config key, no
65
+ message to any user, no notification, no npm-shipped runtime change (the file
66
+ rides the package inertly as documentation). The section was deliberately
67
+ written mechanism-only for this public repo — it names no scenario, agent,
68
+ person, or organization.
69
+
70
+ ## 7. Multi-machine posture
71
+
72
+ **Unified-via-git.** The document is a repo-tracked file; every machine sees
73
+ the same content at the same SHA. No per-machine runtime state is created, so
74
+ there is nothing to strand, sync, or reconcile.
75
+
76
+ ## 8. Rollback cost
77
+
78
+ Revert the doc (one revert of this commit). No data migration, no agent state,
79
+ no config, no deployed-behavior change to unwind. Cheapest possible rollback
80
+ class.
81
+
82
+ ## Second-pass review
83
+
84
+ **Not required.** The second-pass trigger is for changes that wire block/allow
85
+ decisions, session-lifecycle, messaging, or dispatch behavior — this change
86
+ wires nothing: documentation-only, no runtime surface, no decision point, no
87
+ enforcement. There is no code for a second reviewer to contradict against the
88
+ artifact; the only reviewable claim ("the section says what the ELI16 and
89
+ fragment say it says") is verified by reading the three files side by side.