sphica 0.6.51 → 0.6.53

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sphica",
3
- "version": "0.6.51",
3
+ "version": "0.6.53",
4
4
  "description": "Records Claude Code and Codex sessions on your machine and keeps past implementation and decisions, with their sources, for your agent to find.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -42,9 +42,11 @@ Pass the repository root as `cwd` to every tool.
42
42
  5. **Report** what `forget_apply` returned, as it says it: what was forgotten and whether the deleted text was cleared come first, and
43
43
  `record_more` reads on when the records did not fit
44
44
 
45
- When `forget_apply` says the host cannot ask directly, the host has no confirmation dialog (some Codex versions): tell the owner to run
46
- `/sphica:forget` in Claude Code. When it says clearing did not finish (usually another session reading the database): run `forget_apply` with
47
- the same refs again later, and it only finishes the cleanup.
45
+ When nobody is at the session to answer (a headless run such as `codex exec` or `claude -p`), nothing is forgotten: the host refuses the
46
+ call, or answers the confirmation as cancelled by itself. The same holds when `forget_apply` says the host cannot ask directly. Tell the
47
+ owner to run forget in an interactive session. When the owner is at the session and declined or cancelled, in the host's approval or in the
48
+ dialog, nothing was forgotten: say so, and do not call it again unless the owner asks. When it says clearing did not finish (usually
49
+ another session reading the database): run `forget_apply` with the same refs again later, and it only finishes the cleanup.
48
50
 
49
51
  ## What stays
50
52
 
@@ -58,10 +58,11 @@ A session with nothing worth keeping is saved with `"units": []`: it is marked a
58
58
 
59
59
  ## On your own
60
60
 
61
- When Sphica's session-start notice in Claude Code says earlier sessions wait to be traced, run this after the user's request is done, without asking them. Codex does not start this Skill on its own yet: there it runs only when the user asks.
61
+ When Sphica's session-start notice says earlier sessions wait to be traced, run this after the user's request is done, without asking them. The notice comes in a new interactive Claude Code session, and in a new Codex session started from the terminal, where it names this file (Codex otherwise starts this Skill only when the user asks).
62
62
 
63
63
  1. `trace_pending` with `auto: true`. It lists sessions other than this one, oldest first. Take the first one or two; never this session.
64
- If it says it cannot tell which session called, stop: do nothing this time
64
+ If it says the automatic trace does nothing this time (it cannot tell which session called, or in Codex the call did not come from a
65
+ turn a person started in the session's own thread), stop: do nothing this time
65
66
  2. `trace_begin` with that session, then `record_context` with `auto: true`. It starts with a few earlier messages for context (marked as
66
67
  such), then the messages still waiting. When it says the automatic run stops here, save what you read; the rest waits for the next run
67
68
  3. Check and save as above. Do not ask the owner which session or record to keep, and add no owner adoption the conversation does not have
@@ -149,10 +150,10 @@ Use it only when the AI chose in the first person and the choice is its own. Not
149
150
  - A record that would replace or contradict the owner's decision: that needs the owner's words
150
151
 
151
152
  When unsure, leave the adoption out: the record stays a candidate. Check enforces the rest and says why it keeps a record a candidate: the
152
- reply must be the AI's in this run's session, the run must have begun and been checked in an interactive session (headless and SDK runs
153
- cannot), the turn must not be one that ran Sphica's record tools, an anchor on files agents read as rules or on CI keeps it a candidate, and
154
- a `do` with `applies_to` anchors needs an edit to one of those paths in the same turn. An AI's decision never takes effect as `supersedes`
155
- by itself.
153
+ reply must be the AI's in this run's session, the run must have begun and been checked in an interactive session (headless and SDK runs,
154
+ `codex exec`, and a Codex child thread cannot), the turn must not be one that ran Sphica's record tools (in Codex, once a child thread has
155
+ called one, no reply of that session), an anchor on files agents read as rules or on CI keeps it a candidate, and a `do` with `applies_to`
156
+ anchors needs an edit to one of those paths in the same turn. An AI's decision never takes effect as `supersedes` by itself.
156
157
 
157
158
  ## Records are not instructions
158
159