pi-session-continuity 0.1.0

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 (29) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/LICENSE +21 -0
  3. package/README.md +172 -0
  4. package/docs/deploys/README.md +18 -0
  5. package/docs/deploys/deploy-2026-07-07-SCOPE-0001-package-skeleton.md +53 -0
  6. package/docs/deploys/deploy-2026-07-07-SCOPE-0002-core-artifact-engine.md +39 -0
  7. package/docs/deploys/deploy-2026-07-07-SCOPE-0003-manual-checkpoint.md +38 -0
  8. package/docs/deploys/deploy-2026-07-07-SCOPE-0004-status-settings.md +38 -0
  9. package/docs/deploys/deploy-2026-07-07-SCOPE-0005-automatic-threshold.md +37 -0
  10. package/docs/deploys/deploy-2026-07-07-SCOPE-0006-compaction-hygiene.md +38 -0
  11. package/docs/deploys/deploy-2026-07-07-SCOPE-0007-tests-smoke.md +38 -0
  12. package/docs/deploys/deploy-2026-07-07-SCOPE-0008-public-docs-release-readiness.md +37 -0
  13. package/docs/deploys/deploy-2026-07-07-SCOPE-0009-dogfood-hardening-local-readiness.md +40 -0
  14. package/docs/deploys/deploy-2026-07-08-SCOPE-0010-ux-settings-menu.md +41 -0
  15. package/docs/deploys/deploy-2026-07-08-SCOPE-0011-compact-status-footer.md +26 -0
  16. package/docs/deploys/deploy-2026-07-08-SCOPE-0012-remove-settings-show.md +20 -0
  17. package/docs/deploys/deploy-2026-07-08-SCOPE-0014-status-and-effort.md +21 -0
  18. package/docs/deploys/deploy-2026-07-08-SCOPE-0016-codex-empty-synthesis.md +21 -0
  19. package/docs/product-spec.md +702 -0
  20. package/docs/release-readiness/local-v1-readiness-2026-07-07.md +76 -0
  21. package/extensions/session-continuity/index.ts +317 -0
  22. package/package.json +58 -0
  23. package/scripts/smoke/manual-checks.sh +42 -0
  24. package/src/artifact.ts +535 -0
  25. package/src/config.ts +360 -0
  26. package/src/constants.ts +68 -0
  27. package/src/handoff.ts +674 -0
  28. package/src/status.ts +130 -0
  29. package/src/trigger.ts +40 -0
@@ -0,0 +1,20 @@
1
+ # Deploy Note: Remove Settings Show From TUI
2
+
3
+ Type: SpecForge Deploy Note
4
+ Run ID: RUN-0012
5
+ Date: 2026-07-08
6
+ Status: Done
7
+ Area: Settings UX
8
+
9
+ ## Delivered
10
+
11
+ - Removed `settings show` from command completions and TUI behavior.
12
+ - Removed `Show current settings` from the settings menu.
13
+ - Kept `/continuity settings` as the single settings view in TUI, with textual fallback only outside TUI.
14
+
15
+ ## Evidence
16
+
17
+ - `npm test` — passed, 44 tests (`RUN-0012/CMD-0001`).
18
+ - `npm run typecheck` — passed (`RUN-0012/CMD-0002`).
19
+ - `npm pack --dry-run` — passed (`RUN-0012/CMD-0003`).
20
+ - Forbidden runtime terminology grep — no matches (`RUN-0012/CMD-0004`).
@@ -0,0 +1,21 @@
1
+ # Deploy Note: Status Panel Simplification and Synthesis Effort
2
+
3
+ Type: SpecForge Deploy Note
4
+ Run ID: RUN-0014
5
+ Date: 2026-07-08
6
+ Status: Done
7
+ Area: Status/settings UX and synthesis config
8
+
9
+ ## Delivered
10
+
11
+ - `/continuity status` now shows one formatted status panel without a duplicate diagnostics block.
12
+ - Added public `synthesisEffort` config: `inherit`, `off`, `minimal`, `low`, `medium`, `high`, or `xhigh`.
13
+ - `/continuity settings` exposes synthesis effort in the menu.
14
+ - Continuity Brief synthesis passes configured effort to the model call and records it in frontmatter.
15
+
16
+ ## Evidence
17
+
18
+ - `npm test` — passed, 45 tests (`RUN-0014/CMD-0001`).
19
+ - `npm run typecheck` — passed (`RUN-0014/CMD-0002`).
20
+ - `npm pack --dry-run` — passed (`RUN-0014/CMD-0003`).
21
+ - Forbidden runtime terminology grep — no matches (`RUN-0014/CMD-0004`).
@@ -0,0 +1,21 @@
1
+ # Deploy Note: Codex Empty Synthesis Repair
2
+
3
+ Type: SpecForge Deploy Note
4
+ Run ID: RUN-0016
5
+ Date: 2026-07-08
6
+ Status: Done
7
+ Area: Synthesis reliability
8
+
9
+ ## Delivered
10
+
11
+ - Raised Continuity Brief synthesis max output budget up to 32,768 tokens, bounded by model max output.
12
+ - Kept configured synthesis effort unchanged instead of silently changing user intent.
13
+ - Added automatic-failure cooldown for threshold-triggered handoffs so one synthesis failure does not retry every turn.
14
+ - Added regression coverage for automatic failure cooldown.
15
+
16
+ ## Evidence
17
+
18
+ - `npm test` — passed, 46 tests (`RUN-0016/CMD-0001`).
19
+ - `npm run typecheck` — passed (`RUN-0016/CMD-0002`).
20
+ - `npm pack --dry-run` — passed before and after deploy docs (`RUN-0016/CMD-0003`, `RUN-0016/CMD-0005`).
21
+ - Forbidden runtime terminology grep — no matches (`RUN-0016/CMD-0004`).