abelworkflow 0.6.3 → 0.6.4
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/.gitignore +1 -0
- package/commands/oc/plan.md +1 -1
- package/commands/oc/research.md +4 -4
- package/lib/cli.mjs +2 -2
- package/lib/templates/codex/config-base.toml +1 -1
- package/package.json +4 -1
package/.gitignore
CHANGED
package/commands/oc/plan.md
CHANGED
|
@@ -77,7 +77,7 @@ argument-hint: [change_name]
|
|
|
77
77
|
- Use `openspec list --specs` to check for conflicts with existing specifications.
|
|
78
78
|
- Search existing patterns with `rg -n "INVARIANT:|PROPERTY:|Constraint:" openspec/` before defining new ones.
|
|
79
79
|
- For complex proposals, consider running steps 2-4 iteratively on sub-components.
|
|
80
|
-
-
|
|
80
|
+
- Ask the user directly for ANY ambiguity—do not assume or guess.
|
|
81
81
|
|
|
82
82
|
**Exit Criteria**
|
|
83
83
|
A proposal is ready to exit the Plan phase only when:
|
package/commands/oc/research.md
CHANGED
|
@@ -26,7 +26,7 @@ Produce constraint sets that narrow the solution space, plus measurable success
|
|
|
26
26
|
|
|
27
27
|
## Phase 0 — Requirement Intake Gate (MANDATORY)
|
|
28
28
|
- **MUST** confirm the user’s requirement exists and is clear **before** any research/action.
|
|
29
|
-
- If missing/unclear, **MUST**
|
|
29
|
+
- If missing/unclear, **MUST** ask the user directly in a concise grouped message to collect: goal, in-scope area, top scenarios, non-goals, known constraints, success signals.
|
|
30
30
|
- **MUST NOT** run `/opsx:new`, any codebase retrieval, spawn subagents, or generate artifacts until the user confirms a brief requirement summary.
|
|
31
31
|
|
|
32
32
|
---
|
|
@@ -97,7 +97,7 @@ All explore subagents MUST return valid JSON using this schema:
|
|
|
97
97
|
|
|
98
98
|
## Phase 7 — User Interaction for Ambiguity Resolution
|
|
99
99
|
- Compile prioritized list of open questions from aggregated reports.
|
|
100
|
-
-
|
|
100
|
+
- Present questions directly to the user in a concise grouped message:
|
|
101
101
|
* Group related questions together.
|
|
102
102
|
* Provide context for each question.
|
|
103
103
|
* Suggest default answers when applicable.
|
|
@@ -122,5 +122,5 @@ All explore subagents MUST return valid JSON using this schema:
|
|
|
122
122
|
- `openspec status --change <name>` - Check artifact completion status
|
|
123
123
|
- `openspec instructions proposal --change <name>` - Get proposal instructions
|
|
124
124
|
- Validate subagent outputs conform to template before aggregation.
|
|
125
|
-
-
|
|
126
|
-
<!-- OC:RESEARCH:END -->
|
|
125
|
+
- Ask the user directly for ANY ambiguity—do not assume or guess.
|
|
126
|
+
<!-- OC:RESEARCH:END -->
|
package/lib/cli.mjs
CHANGED
|
@@ -1871,8 +1871,8 @@ function buildCodexConfigContent(currentContent, {
|
|
|
1871
1871
|
content = mergeCodexTemplateDefaults(content, effectiveTemplateContent);
|
|
1872
1872
|
}
|
|
1873
1873
|
const lineEnding = detectLineEnding(content);
|
|
1874
|
-
if (includeSubagentDefaults && readTopLevelTomlString(content, "approvals_reviewer") === "
|
|
1875
|
-
content = updateTopLevelTomlField(content, "approvals_reviewer", "
|
|
1874
|
+
if (includeSubagentDefaults && readTopLevelTomlString(content, "approvals_reviewer") === "reviewer") {
|
|
1875
|
+
content = updateTopLevelTomlField(content, "approvals_reviewer", "guardian_subagent");
|
|
1876
1876
|
}
|
|
1877
1877
|
content = updateTopLevelTomlField(content, "model_provider", providerId);
|
|
1878
1878
|
content = updateTopLevelTomlField(content, "preferred_auth_method", "apikey");
|
|
@@ -2,7 +2,7 @@ personality = "pragmatic"
|
|
|
2
2
|
model_provider = "abelworkflow"
|
|
3
3
|
disable_response_storage = true
|
|
4
4
|
preferred_auth_method = "apikey"
|
|
5
|
-
approvals_reviewer = "
|
|
5
|
+
approvals_reviewer = "guardian_subagent"
|
|
6
6
|
approval_policy = "on-request"
|
|
7
7
|
sandbox_mode = "workspace-write"
|
|
8
8
|
service_tier = "fast"
|
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "abelworkflow",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "Install AbelWorkflow into ~/.agents and create Claude/Codex symlinks.",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test:contracts": "node --test test/runtime-doc-contracts.test.mjs"
|
|
8
|
+
},
|
|
6
9
|
"bin": {
|
|
7
10
|
"abelworkflow": "bin/abelworkflow.mjs"
|
|
8
11
|
},
|