delimit-cli 4.1.41 → 4.1.42
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/lib/delimit-template.js +37 -2
- package/package.json +1 -1
package/lib/delimit-template.js
CHANGED
|
@@ -27,8 +27,8 @@ These rules fire automatically. The AI MUST call the specified tools without ask
|
|
|
27
27
|
The founder reviews and approves via email. The AI's job is to draft, send, and chain — not to ask.
|
|
28
28
|
|
|
29
29
|
### Session Lifecycle
|
|
30
|
-
- **Session start**: call \`delimit_ledger_context\` + \`delimit_gov_health\` + \`delimit_inbox_daemon(action="start")\` + \`delimit_notify_routing(action="status")\`
|
|
31
|
-
- **Session end or idle**: call \`delimit_session_handoff\` to preserve context for next session
|
|
30
|
+
- **Session start**: call \`delimit_revive\` + \`delimit_ledger_context\` + \`delimit_gov_health\` + \`delimit_inbox_daemon(action="start")\` + \`delimit_notify_routing(action="status")\`
|
|
31
|
+
- **Session end or idle**: call \`delimit_soul_capture\` + \`delimit_session_handoff\` to preserve context for next session
|
|
32
32
|
- If returning user, summarize what's pending. If new project, call \`delimit_scan\`.
|
|
33
33
|
|
|
34
34
|
### Code Development (debounced per edit batch)
|
|
@@ -82,6 +82,18 @@ The founder reviews and approves via email. The AI's job is to draft, send, and
|
|
|
82
82
|
- Max 5 immediate notifications per hour (overflow to digest)
|
|
83
83
|
- Per-scan fan-out: max 10 targets per notification
|
|
84
84
|
|
|
85
|
+
## Memory Rules (CRITICAL)
|
|
86
|
+
|
|
87
|
+
Routine code changes are auto-captured from git on session exit. You do NOT need to call memory_store for normal work.
|
|
88
|
+
|
|
89
|
+
ONLY use \`memory_store\` to capture:
|
|
90
|
+
- **Failed approaches** — "tried X, it didn't work because Y" (git only shows what survived, not dead ends)
|
|
91
|
+
- **Architecture decisions** — "chose PostgreSQL over Redis for sessions because Z"
|
|
92
|
+
- **Key context** — customer requirements, API constraints, deployment gotchas
|
|
93
|
+
- **Things that will confuse the next session** — non-obvious setups, workarounds, tech debt
|
|
94
|
+
|
|
95
|
+
Do NOT store: routine code changes, file lists, commit messages, status updates — these are in git.
|
|
96
|
+
|
|
85
97
|
## What Delimit does:
|
|
86
98
|
- **API governance** -- lint, diff, semver classification, migration guides
|
|
87
99
|
- **Persistent context** -- memory and ledger survive across sessions and models
|
|
@@ -97,6 +109,29 @@ Add breaking change detection to any repo:
|
|
|
97
109
|
spec: api/openapi.yaml
|
|
98
110
|
\`\`\`
|
|
99
111
|
|
|
112
|
+
## Paying Customers (CRITICAL — Read Before Any Change)
|
|
113
|
+
|
|
114
|
+
Delimit has paying Pro customers. Every code change, MCP tool modification, server update, or API change MUST consider impact on existing users.
|
|
115
|
+
|
|
116
|
+
### Customer Protection Rules
|
|
117
|
+
- **Before modifying any MCP tool signature** (params, return schema): check if it would break existing Pro users' workflows
|
|
118
|
+
- **Before renaming/removing CLI commands**: these are documented and users depend on them
|
|
119
|
+
- **Before changing license validation**: customers have active license keys (Lemon Squeezy)
|
|
120
|
+
- **Before modifying server.py tool definitions**: Pro users have the MCP server installed locally at ~/.delimit/server/
|
|
121
|
+
- **Before changing JSONL/JSON storage formats**: memory, ledger, evidence files may exist on customer machines
|
|
122
|
+
- **npm publish is a production deploy**: every publish goes to real users, not just us
|
|
123
|
+
- **Gateway → npm sync**: when syncing server.py to the npm bundle, verify no breaking tool changes
|
|
124
|
+
- **Test with \`delimit doctor\`** before any publish to catch config/setup breaks
|
|
125
|
+
- **Backwards compatibility**: new features must not break existing installations. Add, don't remove.
|
|
126
|
+
|
|
127
|
+
### What Constitutes a Breaking Change for Users
|
|
128
|
+
- MCP tool parameter renamed or removed
|
|
129
|
+
- CLI command renamed or removed
|
|
130
|
+
- Storage format change (memories.jsonl, ledger, evidence, license.json)
|
|
131
|
+
- Python import path changes in server.py
|
|
132
|
+
- Hook format changes in settings.json
|
|
133
|
+
- Default behavior changes (e.g., changing what \`delimit scan\` does with no args)
|
|
134
|
+
|
|
100
135
|
## Links
|
|
101
136
|
- Docs: https://delimit.ai/docs
|
|
102
137
|
- GitHub: https://github.com/delimit-ai/delimit-mcp-server
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "delimit-cli",
|
|
3
3
|
"mcpName": "io.github.delimit-ai/delimit-mcp-server",
|
|
4
|
-
"version": "4.1.
|
|
4
|
+
"version": "4.1.42",
|
|
5
5
|
"description": "Unify Claude Code, Codex, Cursor, and Gemini CLI with persistent context, governance, and multi-model debate.",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"files": [
|