@shipfast-ai/shipfast 0.4.2 → 0.4.4

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
@@ -81,9 +81,8 @@ That's it. ShipFast analyzes your request, classifies intent and complexity, sel
81
81
  ```
82
82
  ShipFast Status
83
83
  ===============
84
- Token Budget: 23,847/100,000 (24%) [== ]
85
- Active Tasks: 1 running, 2 pending
86
- Brain: 342 files | 1,847 symbols | 12 decisions | 8 learnings
84
+ Brain: 342 nodes | 1,847 edges | 12 decisions | 8 learnings | 50 hot files
85
+ Tasks: 1 active | 5 completed
87
86
  Checkpoints: 3 available
88
87
  ```
89
88
 
@@ -100,7 +99,6 @@ Uses `git revert` for committed work, stash-based rollback for uncommitted.
100
99
 
101
100
  ```
102
101
  /sf-config # Show all config
103
- /sf-config budget 50000 # Set token budget
104
102
  /sf-config model-builder opus # Use Opus for code writing
105
103
  /sf-config model-critic haiku # Use Haiku for reviews (cheap)
106
104
  ```
@@ -238,11 +236,6 @@ Critic: haiku (diff review is pattern matching)
238
236
  Scribe: haiku (writing commit msgs is simple)
239
237
  ```
240
238
 
241
- Default token budget: 100,000 per session. System degrades gracefully when low:
242
- - Below 15K: switches non-critical agents to Haiku
243
- - Below 5K: skips Scribe agent
244
- - Below 2K: skips Critic, direct execute only
245
-
246
239
  ---
247
240
 
248
241
  ## License
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: sf:config
3
- description: "Set token budget, model tiers, and preferences."
3
+ description: "Set model tiers and preferences."
4
4
  argument-hint: "<key> <value>"
5
5
  allowed-tools:
6
6
  - Read
@@ -21,7 +21,6 @@ Query brain.db config table and display:
21
21
  ShipFast Configuration
22
22
  ======================
23
23
 
24
- Token Budget: [value]
25
24
  Auto Checkpoint: [true/false]
26
25
  Auto Learn: [true/false]
27
26
 
@@ -31,16 +30,11 @@ Model Tiers:
31
30
  Builder: [haiku/sonnet/opus]
32
31
  Critic: [haiku/sonnet/opus]
33
32
  Scribe: [haiku/sonnet/opus]
34
-
35
- Context Warnings:
36
- Warning at: [pct]%
37
- Critical at: [pct]%
38
33
  ```
39
34
 
40
35
  ## If arguments provided: update config
41
36
 
42
37
  Parse `key value` from arguments. Valid keys:
43
- - `token-budget` or `budget` -> config key `token_budget`
44
38
  - `model-scout` -> `model_tier_scout`
45
39
  - `model-architect` -> `model_tier_architect`
46
40
  - `model-builder` -> `model_tier_builder`
@@ -30,7 +30,7 @@ SHIPPING
30
30
  /sf-ship [branch] Create branch, push, output PR link with auto-generated description.
31
31
 
32
32
  SESSION
33
- /sf-status Show progress, token budget, brain stats, checkpoints.
33
+ /sf-status Show brain stats, tasks, checkpoints.
34
34
  /sf-resume Resume work from a previous session. Loads state from brain.db.
35
35
  /sf-undo [task-id] Rollback a completed task via git revert or stash.
36
36
 
@@ -41,7 +41,7 @@ KNOWLEDGE
41
41
  Example: /sf-learn tailwind-v4: Use @import not @tailwind
42
42
 
43
43
  CONFIG
44
- /sf-config [key val] View or set token budget, model tiers, preferences.
44
+ /sf-config [key val] View or set model tiers and preferences.
45
45
  /sf-help Show this help message.
46
46
 
47
47
  WORKFLOW
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: sf:status
3
- description: "Show current progress, token usage, and brain stats."
3
+ description: "Show brain stats, tasks, and checkpoints."
4
4
  allowed-tools:
5
5
  - Bash
6
6
  ---
@@ -8,7 +8,7 @@ allowed-tools:
8
8
  Run this EXACT command. Do NOT modify it. Do NOT run any other commands. Do NOT add insights or commentary.
9
9
 
10
10
  ```bash
11
- sqlite3 .shipfast/brain.db "SELECT 'nodes' as k, COUNT(*) as v FROM nodes UNION ALL SELECT 'edges', COUNT(*) FROM edges UNION ALL SELECT 'decisions', COUNT(*) FROM decisions UNION ALL SELECT 'learnings', COUNT(*) FROM learnings UNION ALL SELECT 'tasks', COUNT(*) FROM tasks UNION ALL SELECT 'checkpoints', COUNT(*) FROM checkpoints UNION ALL SELECT 'hot_files', COUNT(*) FROM hot_files UNION ALL SELECT 'budget', COALESCE((SELECT value FROM config WHERE key='token_budget'), '100000') UNION ALL SELECT 'used', COALESCE((SELECT SUM(input_tokens + output_tokens) FROM token_usage), 0) UNION ALL SELECT 'active', (SELECT COUNT(*) FROM tasks WHERE status IN ('running','pending')) UNION ALL SELECT 'passed', (SELECT COUNT(*) FROM tasks WHERE status='passed');" 2>/dev/null || echo "No brain.db found. Run: shipfast init"
11
+ sqlite3 .shipfast/brain.db "SELECT 'nodes' as k, COUNT(*) as v FROM nodes UNION ALL SELECT 'edges', COUNT(*) FROM edges UNION ALL SELECT 'decisions', COUNT(*) FROM decisions UNION ALL SELECT 'learnings', COUNT(*) FROM learnings UNION ALL SELECT 'tasks', COUNT(*) FROM tasks UNION ALL SELECT 'checkpoints', COUNT(*) FROM checkpoints UNION ALL SELECT 'hot_files', COUNT(*) FROM hot_files UNION ALL SELECT 'active', (SELECT COUNT(*) FROM tasks WHERE status IN ('running','pending')) UNION ALL SELECT 'passed', (SELECT COUNT(*) FROM tasks WHERE status='passed');" 2>/dev/null || echo "No brain.db found. Run: shipfast init"
12
12
  ```
13
13
 
14
14
  Then output EXACTLY this format using the numbers from above. Nothing else:
@@ -18,7 +18,6 @@ ShipFast Status
18
18
  ===============
19
19
  Brain: [nodes] nodes | [edges] edges | [decisions] decisions | [learnings] learnings | [hot_files] hot files
20
20
  Tasks: [active] active | [passed] completed
21
- Budget: [used]/[budget] tokens
22
21
  Checkpoints: [checkpoints] available
23
22
  ```
24
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipfast-ai/shipfast",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "Autonomous context-engineered development system. 5 agents, 12 commands, SQLite brain. 70-90% less tokens than alternatives.",
5
5
  "bin": {
6
6
  "shipfast": "bin/install.js"