instar 1.3.1982 → 1.3.1984

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.
Files changed (33) hide show
  1. package/dashboard/console/console.css +7 -0
  2. package/dashboard/console/needs-strip.js +22 -5
  3. package/dashboard/console/plans-model.js +3 -0
  4. package/dist/core/QuotaAwareScheduler.d.ts.map +1 -1
  5. package/dist/core/QuotaAwareScheduler.js +4 -26
  6. package/dist/core/QuotaAwareScheduler.js.map +1 -1
  7. package/dist/core/SessionManager.d.ts.map +1 -1
  8. package/dist/core/SessionManager.js +473 -443
  9. package/dist/core/SessionManager.js.map +1 -1
  10. package/dist/core/UsageWallRescue.d.ts +2 -1
  11. package/dist/core/UsageWallRescue.d.ts.map +1 -1
  12. package/dist/core/UsageWallRescue.js +4 -3
  13. package/dist/core/UsageWallRescue.js.map +1 -1
  14. package/dist/core/windowAwareChoice.d.ts +3 -0
  15. package/dist/core/windowAwareChoice.d.ts.map +1 -1
  16. package/dist/core/windowAwareChoice.js +18 -20
  17. package/dist/core/windowAwareChoice.js.map +1 -1
  18. package/dist/data/standards-guard-index.json +1 -1
  19. package/dist/data/standards-guard-index.meta.json +2 -2
  20. package/dist/data/standards-registry.meta.json +1 -1
  21. package/dist/native/InstarWedgeCanary.app/Contents/MacOS/InstarWedgeCanary +0 -0
  22. package/dist/native/instar-desktop-host +0 -0
  23. package/package.json +1 -1
  24. package/src/data/awareness/codex-weekly-reset-routing.md +8 -0
  25. package/src/data/builtin-manifest.json +3 -3
  26. package/src/data/standards-guard-index.json +1 -1
  27. package/src/data/standards-guard-index.meta.json +2 -2
  28. package/src/data/standards-registry.meta.json +1 -1
  29. package/upgrades/1.3.1983.md +16 -0
  30. package/upgrades/1.3.1984.md +22 -0
  31. package/upgrades/side-effects/codex-weekly-reset-routing.md +77 -0
  32. package/upgrades/side-effects/needs-you-clear-groups.md +44 -0
  33. package/upgrades/side-effects/usage-pool-roots-fixture.md +70 -0
@@ -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.