instar 1.3.1982 → 1.3.1983
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/dashboard/console/console.css +7 -0
- package/dashboard/console/needs-strip.js +22 -5
- package/dashboard/console/plans-model.js +3 -0
- 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/native/InstarWedgeCanary.app/Contents/MacOS/InstarWedgeCanary +0 -0
- package/dist/native/instar-desktop-host +0 -0
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +2 -2
- 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/upgrades/1.3.1983.md +16 -0
- package/upgrades/side-effects/needs-you-clear-groups.md +44 -0
- package/upgrades/side-effects/usage-pool-roots-fixture.md +70 -0
|
@@ -1771,3 +1771,10 @@ a.needs-row:hover { background: var(--surface-raised); }
|
|
|
1771
1771
|
.wc-tile-foot .work-actions { width: 100%; }
|
|
1772
1772
|
.wc-tile-foot .work-actions > button { flex: 1 1 auto; }
|
|
1773
1773
|
}
|
|
1774
|
+
|
|
1775
|
+
/* A long approval inbox stays within the screen; all received actions remain reachable. */
|
|
1776
|
+
.needs-groups { max-height: min(52vh, 28rem); overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--strip-line); border-top: 0; background: var(--surface); scrollbar-gutter: stable; }
|
|
1777
|
+
.needs-group-heading { margin: 0; padding: 10px 14px 4px; font-size: 12px; font-weight: 650; color: var(--text-muted); }
|
|
1778
|
+
.needs-groups .needs-rows { border: 0; }
|
|
1779
|
+
.needs-group + .needs-group { border-top: 1px solid var(--hairline); }
|
|
1780
|
+
.needs-groups:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
@@ -48,7 +48,7 @@ export function stripModel(res, { expanded = false } = {}) {
|
|
|
48
48
|
// "12+" when some place could not be checked: at least that many (the line under it names what was missed).
|
|
49
49
|
badge: `${count}${complete ? '' : '+'}`,
|
|
50
50
|
incomplete: !complete,
|
|
51
|
-
title: count > 0 ?
|
|
51
|
+
title: count > 0 ? 'Needs you' : 'Nothing found so far',
|
|
52
52
|
rows,
|
|
53
53
|
more: Math.max(0, items.length - rows.length),
|
|
54
54
|
truncated,
|
|
@@ -84,6 +84,18 @@ export function cardLinkOf(row) {
|
|
|
84
84
|
return { href: c.href, label: typeof c.label === 'string' && c.label ? c.label : 'Has a card on the work board' };
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
+
/** Group only by structured source and severity; never infer whether an ask is legitimate from its wording. */
|
|
88
|
+
export function needGroups(rows) {
|
|
89
|
+
const labels = { plans: 'Plans to review', workBoard: 'Work that needs you', 'chief-of-staff': 'Project decisions', accounts: 'Sign-ins', 'document-decisions': 'Documents to review', approvals: 'Permissions to review' };
|
|
90
|
+
const groups = new Map();
|
|
91
|
+
for (const row of rows) {
|
|
92
|
+
const label = row.tone === 'bad' ? 'Problems to check' : labels[row.source] || 'Other requests';
|
|
93
|
+
if (!groups.has(label)) groups.set(label, { label, rows: [] });
|
|
94
|
+
groups.get(label).rows.push(row);
|
|
95
|
+
}
|
|
96
|
+
return [...groups.values()];
|
|
97
|
+
}
|
|
98
|
+
|
|
87
99
|
// Each shell owns its answer and timer. A late read from a previous door cannot populate this one.
|
|
88
100
|
let stopPrevious;
|
|
89
101
|
// Open or closed, kept across page changes in this tab (closed by default).
|
|
@@ -114,7 +126,7 @@ export function mountNeedsStrip(host, { get, hrefFor, open: startOpen }) {
|
|
|
114
126
|
return;
|
|
115
127
|
}
|
|
116
128
|
const heading = el('h2', { class: 'needs-heading', tabindex: '-1', text: m.title });
|
|
117
|
-
const
|
|
129
|
+
const renderRow = (r) => {
|
|
118
130
|
const href = hrefFor ? hrefFor(r.action) : null;
|
|
119
131
|
const body = [el('span', { class: TONE_DOT[r.tone] || 'dot attn', 'aria-hidden': 'true' }),
|
|
120
132
|
el('span', { class: 'needs-text' }, el('span', { class: 'needs-title', text: r.title }), el('span', { class: 'needs-why', text: r.why || '' }))];
|
|
@@ -128,7 +140,12 @@ export function mountNeedsStrip(host, { get, hrefFor, open: startOpen }) {
|
|
|
128
140
|
return el('li', {}, href ? el('a', { class: 'needs-row', href }, ...body) : el('div', { class: 'needs-row' }, ...body),
|
|
129
141
|
...(showCard ? [el('a', { class: 'link-btn needs-card-link', href: card.href, text: card.label })] : []),
|
|
130
142
|
...(also ? [el('a', { class: 'needs-also', href: also, text: r.alsoOpens.label || 'Open the project conversation' })] : []));
|
|
131
|
-
}
|
|
143
|
+
};
|
|
144
|
+
const rows = expanded ? el('div', { class: 'needs-groups', tabindex: '0', role: 'region', 'aria-label': 'Requests that need you' }, needGroups(m.rows).map((g) =>
|
|
145
|
+
el('section', { class: 'needs-group', 'aria-label': g.label },
|
|
146
|
+
el('h3', { class: 'needs-group-heading', text: `${g.label} · ${g.rows.length}` }),
|
|
147
|
+
el('ul', { class: 'needs-rows' }, g.rows.map(renderRow)))))
|
|
148
|
+
: el('ul', { class: 'needs-rows' }, m.rows.map(renderRow));
|
|
132
149
|
const controls = [];
|
|
133
150
|
if (m.more > 0 || (expanded && (m.rows.length > STRIP_ROWS || m.page?.previousCursor)) || (!expanded && m.page?.nextCursor)) {
|
|
134
151
|
const text = expanded ? 'Show fewer' : m.page?.nextCursor ? 'Show more needs' : m.truncated ? `Show ${m.more} more available ${m.more === 1 ? 'item' : 'items'}` :
|
|
@@ -138,7 +155,7 @@ export function mountNeedsStrip(host, { get, hrefFor, open: startOpen }) {
|
|
|
138
155
|
if (!expanded && m.page?.start > 0) { void load({ cursor: null, start: 0 }); return; }
|
|
139
156
|
if (!expanded) cursor = null;
|
|
140
157
|
paint();
|
|
141
|
-
const firstNewRow = expanded && host.querySelector(
|
|
158
|
+
const firstNewRow = expanded && host.querySelector('.needs-groups');
|
|
142
159
|
(firstNewRow || host.querySelector('[aria-expanded]'))?.focus();
|
|
143
160
|
}, { 'aria-expanded': String(expanded) }));
|
|
144
161
|
}
|
|
@@ -179,7 +196,7 @@ export function mountNeedsStrip(host, { get, hrefFor, open: startOpen }) {
|
|
|
179
196
|
const focused = document.activeElement;
|
|
180
197
|
const focusInStrip = host.contains(focused);
|
|
181
198
|
// Keep a live action stable during ordinary polling. A heading is only a reading position.
|
|
182
|
-
if (background && res?.ok && !failure && focusInStrip && focused.matches('a, button')) return;
|
|
199
|
+
if (background && res?.ok && !failure && focusInStrip && focused.matches('a, button, .needs-groups')) return;
|
|
183
200
|
failure = res?.ok || denied ? null : res?.status === 409 ? 'stale' : 'retry';
|
|
184
201
|
retryTarget = denied ? { cursor: null, start: 0 } : target;
|
|
185
202
|
cursor = denied ? null : target.cursor;
|
|
@@ -48,6 +48,9 @@ export function projectNeedsOk(p) {
|
|
|
48
48
|
if (!p || !OPEN_STATUSES.has(p.status)) return false;
|
|
49
49
|
if ((Number(p.unacknowledgedAdvanceCount) || 0) > 0) return true;
|
|
50
50
|
const cur = currentRoundIndex(p);
|
|
51
|
+
// A tracking-only project has not requested a launch. A real scheduled launch
|
|
52
|
+
// still requires acknowledgment, even when automatic advancement is disabled.
|
|
53
|
+
if (p.autoAdvance === false && !p.rounds?.[cur]?.autoAdvanceAt) return false;
|
|
51
54
|
return cur === 0 && !p.firstLaunchAckAt;
|
|
52
55
|
}
|
|
53
56
|
|
|
@@ -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.1983",
|
|
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": "d89e6d694d0c54d7786e16d79be398a87a91f95c5f15f36c614048414818b49c",
|
|
3
3
|
"registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
|
|
4
|
-
"packageVersion": "1.3.
|
|
4
|
+
"packageVersion": "1.3.1983"
|
|
5
5
|
}
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./builtin-manifest.schema.json",
|
|
3
3
|
"schemaVersion": 1,
|
|
4
|
-
"generatedAt": "2026-11-23T09:
|
|
5
|
-
"instarVersion": "1.3.
|
|
4
|
+
"generatedAt": "2026-11-23T09:59:35.301Z",
|
|
5
|
+
"instarVersion": "1.3.1983",
|
|
6
6
|
"entryCount": 210,
|
|
7
7
|
"entries": {
|
|
8
8
|
"hook:session-start": {
|
|
@@ -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.1983",
|
|
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": "d89e6d694d0c54d7786e16d79be398a87a91f95c5f15f36c614048414818b49c",
|
|
3
3
|
"registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
|
|
4
|
-
"packageVersion": "1.3.
|
|
4
|
+
"packageVersion": "1.3.1983"
|
|
5
5
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Upgrade Guide — vNEXT
|
|
2
|
+
|
|
3
|
+
<!-- assembled-by: assemble-next-md -->
|
|
4
|
+
<!-- bump: patch -->
|
|
5
|
+
|
|
6
|
+
## What Changed
|
|
7
|
+
|
|
8
|
+
Needs you groups the expanded list into clearer sections and keeps it within the screen. Tracking-only projects no longer ask for launch approval before a launch is scheduled. Explicit decisions and scheduled launches remain visible.
|
|
9
|
+
|
|
10
|
+
## What to Tell Your User
|
|
11
|
+
|
|
12
|
+
The full Needs you list is easier to scan and scrolls within your screen. Adding a project just to track work no longer asks you to approve an unscheduled launch. Real requests remain visible.
|
|
13
|
+
|
|
14
|
+
## Summary of New Capabilities
|
|
15
|
+
|
|
16
|
+
No new capability or setting. This repairs the display and classification of existing requests.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Side-Effects Review — Clear Needs You Groups
|
|
2
|
+
|
|
3
|
+
Date: 2026-11-22. Author: echo. Tier 1, reversible display repair.
|
|
4
|
+
|
|
5
|
+
## Summary
|
|
6
|
+
Group the expanded Needs-you list by structured source/severity, bound its height and preserve keyboard position. A tracking-only project with autoAdvance:false and no scheduled launch does not create a first-launch ask. Unacknowledged advances, scheduled launches and explicit owner asks remain. No state mutation. One review round found incorrect group wording and keyboard focus/refresh issues; these were corrected and re-reviewed.
|
|
7
|
+
|
|
8
|
+
## Decision-point inventory
|
|
9
|
+
The projectNeedsOk display predicate consumes explicit project settings and scheduled-launch state. No approval authority changes. needGroups only labels received rows; it neither filters nor deduplicates them.
|
|
10
|
+
|
|
11
|
+
## 1. Over-block
|
|
12
|
+
No action block/allow surface. Tracking projects with a scheduled launch remain visible. An unknown autoAdvance setting retains existing conservative behavior. Explicit needsUser and awaiting-user asks still appear.
|
|
13
|
+
|
|
14
|
+
## 2. Under-block
|
|
15
|
+
No action block/allow surface. A tracking record may still contain an explicit stale ask; resolving its authority is outside this presentation logic and remains visible.
|
|
16
|
+
|
|
17
|
+
## 3. Level-of-abstraction fit
|
|
18
|
+
Pure console models are already loaded by the Needs route. Display grouping lives in the strip, not source permissions. No second inbox or count is introduced.
|
|
19
|
+
|
|
20
|
+
## 4. Signal vs authority compliance
|
|
21
|
+
Reference: docs/signal-vs-authority.md. This is a read-only signal display. ProjectRoundRunner retains first-launch and advancement authority. No text heuristics judge whether an ask is legitimate.
|
|
22
|
+
|
|
23
|
+
## 4b. Judgment-point check
|
|
24
|
+
No new static heuristic at a competing-signals decision point. An explicitly unscheduled tracking project has no requested first launch; the enumerable display condition does not authorize one.
|
|
25
|
+
|
|
26
|
+
## 5. Interactions
|
|
27
|
+
All received actions, card links, page cursors and incomplete-read notices remain. Successful polling preserves a focused action or scroll region; access denial still clears it. Unknown sources receive Other requests.
|
|
28
|
+
|
|
29
|
+
## 6. External surfaces
|
|
30
|
+
The expanded web dashboard list changes visually. The shared /needs model no longer counts unscheduled tracking launches as owner tasks, so other clients receive the corrected count too. No API schema changes.
|
|
31
|
+
|
|
32
|
+
## 6b. Operator-surface quality
|
|
33
|
+
Compact line stays the entry point. The expanded list has descriptive headings and bounded scrolling. Work-board rows say Work that needs you, covering approvals, questions and completion checks. No technical identifiers added.
|
|
34
|
+
|
|
35
|
+
## 7. Multi-machine posture
|
|
36
|
+
Presentation ships in dashboard assets. Needs routes load the same console model per agent server; source replication and pool reads are unchanged. No machine-local state or links are added.
|
|
37
|
+
|
|
38
|
+
## 8. Rollback cost
|
|
39
|
+
Revert the code and redeploy normally. No migration, source-state edits or approval repair is required.
|
|
40
|
+
|
|
41
|
+
## Validation and review
|
|
42
|
+
68 focused tests passed across console-plans, console-needs-pages and needs-read. Includes a real server composer test with tracking, scheduled and explicit owner requests, mixed-source grouping, paging, denied reads and scroll-position preservation. Three independent reviewers checked correctness, gaps and missing tests. Correctness and accessibility reviewers re-read corrections and concurred. Complete verification will run through the throughput coordinator; targeted checks are not a full-green claim. Browser previews use captured live /needs data and current source assets, not a released deployment.
|
|
43
|
+
|
|
44
|
+
Browser review: previews at 1440×1000 and 390×844 use captured live data and current assets. The count appeared twice in the expanded heading, so the earlier saved wording repair is included here: the badge alone carries the count. Pre-push rejected a malformed release fragment before sending; corrected by adding its required section heading. No gate was waived.
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Side-Effects Review — Order the usage-ledger fixture before its event
|
|
2
|
+
|
|
3
|
+
**Version / slug:** `usage-pool-roots-fixture`
|
|
4
|
+
**Date:** 2026-11-22
|
|
5
|
+
**Author:** echo
|
|
6
|
+
**Second-pass reviewer:** reset_spec_integration (independent small-change review)
|
|
7
|
+
|
|
8
|
+
## Summary of the change
|
|
9
|
+
|
|
10
|
+
Tier 1, small and reversible. One unit-test fixture changes; its plain-language overview and this required review accompany it. The test creates both original files before choosing their event timestamp and then writes their observations. The previous thirty-millisecond guess could expire before the Claude file was created under load. Production code, all assertions and the real backup-age wait remain unchanged. One review pass; commit/gate attempts are recorded in the work evidence.
|
|
11
|
+
|
|
12
|
+
## Decision-point inventory
|
|
13
|
+
|
|
14
|
+
Only fixture construction order changes. There is no production decision point, account routing, credential mutation or new authority.
|
|
15
|
+
|
|
16
|
+
## 1. Over-block
|
|
17
|
+
|
|
18
|
+
No runtime block/allow surface. A real failure to count an original or deduplicate copied history still fails the same assertions.
|
|
19
|
+
|
|
20
|
+
## 2. Under-block
|
|
21
|
+
|
|
22
|
+
No runtime safeguard is loosened. The fixture does not simulate every filesystem clock anomaly; its event is explicitly at or after both recorded original birth times.
|
|
23
|
+
|
|
24
|
+
## 3. Level-of-abstraction fit
|
|
25
|
+
|
|
26
|
+
The incorrect assumption is in test setup. The production ledger's original-versus-copy classification is left intact.
|
|
27
|
+
|
|
28
|
+
## 4. Signal vs authority compliance
|
|
29
|
+
|
|
30
|
+
Required reference: [Signal vs Authority](../../docs/signal-vs-authority.md). There is no runtime authority change. The test continues to surface a failure signal to normal verification.
|
|
31
|
+
|
|
32
|
+
## 4b. Judgment-point check
|
|
33
|
+
|
|
34
|
+
No new static heuristic at a competing-signals decision point. The fixture establishes a causal ordering rather than choosing a timeout to stand in for it.
|
|
35
|
+
|
|
36
|
+
## 5. Interactions
|
|
37
|
+
|
|
38
|
+
Both original files retain their birth times when rewritten. The later backup creation still occurs after the existing 1130 ms wait, preserving Codex's one-second copied-history tolerance. Both backup-first and original-first scan orders remain tested, as does repeat-scan idempotency.
|
|
39
|
+
|
|
40
|
+
## 6. External surfaces
|
|
41
|
+
|
|
42
|
+
No user-facing or external runtime surface changes. No account, model, configuration or saved transcript is touched outside temporary test fixtures.
|
|
43
|
+
|
|
44
|
+
## 6b. Operator-surface quality
|
|
45
|
+
|
|
46
|
+
No operator surface changes. The accompanying overview explains the test repair in ordinary language.
|
|
47
|
+
|
|
48
|
+
## 7. Multi-machine posture
|
|
49
|
+
|
|
50
|
+
The test fix is replicated through source control and runs on every verification machine. Fixture files are machine-local because filesystem birth times are physical local observations; they never enter agent synchronization.
|
|
51
|
+
machine-local-justification: hardware-bound-resource
|
|
52
|
+
|
|
53
|
+
## 8. Rollback cost
|
|
54
|
+
|
|
55
|
+
Revert the test commit. No data migration, credential restoration or account change is needed.
|
|
56
|
+
|
|
57
|
+
## Evidence pointers
|
|
58
|
+
|
|
59
|
+
- Retained Windows full-run evidence: `.instar/recovery/retention1961/pr3625-manual-full-suite.log` on the Studio. This is separate from main's failed-file-only record; no missing main assertion is fabricated.
|
|
60
|
+
- Controlled old-fixture delay: `.instar/recovery/token-reset-routing/usage-pool-roots-delay-red.log` on the Studio. A 60 ms delay reproduced calls 1, input 123 and output 7 instead of calls 2, input 132 and output 10.
|
|
61
|
+
- Corrected fixture and identical delayed diagnostic: `.instar/recovery/token-reset-routing/usage-pool-roots-delay-green.log` on the Studio. The diagnostic file is temporary and is not part of this pull request.
|
|
62
|
+
- Independent small-change review concurred: no material findings; all assertions and production logic remain intact.
|
|
63
|
+
- Full verification remains the normal shared Local Verify gate; targeted evidence is not claimed as a complete suite pass or a deployment.
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
## Current-main verification repair (2026-11-22)
|
|
67
|
+
|
|
68
|
+
The original exact7fb451e6d7fb63ad216d827d93c5acbab658f510 complete gate failed in console-chats-page.test.ts, not in this ledger file. The coordinator retained the failed filename/count but its original assertion artifact is absent; neither this artifact nor source comparison reconstructs that historical assertion or proves its cause.
|
|
69
|
+
|
|
70
|
+
This merge brings the unchanged ledger fixture repair onto mainbc7d28135a7d298b68526d70a49a19856e9cc73e. The index retains main's console fixture byte-for-byte at blob473d0d1ed9c91a249c01cea530f84130927426f5 (the shared3655 lifecycle correction). No console assertions, native Web Locks or timeouts are edited by this repair. Independent base-alignment review concurred with no material findings. One new Node22 focused run of ledger8 plus console29 checks passed37/37; this is new supporting evidence, not a recovered historical assertion or full-gate clearance. A new normal complete gate on the corrected exact head is required before merge. Retained proof: .instar/recovery/token-reset-routing/usage-repair-current-main-focused.log.
|