instar 1.3.2018 → 1.3.2019
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/dist/core/PostUpdateMigrator.d.ts +1 -1
- package/dist/core/PostUpdateMigrator.d.ts.map +1 -1
- package/dist/core/PostUpdateMigrator.js +8 -1
- package/dist/core/PostUpdateMigrator.js.map +1 -1
- package/dist/data/standards-guard-index.json +1 -1
- package/dist/data/standards-guard-index.meta.json +2 -2
- package/dist/data/standards-registry.meta.json +1 -1
- package/dist/localVerify/LocalVerifyService.js +1 -1
- package/dist/localVerify/LocalVerifyService.js.map +1 -1
- package/dist/localVerify/orchestrator.d.ts +6 -3
- package/dist/localVerify/orchestrator.d.ts.map +1 -1
- package/dist/localVerify/orchestrator.js +7 -7
- package/dist/localVerify/orchestrator.js.map +1 -1
- package/dist/native/InstarWedgeCanary.app/Contents/MacOS/InstarWedgeCanary +0 -0
- package/dist/native/instar-desktop-host +0 -0
- package/dist/scaffold/templates.js +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +20 -20
- package/src/data/standards-guard-index.json +1 -1
- package/src/data/standards-guard-index.meta.json +2 -2
- package/src/data/standards-registry.meta.json +1 -1
- package/src/scaffold/templates.ts +1 -1
- package/upgrades/1.3.2019.md +20 -0
- package/upgrades/side-effects/local-verify-five-integration-shards.md +60 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./builtin-manifest.schema.json",
|
|
3
3
|
"schemaVersion": 1,
|
|
4
|
-
"generatedAt": "2026-11-
|
|
5
|
-
"instarVersion": "1.3.
|
|
4
|
+
"generatedAt": "2026-11-25T01:13:39.443Z",
|
|
5
|
+
"instarVersion": "1.3.2019",
|
|
6
6
|
"entryCount": 210,
|
|
7
7
|
"entries": {
|
|
8
8
|
"hook:session-start": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"domain": "identity",
|
|
12
12
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
13
13
|
"installedPath": ".instar/hooks/instar/session-start.sh",
|
|
14
|
-
"contentHash": "
|
|
14
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
15
15
|
"since": "2025-01-01"
|
|
16
16
|
},
|
|
17
17
|
"hook:dangerous-command-guard": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"domain": "safety",
|
|
21
21
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
22
22
|
"installedPath": ".instar/hooks/instar/dangerous-command-guard.sh",
|
|
23
|
-
"contentHash": "
|
|
23
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
24
24
|
"since": "2025-01-01"
|
|
25
25
|
},
|
|
26
26
|
"hook:grounding-before-messaging": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"domain": "safety",
|
|
30
30
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
31
31
|
"installedPath": ".instar/hooks/instar/grounding-before-messaging.sh",
|
|
32
|
-
"contentHash": "
|
|
32
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
33
33
|
"since": "2025-01-01"
|
|
34
34
|
},
|
|
35
35
|
"hook:compaction-recovery": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"domain": "identity",
|
|
39
39
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
40
40
|
"installedPath": ".instar/hooks/instar/compaction-recovery.sh",
|
|
41
|
-
"contentHash": "
|
|
41
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
42
42
|
"since": "2025-01-01"
|
|
43
43
|
},
|
|
44
44
|
"hook:external-operation-gate": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"domain": "safety",
|
|
48
48
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
49
49
|
"installedPath": ".instar/hooks/instar/external-operation-gate.js",
|
|
50
|
-
"contentHash": "
|
|
50
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
51
51
|
"since": "2025-01-01"
|
|
52
52
|
},
|
|
53
53
|
"hook:deferral-detector": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"domain": "safety",
|
|
57
57
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
58
58
|
"installedPath": ".instar/hooks/instar/deferral-detector.js",
|
|
59
|
-
"contentHash": "
|
|
59
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
60
60
|
"since": "2025-01-01"
|
|
61
61
|
},
|
|
62
62
|
"hook:self-stop-guard": {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"domain": "coherence",
|
|
66
66
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
67
67
|
"installedPath": ".instar/hooks/instar/self-stop-guard.js",
|
|
68
|
-
"contentHash": "
|
|
68
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
69
69
|
"since": "2025-01-01"
|
|
70
70
|
},
|
|
71
71
|
"hook:post-action-reflection": {
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"domain": "evolution",
|
|
75
75
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
76
76
|
"installedPath": ".instar/hooks/instar/post-action-reflection.js",
|
|
77
|
-
"contentHash": "
|
|
77
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
78
78
|
"since": "2025-01-01"
|
|
79
79
|
},
|
|
80
80
|
"hook:external-communication-guard": {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"domain": "safety",
|
|
84
84
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
85
85
|
"installedPath": ".instar/hooks/instar/external-communication-guard.js",
|
|
86
|
-
"contentHash": "
|
|
86
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
87
87
|
"since": "2025-01-01"
|
|
88
88
|
},
|
|
89
89
|
"hook:telegram-origin-guard": {
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"domain": "coherence",
|
|
102
102
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
103
103
|
"installedPath": ".instar/hooks/instar/scope-coherence-collector.js",
|
|
104
|
-
"contentHash": "
|
|
104
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
105
105
|
"since": "2025-01-01"
|
|
106
106
|
},
|
|
107
107
|
"hook:scope-coherence-checkpoint": {
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"domain": "coherence",
|
|
111
111
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
112
112
|
"installedPath": ".instar/hooks/instar/scope-coherence-checkpoint.js",
|
|
113
|
-
"contentHash": "
|
|
113
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
114
114
|
"since": "2025-01-01"
|
|
115
115
|
},
|
|
116
116
|
"hook:free-text-guard": {
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"domain": "safety",
|
|
120
120
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
121
121
|
"installedPath": ".instar/hooks/instar/free-text-guard.sh",
|
|
122
|
-
"contentHash": "
|
|
122
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
123
123
|
"since": "2025-01-01"
|
|
124
124
|
},
|
|
125
125
|
"hook:claim-intercept": {
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"domain": "coherence",
|
|
129
129
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
130
130
|
"installedPath": ".instar/hooks/instar/claim-intercept.js",
|
|
131
|
-
"contentHash": "
|
|
131
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
132
132
|
"since": "2025-01-01"
|
|
133
133
|
},
|
|
134
134
|
"hook:claim-intercept-response": {
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"domain": "coherence",
|
|
138
138
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
139
139
|
"installedPath": ".instar/hooks/instar/claim-intercept-response.js",
|
|
140
|
-
"contentHash": "
|
|
140
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
141
141
|
"since": "2025-01-01"
|
|
142
142
|
},
|
|
143
143
|
"hook:stop-gate-router": {
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"domain": "safety",
|
|
147
147
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
148
148
|
"installedPath": ".instar/hooks/instar/stop-gate-router.js",
|
|
149
|
-
"contentHash": "
|
|
149
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
150
150
|
"since": "2025-01-01"
|
|
151
151
|
},
|
|
152
152
|
"hook:attribution-gate": {
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"domain": "safety",
|
|
156
156
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
157
157
|
"installedPath": ".instar/hooks/instar/attribution-gate.js",
|
|
158
|
-
"contentHash": "
|
|
158
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
159
159
|
"since": "2025-01-01"
|
|
160
160
|
},
|
|
161
161
|
"hook:auto-approve-permissions": {
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
"domain": "safety",
|
|
165
165
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
166
166
|
"installedPath": ".instar/hooks/instar/auto-approve-permissions.js",
|
|
167
|
-
"contentHash": "
|
|
167
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
168
168
|
"since": "2025-01-01"
|
|
169
169
|
},
|
|
170
170
|
"job:health-check": {
|
|
@@ -1628,7 +1628,7 @@
|
|
|
1628
1628
|
"type": "subsystem",
|
|
1629
1629
|
"domain": "updates",
|
|
1630
1630
|
"sourcePath": "src/core/PostUpdateMigrator.ts",
|
|
1631
|
-
"contentHash": "
|
|
1631
|
+
"contentHash": "ba6223f77aafbf481242e55785d55937044ad7a1f1f7feeba0c1c216d5bb01e5",
|
|
1632
1632
|
"since": "2025-01-01"
|
|
1633
1633
|
},
|
|
1634
1634
|
"subsystem:scheduler": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"generatedFrom": "source-tree",
|
|
4
4
|
"registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
|
|
5
|
-
"packageVersion": "1.3.
|
|
5
|
+
"packageVersion": "1.3.2019",
|
|
6
6
|
"guards": [
|
|
7
7
|
{
|
|
8
8
|
"ref": "docs/audits/phase-b/f10-triage.md",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"sha256": "
|
|
2
|
+
"sha256": "bc3972d877292518038cb09fd962245880883e00ea805cfe9febcd647324d970",
|
|
3
3
|
"registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
|
|
4
|
-
"packageVersion": "1.3.
|
|
4
|
+
"packageVersion": "1.3.2019"
|
|
5
5
|
}
|
|
@@ -961,7 +961,7 @@ ${PREFERENCES_LIST_CLAUDEMD_LINE(port)}
|
|
|
961
961
|
- Local Verify waiting list: a PR refused because the queue is full (\`queue-full\`, HTTP 429) keeps its place on a waiting list, ordered by when it was first refused. When a slot frees, the PR refused earliest gets it; a newer PR asking first is refused again with the audit row \`queue-full-waiting\`. A waiter keeps its place only while it keeps being offered (within 30 minutes of running time while \`main\` is healthy); one that stops being offered, closes or merges gives the place up, so a waiter can never hold a slot empty. A pushed head keeps the place. The read surface (\`GET /local-verify\` → \`waiting\`) lists the waiters; the admitted entry carries \`firstRefusedAt\`, so the wait before entering the queue can be measured. A \`merge-throughput\` PR, a repair while \`main\` is red, and a re-queued head are admitted exactly as before. When the user asks "why is my PR still not in the verify queue?" → read \`waiting\` for its place in line.
|
|
962
962
|
- **Focused PR preflight.** Optional \`monitoring.localVerify.preflightMode: off|observe|enforce\` (default off) runs bounded changed tests after build/lint and before the full suite; \`main\` never uses it. Observe records a diagnostic and always continues. Enforce can stop an automatically rediscoverable PR on a repeated assertion failure, then schedules a full-suite replay without preflight; only the complete full-suite record can authorize a green merge. A skipped preflight is not a passed check. \`GET /local-verify\` → \`preflight\` shows mode and replay obligations. When a PR is red with \`preflight-red\` or appears to be waiting on a replay, read this status and its exact-head record before describing the result.
|
|
963
963
|
- **Failed-file diagnosis.** Optional \`monitoring.localVerify.failedFileDiagnosis: off|observe|auto\` (default off) asks one idle peer to rerun one to three failed test files against the exact PR merge and base. It is advisory: \`GET /local-verify/record?pr=&head=&base=\` includes a separate \`diagnosis\` projection, and \`GET /local-verify/diagnosis?pr=&head=&base=\` reads it directly. Labels such as \`pr-reproducible\` or \`machine-or-flake\` describe file-level evidence only; no diagnosis changes the red record, merge gate, or main health. When a PR fails in named files and the user asks whether it reproduces elsewhere, read this projection before explaining. A full verify preempts peer diagnosis.
|
|
964
|
-
- **Balanced shards.** The integration lane runs as 2 processes and the e2e lane as 3, each given files planned from the per-file times of earlier runs on this machine (\`<verifyRoot>/file-durations.json\`, ignored above 2 MB) so the processes finish together; with too little history the lanes use vitest \`--shard\`. The history decides only which process runs a file, never whether it runs. Live setting \`monitoring.localVerify.laneShards\` (e.g. \`{"integration": 1, "e2e": 2}\` restores the old split; 1..4
|
|
964
|
+
- **Balanced shards.** The integration lane runs as 2 processes and the e2e lane as 3, each given files planned from the per-file times of earlier runs on this machine (\`<verifyRoot>/file-durations.json\`, ignored above 2 MB) so the processes finish together; with too little history the lanes use vitest \`--shard\`. The history decides only which process runs a file, never whether it runs. Live setting \`monitoring.localVerify.laneShards\` (e.g. \`{"integration": 1, "e2e": 2}\` restores the old split; integration 1..5 and e2e 1..4; read at each start). When the user asks "why is each verify faster / why are there more test processes?" → this; if runs get slower or flaky under load, lower the counts.
|
|
965
965
|
- **When to use** (PROACTIVE): before telling the user a PR "passed" or is "waiting on CI", read its record here; a full verify takes about 45 minutes.
|
|
966
966
|
|
|
967
967
|
**Skip Ledger** — Track computational work to avoid repeating expensive operations. When a job or session processes items (files, messages, records), log what was processed so the next run can skip already-handled items.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Upgrade Guide — vNEXT
|
|
2
|
+
|
|
3
|
+
<!-- assembled-by: assemble-next-md -->
|
|
4
|
+
<!-- bump: patch -->
|
|
5
|
+
|
|
6
|
+
## What Changed
|
|
7
|
+
|
|
8
|
+
Local Verify accepts an opt-in fifth integration test process through `monitoring.localVerify.laneShards.integration`. Teams can try this setting on a machine with spare capacity when integration tests determine how long verification takes.
|
|
9
|
+
|
|
10
|
+
## What to Tell Your User
|
|
11
|
+
|
|
12
|
+
The test line can try a fifth integration test process on a machine that has room for it. Existing machines keep their configured counts until an operator changes the setting.
|
|
13
|
+
|
|
14
|
+
## Summary of New Capabilities
|
|
15
|
+
|
|
16
|
+
The existing integration process setting accepts five.
|
|
17
|
+
|
|
18
|
+
## Evidence
|
|
19
|
+
|
|
20
|
+
Targeted tests cover the service, runner, and the agent-guide refresh.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Side-Effects Review — a fifth integration test process
|
|
2
|
+
|
|
3
|
+
**Version / slug:** local-verify-five-integration-shards
|
|
4
|
+
**Date:** 2026-11-24
|
|
5
|
+
**Author:** Echo
|
|
6
|
+
**Second-pass reviewer:** Independent Codex reviewer
|
|
7
|
+
|
|
8
|
+
## Summary of the change
|
|
9
|
+
|
|
10
|
+
Tier 1. The existing per-machine integration process setting accepts five. The staged change is small and reversible. One targeted review pass checked the service and runner limits, defaults, migration, and test-file coverage. The first commit attempt identified the missing review artifact and trace.
|
|
11
|
+
|
|
12
|
+
## Decision-point inventory
|
|
13
|
+
|
|
14
|
+
The runner and service share a maximum for each lane and fall back to existing defaults on an invalid override. A documentation migration updates the old setting range in agent guides.
|
|
15
|
+
|
|
16
|
+
## 1. Over-block
|
|
17
|
+
|
|
18
|
+
The accepted integration range expands by one. The runner accepts all counts it previously accepted.
|
|
19
|
+
|
|
20
|
+
## 2. Under-block
|
|
21
|
+
|
|
22
|
+
An operator can choose five on a machine where it increases resource contention. The existing host protections still apply, and the trial needs live wall-time and failure measurements.
|
|
23
|
+
|
|
24
|
+
## 3. Level-of-abstraction fit
|
|
25
|
+
|
|
26
|
+
The service validates the live run input and the runner validates inputs from its other callers. Both read the same lane limits.
|
|
27
|
+
|
|
28
|
+
## 4. Signal vs authority compliance
|
|
29
|
+
|
|
30
|
+
There is no new blocking authority. The numerical range defines a configuration value. Merge evidence still comes from the existing verification result. [Signal vs authority](../../docs/signal-vs-authority.md)
|
|
31
|
+
|
|
32
|
+
## 4b. Judgment-point check
|
|
33
|
+
|
|
34
|
+
There is no new static heuristic at a competing-signals decision point.
|
|
35
|
+
|
|
36
|
+
## 5. Interactions
|
|
37
|
+
|
|
38
|
+
The runner uses one configuration snapshot per run. Its existing assignment code partitions the same file set across the configured process count. Report joins still check for missing and repeated files. An extra configured process increases peak resource use.
|
|
39
|
+
|
|
40
|
+
## 6. External surfaces
|
|
41
|
+
|
|
42
|
+
The agent guide documents the expanded setting. The migration updates matching guide lines idempotently. No operator interface or status response shape changes.
|
|
43
|
+
|
|
44
|
+
## 7. Multi-machine posture
|
|
45
|
+
|
|
46
|
+
The setting is machine-local by design because capacity differs by machine. There are no new notices, links, or persistent run records.
|
|
47
|
+
|
|
48
|
+
## 8. Rollback cost
|
|
49
|
+
|
|
50
|
+
Return the integration count to four for the next run. Reverting the code restores the old upper limit. No recorded verification state requires repair.
|
|
51
|
+
|
|
52
|
+
## Evidence
|
|
53
|
+
|
|
54
|
+
Seven targeted service and runner tests and three agent-guide tests passed. A TypeScript check and the normal commit checks verify the updated code. The five-process result is a planning estimate until a live comparison is complete.
|
|
55
|
+
|
|
56
|
+
## Second-pass review of the opt-in trial
|
|
57
|
+
|
|
58
|
+
**Reviewer:** Independent Codex reviewer, read-only subagent
|
|
59
|
+
|
|
60
|
+
An independent read-only reviewer checked commit `784dd9596`. Verdict: **concur**. The service and child use the same integer and per-lane limits. Existing valid settings and defaults are preserved. Five processes use the same file partition, first-part exclusion, deadlines, coverage checks, and failure handling. The agent-guide migration is narrowly scoped to the previous wording and is idempotent. The merged diff passes git's whitespace check. This review establishes correctness of the setting path. Wall time and resource contention require the live comparison.
|