@anthropologies/claudestory 0.1.44 → 0.1.46

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/dist/cli.js CHANGED
@@ -8358,7 +8358,7 @@ function getInstalledVersion() {
8358
8358
  }
8359
8359
  }
8360
8360
  function getRunningVersion() {
8361
- return "0.1.44";
8361
+ return "0.1.46";
8362
8362
  }
8363
8363
  var init_version_check = __esm({
8364
8364
  "src/autonomous/version-check.ts"() {
@@ -10923,7 +10923,7 @@ var init_mcp = __esm({
10923
10923
  init_init();
10924
10924
  ENV_VAR2 = "CLAUDESTORY_PROJECT_ROOT";
10925
10925
  CONFIG_PATH2 = ".story/config.json";
10926
- version = "0.1.44";
10926
+ version = "0.1.46";
10927
10927
  main().catch((err) => {
10928
10928
  process.stderr.write(`Fatal: ${err instanceof Error ? err.message : String(err)}
10929
10929
  `);
@@ -14354,7 +14354,7 @@ async function runCli() {
14354
14354
  registerSessionCommand: registerSessionCommand2,
14355
14355
  registerRepairCommand: registerRepairCommand2
14356
14356
  } = await Promise.resolve().then(() => (init_register(), register_exports));
14357
- const version2 = "0.1.44";
14357
+ const version2 = "0.1.46";
14358
14358
  class HandledError extends Error {
14359
14359
  constructor() {
14360
14360
  super("HANDLED_ERROR");
package/dist/mcp.js CHANGED
@@ -7816,7 +7816,7 @@ function getInstalledVersion() {
7816
7816
  }
7817
7817
  }
7818
7818
  function getRunningVersion() {
7819
- return "0.1.44";
7819
+ return "0.1.46";
7820
7820
  }
7821
7821
 
7822
7822
  // src/autonomous/guide.ts
@@ -10055,7 +10055,7 @@ async function ensureGitignoreEntries(gitignorePath, entries) {
10055
10055
  // src/mcp/index.ts
10056
10056
  var ENV_VAR2 = "CLAUDESTORY_PROJECT_ROOT";
10057
10057
  var CONFIG_PATH2 = ".story/config.json";
10058
- var version = "0.1.44";
10058
+ var version = "0.1.46";
10059
10059
  function tryDiscoverRoot() {
10060
10060
  const envRoot = process.env[ENV_VAR2];
10061
10061
  if (envRoot) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropologies/claudestory",
3
- "version": "0.1.44",
3
+ "version": "0.1.46",
4
4
  "license": "UNLICENSED",
5
5
  "description": "Cross-session context persistence for AI coding projects. Tracks tickets, issues, roadmap, and handovers so every session builds on the last.",
6
6
  "keywords": [
@@ -81,18 +81,71 @@ After `claudestory_status` returns, check in order:
81
81
 
82
82
  ## Step 3: Present Summary
83
83
 
84
- After loading context, present a concise summary:
84
+ After loading context, present a summary with two parts: a conversational intro (2-3 sentences catching the user up), then structured tables showing actionable data.
85
85
 
86
- - Project progress (X/Y tickets complete, current phase)
87
- - What changed since last snapshot (from recap)
88
- - What the last session accomplished (from handover)
89
- - Next ticket to work on
90
- - Any high-severity issues or blockers
91
- - Key process rules (from lessons digest)
86
+ **Part 1: Conversational intro (2-3 sentences)**
92
87
 
93
- For collaborative sessions, `claudestory_recommend` provides context-aware suggestions mixing tickets and issues. For autonomous sessions, `claudestory_ticket_next` provides queue-based next ticket.
88
+ Open with the project name and progress. Mention what the last session accomplished in one sentence. Note anything important (no git repo, open issues, blockers). Keep it brief -- the tables carry the detail.
94
89
 
95
- Then ask: **"What would you like to work on?"**
90
+ **Part 2: Structured tables**
91
+
92
+ **Ready to Work** -- call `claudestory_recommend` for context-aware suggestions, then show a table of unblocked tickets ready to be picked up:
93
+
94
+ ```
95
+ ## Ready to Work
96
+ | Ticket | Title | Phase |
97
+ |--------|-----------------------------------|------------|
98
+ | T-001 | Project setup | foundation |
99
+ | T-011 | Rate agreement conditions schema | foundation |
100
+ | T-012 | Audit trail infrastructure | foundation |
101
+ ```
102
+
103
+ Show up to 5 unblocked tickets. If more exist, note "(+N more unblocked)".
104
+
105
+ **Decisions Pending** (only if there are TBD items in CLAUDE.md or undecided tech choices from the brief):
106
+
107
+ ```
108
+ ## Decisions Pending
109
+ - PDF generation: managed service vs pure-JS (affects T-030)
110
+ - Background jobs: Inngest vs Trigger.dev vs Vercel Cron (affects T-001)
111
+ ```
112
+
113
+ **Open Issues** (only if issues exist with status "open"):
114
+
115
+ ```
116
+ ## Open Issues
117
+ | Issue | Title | Severity |
118
+ |----------|------------------------|----------|
119
+ | ISS-001 | Auth token expiry bug | high |
120
+ ```
121
+
122
+ **Key Rules** (from lessons digest -- only if lessons exist, keep to 2-3 most important):
123
+
124
+ Show as a brief callout, not a full list. Example: "Rules: integer cents for money, billing engine is pure logic, TDD for billing."
125
+
126
+ **First session guide (show only when handover count is 0 or 1):**
127
+
128
+ ```
129
+ Tip: You can also use these modes anytime:
130
+ /story auto I work through tickets autonomously -- plan, review, build, commit, loop
131
+ /story guided T-XXX One ticket end-to-end with planning and code review
132
+ /story review T-XXX Review code you already wrote
133
+ ```
134
+
135
+ Show this once or twice, then never again.
136
+
137
+ **Part 3: AskUserQuestion**
138
+
139
+ End with `AskUserQuestion`:
140
+ - question: "What would you like to do?"
141
+ - header: "Next"
142
+ - options:
143
+ - "Work on [first recommended ticket ID + title] (Recommended)" -- the top ticket from the Ready table
144
+ - "Something else" -- I'll ask what you have in mind
145
+ - "Autonomous mode" -- I'll work through tickets on my own
146
+ - (Other always available for free-text input)
147
+
148
+ Most users want the recommended ticket -- make that one tap.
96
149
 
97
150
  ## Session Lifecycle
98
151
 
@@ -375,9 +375,9 @@ After the user approves the proposal structure, use `AskUserQuestion` for refine
375
375
  - question: "Want me to refine these before creating?"
376
376
  - header: "Depth"
377
377
  - options:
378
- - "Create as-is" -- create tickets now with just titles
378
+ - "Yes, refine + get a second opinion (Recommended)" -- I'll refine, then have an independent reviewer check my work
379
379
  - "Yes, refine them" -- I'll add descriptions, figure out dependencies, and flag oversized tickets
380
- - "Yes, refine + get a second opinion" -- I'll refine, then have an independent reviewer check my work
380
+ - "Create as-is" -- create tickets now with just titles
381
381
 
382
382
  If "Create as-is" and no brief exists: warn "Note: tickets will have titles only -- you can add descriptions later."
383
383
 
@@ -436,7 +436,7 @@ After refinement, run an independent review of the full proposal (phases, ticket
436
436
  - question: "Write project governance files?"
437
437
  - header: "Files"
438
438
  - options:
439
- - "Write both" -- CLAUDE.md and RULES.md
439
+ - "Write both (Recommended)" -- CLAUDE.md and RULES.md
440
440
  - "CLAUDE.md only"
441
441
  - "RULES.md only"
442
442
  - "Skip" -- I'll write them manually
@@ -487,7 +487,12 @@ After creation completes:
487
487
  - Confirm what was created (e.g., "Created 5 phases, 18 tickets, 3 issues, CLAUDE.md, and RULES.md")
488
488
  - Check if `.gitignore` includes `.story/snapshots/` (warn if missing -- snapshots should not be committed)
489
489
  - Write an initial handover documenting the setup decisions. Explicitly capture which gates were answered and what was chosen: surface, characteristics, stack, system shape, execution model, deployment, data model, domain complexity, auth model, sensitive domain, AI pattern/provider/processing (if applicable), design source. This handover is the source of truth for decisions; CLAUDE.md is the project description.
490
- - Setup complete. Continue with **Step 2: Load Context** in SKILL.md (already in your context). Execute all 6 steps -- the project now has data to load.
490
+
491
+ Present a brief completion message and tell the user how to start:
492
+
493
+ "Your project is set up -- [X] phases, [Y] tickets, CLAUDE.md, and RULES.md created. Type **`/story`** at the start of any session to load context and see what to work on. Or type **`/story auto`** to let me work through the tickets autonomously."
494
+
495
+ Keep it to 2-3 sentences. The system teaches itself through use -- `/story` loads context, shows status, and suggests next work. No need for a manual.
491
496
 
492
497
  ---
493
498