syntaur 0.6.1 → 0.7.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 (26) hide show
  1. package/README.md +2 -2
  2. package/dist/dashboard/server.js +10 -1
  3. package/dist/dashboard/server.js.map +1 -1
  4. package/dist/index.js +81 -46
  5. package/dist/index.js.map +1 -1
  6. package/package.json +1 -1
  7. package/platforms/claude-code/README.md +3 -3
  8. package/platforms/claude-code/agents/syntaur-expert.md +12 -4
  9. package/platforms/claude-code/commands/save-session-summary/save-session-summary.md +24 -0
  10. package/platforms/claude-code/hooks/hooks.json +10 -0
  11. package/platforms/claude-code/hooks/session-start.sh +26 -1
  12. package/platforms/claude-code/references/file-ownership.md +2 -1
  13. package/platforms/claude-code/references/protocol-summary.md +6 -1
  14. package/platforms/claude-code/skills/track-session/SKILL.md +86 -0
  15. package/platforms/codex/README.md +2 -2
  16. package/platforms/codex/agents/syntaur-operator.md +6 -4
  17. package/platforms/codex/commands/save-session-summary.md +23 -0
  18. package/platforms/codex/references/file-ownership.md +2 -1
  19. package/platforms/codex/references/protocol-summary.md +6 -1
  20. package/vendor/syntaur-skills/skills/complete-assignment/SKILL.md +2 -0
  21. package/vendor/syntaur-skills/skills/grab-assignment/SKILL.md +7 -2
  22. package/vendor/syntaur-skills/skills/plan-assignment/SKILL.md +3 -1
  23. package/vendor/syntaur-skills/skills/save-session-summary/SKILL.md +113 -0
  24. package/vendor/syntaur-skills/skills/syntaur-protocol/SKILL.md +23 -4
  25. package/vendor/syntaur-skills/skills/syntaur-protocol/references/file-ownership.md +2 -1
  26. package/vendor/syntaur-skills/skills/syntaur-protocol/references/protocol-summary.md +6 -1
@@ -22,8 +22,11 @@ Protocol version: **2.0**
22
22
  progress.md # Agent-writable, append-only: timestamped progress log
23
23
  comments.md # CLI-mediated: threaded questions/notes/feedback (via `syntaur comment`)
24
24
  scratchpad.md # Agent-writable: working notes
25
- handoff.md # Agent-writable, append-only: handoff log
25
+ handoff.md # Agent-writable, append-only: cross-ticket outbound at completion
26
26
  decision-record.md # Agent-writable, append-only: decision log
27
+ sessions/
28
+ <session-id>/
29
+ summary.md # Agent-writable: per-session continuity (single doc, overwritten)
27
30
  resources/
28
31
  _index.md # Derived (read-only)
29
32
  <resource-slug>.md # Shared-writable
@@ -34,6 +37,7 @@ Protocol version: **2.0**
34
37
  <assignment-uuid>/ # Standalone assignments: folder = UUID, `project: null`, slug display-only
35
38
  assignment.md # Same schema as project-nested
36
39
  plan*.md, progress.md, comments.md, scratchpad.md, handoff.md, decision-record.md
40
+ sessions/<session-id>/summary.md # Same per-session continuity as project-nested
37
41
  playbooks/
38
42
  manifest.md # Derived: playbook listing (read-only)
39
43
  <slug>.md # User-authored: behavioral rules for agents
@@ -80,3 +84,4 @@ Protocol version: **2.0**
80
84
  10. **Comments** are appended to `comments.md` via `syntaur comment <slug> "body" [--type question|note|feedback] [--reply-to <id>]`. Never edit `comments.md` directly. Questions carry a `resolved` flag toggled in the dashboard.
81
85
  11. **Cross-assignment work** is requested via `syntaur request <target> "text"` — appends to the target's `## Todos` annotated `(from: <source>)`.
82
86
  12. **Agent sessions** in `syntaur.db` must use real agent-runtime session IDs. Synthesized UUIDs are rejected. Plugins for Claude Code / Codex populate `.syntaur/context.json` with the real id via a SessionStart hook; other agents should source it from their runtime and pass `--session-id` explicitly.
87
+ 13. **Session continuity** (mid-assignment) lives at `sessions/<session-id>/summary.md` inside the assignment dir — one document per session id, overwritten on every save (via `/save-session-summary`). On resume, pick the latest by `summary.md` file mtime; on Claude Code, the SessionStart hook also stashes the absolute path in `.syntaur/context.json` as `latestSessionSummaryPath`. Older summaries accumulate as immutable history; never delete them. This is **distinct from** `handoff.md`, which is the assignment-level cross-ticket outbound at completion. `syntaur doctor` intentionally ignores `sessions/` — sessions are optional. Codex has no `PreCompact` hook event; Codex agents invoke `/save-session-summary` manually before compaction or session end.