@hailer/mcp 1.1.16 → 1.1.17-beta.0
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/.claude/CLAUDE.md +117 -320
- package/.claude/commands/app-squad.md +86 -90
- package/.claude/commands/audit-squad.md +19 -19
- package/.claude/commands/autoplan.md +3 -3
- package/.claude/commands/cleanup-squad.md +16 -16
- package/.claude/commands/config-squad.md +30 -30
- package/.claude/commands/crud-squad.md +23 -23
- package/.claude/commands/data-squad.md +21 -21
- package/.claude/commands/debug-squad.md +44 -44
- package/.claude/commands/doc-squad.md +16 -16
- package/.claude/commands/help:agents.md +130 -99
- package/.claude/commands/help:commands.md +15 -15
- package/.claude/commands/help:faq.md +17 -17
- package/.claude/commands/help:plugins.md +1 -1
- package/.claude/commands/help:skills.md +18 -24
- package/.claude/commands/hotfix-squad.md +22 -22
- package/.claude/commands/integration-squad.md +22 -22
- package/.claude/commands/janitor-squad.md +31 -31
- package/.claude/commands/learn-auto.md +5 -5
- package/.claude/commands/learn.md +12 -20
- package/.claude/commands/onboard-squad.md +39 -49
- package/.claude/commands/plan-workspace.md +2 -2
- package/.claude/commands/publish.md +32 -37
- package/.claude/commands/review-squad.md +27 -27
- package/.claude/commands/stats.md +26 -12
- package/.claude/commands/swarm.md +25 -25
- package/.claude/skills/chrome-mcp-reference/SKILL.md +5 -0
- package/.claude/skills/hailer-api-client/SKILL.md +55 -16
- package/.claude/skills/hailer-app-builder/SKILL.md +4 -270
- package/.claude/skills/hailer-apps-pictures/SKILL.md +3 -3
- package/.claude/skills/hailer-design-system/SKILL.md +96 -4
- package/.claude/skills/hailer-monolith-automations/SKILL.md +138 -116
- package/.claude/skills/hailer-permissions-system/SKILL.md +6 -9
- package/.claude/skills/hailer-project-protocol/SKILL.md +20 -110
- package/.claude/skills/integration-patterns/SKILL.md +6 -6
- package/.claude/skills/lsp-setup/SKILL.md +8 -9
- package/.claude/skills/sdk-activity-patterns/SKILL.md +238 -0
- package/.claude/skills/{SDK-document-templates → sdk-document-templates}/SKILL.md +13 -340
- package/.claude/skills/{SDK-function-fields → sdk-function-fields}/SKILL.md +8 -40
- package/.claude/skills/{SDK-insight-queries → sdk-insight-queries}/SKILL.md +114 -392
- package/.claude/skills/{SDK-ws-config-skill → sdk-ws-config-skill}/SKILL.md +79 -310
- package/.claude/skills/zapier-hailer-patterns/SKILL.md +84 -361
- package/.opencode/package-lock.json +117 -0
- package/CLAUDE.md +5 -358
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +10 -127
- package/dist/app.js.map +1 -1
- package/dist/bot/bot-manager.d.ts +3 -14
- package/dist/bot/bot-manager.d.ts.map +1 -1
- package/dist/bot/bot-manager.js +13 -4
- package/dist/bot/bot-manager.js.map +1 -1
- package/dist/bot/bot.d.ts +23 -102
- package/dist/bot/bot.d.ts.map +1 -1
- package/dist/bot/bot.js +356 -1212
- package/dist/bot/bot.js.map +1 -1
- package/dist/bot/services/bot-permissions.d.ts +50 -0
- package/dist/bot/services/bot-permissions.d.ts.map +1 -0
- package/dist/bot/services/bot-permissions.js +198 -0
- package/dist/bot/services/bot-permissions.js.map +1 -0
- package/dist/bot/services/index.d.ts +4 -2
- package/dist/bot/services/index.d.ts.map +1 -1
- package/dist/bot/services/index.js +10 -5
- package/dist/bot/services/index.js.map +1 -1
- package/dist/bot/services/message-classifier.d.ts +1 -1
- package/dist/bot/services/message-classifier.d.ts.map +1 -1
- package/dist/bot/services/message-classifier.js.map +1 -1
- package/dist/bot/services/signal-router.d.ts +32 -0
- package/dist/bot/services/signal-router.d.ts.map +1 -0
- package/dist/bot/services/signal-router.js +132 -0
- package/dist/bot/services/signal-router.js.map +1 -0
- package/dist/bot/services/system-prompt.d.ts +12 -0
- package/dist/bot/services/system-prompt.d.ts.map +1 -0
- package/dist/bot/services/system-prompt.js +93 -0
- package/dist/bot/services/system-prompt.js.map +1 -0
- package/dist/bot/services/types.d.ts +7 -34
- package/dist/bot/services/types.d.ts.map +1 -1
- package/dist/bot/services/types.js +0 -3
- package/dist/bot/services/types.js.map +1 -1
- package/dist/bot/services/workspace-refresh.d.ts +47 -0
- package/dist/bot/services/workspace-refresh.d.ts.map +1 -0
- package/dist/bot/services/workspace-refresh.js +154 -0
- package/dist/bot/services/workspace-refresh.js.map +1 -0
- package/dist/bot-config/constants.d.ts +0 -36
- package/dist/bot-config/constants.d.ts.map +1 -1
- package/dist/bot-config/constants.js +1 -76
- package/dist/bot-config/constants.js.map +1 -1
- package/dist/bot-config/context.d.ts +2 -42
- package/dist/bot-config/context.d.ts.map +1 -1
- package/dist/bot-config/context.js +13 -134
- package/dist/bot-config/context.js.map +1 -1
- package/dist/bot-config/index.d.ts +6 -15
- package/dist/bot-config/index.d.ts.map +1 -1
- package/dist/bot-config/index.js +5 -80
- package/dist/bot-config/index.js.map +1 -1
- package/dist/bot-config/loader.d.ts +16 -4
- package/dist/bot-config/loader.d.ts.map +1 -1
- package/dist/bot-config/loader.js +187 -96
- package/dist/bot-config/loader.js.map +1 -1
- package/dist/bot-config/persistence.d.ts +1 -52
- package/dist/bot-config/persistence.d.ts.map +1 -1
- package/dist/bot-config/persistence.js +3 -213
- package/dist/bot-config/persistence.js.map +1 -1
- package/dist/bot-config/state.d.ts +0 -41
- package/dist/bot-config/state.d.ts.map +1 -1
- package/dist/bot-config/state.js +0 -151
- package/dist/bot-config/state.js.map +1 -1
- package/dist/bot-config/tools.d.ts +1 -1
- package/dist/bot-config/tools.js +27 -27
- package/dist/bot-config/tools.js.map +1 -1
- package/dist/bot-config/types.d.ts +39 -32
- package/dist/bot-config/types.d.ts.map +1 -1
- package/dist/bot-config/types.js +0 -3
- package/dist/bot-config/types.js.map +1 -1
- package/dist/bot-config/webhooks.d.ts +0 -4
- package/dist/bot-config/webhooks.d.ts.map +1 -1
- package/dist/bot-config/webhooks.js +0 -13
- package/dist/bot-config/webhooks.js.map +1 -1
- package/dist/commands/seed-config.js +16 -31
- package/dist/commands/seed-config.js.map +1 -1
- package/dist/config.d.ts +0 -9
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +0 -15
- package/dist/config.js.map +1 -1
- package/dist/mcp/hailer-clients.js +2 -2
- package/dist/mcp/hailer-clients.js.map +1 -1
- package/dist/mcp/tool-registry.d.ts +10 -115
- package/dist/mcp/tool-registry.d.ts.map +1 -1
- package/dist/mcp/tool-registry.js +39 -363
- package/dist/mcp/tool-registry.js.map +1 -1
- package/dist/mcp/tools/activity.d.ts +3 -0
- package/dist/mcp/tools/activity.d.ts.map +1 -1
- package/dist/mcp/tools/activity.js +8 -1
- package/dist/mcp/tools/activity.js.map +1 -1
- package/dist/mcp/tools/app-core.d.ts +3 -0
- package/dist/mcp/tools/app-core.d.ts.map +1 -1
- package/dist/mcp/tools/app-core.js +9 -2
- package/dist/mcp/tools/app-core.js.map +1 -1
- package/dist/mcp/tools/app-marketplace.d.ts +3 -0
- package/dist/mcp/tools/app-marketplace.d.ts.map +1 -1
- package/dist/mcp/tools/app-marketplace.js +13 -1
- package/dist/mcp/tools/app-marketplace.js.map +1 -1
- package/dist/mcp/tools/app-member.d.ts +3 -0
- package/dist/mcp/tools/app-member.d.ts.map +1 -1
- package/dist/mcp/tools/app-member.js +6 -1
- package/dist/mcp/tools/app-member.js.map +1 -1
- package/dist/mcp/tools/app-scaffold.d.ts +3 -0
- package/dist/mcp/tools/app-scaffold.d.ts.map +1 -1
- package/dist/mcp/tools/app-scaffold.js +15 -11
- package/dist/mcp/tools/app-scaffold.js.map +1 -1
- package/dist/mcp/tools/company.d.ts +3 -0
- package/dist/mcp/tools/company.d.ts.map +1 -1
- package/dist/mcp/tools/company.js +5 -1
- package/dist/mcp/tools/company.js.map +1 -1
- package/dist/mcp/tools/discussion.d.ts +3 -0
- package/dist/mcp/tools/discussion.d.ts.map +1 -1
- package/dist/mcp/tools/discussion.js +13 -2
- package/dist/mcp/tools/discussion.js.map +1 -1
- package/dist/mcp/tools/file.d.ts +3 -0
- package/dist/mcp/tools/file.d.ts.map +1 -1
- package/dist/mcp/tools/file.js +6 -1
- package/dist/mcp/tools/file.js.map +1 -1
- package/dist/mcp/tools/index.d.ts +7 -0
- package/dist/mcp/tools/index.d.ts.map +1 -0
- package/dist/mcp/tools/index.js +34 -0
- package/dist/mcp/tools/index.js.map +1 -0
- package/dist/mcp/tools/insight.d.ts +3 -0
- package/dist/mcp/tools/insight.d.ts.map +1 -1
- package/dist/mcp/tools/insight.js +18 -8
- package/dist/mcp/tools/insight.js.map +1 -1
- package/dist/mcp/tools/user.d.ts +3 -0
- package/dist/mcp/tools/user.d.ts.map +1 -1
- package/dist/mcp/tools/user.js +6 -1
- package/dist/mcp/tools/user.js.map +1 -1
- package/dist/mcp/tools/workflow-permissions.d.ts +3 -0
- package/dist/mcp/tools/workflow-permissions.d.ts.map +1 -1
- package/dist/mcp/tools/workflow-permissions.js +8 -1
- package/dist/mcp/tools/workflow-permissions.js.map +1 -1
- package/dist/mcp/tools/workflow.d.ts +3 -0
- package/dist/mcp/tools/workflow.d.ts.map +1 -1
- package/dist/mcp/tools/workflow.js +29 -28
- package/dist/mcp/tools/workflow.js.map +1 -1
- package/dist/mcp/utils/index.d.ts +4 -11
- package/dist/mcp/utils/index.d.ts.map +1 -1
- package/dist/mcp/utils/index.js +5 -36
- package/dist/mcp/utils/index.js.map +1 -1
- package/dist/mcp/utils/role-utils.d.ts +0 -32
- package/dist/mcp/utils/role-utils.d.ts.map +1 -1
- package/dist/mcp/utils/role-utils.js +0 -73
- package/dist/mcp/utils/role-utils.js.map +1 -1
- package/dist/mcp/utils/tool-helpers.d.ts +0 -25
- package/dist/mcp/utils/tool-helpers.d.ts.map +1 -1
- package/dist/mcp/utils/tool-helpers.js +0 -34
- package/dist/mcp/utils/tool-helpers.js.map +1 -1
- package/dist/mcp/webhook-handler.d.ts +4 -34
- package/dist/mcp/webhook-handler.d.ts.map +1 -1
- package/dist/mcp/webhook-handler.js +57 -74
- package/dist/mcp/webhook-handler.js.map +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +3 -78
- package/dist/mcp-server.js.map +1 -1
- package/package.json +1 -2
- package/.claude/agents/agent-ada-skill-builder.md +0 -94
- package/.claude/agents/agent-alejandro-function-fields.md +0 -342
- package/.claude/agents/agent-bjorn-config-audit.md +0 -103
- package/.claude/agents/agent-builder-agent-creator.md +0 -130
- package/.claude/agents/agent-code-simplifier.md +0 -53
- package/.claude/agents/agent-dmitri-activity-crud.md +0 -159
- package/.claude/agents/agent-giuseppe-app-builder.md +0 -208
- package/.claude/agents/agent-gunther-mcp-tools.md +0 -39
- package/.claude/agents/agent-helga-workflow-config.md +0 -204
- package/.claude/agents/agent-igor-activity-mover-automation.md +0 -125
- package/.claude/agents/agent-ingrid-doc-templates.md +0 -261
- package/.claude/agents/agent-ivan-monolith.md +0 -154
- package/.claude/agents/agent-kenji-data-reader.md +0 -86
- package/.claude/agents/agent-lars-code-inspector.md +0 -102
- package/.claude/agents/agent-marco-mockup-builder.md +0 -110
- package/.claude/agents/agent-marcus-api-documenter.md +0 -323
- package/.claude/agents/agent-marketplace-publisher.md +0 -280
- package/.claude/agents/agent-marketplace-reviewer.md +0 -309
- package/.claude/agents/agent-permissions-handler.md +0 -208
- package/.claude/agents/agent-simple-writer.md +0 -48
- package/.claude/agents/agent-svetlana-code-review.md +0 -171
- package/.claude/agents/agent-tanya-test-runner.md +0 -333
- package/.claude/agents/agent-ui-designer.md +0 -100
- package/.claude/agents/agent-viktor-sql-insights.md +0 -212
- package/.claude/agents/agent-web-search.md +0 -55
- package/.claude/agents/agent-yevgeni-discussions.md +0 -45
- package/.claude/agents/agent-zara-zapier.md +0 -159
- package/.claude/skills/SDK-activity-patterns/SKILL.md +0 -428
- package/.claude/skills/SDK-generate-skill/SKILL.md +0 -92
- package/.claude/skills/SDK-init-skill/SKILL.md +0 -127
- package/.claude/skills/agent-structure/SKILL.md +0 -98
- package/.claude/skills/delegation-routing/SKILL.md +0 -202
- package/.claude/skills/frontend-design/SKILL.md +0 -254
- package/.claude/skills/hailer-activity-mover/SKILL.md +0 -213
- package/.claude/skills/hailer-rest-api/SKILL.md +0 -61
- package/.claude/skills/hailer-rest-api/hailer-activities.md +0 -184
- package/.claude/skills/hailer-rest-api/hailer-admin.md +0 -473
- package/.claude/skills/hailer-rest-api/hailer-calendar.md +0 -256
- package/.claude/skills/hailer-rest-api/hailer-feed.md +0 -249
- package/.claude/skills/hailer-rest-api/hailer-insights.md +0 -195
- package/.claude/skills/hailer-rest-api/hailer-messaging.md +0 -276
- package/.claude/skills/hailer-rest-api/hailer-workflows.md +0 -283
- package/.claude/skills/insight-join-patterns/SKILL.md +0 -174
- package/.claude/skills/json-only-output/SKILL.md +0 -72
- package/.claude/skills/mcp-direct-tools/SKILL.md +0 -153
- package/.claude/skills/optional-parameters/SKILL.md +0 -72
- package/.claude/skills/tool-parameter-usage/SKILL.md +0 -126
- package/.claude/skills/tool-response-verification/SKILL.md +0 -92
- package/.opencode/agent/agent-ada-skill-builder.md +0 -35
- package/.opencode/agent/agent-alejandro-function-fields.md +0 -39
- package/.opencode/agent/agent-bjorn-config-audit.md +0 -36
- package/.opencode/agent/agent-builder-agent-creator.md +0 -39
- package/.opencode/agent/agent-code-simplifier.md +0 -31
- package/.opencode/agent/agent-dmitri-activity-crud.md +0 -40
- package/.opencode/agent/agent-giuseppe-app-builder.md +0 -37
- package/.opencode/agent/agent-gunther-mcp-tools.md +0 -39
- package/.opencode/agent/agent-helga-workflow-config.md +0 -204
- package/.opencode/agent/agent-igor-activity-mover-automation.md +0 -46
- package/.opencode/agent/agent-ingrid-doc-templates.md +0 -39
- package/.opencode/agent/agent-ivan-monolith.md +0 -46
- package/.opencode/agent/agent-kenji-data-reader.md +0 -53
- package/.opencode/agent/agent-lars-code-inspector.md +0 -28
- package/.opencode/agent/agent-marco-mockup-builder.md +0 -42
- package/.opencode/agent/agent-marcus-api-documenter.md +0 -53
- package/.opencode/agent/agent-marketplace-publisher.md +0 -44
- package/.opencode/agent/agent-marketplace-reviewer.md +0 -42
- package/.opencode/agent/agent-permissions-handler.md +0 -50
- package/.opencode/agent/agent-simple-writer.md +0 -45
- package/.opencode/agent/agent-svetlana-code-review.md +0 -39
- package/.opencode/agent/agent-tanya-test-runner.md +0 -57
- package/.opencode/agent/agent-ui-designer.md +0 -56
- package/.opencode/agent/agent-viktor-sql-insights.md +0 -34
- package/.opencode/agent/agent-web-search.md +0 -42
- package/.opencode/agent/agent-yevgeni-discussions.md +0 -37
- package/.opencode/agent/agent-zara-zapier.md +0 -53
- package/.opencode/commands/app-squad.md +0 -135
- package/.opencode/commands/audit-squad.md +0 -158
- package/.opencode/commands/autoplan.md +0 -563
- package/.opencode/commands/cleanup-squad.md +0 -98
- package/.opencode/commands/config-squad.md +0 -106
- package/.opencode/commands/crud-squad.md +0 -87
- package/.opencode/commands/data-squad.md +0 -97
- package/.opencode/commands/debug-squad.md +0 -303
- package/.opencode/commands/doc-squad.md +0 -65
- package/.opencode/commands/handoff.md +0 -137
- package/.opencode/commands/health.md +0 -49
- package/.opencode/commands/help-agents.md +0 -151
- package/.opencode/commands/help-commands.md +0 -32
- package/.opencode/commands/help-faq.md +0 -29
- package/.opencode/commands/help-plugins.md +0 -28
- package/.opencode/commands/help-skills.md +0 -7
- package/.opencode/commands/help-tools.md +0 -40
- package/.opencode/commands/help.md +0 -28
- package/.opencode/commands/hotfix-squad.md +0 -112
- package/.opencode/commands/integration-squad.md +0 -82
- package/.opencode/commands/janitor-squad.md +0 -167
- package/.opencode/commands/learn-auto.md +0 -120
- package/.opencode/commands/learn.md +0 -120
- package/.opencode/commands/mcp-list.md +0 -27
- package/.opencode/commands/onboard-squad.md +0 -140
- package/.opencode/commands/plan-workspace.md +0 -732
- package/.opencode/commands/prd.md +0 -131
- package/.opencode/commands/project-status.md +0 -82
- package/.opencode/commands/publish.md +0 -138
- package/.opencode/commands/recap.md +0 -69
- package/.opencode/commands/restore.md +0 -64
- package/.opencode/commands/review-squad.md +0 -152
- package/.opencode/commands/save.md +0 -24
- package/.opencode/commands/stats.md +0 -19
- package/.opencode/commands/swarm.md +0 -210
- package/.opencode/commands/tool-builder.md +0 -39
- package/.opencode/commands/ws-pull.md +0 -44
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Create, update, or manage activities with
|
|
2
|
+
description: Create, update, or manage activities with schema discovery and CRUD operations
|
|
3
3
|
argument-hint: "what to create/update and in which workflow"
|
|
4
4
|
allowed-tools: Task, Bash, Read
|
|
5
5
|
---
|
|
@@ -7,43 +7,43 @@ allowed-tools: Task, Bash, Read
|
|
|
7
7
|
|
|
8
8
|
Sequential pipeline: Discover schema, execute CRUD operations, verify results.
|
|
9
9
|
|
|
10
|
-
**
|
|
11
|
-
1. **
|
|
12
|
-
2. **
|
|
13
|
-
3. **
|
|
10
|
+
**Roles:**
|
|
11
|
+
1. **Data Reader** - Schema discovery + pre-read existing data
|
|
12
|
+
2. **Activity Writer** - Create/update activities
|
|
13
|
+
3. **Data Reader** - Verify results (count/list after changes)
|
|
14
14
|
|
|
15
15
|
**Goal:** $ARGUMENTS
|
|
16
16
|
|
|
17
17
|
## Protocol
|
|
18
18
|
|
|
19
|
-
### Step 1:
|
|
19
|
+
### Step 1: Schema Discovery
|
|
20
20
|
|
|
21
21
|
Discover workflow schema and existing data relevant to the task:
|
|
22
22
|
|
|
23
23
|
```
|
|
24
|
-
Task(
|
|
24
|
+
Task(prompt="Load sdk-ws-config-skill and sdk-activity-patterns skills for data operations.\n\nFor this task: $ARGUMENTS\n\n1. List the relevant workflow(s) with field IDs, types, and dropdown/enum options\n2. List phases and their IDs\n3. If updating existing activities: list the activities that match (include their IDs)\n4. If creating new activities: show a sample existing activity so we know the expected field format")
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
Wait for result. This gives
|
|
27
|
+
Wait for result. This gives the activity writer the real IDs and field formats.
|
|
28
28
|
|
|
29
|
-
### Step 2:
|
|
29
|
+
### Step 2: CRUD Operations
|
|
30
30
|
|
|
31
|
-
Spawn
|
|
31
|
+
Spawn an activity writer with full schema context:
|
|
32
32
|
|
|
33
33
|
```
|
|
34
|
-
Task(
|
|
34
|
+
Task(prompt="Load sdk-activity-patterns skill for activity creation and updates.\n\nTask: $ARGUMENTS\n\nWorkflow schema from data reader:\n[PASTE DATA READER OUTPUT - workflow ID, field IDs, types, phase IDs, enum options]\n\n[IF UPDATING: Target activities:\nPASTE ACTIVITY IDs AND CURRENT VALUES]\n\nExecute the CRUD operations using the correct field IDs and value formats.")
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
Wait for result. Check for errors - if
|
|
37
|
+
Wait for result. Check for errors - if the activity writer reports validation failures, review field formats and retry once.
|
|
38
38
|
|
|
39
|
-
### Step 3:
|
|
39
|
+
### Step 3: Verify Results
|
|
40
40
|
|
|
41
41
|
Skip if `--skip-verify` flag is set.
|
|
42
42
|
|
|
43
43
|
Verify the operations succeeded:
|
|
44
44
|
|
|
45
45
|
```
|
|
46
|
-
Task(
|
|
46
|
+
Task(prompt="Load sdk-ws-config-skill for data verification.\n\nVerify CRUD operations for: $ARGUMENTS\n\nExpected changes:\n[PASTE ACTIVITY WRITER OUTPUT - created/updated activity IDs]\n\nCount activities in the workflow and list the recently created/modified ones to confirm they exist with correct values.")
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
### Step 4: Report
|
|
@@ -51,17 +51,17 @@ Task(subagent_type="agent-kenji-data-reader", prompt="Verify CRUD operations for
|
|
|
51
51
|
```markdown
|
|
52
52
|
## CRUD Squad Complete
|
|
53
53
|
|
|
54
|
-
###
|
|
54
|
+
### Data Reader (Schema Discovery)
|
|
55
55
|
- Workflow: [name] ([id])
|
|
56
56
|
- Fields mapped: [count]
|
|
57
57
|
- Existing activities found: [count or "N/A"]
|
|
58
58
|
|
|
59
|
-
###
|
|
59
|
+
### Activity Writer (CRUD Operations)
|
|
60
60
|
- Created: [count] activities
|
|
61
61
|
- Updated: [count] activities
|
|
62
62
|
- Errors: [count or "none"]
|
|
63
63
|
|
|
64
|
-
###
|
|
64
|
+
### Data Reader (Verification)
|
|
65
65
|
- Activities confirmed: [count]
|
|
66
66
|
- Discrepancies: [list or "none"]
|
|
67
67
|
|
|
@@ -73,15 +73,15 @@ Task(subagent_type="agent-kenji-data-reader", prompt="Verify CRUD operations for
|
|
|
73
73
|
|
|
74
74
|
| Flag | Effect |
|
|
75
75
|
|------|--------|
|
|
76
|
-
| `--skip-verify` | Skip verification
|
|
76
|
+
| `--skip-verify` | Skip verification (trust Activity Writer's response) |
|
|
77
77
|
| `--skip-discovery` | Skip schema discovery (when you already know the workflow schema) |
|
|
78
|
-
| `--dry-run` | Run
|
|
78
|
+
| `--dry-run` | Run Data Reader discovery only, show what Activity Writer would do, but don't execute |
|
|
79
79
|
|
|
80
|
-
## Difference from Direct
|
|
80
|
+
## Difference from Direct Activity Writer
|
|
81
81
|
|
|
82
|
-
| | Direct
|
|
82
|
+
| | Direct Activity Writer | CRUD Squad |
|
|
83
83
|
|---|---|---|
|
|
84
|
-
| **Schema context** | You must provide IDs manually |
|
|
85
|
-
| **Verification** | Trust
|
|
84
|
+
| **Schema context** | You must provide IDs manually | Data Reader discovers IDs automatically |
|
|
85
|
+
| **Verification** | Trust Activity Writer's response | Data Reader independently verifies |
|
|
86
86
|
| **Bulk ops** | Single prompt | Discovery → execute → verify pipeline |
|
|
87
87
|
| **Use when** | You already know exact IDs and format | "Create 5 customers" or "Update all overdue tasks" |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Build reports with
|
|
2
|
+
description: Build reports with schema discovery, function fields, and insights
|
|
3
3
|
argument-hint: "report/dashboard description"
|
|
4
4
|
allowed-tools: Task, Bash, Read
|
|
5
5
|
---
|
|
@@ -7,50 +7,50 @@ allowed-tools: Task, Bash, Read
|
|
|
7
7
|
|
|
8
8
|
Sequential pipeline: Discover schema, create calculated fields if needed, then build insights.
|
|
9
9
|
|
|
10
|
-
**
|
|
11
|
-
1. **
|
|
12
|
-
2. **
|
|
13
|
-
3. **
|
|
10
|
+
**Roles:**
|
|
11
|
+
1. **Data Reader** - Schema discovery (workflow fields, types, IDs)
|
|
12
|
+
2. **Function Fields** - Calculated fields (if needed)
|
|
13
|
+
3. **SQL Insights** - SQL insights (queries, aggregations, reports)
|
|
14
14
|
|
|
15
15
|
**Goal:** $ARGUMENTS
|
|
16
16
|
|
|
17
17
|
## Protocol
|
|
18
18
|
|
|
19
|
-
### Step 1:
|
|
19
|
+
### Step 1: Schema Discovery
|
|
20
20
|
|
|
21
|
-
Always start with
|
|
21
|
+
Always start with schema discovery to get real IDs and field types:
|
|
22
22
|
|
|
23
23
|
```
|
|
24
|
-
Task(
|
|
24
|
+
Task(prompt="Load sdk-ws-config-skill for understanding workspace structure.\n\nList all workflows and their fields relevant to: $ARGUMENTS. Include field IDs, types, and dropdown options. Also list existing insights if any.")
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
Wait for result. This gives
|
|
27
|
+
Wait for result. This gives the function fields and SQL insights agents the real IDs they need.
|
|
28
28
|
|
|
29
29
|
### Step 2: Check if Function Fields Needed
|
|
30
30
|
|
|
31
|
-
Review
|
|
31
|
+
Review the schema discovery output. Function fields are needed when:
|
|
32
32
|
- The report needs **calculated values** not already in the schema (totals, percentages, date diffs)
|
|
33
33
|
- An existing function field needs modification
|
|
34
34
|
- A **nameFunction** is missing or needs updating
|
|
35
35
|
|
|
36
36
|
If no calculated fields needed, skip to Step 3.
|
|
37
37
|
|
|
38
|
-
If needed, spawn
|
|
38
|
+
If needed, spawn a function fields agent:
|
|
39
39
|
|
|
40
40
|
```
|
|
41
|
-
Task(
|
|
41
|
+
Task(prompt="Load sdk-function-fields and sdk-ws-config-skill skills for creating calculated fields.\n\nCreate function fields for: $ARGUMENTS.\n\nWorkflow schema from data reader:\n[PASTE SCHEMA DISCOVERY OUTPUT - workflow IDs, field IDs, types]\n\nCreate the calculated fields needed for this report.")
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
Wait for result. If `"status": "ready_to_push"`:
|
|
45
45
|
- Run the push commands
|
|
46
46
|
- Run `npm run pull` to get new field IDs
|
|
47
47
|
|
|
48
|
-
### Step 3:
|
|
48
|
+
### Step 3: SQL Insights
|
|
49
49
|
|
|
50
|
-
Spawn
|
|
50
|
+
Spawn an SQL insights agent with full schema context:
|
|
51
51
|
|
|
52
52
|
```
|
|
53
|
-
Task(
|
|
53
|
+
Task(prompt="Load sdk-insight-queries and sdk-ws-config-skill skills for building insights.\n\nCreate insights for: $ARGUMENTS.\n\nWorkflow schema:\n[Data reader found these workflows and fields: SUMMARIZE SCHEMA DISCOVERY RESULT.]\n\n[IF FUNCTION FIELDS AGENT RAN: It created these function fields: SUMMARIZE FUNCTION FIELDS RESULT.]\n\nBuild SQL queries with correct field IDs. Never guess IDs.")
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
Wait for result. If `"status": "ready_to_push"`:
|
|
@@ -61,16 +61,16 @@ Wait for result. If `"status": "ready_to_push"`:
|
|
|
61
61
|
```markdown
|
|
62
62
|
## Data Squad Complete
|
|
63
63
|
|
|
64
|
-
###
|
|
64
|
+
### Data Reader (Schema Discovery)
|
|
65
65
|
- Workflows found: [list]
|
|
66
66
|
- Fields mapped: [count]
|
|
67
67
|
- Existing insights: [list or "none"]
|
|
68
68
|
|
|
69
|
-
###
|
|
69
|
+
### Function Fields
|
|
70
70
|
- Created: [list with formulas]
|
|
71
71
|
- Skipped: [reason if not needed]
|
|
72
72
|
|
|
73
|
-
###
|
|
73
|
+
### SQL Insights
|
|
74
74
|
- Insights created: [list]
|
|
75
75
|
- Query summary: [brief description of each]
|
|
76
76
|
- Public: [yes/no for each]
|
|
@@ -84,14 +84,14 @@ Wait for result. If `"status": "ready_to_push"`:
|
|
|
84
84
|
|
|
85
85
|
| Flag | Effect |
|
|
86
86
|
|------|--------|
|
|
87
|
-
| `--skip-functions` | Skip
|
|
88
|
-
| `--skip-insights` | Skip
|
|
87
|
+
| `--skip-functions` | Skip Function Fields step (when not needed) |
|
|
88
|
+
| `--skip-insights` | Skip SQL Insights step (when not needed) |
|
|
89
89
|
|
|
90
90
|
## Difference from Config Squad
|
|
91
91
|
|
|
92
92
|
| | Config Squad | Data Squad |
|
|
93
93
|
|---|---|---|
|
|
94
94
|
| **Starting point** | New workflow needed | Workflow already exists |
|
|
95
|
-
| **First agent** |
|
|
95
|
+
| **First agent** | Workflow Config (create workflow) | Data Reader (read existing schema) |
|
|
96
96
|
| **Focus** | Infrastructure setup | Reporting and analytics |
|
|
97
97
|
| **Use when** | "Create a Tasks workflow with..." | "Build a report showing..." |
|
|
@@ -8,11 +8,11 @@ allowed-tools: Task, Bash, Read
|
|
|
8
8
|
|
|
9
9
|
Parallel investigation squad: diagnose bugs by examining data state, query patterns, code logic, and test reproduction simultaneously.
|
|
10
10
|
|
|
11
|
-
**
|
|
12
|
-
- **
|
|
13
|
-
- **
|
|
14
|
-
- **
|
|
15
|
-
- **
|
|
11
|
+
**Roles:**
|
|
12
|
+
- **Data Reader** - Data state (check relevant activities, field values, phases, linked records)
|
|
13
|
+
- **SQL Insights** - Query patterns (is this isolated or widespread? run insights to find anomalies)
|
|
14
|
+
- **Code Reviewer** - Code review (logic errors, missing validations, race conditions)
|
|
15
|
+
- **Test Runner** - Test reproduction (create failing test to isolate the bug)
|
|
16
16
|
|
|
17
17
|
**Goal:** $ARGUMENTS
|
|
18
18
|
|
|
@@ -32,42 +32,42 @@ Set `iteration = 1` and `max_iterations = 2`.
|
|
|
32
32
|
|
|
33
33
|
Spawn all agents simultaneously using multiple Task tool calls in a single message:
|
|
34
34
|
|
|
35
|
-
**
|
|
35
|
+
**Data Reader:**
|
|
36
36
|
```
|
|
37
|
-
Task(
|
|
37
|
+
Task(prompt="Load sdk-ws-config-skill for understanding workflow and data structures.\n\nInvestigate the data state for this bug: $ARGUMENTS.\n\nYour job:\n1. Identify the affected workflow(s) and activities\n2. Look up the relevant activity records, field values, phases\n3. Check linked activities and relationships\n4. Compare expected vs actual data state\n5. Report any anomalies, missing data, or unexpected values\n\nReturn:\n- What the data SHOULD look like\n- What it ACTUALLY looks like\n- Which fields/relationships are affected")
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
**
|
|
40
|
+
**SQL Insights:**
|
|
41
41
|
```
|
|
42
|
-
Task(
|
|
42
|
+
Task(prompt="Load sdk-insight-queries skill for data pattern analysis.\n\nFind patterns for this bug: $ARGUMENTS.\n\nYour job:\n1. Run insight queries to determine: is this isolated to one activity or widespread?\n2. Query for similar data anomalies across the workflow\n3. Look for patterns: does it affect specific phases, teams, date ranges, field values?\n4. Check for recent changes that could correlate with the bug\n\nReturn:\n- Is this isolated or widespread? (scope)\n- Pattern: what data characteristics trigger it?\n- How many records/activities affected?\n- Timeline: when did anomalies start appearing?")
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
**
|
|
45
|
+
**Code Reviewer:**
|
|
46
46
|
```
|
|
47
|
-
Task(
|
|
47
|
+
Task(prompt="Review the code for this bug: $ARGUMENTS.\n\nYour job:\n1. Identify the relevant code sections (workflow logic, activity creation, field updates, phase transitions)\n2. Inspect for logic errors, missing validations, race conditions, null checks\n3. Look for assumptions that might break in edge cases\n4. Check for recent changes that could have introduced the bug\n\nReturn:\n- Suspected code sections with issues\n- Specific logic problems (race conditions, wrong field access, missing validation)\n- Edge cases not handled\n- Security implications if any")
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
**
|
|
50
|
+
**Test Runner:**
|
|
51
51
|
```
|
|
52
|
-
Task(
|
|
52
|
+
Task(prompt="Load testing-patterns skill for writing focused tests.\n\nCreate a failing test for this bug: $ARGUMENTS.\n\nYour job:\n1. Write a minimal test that reproduces the bug\n2. Set up the preconditions (data state, workflow, etc)\n3. Execute the action that triggers the bug\n4. Assert the bug is present (test FAILS with current code)\n5. Do NOT fix the bug - just demonstrate it\n\nReturn:\n- The failing test code\n- What the test proves about the bug\n- Failure output showing the bug is real")
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
If `$ARGUMENTS` contains `--skip-data`, skip
|
|
56
|
-
If `$ARGUMENTS` contains `--skip-queries`, skip
|
|
55
|
+
If `$ARGUMENTS` contains `--skip-data`, skip Data Reader.
|
|
56
|
+
If `$ARGUMENTS` contains `--skip-queries`, skip SQL Insights.
|
|
57
57
|
|
|
58
58
|
### Step 3: Collect Results and Synthesize Root Cause
|
|
59
59
|
|
|
60
60
|
Wait for all agents to complete. Aggregate findings:
|
|
61
61
|
|
|
62
|
-
**From
|
|
63
|
-
**From
|
|
64
|
-
**From
|
|
65
|
-
**From
|
|
62
|
+
**From Data Reader:** What data is wrong?
|
|
63
|
+
**From SQL Insights:** How widespread is it? What pattern triggers it?
|
|
64
|
+
**From Code Reviewer:** What code is broken?
|
|
65
|
+
**From Test Runner:** Can we reproduce it consistently?
|
|
66
66
|
|
|
67
67
|
Look for convergence:
|
|
68
68
|
- Does data anomaly match code logic error?
|
|
69
|
-
- Does
|
|
70
|
-
- Does
|
|
69
|
+
- Does Code Reviewer's suspected code section align with SQL Insights' pattern?
|
|
70
|
+
- Does Test Runner's test reproduce the exact issue Data Reader found?
|
|
71
71
|
|
|
72
72
|
If **clear root cause** emerges → proceed to Step 4 (report).
|
|
73
73
|
|
|
@@ -80,10 +80,10 @@ If **inconclusive** (no agent found clear cause OR agents disagree):
|
|
|
80
80
|
If first iteration was inconclusive, re-run agents with narrowed focus:
|
|
81
81
|
|
|
82
82
|
```
|
|
83
|
-
Task(
|
|
83
|
+
Task(prompt="Load sdk-ws-config-skill for deep data investigation.\n\nRe-investigate (iteration [iteration]): $ARGUMENTS\n\nBased on initial findings:\n[SUMMARIZE WHAT FIRST PASS FOUND]\n\nNarrow your focus to: [MOST LIKELY AFFECTED AREA]\n\nDig deeper into the data state. Look for subtle issues.")
|
|
84
84
|
```
|
|
85
85
|
|
|
86
|
-
Similar narrowed prompts for
|
|
86
|
+
Similar narrowed prompts for SQL Insights, Code Reviewer, Test Runner agents.
|
|
87
87
|
|
|
88
88
|
### Step 4: Report
|
|
89
89
|
|
|
@@ -97,26 +97,26 @@ Similar narrowed prompts for Viktor, Svetlana, Tanya.
|
|
|
97
97
|
|
|
98
98
|
---
|
|
99
99
|
|
|
100
|
-
###
|
|
100
|
+
### Data Reader
|
|
101
101
|
**Affected Records:** [count/scope]
|
|
102
102
|
- Expected state: [description]
|
|
103
103
|
- Actual state: [description]
|
|
104
104
|
- Anomalies found: [list]
|
|
105
105
|
|
|
106
|
-
###
|
|
106
|
+
### SQL Insights
|
|
107
107
|
**Scope:** Isolated / Widespread (X records affected)
|
|
108
108
|
**Pattern:** [What triggers the bug]
|
|
109
109
|
**Timeline:** [When did it start]
|
|
110
110
|
- Similar anomalies detected: [yes/no, details]
|
|
111
111
|
|
|
112
|
-
###
|
|
112
|
+
### Code Reviewer
|
|
113
113
|
**Suspected Code:** [files and line numbers]
|
|
114
114
|
**Issues Found:**
|
|
115
115
|
- [Issue 1]: [file:line] - [description]
|
|
116
116
|
- [Issue 2]: [file:line] - [description]
|
|
117
117
|
**Risk Level:** [LOW/MEDIUM/HIGH]
|
|
118
118
|
|
|
119
|
-
###
|
|
119
|
+
### Test Runner
|
|
120
120
|
**Test Status:** CREATED / FAILED TO REPRODUCE
|
|
121
121
|
**Reproducibility:** Consistent / Intermittent / Cannot reproduce
|
|
122
122
|
- Test file: [path]
|
|
@@ -138,7 +138,7 @@ Similar narrowed prompts for Viktor, Svetlana, Tanya.
|
|
|
138
138
|
- Rationale: [why this fixes it]
|
|
139
139
|
|
|
140
140
|
### Next Steps
|
|
141
|
-
1. [Fix applied by
|
|
141
|
+
1. [Fix applied by code reviewer/code editor]
|
|
142
142
|
2. [Test to verify fix]
|
|
143
143
|
3. [Deploy and monitor]
|
|
144
144
|
```
|
|
@@ -149,8 +149,8 @@ If any agent fails or times out, report partial results, note which failed, and
|
|
|
149
149
|
|
|
150
150
|
| Flag | Effect |
|
|
151
151
|
|------|--------|
|
|
152
|
-
| `--skip-data` | Skip
|
|
153
|
-
| `--skip-queries` | Skip
|
|
152
|
+
| `--skip-data` | Skip Data Reader (when data investigation not needed) |
|
|
153
|
+
| `--skip-queries` | Skip SQL Insights (when pattern analysis not needed) |
|
|
154
154
|
| `--bg` | Run all agents in background mode |
|
|
155
155
|
| `--debate` | Debate mode: competing hypotheses instead of domain-split investigation |
|
|
156
156
|
|
|
@@ -193,15 +193,15 @@ If user provided their own hypotheses in `$ARGUMENTS`, use those instead of gene
|
|
|
193
193
|
|
|
194
194
|
Pick the best-fit agent for each hypothesis:
|
|
195
195
|
|
|
196
|
-
| Hypothesis Type | Best Agent |
|
|
196
|
+
| Hypothesis Type | Best Agent Role |
|
|
197
197
|
|----------------|-----------|
|
|
198
|
-
| Data integrity / missing values | **
|
|
199
|
-
| Query / pattern / scope issue | **
|
|
200
|
-
| Code logic / validation / race condition | **
|
|
201
|
-
| Reproducibility / environment | **
|
|
202
|
-
| External integration / API | **
|
|
203
|
-
| Activity mover / phase cascade | **
|
|
204
|
-
| Zapier integration / external sync | **
|
|
198
|
+
| Data integrity / missing values | **Data Reader** (load sdk-ws-config-skill) |
|
|
199
|
+
| Query / pattern / scope issue | **SQL Insights** (load sdk-insight-queries) |
|
|
200
|
+
| Code logic / validation / race condition | **Code Reviewer** |
|
|
201
|
+
| Reproducibility / environment | **Test Runner** (load testing-patterns) |
|
|
202
|
+
| External integration / API | **Automation Inspector** (load hailer-monolith-automations) |
|
|
203
|
+
| Activity mover / phase cascade | **Automation Inspector** (load hailer-monolith-automations) |
|
|
204
|
+
| Zapier integration / external sync | **Integration Inspector** (load zapier-hailer-patterns) |
|
|
205
205
|
|
|
206
206
|
Each agent gets:
|
|
207
207
|
- The full problem description
|
|
@@ -209,7 +209,7 @@ Each agent gets:
|
|
|
209
209
|
- Instruction: "Find evidence that supports OR refutes this hypothesis. Be honest - if evidence points away from your hypothesis, report that."
|
|
210
210
|
|
|
211
211
|
```
|
|
212
|
-
Task(
|
|
212
|
+
Task(prompt="Load relevant skill for deep investigation.\n\nDEBATE MODE investigation for: $ARGUMENTS
|
|
213
213
|
|
|
214
214
|
YOUR HYPOTHESIS: [H1 description]
|
|
215
215
|
|
|
@@ -229,11 +229,11 @@ Launch all hypothesis agents in parallel.
|
|
|
229
229
|
|
|
230
230
|
Collect results. For each hypothesis, assess:
|
|
231
231
|
|
|
232
|
-
| Hypothesis | Supporting Evidence | Refuting Evidence | Confidence |
|
|
232
|
+
| Hypothesis | Supporting Evidence | Refuting Evidence | Confidence | Role |
|
|
233
233
|
|-----------|-------------------|-------------------|------------|-------|
|
|
234
|
-
| H1 | [list] | [list] | STRONG/MODERATE/WEAK | [
|
|
235
|
-
| H2 | [list] | [list] | STRONG/MODERATE/WEAK | [
|
|
236
|
-
| H3 | [list] | [list] | STRONG/MODERATE/WEAK | [
|
|
234
|
+
| H1 | [list] | [list] | STRONG/MODERATE/WEAK | [role] |
|
|
235
|
+
| H2 | [list] | [list] | STRONG/MODERATE/WEAK | [role] |
|
|
236
|
+
| H3 | [list] | [list] | STRONG/MODERATE/WEAK | [role] |
|
|
237
237
|
|
|
238
238
|
**Verdict rules:**
|
|
239
239
|
- If one hypothesis has STRONG confidence and others are WEAK → **clear winner**
|
|
@@ -251,7 +251,7 @@ Collect results. For each hypothesis, assess:
|
|
|
251
251
|
### Hypotheses Tested
|
|
252
252
|
|
|
253
253
|
#### H1: [Hypothesis description]
|
|
254
|
-
**Assigned to:** [Agent
|
|
254
|
+
**Assigned to:** [Agent role]
|
|
255
255
|
**Confidence:** STRONG / MODERATE / WEAK
|
|
256
256
|
**Supporting evidence:**
|
|
257
257
|
- [Evidence 1]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Document API endpoints with
|
|
2
|
+
description: Document API endpoints with code analysis and documentation generation
|
|
3
3
|
argument-hint: "endpoint or module to document"
|
|
4
4
|
allowed-tools: Task, Bash
|
|
5
5
|
---
|
|
@@ -7,47 +7,47 @@ allowed-tools: Task, Bash
|
|
|
7
7
|
|
|
8
8
|
Sequential pipeline: Code analysis, then generate documentation.
|
|
9
9
|
|
|
10
|
-
**
|
|
11
|
-
1. **
|
|
12
|
-
2. **
|
|
10
|
+
**Roles:**
|
|
11
|
+
1. **Code Inspector** - LSP code analysis (inspect types, schemas, function signatures)
|
|
12
|
+
2. **Documentation Generator** - API documentation (generate endpoint docs from analysis)
|
|
13
13
|
|
|
14
14
|
**Goal:** $ARGUMENTS
|
|
15
15
|
|
|
16
16
|
## Protocol
|
|
17
17
|
|
|
18
|
-
### Step 1:
|
|
18
|
+
### Step 1: Code Analysis
|
|
19
19
|
|
|
20
|
-
Spawn
|
|
20
|
+
Spawn a code inspector to analyze code and extract types/schemas:
|
|
21
21
|
|
|
22
22
|
```
|
|
23
|
-
Task(
|
|
23
|
+
Task(prompt="Load lsp-setup skill for code inspection.\n\nInspect code for: $ARGUMENTS. Extract:\n- Function signatures\n- Type definitions\n- Return types\n- Parameter schemas\n- Joi/Zod validation rules\n\nUse LSP if available. Return structured analysis with types and schemas.")
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
Wait for result. Save the analysis output -
|
|
26
|
+
Wait for result. Save the analysis output - the documentation generator needs these type definitions.
|
|
27
27
|
|
|
28
|
-
### Step 2:
|
|
28
|
+
### Step 2: Generate Documentation
|
|
29
29
|
|
|
30
|
-
Spawn
|
|
30
|
+
Spawn a documentation generator with the code analysis:
|
|
31
31
|
|
|
32
32
|
```
|
|
33
|
-
Task(
|
|
33
|
+
Task(prompt="Load api-documentation-patterns skill for creating API documentation.\n\nGenerate API documentation for: $ARGUMENTS.\n\nCode analysis from code inspector:\n[PASTE CODE INSPECTOR OUTPUT - types, schemas, function signatures]\n\nCreate comprehensive endpoint documentation including:\n- Endpoint path and method\n- Description\n- Parameters and types\n- Request/response examples\n- Error codes and handling\n- Usage examples with @hailer/cli")
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
Wait for result. If `"status": "ready_to_push"`:
|
|
37
|
-
- Run the push commands
|
|
37
|
+
- Run the push commands provided
|
|
38
38
|
|
|
39
39
|
### Step 3: Report
|
|
40
40
|
|
|
41
41
|
```markdown
|
|
42
42
|
## Doc Squad Complete
|
|
43
43
|
|
|
44
|
-
###
|
|
44
|
+
### Code Inspector
|
|
45
45
|
- Files analyzed: [count]
|
|
46
46
|
- Functions found: [count]
|
|
47
47
|
- Types extracted: [count]
|
|
48
48
|
- Schemas identified: [list]
|
|
49
49
|
|
|
50
|
-
###
|
|
50
|
+
### Documentation Generator
|
|
51
51
|
- Endpoints documented: [count]
|
|
52
52
|
- Examples created: [count]
|
|
53
53
|
- Files generated: [list]
|
|
@@ -60,6 +60,6 @@ Wait for result. If `"status": "ready_to_push"`:
|
|
|
60
60
|
|
|
61
61
|
## Notes
|
|
62
62
|
|
|
63
|
-
-
|
|
64
|
-
-
|
|
63
|
+
- Code Inspector runs first to extract accurate types - never guess schemas
|
|
64
|
+
- Documentation Generator creates human-friendly docs from the type analysis
|
|
65
65
|
- Documentation stays in sync with actual code signatures
|