@mestreyoda/fabrica 0.1.15 → 0.1.17
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/defaults/fabrica/prompts/developer.md +8 -8
- package/defaults/fabrica/workflow.yaml +19 -20
- package/dist/index.js +777 -584
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
|
@@ -132,17 +132,17 @@ gh pr edit "$PR_NUM" --body "$(printf '%s\n\n## QA Evidence\n\n```\n%s\n```\n\nE
|
|
|
132
132
|
|
|
133
133
|
**Do NOT post QA evidence only as a comment.** PR comments are not canonical QA evidence; the reviewer and the workflow both validate the PR description body.
|
|
134
134
|
|
|
135
|
-
### 5. Call work_finish
|
|
135
|
+
### 5. Call work_finish (API tool — NOT a shell command)
|
|
136
136
|
|
|
137
|
-
|
|
138
|
-
work_finish({ role: "developer", result: "done", channelId: "<project slug from 'Project:' field in task message>", summary: "<what you did>" })
|
|
139
|
-
```
|
|
137
|
+
`work_finish` is a **Fabrica API tool**. You must invoke it as a **tool call** (tool_use), the same way you call any other tool like `task_create` or `gh`. Do **NOT** run it as a bash command — it is not on your PATH, and attempting to execute it in a shell will fail with "command not found".
|
|
140
138
|
|
|
141
|
-
|
|
139
|
+
Use the `work_finish` tool with these arguments:
|
|
140
|
+
- `role`: `"developer"`
|
|
141
|
+
- `result`: `"done"` (or `"blocked"` if stuck)
|
|
142
|
+
- `channelId`: the project slug from the `"Project: <name>"` line in your task message (e.g., `"gestao-notas"`)
|
|
143
|
+
- `summary`: brief description of what you did
|
|
142
144
|
|
|
143
|
-
|
|
144
|
-
> Extract it from the "Project: <name>" line in your task message. Do NOT use the numeric
|
|
145
|
-
> channel ID — use the project slug to avoid resolution errors when channels are shared.
|
|
145
|
+
**If blocked:** call `work_finish` with `result: "blocked"` and explain why in `summary`.
|
|
146
146
|
|
|
147
147
|
**Always call work_finish** — even if you hit errors or can't complete the task.
|
|
148
148
|
|
|
@@ -6,26 +6,25 @@
|
|
|
6
6
|
#
|
|
7
7
|
# To see what changed in a new version: config({ action: "diff" })
|
|
8
8
|
# To reset to package defaults: config({ action: "reset", scope: "workflow" })
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
senior: anthropic/claude-sonnet-4-5
|
|
9
|
+
#
|
|
10
|
+
# Models are auto-resolved from your authenticated providers.
|
|
11
|
+
# To override, specify explicit models per role/level:
|
|
12
|
+
# roles:
|
|
13
|
+
# developer:
|
|
14
|
+
# models:
|
|
15
|
+
# junior: your-provider/model-name
|
|
16
|
+
#
|
|
17
|
+
# Tier defaults (used when no explicit model configured):
|
|
18
|
+
# junior → fast tier (cheapest available model)
|
|
19
|
+
# medior → balanced tier
|
|
20
|
+
# senior → reasoning tier (most capable model)
|
|
21
|
+
#
|
|
22
|
+
# To configure thinking effort per role/level:
|
|
23
|
+
# roles:
|
|
24
|
+
# developer:
|
|
25
|
+
# effort:
|
|
26
|
+
# junior: minimal # fast, direct execution
|
|
27
|
+
# senior: deep # thorough analysis
|
|
29
28
|
|
|
30
29
|
workflow:
|
|
31
30
|
initial: planning
|