Skip to content

Commit 1c748f3

Browse files
committed
chore: ignore superpowers plans and update architecture doc
- Add docs/superpowers/plans/ to .gitignore - Remove tracked plan files from git - Update docs/architecture.md: - Change primary extraction format from XML to 'Memory candidates:' - Mark XML format as legacy/deprecated - Fix hot session state injection example
1 parent ca68b7f commit 1c748f3

8 files changed

Lines changed: 17 additions & 6048 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,6 @@ pnpm-lock.yaml
4848
.opencode/
4949
.opencode-agenthub/
5050
.opencode-agenthub.user.json
51+
52+
# Superpowers local planning artifacts
53+
docs/superpowers/plans/

docs/architecture.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,16 @@ Long-term memory that persists across sessions within the same workspace. Perfec
7373

7474
### Memory Extraction
7575

76-
During compaction, the plugin scans for `<workspace_memory_candidates>` blocks:
76+
During compaction, the plugin scans for `Memory candidates:` sections:
7777

7878
```
79-
<workspace_memory_candidates>
79+
Memory candidates:
8080
- [decision] Use npm cache for plugin loading
8181
- [project] This repo uses TypeScript with strict mode
82-
</workspace_memory_candidates>
8382
```
8483

84+
**Legacy Format**: The plugin also accepts `<workspace_memory_candidates>` XML blocks for backward compatibility, but this format is deprecated.
85+
8586
**Quality Gate**: Not all candidates become memories. The plugin rejects:
8687
- Git commit hashes (e.g., `abc1234`)
8788
- Raw errors (e.g., `Error: something failed`)
@@ -180,15 +181,20 @@ Hot session state is injected after workspace memory:
180181

181182
```
182183
---
183-
<workspace_memory_candidates>
184-
- [project] This repo uses TypeScript with strict mode
185-
</workspace_memory_candidates>
186184
187-
Active Files:
185+
Hot session state (current session):
186+
187+
active_files:
188188
- src/plugin.ts (edit, 18x)
189189
- tests/plugin.test.ts (edit, 5x)
190190
191-
Open Errors: (none)
191+
open_errors: (none)
192+
193+
recent_decisions:
194+
- Use frozen workspace memory snapshots for cache stability
195+
196+
pending_memories:
197+
- [decision] Parser supports 3 candidate formats
192198
```
193199

194200
## Layer 3: Native OpenCode State

0 commit comments

Comments
 (0)