sphica 0.1.0 → 0.3.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://anthropic.com/claude-code/plugin.schema.json",
3
3
  "name": "sphica",
4
- "version": "0.1.0",
4
+ "version": "0.3.0",
5
5
  "description": "Records conversations automatically and recalls past decisions, rejected options, constraints, and what was said.",
6
6
  "author": {
7
7
  "name": "iroha924",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sphica",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Records conversations automatically and recalls past decisions, rejected options, constraints, and what was said.",
5
5
  "author": {
6
6
  "name": "iroha924",
package/README.md CHANGED
@@ -21,7 +21,6 @@ The database is a single SQLite file on your machine.
21
21
  - **Automatic session recording.** Sphica keeps your prompts, the agent's final reply for each turn, and the paths of files changed by the agent's edit tools.
22
22
  - **Decision records on request.** `/sphica:trace` saves the decisions, rejected options, constraints, and dead ends of a session, plus where the work stands.
23
23
  - **Multi-perspective review.** `/sphica:review` runs a separate reviewer for each focus: correctness, security, and written conventions by default, plus redundancy and past decisions with `full`. When Codex is installed, it offers to repeat the review with Codex.
24
- - **Terminal dashboard.** `sphica dashboard` browses sessions, work in progress, and search results. It is read-only.
25
24
  - **GitHub and docs import.** `sphica harvest` imports pull requests, issues, and the repository's Markdown files.
26
25
 
27
26
  The agent is told to treat records as history, not instructions, and to trust the code when a record and the current code disagree.
@@ -61,13 +60,14 @@ codex plugin add sphica@sphica
61
60
 
62
61
  In Codex, open `/hooks` and mark Sphica's hooks as trusted. Nothing is recorded until you do. If a plugin update changes the hooks, trust them again.
63
62
 
64
- **3. Create the database**
63
+ **3. Set up in your repository**
65
64
 
66
65
  ```bash
66
+ cd ~/Projects/your-repo
67
67
  sphica init
68
68
  ```
69
69
 
70
- This creates `~/.sphica/sphica.db`. Running it again leaves an existing database untouched.
70
+ This creates `~/.sphica/sphica.db` and registers the repository. Running it again leaves both untouched. If the repository has no `origin` remote, give it a name: `sphica init --name <name>`. Add `--sync` to import its GitHub history and docs right away.
71
71
 
72
72
  **4. Check the setup**
73
73
 
@@ -79,14 +79,7 @@ sphica doctor
79
79
 
80
80
  ## Quick start
81
81
 
82
- Sphica writes sessions to the database only for repositories you register. A registered repository is called a project.
83
-
84
- ```bash
85
- cd ~/Projects/your-repo
86
- sphica project add
87
- ```
88
-
89
- If the repository has no `origin` remote, give it a name: `sphica project add --name <name>`.
82
+ Sphica writes sessions to the database only for repositories you register. A registered repository is called a project; run `sphica init` in each repository you want recorded.
90
83
 
91
84
  Then work as usual in Claude Code or Codex. To bring back earlier decisions, ask the agent:
92
85
 
@@ -107,12 +100,6 @@ sphica harvest --cwd . # only the current repository
107
100
  Without `--cwd`, Sphica looks for projects directly under `~/Projects` and for projects registered with `--name`. Use `--cwd` for a repository somewhere else.
108
101
  Docs are read from the default branch of `origin`, or from the local `HEAD` when there is no `origin`.
109
102
 
110
- To browse everything in the terminal:
111
-
112
- ```bash
113
- sphica dashboard # Tab switches screens, / searches, p changes project, q quits
114
- ```
115
-
116
103
  ## What gets recorded and where it goes
117
104
 
118
105
  - **Where.** The database is `~/.sphica/sphica.db`. Records wait in a local queue, `~/.sphica/spool`, until they are written to it. Each machine has its own database, and records are not shared between machines.
@@ -190,14 +177,12 @@ Run `sphica doctor` first. It shows which part is out of date or not working. Co
190
177
 
191
178
  | Command | What it does |
192
179
  |---|---|
193
- | `sphica init` | Create the database |
194
- | `sphica doctor` | Check versions, the database, and recording |
195
- | `sphica project add` | Register the current repository as a project |
180
+ | `sphica init` | Create the database and register the current repository |
181
+ | `sphica doctor` | Check versions, the database, recording, and each project's last import |
196
182
  | `sphica harvest` | Import GitHub pull requests, issues, and Markdown docs |
197
- | `sphica search <words>` | Search from the terminal |
198
- | `sphica dashboard` | Browse sessions, work, and search results |
183
+ | `sphica advice` | See how often the edit hook showed constraints |
199
184
 
200
- Run `sphica --help` for the full list and `sphica <command> --help` for each command's options.
185
+ Run `sphica --help` for these, `sphica -H` for every command (managing projects and people, and the ones agents and maintenance use), and `sphica <command> --help` for each command's options.
201
186
 
202
187
  ## Security
203
188