instar 1.3.875 → 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.875",
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:25:13.928Z",
5
- "instarVersion": "1.3.875",
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,50 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- assembled-by: assemble-next-md -->
4
+ <!-- bump: patch -->
5
+
6
+ ## What Changed
7
+
8
+ Added `docs/AI-EMPLOYEE-ROADMAP.md` — the program-level roadmap that maps the
9
+ apprenticeship program onto instar's top-level goal: an agent that works as a
10
+ fully engaged AI employee. It defines the three capabilities that make up that
11
+ posture — multi-machine coherence (3–4 machines, one identity), first-class
12
+ chat-platform citizenship (Telegram today, Slack as the primary workplace
13
+ surface next), and multi-principal service (every staff member served by the
14
+ same agent with no identity bleed) — and lays each out as a stage ladder
15
+ (A1→A4, B1→B3, C1→C3) with an explicit, evidence-gated exit bar. The method is
16
+ prove-it-on-the-apprentice-first: every capability is developed and de-risked
17
+ on a prototype agent under observation, through the same user channels a human
18
+ would use, before any production agent inherits the configuration. Graduation
19
+ is serial and evidence-gated — recorded, artifact-backed acceptances, never a
20
+ vibe.
21
+
22
+ This is documentation only. No code, config, hook, job, template, or test
23
+ changes; no runtime surface; no behavior change for any deployed agent.
24
+
25
+ ## What to Tell Your User
26
+
27
+ Nothing changes in how your agent behaves. The project now carries a public
28
+ roadmap document describing where the platform is headed — an agent that works
29
+ like a real employee: present on several machines as one coherent identity, a
30
+ well-mannered citizen of workplace chat (Slack next), and able to serve a whole
31
+ team without mixing people up — and how each step gets proven on a supervised
32
+ prototype before it ever reaches a production agent.
33
+
34
+ ## Summary of New Capabilities
35
+
36
+ - None (documentation only). New artifact: `docs/AI-EMPLOYEE-ROADMAP.md`, the
37
+ program-level map from the apprenticeship program to the full AI-employee
38
+ posture, with evidence-gated graduation criteria per capability.
39
+
40
+ ## Evidence
41
+
42
+ - `docs/AI-EMPLOYEE-ROADMAP.md` — the roadmap itself (deliberately
43
+ organization-agnostic for this public repo).
44
+ - `docs/specs/ai-employee-roadmap.eli16.md` — plain-English explainer.
45
+ - `upgrades/side-effects/ai-employee-roadmap.md` — side-effects review; every
46
+ question resolves to "documentation-only, no runtime surface";
47
+ multi-machine posture unified-via-git; rollback = revert the doc.
48
+ - Sanity: the whole-tree stall-coverage CI ratchet
49
+ (`tests/unit/stall-coverage-ratchet.test.ts`) runs green on this tree —
50
+ the change coexists with the freshly-landed PR-A ratchet.
@@ -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,86 @@
1
+ # Side-Effects Review — ai-employee-roadmap (docs-only)
2
+
3
+ **Change:** adds `docs/AI-EMPLOYEE-ROADMAP.md` — the program-level roadmap from
4
+ the apprenticeship program to a full AI-employee posture (multi-machine
5
+ coherence, first-class Slack citizenship, multi-principal service), with
6
+ per-capability stage ladders and evidence-gated exit bars. Plus the standard
7
+ artifacts (this review, the ELI16, the release fragment). **No source, config,
8
+ template, hook, job, or test files are touched.** Documentation-only, no
9
+ runtime surface.
10
+
11
+ ## Phase 1 principle check (recorded)
12
+
13
+ Does this change involve a decision point? **No.** The document describes a
14
+ program and its graduation criteria; it ships no validator, gate, sentinel, or
15
+ any code that evaluates anything. The graduation decisions it describes are
16
+ explicitly human/overseer acceptances recorded as artifacts — and none of that
17
+ machinery ships here. Signal-vs-authority is not implicated: nothing here can
18
+ block, allow, or judge.
19
+
20
+ ## 1. Over-block
21
+
22
+ Nothing can be over-blocked: documentation-only, no runtime surface. The change
23
+ introduces no blocking surface of any kind — no CI check, no gate, no hook. The
24
+ only "block" it could ever exert is social (a reader citing the roadmap), which
25
+ is outside the runtime.
26
+
27
+ ## 2. Under-block
28
+
29
+ Nothing can be under-blocked: documentation-only, no runtime surface. No
30
+ enforcement is promised by this change, so there is no enforcement to be
31
+ incomplete. The exit bars the document names are enforced (or not) by the
32
+ machinery of their own workstreams, each with its own specs and reviews.
33
+
34
+ ## 3. Level-of-abstraction fit
35
+
36
+ Right layer. A program-level roadmap belongs in `docs/` at the repo root
37
+ (`docs/AI-EMPLOYEE-ROADMAP.md`), above the individual capability specs it
38
+ references and below nothing — it is the map that points at the specs, not a
39
+ duplicate of any of them. It deliberately contains no schedule and no
40
+ organization-specific content (agent names, staffing, rollout order stay with
41
+ the operator, outside this public repo).
42
+
43
+ ## 4. Signal vs authority compliance
44
+
45
+ Compliant vacuously: documentation-only, no runtime surface. The change creates
46
+ no authority (nothing blocks) and no signal (nothing observes). The document
47
+ itself *describes* the signal→authority discipline of the apprenticeship
48
+ (observe-only guards graduating to enforcing on evidence), which is consistent
49
+ with `docs/signal-vs-authority.md`, but describing it is not implementing it.
50
+
51
+ ## 5. Interactions
52
+
53
+ None at runtime: documentation-only, no runtime surface. No job, sentinel,
54
+ route, or hook reads this file. Repo-level interactions are benign: it cites
55
+ existing specs (e.g. the apprenticeship scaffold spec, framework stall-coverage
56
+ work) by path; if those move, the references go stale — a docs-freshness
57
+ concern (the cartographer sweep's domain), not a behavior risk.
58
+
59
+ ## 6. External surfaces
60
+
61
+ None: documentation-only, no runtime surface. No API route, no config key, no
62
+ message to any user, no notification, no npm-shipped runtime change (the file
63
+ rides the package inertly as documentation). The document was deliberately
64
+ written organization-agnostic for this public repo — it names no organization,
65
+ person, or deployed agent.
66
+
67
+ ## 7. Multi-machine posture
68
+
69
+ **Unified-via-git.** The document is a repo-tracked file; every machine sees
70
+ the same content at the same SHA. No per-machine runtime state is created, so
71
+ there is nothing to strand, sync, or reconcile.
72
+
73
+ ## 8. Rollback cost
74
+
75
+ Revert the doc (one revert of this commit). No data migration, no agent state,
76
+ no config, no deployed-behavior change to unwind. Cheapest possible rollback
77
+ class.
78
+
79
+ ## Second-pass review
80
+
81
+ **Not required.** The second-pass trigger is for changes that wire
82
+ block/allow decisions, session-lifecycle, messaging, or dispatch behavior —
83
+ this change wires nothing: documentation-only, no runtime surface, no decision
84
+ point, no enforcement. There is no code for a second reviewer to contradict
85
+ against the artifact; the only reviewable claim ("the doc says what the ELI16
86
+ and fragment say it says") is verified by reading the three files side by side.
@@ -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.