delimit-cli 3.14.10 → 3.14.12
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/bin/delimit-setup.js +58 -40
- package/package.json +1 -1
package/bin/delimit-setup.js
CHANGED
|
@@ -23,6 +23,9 @@ const AGENTS_DIR = path.join(CLAUDE_DIR, 'agents');
|
|
|
23
23
|
const green = (s) => `\x1b[32m${s}\x1b[0m`;
|
|
24
24
|
const yellow = (s) => `\x1b[33m${s}\x1b[0m`;
|
|
25
25
|
const blue = (s) => `\x1b[34m${s}\x1b[0m`;
|
|
26
|
+
const purple = (s) => `\x1b[1;35m${s}\x1b[0m`;
|
|
27
|
+
const magenta = (s) => `\x1b[1;35m${s}\x1b[0m`;
|
|
28
|
+
const orange = (s) => `\x1b[1;33m${s}\x1b[0m`;
|
|
26
29
|
const dim = (s) => `\x1b[2m${s}\x1b[0m`;
|
|
27
30
|
const bold = (s) => `\x1b[1m${s}\x1b[0m`;
|
|
28
31
|
|
|
@@ -72,12 +75,12 @@ function findSpecFiles(dir, depth = 0) {
|
|
|
72
75
|
|
|
73
76
|
async function main() {
|
|
74
77
|
log('');
|
|
75
|
-
log(
|
|
76
|
-
log(
|
|
77
|
-
log(
|
|
78
|
-
log(
|
|
79
|
-
log(
|
|
80
|
-
log(dim('
|
|
78
|
+
log(purple(' ____ ________ ______ _____________'));
|
|
79
|
+
log(purple(' / __ \\/ ____/ / / _/ |/ / _/_ __/'));
|
|
80
|
+
log(magenta(' / / / / __/ / / / // /|_/ // / / / '));
|
|
81
|
+
log(magenta(' / /_/ / /___/ /____/ // / / // / / / '));
|
|
82
|
+
log(orange('/_____/_____/_____/___/_/ /_/___/ /_/ '));
|
|
83
|
+
log(dim(' delimit.ai'));
|
|
81
84
|
log('');
|
|
82
85
|
|
|
83
86
|
// Step 1: Check prerequisites
|
|
@@ -877,49 +880,64 @@ function getDelimitSection() {
|
|
|
877
880
|
|
|
878
881
|
Unify all AI coding assistants with persistent context, governance, and multi-model debate.
|
|
879
882
|
|
|
880
|
-
##
|
|
881
|
-
1. Call \`delimit_ledger_context\` to check for open tasks
|
|
882
|
-
2. Call \`delimit_gov_health\` to check governance status
|
|
883
|
-
3. Call \`delimit_inbox_daemon(action="start")\` to start email polling — ALL venture inboxes route through this. Owner approves/adjusts/denies via email reply, same as being logged in.
|
|
884
|
-
4. If returning user, summarize what's pending
|
|
885
|
-
5. If new project, call \`delimit_scan\` to discover what Delimit can do
|
|
883
|
+
## Auto-Trigger Rules (Consensus 123)
|
|
886
884
|
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
- When discovering outreach targets: ALWAYS chain to drafting a reply and sending via notify/social_post.
|
|
890
|
-
- When identifying strategic opportunities: ALWAYS create a ledger item via \`delimit_ledger_add\`.
|
|
891
|
-
- The founder reviews and approves via email. The AI's job is to draft and send, not to ask.
|
|
885
|
+
These rules fire automatically. The AI MUST call the specified tools without asking permission.
|
|
886
|
+
The founder reviews and approves via email. The AI's job is to draft, send, and chain — not to ask.
|
|
892
887
|
|
|
893
|
-
|
|
888
|
+
### Session Lifecycle
|
|
889
|
+
- **Session start**: call \`delimit_ledger_context\` + \`delimit_gov_health\` + \`delimit_inbox_daemon(action="start")\` + \`delimit_notify_routing(action="status")\`
|
|
890
|
+
- **Session end or idle**: call \`delimit_session_handoff\` to preserve context for next session
|
|
891
|
+
- If returning user, summarize what's pending. If new project, call \`delimit_scan\`.
|
|
892
|
+
|
|
893
|
+
### Code Development (debounced per edit batch)
|
|
894
894
|
- After editing UI/CSS: call \`delimit_design_validate_responsive\`
|
|
895
|
-
- After editing API specs: call \`delimit_lint\`
|
|
895
|
+
- After editing API specs: call \`delimit_lint\` + \`delimit_drift_check\`
|
|
896
896
|
- After editing tests: call \`delimit_test_smoke\`
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
-
|
|
908
|
-
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
-
|
|
912
|
-
-
|
|
913
|
-
-
|
|
914
|
-
-
|
|
915
|
-
|
|
897
|
+
- After any significant code change: call \`delimit_test_smoke\` if applicable tests exist
|
|
898
|
+
|
|
899
|
+
### Pre-Commit / Pre-Deploy Gates
|
|
900
|
+
- Before \`git commit\`: call \`delimit_repo_diagnose\`
|
|
901
|
+
- Deploy requested: \`delimit_security_audit\` then \`delimit_test_smoke\` then \`delimit_changelog\` then \`delimit_deploy_plan\`
|
|
902
|
+
- Deploy succeeds: \`delimit_deploy_verify\` + \`delimit_evidence_collect\`
|
|
903
|
+
- Verify succeeds: \`delimit_ledger_done\` (related task) + \`delimit_notify\`
|
|
904
|
+
|
|
905
|
+
### Content / Outreach (all drafts, never auto-post)
|
|
906
|
+
- Social content drafted: ALWAYS call \`delimit_social_post\` or \`delimit_notify\` immediately
|
|
907
|
+
- \`delimit_social_target\` scan completes: call \`delimit_notify\` with target summary
|
|
908
|
+
- Screenshot of social thread shared: auto-draft reply + call \`delimit_notify\`
|
|
909
|
+
|
|
910
|
+
### Strategic / Business Operations
|
|
911
|
+
- Strategic opportunity identified: call \`delimit_ledger_add\` immediately
|
|
912
|
+
- \`delimit_ledger_add\` fires (non-P0): \`delimit_notify\` (batched, 15-min digest)
|
|
913
|
+
- \`delimit_ledger_add\` fires (P0): \`delimit_notify\` (immediate) + \`delimit_agent_dispatch\`
|
|
914
|
+
- Conflicting high-severity signals: call \`delimit_deliberate\` for multi-model consensus
|
|
915
|
+
|
|
916
|
+
### Monitoring / Sensors
|
|
917
|
+
- GitHub issue state change (closed, merged, labeled): \`delimit_ledger_update\` + \`delimit_notify\` (immediate)
|
|
918
|
+
- GitHub issue new comments: \`delimit_ledger_update\` + \`delimit_notify\` (batched digest)
|
|
919
|
+
- \`delimit_drift_check\` finds drift: \`delimit_ledger_add\` + \`delimit_notify\`
|
|
920
|
+
|
|
921
|
+
### Approval Loop (Email Control Plane)
|
|
922
|
+
- Approval email detected: execute the approved action based on context
|
|
923
|
+
- Rejection email detected: \`delimit_ledger_update\` (mark rejected)
|
|
924
|
+
|
|
925
|
+
### Audit Trail
|
|
926
|
+
- After security audit, test run, or deploy: call \`delimit_evidence_collect\`
|
|
927
|
+
- Any gate failure: \`delimit_evidence_collect\` + \`delimit_ledger_add\` + \`delimit_notify\` (immediate)
|
|
928
|
+
|
|
929
|
+
### Storm Prevention
|
|
930
|
+
- Edit triggers: debounce to once per assistant turn
|
|
931
|
+
- Non-P0 notifications: batch into 15-minute digests
|
|
932
|
+
- Max 5 immediate notifications per hour (overflow to digest)
|
|
933
|
+
- Per-scan fan-out: max 10 targets per notification
|
|
916
934
|
|
|
917
935
|
## What Delimit does:
|
|
918
936
|
- **API governance** -- lint, diff, semver classification, migration guides
|
|
919
|
-
- **Persistent
|
|
937
|
+
- **Persistent context** -- memory and ledger survive across sessions and models
|
|
920
938
|
- **Security audit** -- dependency scanning, secret detection
|
|
921
939
|
- **Test verification** -- confirm tests actually ran, measure coverage
|
|
922
|
-
- **Multi-model deliberation** --
|
|
940
|
+
- **Multi-model deliberation** -- consensus from multiple AI models (3 free, then BYOK)
|
|
923
941
|
|
|
924
942
|
## GitHub Action
|
|
925
943
|
Add breaking change detection to any repo:
|
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": "3.14.
|
|
4
|
+
"version": "3.14.12",
|
|
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": [
|