sisyo 1.3.0 → 1.3.1

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/README.md CHANGED
@@ -15,7 +15,8 @@ Run it in your project root.
15
15
 
16
16
  ```
17
17
  your-project/
18
- CLAUDE.md # Project rules (auto-loaded)
18
+ SISYO.md # Project rules (imported by CLAUDE.md)
19
+ CLAUDE.md # Auto-created or updated with @SISYO.md
19
20
  .claude/
20
21
  rules/docs.md # Doc rules (auto-loaded)
21
22
  skills/vibe-docs/SKILL.md # Brain (loaded on trigger)
@@ -23,8 +24,11 @@ your-project/
23
24
  MAP.md # Level 1: routing table
24
25
  99_progress/todo.md # Task backlog
25
26
  99_progress/handoff.md # Session recovery
27
+ 99_progress/features.md # Feature log
26
28
  ```
27
29
 
30
+ `SISYO.md` holds the project config. `CLAUDE.md` is untouched if it already exists — sisyo just appends `@SISYO.md` to it.
31
+
28
32
  ## How it works
29
33
 
30
34
  **Problem:** Loading all docs into context = 20K+ tokens = runs out fast.
@@ -61,6 +65,7 @@ MAP.md
61
65
  ### Auto-triggers
62
66
 
63
67
  The vibe-docs skill triggers automatically when you:
68
+ - Complete a feature -> logs to `99_progress/features.md`
64
69
  - Design database tables -> updates `03_database/_summary.md` + detail file
65
70
  - Add API endpoints -> updates `04_api/_summary.md` + detail file
66
71
  - Plan features -> updates `01_requirements/_summary.md` + detail file
@@ -80,6 +85,14 @@ Read handoff and continue
80
85
  ```
81
86
  Claude reads MAP.md + handoff.md + todo.md (~3K tokens) and picks up where you left off.
82
87
 
88
+ ## Update
89
+
90
+ ```bash
91
+ npx sisyo --update
92
+ ```
93
+
94
+ Updates system files (`SISYO.md`, `.claude/rules/docs.md`, `vibe-docs/SKILL.md`) without touching your docs.
95
+
83
96
  ## Doc folders
84
97
 
85
98
  | Folder | Purpose |
@@ -94,14 +107,24 @@ Claude reads MAP.md + handoff.md + todo.md (~3K tokens) and picks up where you l
94
107
  | `07_testing/` | Test plans, test cases, edge cases |
95
108
  | `08_security/` | Auth flows, permissions, API keys |
96
109
  | `09_integrations/` | Third-party services config & usage |
97
- | `99_progress/` | TODO, changelog, session handoff |
110
+ | `99_progress/` | Feature log, TODO, session handoff |
98
111
 
99
112
  Each folder with multiple items has a `_summary.md` (compact table) + detail files.
100
113
  Folders are created on-demand. No empty placeholders.
101
114
 
115
+ ## Skills
116
+
117
+ Optional best-practice guides that Claude loads on demand:
118
+
119
+ | Skill | Triggers on |
120
+ |---|---|
121
+ | `vibe-docs` | Doc updates, feature changes, session end |
122
+ | `fastapi-best-practices` | FastAPI backends, REST APIs, Python web services |
123
+ | `react-page-oriented` | React/Next.js pages, component structure |
124
+
102
125
  ## After install
103
126
 
104
- 1. Edit `CLAUDE.md` - replace `[Project Name]` with yours
127
+ 1. Edit `SISYO.md` — replace `[Project Name]` with yours
105
128
  2. Open Claude Code and start building
106
129
  3. Docs update automatically as you work
107
130
 
package/bin/sisyo.js CHANGED
@@ -122,6 +122,15 @@ function main() {
122
122
  fs.writeFileSync(todoPath, content);
123
123
  }
124
124
  }
125
+
126
+ const featuresPath = path.join(target, "docs", "99_progress", "features.md");
127
+ if (fs.existsSync(featuresPath)) {
128
+ let content = fs.readFileSync(featuresPath, "utf8");
129
+ if (content.includes("YYYY-MM-DD")) {
130
+ content = content.replace(/YYYY-MM-DD/g, today);
131
+ fs.writeFileSync(featuresPath, content);
132
+ }
133
+ }
125
134
  }
126
135
 
127
136
  // Add to .gitignore if exists
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sisyo",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Smart documentation system for vibe coding with Claude Code. Token-efficient MAP.md routing.",
5
5
  "bin": {
6
6
  "sisyo": "./bin/sisyo.js"
@@ -23,4 +23,4 @@
23
23
  "engines": {
24
24
  "node": ">=16"
25
25
  }
26
- }
26
+ }
@@ -9,6 +9,9 @@ When changing code that affects project structure or behavior:
9
9
  4. Update _summary.md table
10
10
  5. Update MAP.md summary line
11
11
 
12
+ When a feature is completed or added:
13
+ - Log it in docs/99_progress/features.md (date, name, status, link to spec)
14
+
12
15
  Before ending session or when context gets large:
13
16
  - Write docs/99_progress/handoff.md
14
17
 
@@ -149,6 +149,7 @@ Rules for MAP.md entries:
149
149
  | Wrote/planned tests | 07_testing/[module].md | Test cases, edge cases, coverage notes, test commands | yes |
150
150
  | Set up auth/permissions/keys | 08_security/[topic].md | Auth flow, roles, permissions, API keys, secrets mgmt | yes |
151
151
  | Integrated third-party service | 09_integrations/[service].md | Service config, API keys, SDK usage, webhooks, limits | yes |
152
+ | Completed a feature | 99_progress/features.md | Date, feature name, status, link to spec doc | yes |
152
153
  | Completed any task | 99_progress/todo.md | Task status: doing, next, done with dates | yes |
153
154
  | Ending session or /clear | 99_progress/handoff.md | Session summary, current state, next steps, decisions | yes |
154
155
 
@@ -0,0 +1,7 @@
1
+ # Feature Log
2
+ > Updated: YYYY-MM-DD | Features: 0
3
+
4
+ | Date | Feature | Status | Docs |
5
+ |------|---------|:------:|------|
6
+
7
+ <!-- Status: planned / in-progress / done -->