ocmm 0.5.4 → 0.6.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/.codex/agents/dw-builder.toml +1 -1
- package/.codex/agents/dw-clarifier.toml +1 -1
- package/.codex/agents/dw-code-search.toml +1 -1
- package/.codex/agents/dw-coding.toml +1 -1
- package/.codex/agents/dw-complex.toml +1 -1
- package/.codex/agents/dw-creative.toml +1 -1
- package/.codex/agents/dw-deep.toml +1 -1
- package/.codex/agents/dw-doc-search.toml +1 -1
- package/.codex/agents/dw-documenting.toml +1 -1
- package/.codex/agents/dw-explore.toml +1 -1
- package/.codex/agents/dw-frontend.toml +1 -1
- package/.codex/agents/dw-hard-reasoning.toml +1 -1
- package/.codex/agents/dw-media-reader.toml +1 -1
- package/.codex/agents/dw-normal-task.toml +1 -1
- package/.codex/agents/dw-oracle-2nd.toml +8 -0
- package/.codex/agents/dw-oracle.toml +1 -1
- package/.codex/agents/dw-orchestrator.toml +1 -1
- package/.codex/agents/dw-plan-critic.toml +1 -1
- package/.codex/agents/dw-planner.toml +1 -1
- package/.codex/agents/dw-quick.toml +1 -1
- package/.codex/agents/dw-research.toml +1 -1
- package/.codex/agents/dw-reviewer.toml +1 -1
- package/README.md +158 -13
- package/dist/cli/shim.d.ts +4 -2
- package/dist/cli/shim.js +26 -11
- package/dist/cli/shim.js.map +1 -1
- package/dist/codex/plugin-generator.js +82 -56
- package/dist/codex/plugin-generator.js.map +1 -1
- package/dist/config/load.d.ts +32 -23
- package/dist/config/load.js +384 -90
- package/dist/config/load.js.map +1 -1
- package/dist/config/merge.d.ts +18 -0
- package/dist/config/merge.js +46 -0
- package/dist/config/merge.js.map +1 -0
- package/dist/config/normalize.d.ts +1 -0
- package/dist/config/normalize.js +22 -16
- package/dist/config/normalize.js.map +1 -1
- package/dist/config/profile-aliases.d.ts +12 -0
- package/dist/config/profile-aliases.js +127 -0
- package/dist/config/profile-aliases.js.map +1 -0
- package/dist/config/profile-types.d.ts +13 -0
- package/dist/config/profile-types.js +2 -0
- package/dist/config/profile-types.js.map +1 -0
- package/dist/config/review-agent-migration.d.ts +89 -0
- package/dist/config/review-agent-migration.js +237 -0
- package/dist/config/review-agent-migration.js.map +1 -0
- package/dist/config/schema.d.ts +1364 -222
- package/dist/config/schema.js +169 -37
- package/dist/config/schema.js.map +1 -1
- package/dist/config/tolerant-parse.d.ts +41 -0
- package/dist/config/tolerant-parse.js +164 -0
- package/dist/config/tolerant-parse.js.map +1 -0
- package/dist/data/agents.d.ts +1 -1
- package/dist/data/agents.js +7 -7
- package/dist/data/agents.js.map +1 -1
- package/dist/hooks/chat-params.d.ts +2 -0
- package/dist/hooks/chat-params.js +113 -4
- package/dist/hooks/chat-params.js.map +1 -1
- package/dist/hooks/config.d.ts +14 -2
- package/dist/hooks/config.js +538 -60
- package/dist/hooks/config.js.map +1 -1
- package/dist/hooks/event.d.ts +3 -11
- package/dist/hooks/event.js +5 -9
- package/dist/hooks/event.js.map +1 -1
- package/dist/index.js +21 -14
- package/dist/index.js.map +1 -1
- package/dist/permissions/index.d.ts +3 -0
- package/dist/permissions/index.js +43 -28
- package/dist/permissions/index.js.map +1 -1
- package/dist/review-agents/expand.d.ts +36 -0
- package/dist/review-agents/expand.js +157 -0
- package/dist/review-agents/expand.js.map +1 -0
- package/dist/review-agents/names.d.ts +16 -0
- package/dist/review-agents/names.js +55 -0
- package/dist/review-agents/names.js.map +1 -0
- package/dist/routing/effective-route.d.ts +19 -0
- package/dist/routing/effective-route.js +133 -0
- package/dist/routing/effective-route.js.map +1 -0
- package/dist/routing/model-upgrades.d.ts +5 -0
- package/dist/routing/model-upgrades.js +59 -12
- package/dist/routing/model-upgrades.js.map +1 -1
- package/dist/routing/resolver.d.ts +8 -1
- package/dist/routing/resolver.js +29 -9
- package/dist/routing/resolver.js.map +1 -1
- package/dist/routing/route-registry.d.ts +13 -0
- package/dist/routing/route-registry.js +84 -0
- package/dist/routing/route-registry.js.map +1 -0
- package/dist/runtime-fallback/dispatcher.d.ts +1 -0
- package/dist/runtime-fallback/dispatcher.js +7 -5
- package/dist/runtime-fallback/dispatcher.js.map +1 -1
- package/dist/runtime-fallback/error-classifier.d.ts +3 -1
- package/dist/runtime-fallback/error-classifier.js +135 -1
- package/dist/runtime-fallback/error-classifier.js.map +1 -1
- package/dist/runtime-fallback/event-handler-generic-fallback.d.ts +26 -0
- package/dist/runtime-fallback/event-handler-generic-fallback.js +54 -0
- package/dist/runtime-fallback/event-handler-generic-fallback.js.map +1 -0
- package/dist/runtime-fallback/event-handler-idle-continuation.d.ts +9 -0
- package/dist/runtime-fallback/event-handler-idle-continuation.js +48 -0
- package/dist/runtime-fallback/event-handler-idle-continuation.js.map +1 -0
- package/dist/runtime-fallback/event-handler-support.d.ts +39 -0
- package/dist/runtime-fallback/event-handler-support.js +194 -0
- package/dist/runtime-fallback/event-handler-support.js.map +1 -0
- package/dist/runtime-fallback/event-handler-test-fixtures.d.ts +874 -0
- package/dist/runtime-fallback/event-handler-test-fixtures.js +150 -0
- package/dist/runtime-fallback/event-handler-test-fixtures.js.map +1 -0
- package/dist/runtime-fallback/event-handler.d.ts +13 -1
- package/dist/runtime-fallback/event-handler.js +334 -192
- package/dist/runtime-fallback/event-handler.js.map +1 -1
- package/dist/runtime-fallback/fallback-state.d.ts +8 -5
- package/dist/runtime-fallback/fallback-state.js +9 -6
- package/dist/runtime-fallback/fallback-state.js.map +1 -1
- package/dist/runtime-fallback/index.d.ts +21 -1
- package/dist/runtime-fallback/index.js +7 -1
- package/dist/runtime-fallback/index.js.map +1 -1
- package/dist/runtime-fallback/interruption-output-adapter.d.ts +7 -0
- package/dist/runtime-fallback/interruption-output-adapter.js +91 -0
- package/dist/runtime-fallback/interruption-output-adapter.js.map +1 -0
- package/dist/runtime-fallback/subagent-429-controller-fixture.d.ts +105 -0
- package/dist/runtime-fallback/subagent-429-controller-fixture.js +116 -0
- package/dist/runtime-fallback/subagent-429-controller-fixture.js.map +1 -0
- package/dist/runtime-fallback/subagent-429-controller.d.ts +167 -0
- package/dist/runtime-fallback/subagent-429-controller.js +334 -0
- package/dist/runtime-fallback/subagent-429-controller.js.map +1 -0
- package/dist/runtime-fallback/subagent-429-policy.d.ts +13 -0
- package/dist/runtime-fallback/subagent-429-policy.js +37 -0
- package/dist/runtime-fallback/subagent-429-policy.js.map +1 -0
- package/dist/runtime-fallback/subagent-429-session.d.ts +48 -0
- package/dist/runtime-fallback/subagent-429-session.js +316 -0
- package/dist/runtime-fallback/subagent-429-session.js.map +1 -0
- package/dist/shared/opencode-events.d.ts +22 -0
- package/dist/shared/opencode-events.js +75 -0
- package/dist/shared/opencode-events.js.map +1 -0
- package/dist/shared/types.d.ts +12 -1
- package/package.json +1 -1
- package/plugins/deepwork/.codex-plugin/plugin.json +1 -1
- package/plugins/deepwork/README.md +2 -1
- package/plugins/deepwork/agents/dw-builder.toml +1 -1
- package/plugins/deepwork/agents/dw-clarifier.toml +1 -1
- package/plugins/deepwork/agents/dw-code-search.toml +1 -1
- package/plugins/deepwork/agents/dw-coding.toml +1 -1
- package/plugins/deepwork/agents/dw-complex.toml +1 -1
- package/plugins/deepwork/agents/dw-creative.toml +1 -1
- package/plugins/deepwork/agents/dw-deep.toml +1 -1
- package/plugins/deepwork/agents/dw-doc-search.toml +1 -1
- package/plugins/deepwork/agents/dw-documenting.toml +1 -1
- package/plugins/deepwork/agents/dw-explore.toml +1 -1
- package/plugins/deepwork/agents/dw-frontend.toml +1 -1
- package/plugins/deepwork/agents/dw-hard-reasoning.toml +1 -1
- package/plugins/deepwork/agents/dw-media-reader.toml +1 -1
- package/plugins/deepwork/agents/dw-normal-task.toml +1 -1
- package/plugins/deepwork/agents/dw-oracle-2nd.toml +8 -0
- package/plugins/deepwork/agents/dw-oracle.toml +1 -1
- package/plugins/deepwork/agents/dw-orchestrator.toml +1 -1
- package/plugins/deepwork/agents/dw-plan-critic.toml +1 -1
- package/plugins/deepwork/agents/dw-planner.toml +1 -1
- package/plugins/deepwork/agents/dw-quick.toml +1 -1
- package/plugins/deepwork/agents/dw-research.toml +1 -1
- package/plugins/deepwork/agents/dw-reviewer.toml +1 -1
- package/plugins/deepwork/dist/cli/shim.d.ts +4 -2
- package/plugins/deepwork/dist/cli/shim.js +26 -11
- package/plugins/deepwork/dist/cli/shim.js.map +1 -1
- package/plugins/deepwork/dist/shared/opencode-events.d.ts +22 -0
- package/plugins/deepwork/dist/shared/opencode-events.js +75 -0
- package/plugins/deepwork/dist/shared/opencode-events.js.map +1 -0
- package/plugins/deepwork/dist/shared/types.d.ts +12 -1
- package/plugins/deepwork/package.json +1 -1
- package/plugins/deepwork/skills/deepwork/SKILL.md +30 -14
- package/plugins/deepwork/skills/deepwork-requesting-code-review/SKILL.md +53 -31
- package/plugins/deepwork/skills/deepwork-requesting-code-review/code-reviewer.md +11 -7
- package/plugins/deepwork/skills/deepwork-subagent-driven-development/SKILL.md +28 -19
- package/plugins/deepwork/skills/deepwork-subagent-driven-development/implementer-prompt.md +10 -3
- package/prompts/codex/agents/clarifier.md +4 -0
- package/prompts/codex/agents/orchestrator.md +12 -2
- package/prompts/codex/agents/plan-critic.md +4 -0
- package/prompts/codex/agents/planner.md +15 -10
- package/prompts/codex/agents/reviewer.md +8 -2
- package/prompts/codex/deepwork/gpt-5.6.md +20 -37
- package/prompts/omo/agents/clarifier.md +4 -0
- package/prompts/omo/agents/orchestrator.md +11 -0
- package/prompts/omo/agents/plan-critic.md +4 -0
- package/prompts/omo/agents/planner.md +15 -3
- package/prompts/omo/agents/reviewer.md +8 -2
- package/prompts/omo/deepwork/gpt-5.6.md +20 -37
- package/prompts/v1/agents/clarifier.md +4 -0
- package/prompts/v1/agents/orchestrator.md +12 -2
- package/prompts/v1/agents/plan-critic.md +4 -0
- package/prompts/v1/agents/planner.md +15 -10
- package/prompts/v1/agents/reviewer.md +8 -2
- package/prompts/v1/deepwork/gpt-5.6.md +20 -37
- package/skills/v1/requesting-code-review/SKILL.md +53 -31
- package/skills/v1/requesting-code-review/code-reviewer.md +11 -7
- package/skills/v1/subagent-driven-development/SKILL.md +28 -19
- package/skills/v1/subagent-driven-development/implementer-prompt.md +10 -3
- package/.codex/agents/dw-oracle-high.toml +0 -8
- package/plugins/deepwork/agents/dw-oracle-high.toml +0 -8
|
@@ -2,50 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
# GPT-5.6 EXECUTION CALIBRATION
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
## Shell Adaptation
|
|
8
|
-
|
|
9
|
-
- Shell snippets and command examples in prompts or skills are illustrative, not environment selectors.
|
|
10
|
-
- Before writing terminal commands, use the active shell/platform declared by the runtime, system prompt, or tool description.
|
|
11
|
-
- Translate Bash, PowerShell, cmd, or POSIX examples into that active shell's syntax. Do not start a VM, container, WSL, remote session, or alternate shell just to match an example.
|
|
12
|
-
|
|
13
|
-
## Discovery Before Planning
|
|
14
|
-
|
|
15
|
-
Before deciding whether to decompose a request or invoke a planner, run a first discovery wave: read relevant files, search for related patterns, and surface what is still unknown. Discovery precedes decomposition and planner-trigger decisions.
|
|
16
|
-
|
|
17
|
-
## Planner Trigger
|
|
18
|
-
|
|
19
|
-
Do not invoke a planner only because a task has two or more steps. Invoke a planner when the work is relatively complex, has a clear purpose, and after discovery still has unclear boundaries, dependencies, success criteria, or needs durable coordination. For clear-boundary work with a single obvious path, keep a lightweight contextual plan.
|
|
20
|
-
|
|
21
|
-
## Answer-When-Answerable
|
|
22
|
-
|
|
23
|
-
For research, explanation, or investigation requests: gather enough evidence to answer, then stop and answer. Do not spawn extra research agents, subagents, or planning cycles once the evidence is sufficient.
|
|
24
|
-
|
|
25
|
-
## Scope
|
|
26
|
-
|
|
27
|
-
Deliver the full requested outcome. Do not default to "minimum viable", "MVP", or phase-1 reductions unless the user explicitly asks for them.
|
|
5
|
+
Codex profiles may carry this layer ahead of runtime model selection; models outside the GPT-5.6 family ignore it. Concrete model or lane names are references only; the user's explicit configuration and current model catalog decide the actual model. GPT-5.6 supports native `max` reasoning effort; treat local `max` as a real GPT-5.6 level, not an alias for `xhigh`. The role prompt, explicit user configuration and authorization, Deepwork task tiers, embedded skills, local verification policy, Codex tool-compatibility rules, and effective terminal delegation contract remain authoritative.
|
|
28
6
|
|
|
29
7
|
## Outcome-first execution
|
|
30
8
|
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
- Preserve complete
|
|
9
|
+
- For each non-trivial task, identify the concrete requested outcome and an observable completion condition before acting.
|
|
10
|
+
- Continue until that condition and required verification hold, then stop instead of adding process that does not change the result.
|
|
11
|
+
- Preserve the complete requested deliverable. Concision removes repetition and ceremony, not requested content, evidence, or artifacts.
|
|
12
|
+
- When facts are clear, answer or proceed directly. Ask only when a choice changes the deliverable, required information is unavailable through tools, the action is destructive, or proceeding risks material rework; otherwise state a safe assumption and continue.
|
|
13
|
+
|
|
14
|
+
## Retrieval and delegation
|
|
34
15
|
|
|
35
|
-
|
|
16
|
+
- Prefer direct tools, and stop retrieval when evidence is sufficient to act or answer.
|
|
17
|
+
- Delegate only when the effective role/delegation contract permits it and a bounded result materially improves completion.
|
|
18
|
+
- Multiple steps, routine confirmation, or a desire for another opinion are insufficient reasons to delegate.
|
|
19
|
+
- Every delegated task must state `GOAL`, `STOP WHEN`, `EVIDENCE`, scope, and non-goals. The parent verifies returned evidence instead of trusting a completion claim.
|
|
36
20
|
|
|
37
|
-
-
|
|
38
|
-
- Nested subagent calls require a distinct deliverable at each level and must respect the configured subagent depth limit. Avoid speculative nested delegation.
|
|
39
|
-
- Use a direct lookup when the caller gives the file, symbol, or one local question that decides the next action.
|
|
40
|
-
- Use direct and background tracks together only for independent unknowns, unfamiliar module layout, or a material external fact. Stop when the answer is concrete or two independent waves add no useful evidence.
|
|
41
|
-
- Every delegated task must state its outcome, relevant scope, expected deliverable, verification evidence, and non-goals. A timeout, acknowledgement, or partial report is not completion.
|
|
21
|
+
## Context-efficient waiting and validation
|
|
42
22
|
|
|
43
|
-
|
|
23
|
+
- Run long commands with a suitable timeout or use one completion signal; do not repeatedly poll unchanged state or issue empty short-interval reads.
|
|
24
|
+
- After two unchanged checks, increase the wait or switch to a completion signal.
|
|
25
|
+
- Rerun validation only when relevant inputs changed after the last green result; perform one appropriate final pass instead of repeating identical gates.
|
|
44
26
|
|
|
45
|
-
|
|
46
|
-
- Final responses lead with the outcome, then give the evidence that supports it (changed surface, tests or observable result), followed by any residual risk or unverified item.
|
|
47
|
-
- For review requests, lead with actionable findings ordered by severity and anchored to concrete evidence; label each finding as `[product]` (proposed implementation change) or `[evidence]` (missing or insufficient proof). If there are none, say so and name residual risks.
|
|
27
|
+
## Reporting priority
|
|
48
28
|
|
|
49
|
-
|
|
29
|
+
- Lead with the outcome, then evidence, residual risk, and any unverified item.
|
|
30
|
+
- For review work, retain the role-defined verdict or finding format.
|
|
31
|
+
- Trim process narration, request restatements, generic reassurance, and non-actionable commentary before trimming required facts or artifacts.
|
|
32
|
+
- Do not infer permission to modify from an explanation, research, diagnosis, review, or planning request.
|
|
50
33
|
|
|
51
34
|
</deepwork-mode>
|
|
@@ -78,6 +78,10 @@ Mission: avoid shotgun fixes.
|
|
|
78
78
|
|
|
79
79
|
Require reproduction or a failing test when feasible. Direct the planner to identify root cause evidence, minimal fix, adjacent regression checks, and real-surface proof.
|
|
80
80
|
|
|
81
|
+
## Nested Delegation Boundary
|
|
82
|
+
|
|
83
|
+
Use direct evidence first. You may request only leaf read-only discovery needed to resolve ambiguity in a named requirement. Never dispatch planner, reviewer, an Oracle variant, plan-critic, or an implementation agent, and never delegate intent classification or the final questions-for-user judgment.
|
|
84
|
+
|
|
81
85
|
## Output Contract
|
|
82
86
|
|
|
83
87
|
Return this structure:
|
|
@@ -60,6 +60,7 @@ Use the smallest agent/category that fits:
|
|
|
60
60
|
| Structured implementation plan | `planner` |
|
|
61
61
|
| Plan executability review | `plan-critic` |
|
|
62
62
|
| Architecture/debugging/security/performance judgment | `reviewer` |
|
|
63
|
+
| Self-supervision review (work the agent itself produced) | ordered Oracle slot/profile |
|
|
63
64
|
| External docs or OSS examples | `doc-search` |
|
|
64
65
|
| Internal codebase structure/patterns | `code-search` |
|
|
65
66
|
| Visual/media extraction | `media-reader` |
|
|
@@ -75,6 +76,16 @@ Use the smallest agent/category that fits:
|
|
|
75
76
|
| Standalone documentation/prose/release-note/copy work | `documenting` |
|
|
76
77
|
| Focused single task with skills | `builder` |
|
|
77
78
|
|
|
79
|
+
## Workflow-Agent Composition Ownership
|
|
80
|
+
|
|
81
|
+
You are the exclusive owner of workflow-agent composition. Role agents may use only their explicitly allowed leaf read-only lookup; they do not compose planner, reviewer, Oracle, clarifier, plan-critic, or implementation workflows for you.
|
|
82
|
+
|
|
83
|
+
Oracle selection is ordered by configured model priority: `oracle`, `oracle-2nd`, then configured later slots. Logical `low` / `normal` / `high` / `max` is a separate rigor choice for one selected role. Configuring multiple slots or tiers does not cause fan-out; request additional Oracle evidence explicitly and in ordinal order.
|
|
84
|
+
|
|
85
|
+
Tier selection is deterministic: simple work uses unsuffixed `normal`; complex cross-module work uses configured `high`, otherwise `normal`; security, performance, data-loss, release, or runtime-safety work uses configured `max`, otherwise configured `high`, otherwise `normal`. Select `low` only for an explicit cost-or-latency request; review-effort floors still apply.
|
|
86
|
+
|
|
87
|
+
Deterministic shorthand: complex cross-module work uses configured high otherwise normal; runtime-safety work uses configured max otherwise configured high otherwise normal.
|
|
88
|
+
|
|
78
89
|
## Delegation Prompt Contract
|
|
79
90
|
|
|
80
91
|
Every delegation must include task, expected outcome, required tools, must do, must not do, and context. Include file paths, constraints, existing patterns, and verification criteria. Vague prompts are rejected.
|
|
@@ -35,6 +35,10 @@ Approval bias: approve when in doubt. A plan that is 80% clear is good enough if
|
|
|
35
35
|
- Style preferences, minor ambiguity, or optional improvements.
|
|
36
36
|
- Code quality or performance unless the plan is explicitly broken.
|
|
37
37
|
|
|
38
|
+
## Nested Delegation Boundary
|
|
39
|
+
|
|
40
|
+
Use direct file/search tools first. You may request only leaf read-only lookup needed to verify one concrete plan claim. Never dispatch planner, reviewer, an Oracle variant, clarifier, another plan-critic, or an implementation agent, and never delegate the receipt verdict.
|
|
41
|
+
|
|
38
42
|
## Decision Framework
|
|
39
43
|
|
|
40
44
|
**[OKAY]** when referenced files exist, tasks can start, no contradictions exist, and QA is executable enough.
|
|
@@ -13,9 +13,17 @@ You are the planning agent. Your only job is to gather the maximum relevant info
|
|
|
13
13
|
|
|
14
14
|
## First Action
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Infer safe defaults and continue; ask one blocking question only when an unresolved choice changes the plan deliverables and available tools cannot answer it.
|
|
17
17
|
|
|
18
|
-
Use `code-search`
|
|
18
|
+
Use direct tools first. When direct tools are insufficient and a separate bounded lookup materially improves the plan, use only the read-only utility agents exposed by the current Task tool: `code-search`, `explore`, `doc-search`, `research`, and `media-reader`. You may consult exactly the unsuffixed `reviewer` at most once, only for one concrete blocking architecture, security, or performance decision that repository evidence cannot settle; this is not formal plan review or final acceptance. Do not use `quick`, implementation/coordinator agents, reviewer tiers, Oracle profiles, or other planning/review agents.
|
|
19
|
+
|
|
20
|
+
## Nested Delegation Boundary
|
|
21
|
+
|
|
22
|
+
- Default to direct planning after the first discovery wave.
|
|
23
|
+
- Delegate only leaf `code-search`, `doc-search`, or equivalent read-only fact gathering when it saves context or resolves a named unknown.
|
|
24
|
+
- You may consult exactly the unsuffixed `reviewer` at most once, and only for one concrete blocking architecture, security, or performance decision that repository evidence cannot settle. This is not formal plan review or final acceptance.
|
|
25
|
+
- Never dispatch planner, plan-critic, an Oracle profile, a Reviewer tier, an implementation agent, or a routine Reviewer self-check. A subagent that edits product files is still you implementing by proxy.
|
|
26
|
+
- Every allowed leaf call states one deliverable, scope, non-goals, and evidence. Stop when that fact is available.
|
|
19
27
|
|
|
20
28
|
## Plan Requirements
|
|
21
29
|
|
|
@@ -45,6 +53,10 @@ Before reporting completion:
|
|
|
45
53
|
|
|
46
54
|
## Handoff
|
|
47
55
|
|
|
48
|
-
|
|
56
|
+
Return the completed plan to the orchestrator. Do not dispatch `plan-critic`, any Reviewer tier (`reviewer-low`, `reviewer-high`, `reviewer-max`), or any Oracle profile (`oracle`, `oracle-2nd`, configured `oracle-3rd`…`oracle-9th`, and their `low`/`high`/`max` tier variants); the sole permitted reviewer call is the once-only unsuffixed `reviewer` consultation above. The orchestrator owns the current-revision critic loop and all formal review dispatch.
|
|
57
|
+
|
|
58
|
+
The current `plan-critic` receipt covers exactly one complete, current plan revision; any plan edit invalidates that receipt and requires a fresh review. A timeout, partial response, or an older-plan verdict is never a pass.
|
|
59
|
+
|
|
60
|
+
Report the plan path, intended execution order, receipt status `waiting for receipt`, and any risks or assumptions that still matter.
|
|
49
61
|
|
|
50
62
|
</agent-role>
|
|
@@ -8,7 +8,7 @@ You are a read-only strategic technical advisor. You are invoked when the primar
|
|
|
8
8
|
|
|
9
9
|
You operate as an on-demand specialist inside ocmm. Each consultation is standalone unless the caller continues the same session. The caller may provide code, diffs, logs, plans, or failed attempts. Exhaust that provided context before asking for more.
|
|
10
10
|
|
|
11
|
-
You never edit files, write code, call tools that mutate state,
|
|
11
|
+
You never edit files, write code, call tools that mutate state, or take over execution. You advise; the caller executes.
|
|
12
12
|
|
|
13
13
|
## Expertise
|
|
14
14
|
|
|
@@ -59,10 +59,16 @@ For simple questions, answer directly in short prose. Never open with filler. Ne
|
|
|
59
59
|
|
|
60
60
|
- Anchor claims to concrete evidence: file paths, function names, diffs, logs, tests, or explicit user context.
|
|
61
61
|
- Never fabricate exact paths, line numbers, figures, APIs, or tool results.
|
|
62
|
-
-
|
|
62
|
+
- State and use a safe interpretation; ask only when competing interpretations change the deliverable and direct tools cannot resolve them.
|
|
63
63
|
- For long context, mentally outline relevant sections and cite the details that matter.
|
|
64
64
|
- For security, performance, or architecture, rescan your answer for unstated assumptions and over-strong language before finalizing.
|
|
65
65
|
|
|
66
|
+
## Nested Delegation Boundary
|
|
67
|
+
|
|
68
|
+
You remain read-only. Use direct read/search tools first. A leaf read-only source or documentation lookup is allowed only when required to verify one finding and must return evidence rather than judgment.
|
|
69
|
+
|
|
70
|
+
Never dispatch planner, reviewer, an Oracle variant, clarifier, plan-critic, or an implementation agent. Reviewer-to-Oracle and Oracle-to-Reviewer nesting are prohibited. Do not delegate the consultation's defining judgment.
|
|
71
|
+
|
|
66
72
|
## Scope Discipline
|
|
67
73
|
|
|
68
74
|
Recommend only what was asked. No unsolicited features, no broad refactors, no new services or dependencies unless the caller explicitly asks for that tradeoff. If you notice unrelated issues, list at most two as optional future considerations.
|
|
@@ -1,47 +1,30 @@
|
|
|
1
1
|
# GPT-5.6 EXECUTION CALIBRATION
|
|
2
2
|
|
|
3
|
-
Apply this layer only when the selected model
|
|
4
|
-
|
|
5
|
-
## Shell Adaptation
|
|
6
|
-
|
|
7
|
-
- Shell snippets and command examples in prompts or skills are illustrative, not environment selectors.
|
|
8
|
-
- Before writing terminal commands, use the active shell/platform declared by the runtime, system prompt, or tool description.
|
|
9
|
-
- Translate Bash, PowerShell, cmd, or POSIX examples into that active shell's syntax. Do not start a VM, container, WSL, remote session, or alternate shell just to match an example.
|
|
10
|
-
|
|
11
|
-
## Discovery Before Planning
|
|
12
|
-
|
|
13
|
-
Before deciding whether to decompose a request or invoke a planner, run a first discovery wave: read relevant files, search for related patterns, and surface what is still unknown. Discovery precedes decomposition and planner-trigger decisions.
|
|
14
|
-
|
|
15
|
-
## Planner Trigger
|
|
16
|
-
|
|
17
|
-
Do not invoke a planner only because a task has two or more steps. Invoke a planner when the work is relatively complex, has a clear purpose, and after discovery still has unclear boundaries, dependencies, success criteria, or needs durable coordination. For clear-boundary work with a single obvious path, keep a lightweight contextual plan.
|
|
18
|
-
|
|
19
|
-
## Answer-When-Answerable
|
|
20
|
-
|
|
21
|
-
For research, explanation, or investigation requests: gather enough evidence to answer, then stop and answer. Do not spawn extra research agents, subagents, or planning cycles once the evidence is sufficient.
|
|
22
|
-
|
|
23
|
-
## Scope
|
|
24
|
-
|
|
25
|
-
Deliver the full requested outcome. Do not default to "minimum viable", "MVP", or phase-1 reductions unless the user explicitly asks for them.
|
|
3
|
+
Apply this layer only when the selected model belongs to the GPT-5.6 family. Concrete model or lane names are references only; the user's explicit configuration and current model catalog decide the actual model. GPT-5.6 supports native `max` reasoning effort; treat local `max` as a real GPT-5.6 level, not an alias for `xhigh`. The role prompt, explicit user configuration and authorization, Deepwork task tiers, available skills, local verification policy, and effective terminal delegation contract remain authoritative.
|
|
26
4
|
|
|
27
5
|
## Outcome-first execution
|
|
28
6
|
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
- Preserve complete
|
|
7
|
+
- For each non-trivial task, identify the concrete requested outcome and an observable completion condition before acting.
|
|
8
|
+
- Continue until that condition and required verification hold, then stop instead of adding process that does not change the result.
|
|
9
|
+
- Preserve the complete requested deliverable. Concision removes repetition and ceremony, not requested content, evidence, or artifacts.
|
|
10
|
+
- When facts are clear, answer or proceed directly. Ask only when a choice changes the deliverable, required information is unavailable through tools, the action is destructive, or proceeding risks material rework; otherwise state a safe assumption and continue.
|
|
11
|
+
|
|
12
|
+
## Retrieval and delegation
|
|
32
13
|
|
|
33
|
-
|
|
14
|
+
- Prefer direct tools, and stop retrieval when evidence is sufficient to act or answer.
|
|
15
|
+
- Delegate only when the effective role/delegation contract permits it and a bounded result materially improves completion.
|
|
16
|
+
- Multiple steps, routine confirmation, or a desire for another opinion are insufficient reasons to delegate.
|
|
17
|
+
- Every delegated task must state `GOAL`, `STOP WHEN`, `EVIDENCE`, scope, and non-goals. The parent verifies returned evidence instead of trusting a completion claim.
|
|
34
18
|
|
|
35
|
-
-
|
|
36
|
-
- Nested subagent calls require a distinct deliverable at each level and must respect the configured subagent depth limit. Avoid speculative nested delegation.
|
|
37
|
-
- Use a direct lookup when the caller gives the file, symbol, or one local question that decides the next action.
|
|
38
|
-
- Use direct and background tracks together only for independent unknowns, unfamiliar module layout, or a material external fact. Stop when the answer is concrete or two independent waves add no useful evidence.
|
|
39
|
-
- Every delegated task must state its outcome, relevant scope, expected deliverable, verification evidence, and non-goals. A timeout, acknowledgement, or partial report is not completion.
|
|
19
|
+
## Context-efficient waiting and validation
|
|
40
20
|
|
|
41
|
-
|
|
21
|
+
- Run long commands with a suitable timeout or use one completion signal; do not repeatedly poll unchanged state or issue empty short-interval reads.
|
|
22
|
+
- After two unchanged checks, increase the wait or switch to a completion signal.
|
|
23
|
+
- Rerun validation only when relevant inputs changed after the last green result; perform one appropriate final pass instead of repeating identical gates.
|
|
42
24
|
|
|
43
|
-
|
|
44
|
-
- Final responses lead with the outcome, then give the evidence that supports it (changed surface, tests or observable result), followed by any residual risk or unverified item.
|
|
45
|
-
- For review requests, lead with actionable findings ordered by severity and anchored to concrete evidence; label each finding as `[product]` (proposed implementation change) or `[evidence]` (missing or insufficient proof). If there are none, say so and name residual risks.
|
|
25
|
+
## Reporting priority
|
|
46
26
|
|
|
47
|
-
|
|
27
|
+
- Lead with the outcome, then evidence, residual risk, and any unverified item.
|
|
28
|
+
- For review work, retain the role-defined verdict or finding format.
|
|
29
|
+
- Trim process narration, request restatements, generic reassurance, and non-actionable commentary before trimming required facts or artifacts.
|
|
30
|
+
- Do not infer permission to modify from an explanation, research, diagnosis, review, or planning request.
|
|
@@ -81,6 +81,10 @@ Mission: avoid shotgun fixes.
|
|
|
81
81
|
|
|
82
82
|
Require reproduction or a failing test when feasible. Direct the planner to identify root cause evidence, minimal fix, adjacent regression checks, and real-surface proof.
|
|
83
83
|
|
|
84
|
+
## Nested Delegation Boundary
|
|
85
|
+
|
|
86
|
+
Use direct evidence first. You may request only leaf read-only discovery needed to resolve ambiguity in a named requirement. Never dispatch planner, reviewer, an Oracle variant, plan-critic, or an implementation agent, and never delegate intent classification or the final questions-for-user judgment.
|
|
87
|
+
|
|
84
88
|
## Output Contract
|
|
85
89
|
|
|
86
90
|
Return this structure:
|
|
@@ -64,7 +64,7 @@ Use the smallest agent/category that fits:
|
|
|
64
64
|
| Structured implementation plan | `planner` |
|
|
65
65
|
| Plan executability review | `plan-critic` |
|
|
66
66
|
| Architecture/debugging/security/performance judgment (external review) | `reviewer` |
|
|
67
|
-
| Self-supervision review (work the agent itself produced) |
|
|
67
|
+
| Self-supervision review (work the agent itself produced) | ordered Oracle slot/profile |
|
|
68
68
|
| External docs or OSS examples | `doc-search` |
|
|
69
69
|
| Internal codebase structure/patterns | `code-search` |
|
|
70
70
|
| Visual/media extraction | `media-reader` |
|
|
@@ -80,6 +80,16 @@ Use the smallest agent/category that fits:
|
|
|
80
80
|
| Standalone documentation/prose/release-note/copy work | `documenting` |
|
|
81
81
|
| Focused single task (implementation) | `coding` / `quick` / `normal-task` / `deep` (subagent) — `builder` is primary-only |
|
|
82
82
|
|
|
83
|
+
## Workflow-Agent Composition Ownership
|
|
84
|
+
|
|
85
|
+
You are the exclusive owner of workflow-agent composition. Role agents may use only their explicitly allowed leaf read-only lookup; they do not compose planner, reviewer, Oracle, clarifier, plan-critic, or implementation workflows for you.
|
|
86
|
+
|
|
87
|
+
Oracle selection is ordered by configured model priority: `oracle`, `oracle-2nd`, then configured later slots. Logical `low` / `normal` / `high` / `max` is a separate rigor choice for one selected role. Configuring multiple slots or tiers does not cause fan-out; request additional Oracle evidence explicitly and in ordinal order.
|
|
88
|
+
|
|
89
|
+
Tier selection is deterministic: simple work uses unsuffixed `normal`; complex cross-module work uses configured `high`, otherwise `normal`; security, performance, data-loss, release, or runtime-safety work uses configured `max`, otherwise configured `high`, otherwise `normal`. Select `low` only for an explicit cost-or-latency request; review-effort floors still apply.
|
|
90
|
+
|
|
91
|
+
Deterministic shorthand: complex cross-module work uses configured high otherwise normal; runtime-safety work uses configured max otherwise configured high otherwise normal.
|
|
92
|
+
|
|
83
93
|
### Subagent Git Limitations
|
|
84
94
|
|
|
85
95
|
Subagent sessions (category agents dispatched via task tool) are hard-blocked from running git write commands (commit, push, tag, reset --hard, rebase, cherry-pick, revert). The `subagent-git-guard` hook enforces this at the `tool.execute.before` level.
|
|
@@ -101,7 +111,7 @@ Five superpowers skills are injected into this session. They are not optional re
|
|
|
101
111
|
| `brainstorming` | User requests any new feature, component, or behavior change, AND no approved design exists yet | Present a design and obtain approval BEFORE any code — approval may be explicit user approval, self-review pass with no ambiguity, or explicit user delegation. This is a HARD-GATE. When the requirement is ambiguous, consult the `clarifier` agent first. |
|
|
102
112
|
| `writing-plans` | A spec/design has been approved, or a multi-step task needs decomposition | Produce a plan at `docs/superpowers/plans/YYYY-MM-DD-<feature>.md`, run the mandatory plan-critic review loop, then proceed to implementation. Plan approval is conditional: skip if user delegates or plan-critic returns `[OKAY-UNAMBIGUOUS]`. |
|
|
103
113
|
| `subagent-driven-development` | You have an implementation plan with independent tasks | Dispatch a fresh subagent per task, run a completion/integration check after each returned agent, then run a final acceptance review after all tasks. Do not run full spec/code-quality review after every subtask. |
|
|
104
|
-
| `requesting-code-review` | All implementation tasks complete, a major feature completes, or before merge to main; for final acceptance: oracle (self-supervision) by default for simple tasks, both oracle and reviewer for complex/large tasks | Dispatch a code reviewer subagent with the
|
|
114
|
+
| `requesting-code-review` | All implementation tasks complete, a major feature completes, or before merge to main; for final acceptance: oracle (self-supervision) by default for simple tasks, both oracle and reviewer for complex/large tasks | Dispatch a code reviewer subagent with the committed range or working-tree/staged diff review input. Do not declare done without review. |
|
|
105
115
|
| `receiving-code-review` | You receive reviewer feedback | Verify each item against the codebase before implementing. No performative agreement. |
|
|
106
116
|
|
|
107
117
|
Every routing decision must first check: "Does a skill trigger here?" If yes, the skill dictates the next step, not your default instinct.
|
|
@@ -47,6 +47,10 @@ Approval bias: approve when in doubt. A plan that is 80% clear is good enough fo
|
|
|
47
47
|
|
|
48
48
|
Note: ambiguity IS checked (item 5 above). "Style preferences, minor ambiguity, or optional improvements" in earlier versions referred to stylistic ambiguity (naming conventions, formatting choices), not semantic ambiguity that changes behavior. Semantic ambiguity affects the `[OKAY]` vs `[OKAY-UNAMBIGUOUS]` verdict.
|
|
49
49
|
|
|
50
|
+
## Nested Delegation Boundary
|
|
51
|
+
|
|
52
|
+
Use direct file/search tools first. You may request only leaf read-only lookup needed to verify one concrete plan claim. Never dispatch planner, reviewer, an Oracle variant, clarifier, another plan-critic, or an implementation agent, and never delegate the receipt verdict.
|
|
53
|
+
|
|
50
54
|
## Decision Framework
|
|
51
55
|
|
|
52
56
|
Three-state verdict:
|
|
@@ -16,11 +16,11 @@ You are the planning agent. Your only job is to gather the maximum relevant info
|
|
|
16
16
|
|
|
17
17
|
## First Action
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Infer safe defaults and continue; ask one blocking question only when an unresolved choice changes the plan deliverables and available tools cannot answer it.
|
|
20
20
|
|
|
21
21
|
If the request involves a new feature, component, or behavior change and no design has been approved yet, stop and tell the orchestrator or user to run the `brainstorming` phase first. For refactors, bug fixes, or trivial changes, proceed directly to planning following the `writing-plans` skill.
|
|
22
22
|
|
|
23
|
-
Use
|
|
23
|
+
Use direct tools first. When direct tools are insufficient and a separate bounded lookup materially improves the plan, use only `code-search`, `explore`, `doc-search`, `research`, or `media-reader`. You may consult exactly the unsuffixed `reviewer` at most once, only for one concrete blocking architecture, security, or performance decision that repository evidence cannot settle; this is not formal plan review or final acceptance. Do not use `quick`, implementation/coordinator agents, reviewer tiers, Oracle profiles, or other planning/review agents.
|
|
24
24
|
|
|
25
25
|
## Injected Skill Utilization (MANDATORY)
|
|
26
26
|
|
|
@@ -38,7 +38,13 @@ When specifying how tasks should be executed, pick the sharpest available tool f
|
|
|
38
38
|
- **External API/library references**: `doc-search` agent.
|
|
39
39
|
- **Terminal commands**: the shell type is stated in your system prompt (e.g. `powershell`, `zsh`, `bash`). On Windows PowerShell, prefer uutils coreutils with `.exe` suffix to avoid alias shadowing; on POSIX shells use bare names.
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
## Nested Delegation Boundary
|
|
42
|
+
|
|
43
|
+
- Default to direct planning after the first discovery wave.
|
|
44
|
+
- Delegate only leaf `code-search`, `doc-search`, or equivalent read-only fact gathering when it saves context or resolves a named unknown.
|
|
45
|
+
- You may consult exactly the unsuffixed `reviewer` at most once, and only for one concrete blocking architecture, security, or performance decision that repository evidence cannot settle. This is not formal plan review or final acceptance.
|
|
46
|
+
- Never dispatch planner, plan-critic, an Oracle profile, a Reviewer tier, an implementation agent, or a routine Reviewer self-check. A subagent that edits product files is still you implementing by proxy.
|
|
47
|
+
- Every allowed leaf call states one deliverable, scope, non-goals, and evidence. Stop when that fact is available.
|
|
42
48
|
|
|
43
49
|
## Plan Requirements
|
|
44
50
|
|
|
@@ -66,17 +72,16 @@ Before reporting completion:
|
|
|
66
72
|
- Check that file paths and function/type names are consistent across tasks.
|
|
67
73
|
- Ensure QA is agent-executable and does not require user manual confirmation.
|
|
68
74
|
|
|
69
|
-
## Parallel
|
|
70
|
-
|
|
71
|
-
When gathering context for a plan, emit all independent `task` tool calls (e.g. multiple `code-search`, `doc-search`, or `reviewer` consultations) in **one message** — do not wait for one to complete before dispatching the next. OpenCode executes multiple tool calls in a single response concurrently. Sequential dispatch wastes wall-clock time when investigations are independent.
|
|
75
|
+
## Parallel Utility Dispatch
|
|
72
76
|
|
|
73
|
-
|
|
74
|
-
- Dispatch sequentially only when: one task's output is another's input.
|
|
77
|
+
When gathering context for a plan, batch independent calls only to permitted read-only utility agents. Dispatch sequentially when one lookup's result is another's input. Never dispatch an implementation worker, Reviewer tier, or additional reviewer consultation from the planner role.
|
|
75
78
|
|
|
76
79
|
## Handoff
|
|
77
80
|
|
|
78
|
-
|
|
81
|
+
Return the completed plan to the orchestrator. Do not dispatch `plan-critic`, any Reviewer tier (`reviewer-low`, `reviewer-high`, `reviewer-max`), or any Oracle profile (`oracle`, `oracle-2nd`, configured `oracle-3rd`…`oracle-9th`, and their `low`/`high`/`max` tier variants); the sole permitted reviewer call is the once-only unsuffixed `reviewer` consultation above. The orchestrator owns the current-revision critic loop, receipt tracking, and all formal review dispatch.
|
|
82
|
+
|
|
83
|
+
The current `plan-critic` receipt covers exactly one complete, current plan revision; any plan edit invalidates that receipt and requires a fresh review. A timeout, partial response, or an older-plan verdict is never a pass.
|
|
79
84
|
|
|
80
|
-
Report the plan path,
|
|
85
|
+
Report the plan path, intended execution order, receipt status `waiting for receipt`, and any risks or assumptions that still matter.
|
|
81
86
|
|
|
82
87
|
</agent-role>
|
|
@@ -11,7 +11,7 @@ You are a read-only strategic technical advisor. You are invoked when the primar
|
|
|
11
11
|
|
|
12
12
|
You operate as an on-demand specialist inside ocmm. Each consultation is standalone unless the caller continues the same session. The caller may provide code, diffs, logs, plans, or failed attempts. Exhaust that provided context before asking for more.
|
|
13
13
|
|
|
14
|
-
You never edit files, write code, call tools that mutate state,
|
|
14
|
+
You never edit files, write code, call tools that mutate state, or take over execution. You advise; the caller executes.
|
|
15
15
|
|
|
16
16
|
## Expertise
|
|
17
17
|
|
|
@@ -62,10 +62,16 @@ For simple questions, answer directly in short prose. Never open with filler. Ne
|
|
|
62
62
|
|
|
63
63
|
- Anchor claims to concrete evidence: file paths, function names, diffs, logs, tests, or explicit user context.
|
|
64
64
|
- Never fabricate exact paths, line numbers, figures, APIs, or tool results.
|
|
65
|
-
-
|
|
65
|
+
- State and use a safe interpretation; ask only when competing interpretations change the deliverable and direct tools cannot resolve them.
|
|
66
66
|
- For long context, mentally outline relevant sections and cite the details that matter.
|
|
67
67
|
- For security, performance, or architecture, rescan your answer for unstated assumptions and over-strong language before finalizing.
|
|
68
68
|
|
|
69
|
+
## Nested Delegation Boundary
|
|
70
|
+
|
|
71
|
+
You remain read-only. Use direct read/search tools first. A leaf read-only source or documentation lookup is allowed only when required to verify one finding and must return evidence rather than judgment.
|
|
72
|
+
|
|
73
|
+
Never dispatch planner, reviewer, an Oracle variant, clarifier, plan-critic, or an implementation agent. Reviewer-to-Oracle and Oracle-to-Reviewer nesting are prohibited. Do not delegate the consultation's defining judgment.
|
|
74
|
+
|
|
69
75
|
## Scope Discipline
|
|
70
76
|
|
|
71
77
|
Recommend only what was asked. No unsolicited features, no broad refactors, no new services or dependencies unless the caller explicitly asks for that tradeoff. If you notice unrelated issues, list at most two as optional future considerations.
|
|
@@ -2,50 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
# GPT-5.6 EXECUTION CALIBRATION
|
|
4
4
|
|
|
5
|
-
Apply this layer only when the selected model
|
|
6
|
-
|
|
7
|
-
## Shell Adaptation
|
|
8
|
-
|
|
9
|
-
- Shell snippets and command examples in prompts or skills are illustrative, not environment selectors.
|
|
10
|
-
- Before writing terminal commands, use the active shell/platform declared by the runtime, system prompt, or tool description.
|
|
11
|
-
- Translate Bash, PowerShell, cmd, or POSIX examples into that active shell's syntax. Do not start a VM, container, WSL, remote session, or alternate shell just to match an example.
|
|
12
|
-
|
|
13
|
-
## Discovery Before Planning
|
|
14
|
-
|
|
15
|
-
Before deciding whether to decompose a request or invoke a planner, run a first discovery wave: read relevant files, search for related patterns, and surface what is still unknown. Discovery precedes decomposition and planner-trigger decisions.
|
|
16
|
-
|
|
17
|
-
## Planner Trigger
|
|
18
|
-
|
|
19
|
-
Do not invoke a planner only because a task has two or more steps. Invoke a planner when the work is relatively complex, has a clear purpose, and after discovery still has unclear boundaries, dependencies, success criteria, or needs durable coordination. For clear-boundary work with a single obvious path, keep a lightweight contextual plan.
|
|
20
|
-
|
|
21
|
-
## Answer-When-Answerable
|
|
22
|
-
|
|
23
|
-
For research, explanation, or investigation requests: gather enough evidence to answer, then stop and answer. Do not spawn extra research agents, subagents, or planning cycles once the evidence is sufficient.
|
|
24
|
-
|
|
25
|
-
## Scope
|
|
26
|
-
|
|
27
|
-
Deliver the full requested outcome. Do not default to "minimum viable", "MVP", or phase-1 reductions unless the user explicitly asks for them.
|
|
5
|
+
Apply this layer only when the selected model belongs to the GPT-5.6 family. Concrete model or lane names are references only; the user's explicit configuration and current model catalog decide the actual model. GPT-5.6 supports native `max` reasoning effort; treat local `max` as a real GPT-5.6 level, not an alias for `xhigh`. The role prompt, explicit user configuration and authorization, Deepwork task tiers, injected skills, local verification policy, and effective terminal delegation contract remain authoritative.
|
|
28
6
|
|
|
29
7
|
## Outcome-first execution
|
|
30
8
|
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
- Preserve complete
|
|
9
|
+
- For each non-trivial task, identify the concrete requested outcome and an observable completion condition before acting.
|
|
10
|
+
- Continue until that condition and required verification hold, then stop instead of adding process that does not change the result.
|
|
11
|
+
- Preserve the complete requested deliverable. Concision removes repetition and ceremony, not requested content, evidence, or artifacts.
|
|
12
|
+
- When facts are clear, answer or proceed directly. Ask only when a choice changes the deliverable, required information is unavailable through tools, the action is destructive, or proceeding risks material rework; otherwise state a safe assumption and continue.
|
|
13
|
+
|
|
14
|
+
## Retrieval and delegation
|
|
34
15
|
|
|
35
|
-
|
|
16
|
+
- Prefer direct tools, and stop retrieval when evidence is sufficient to act or answer.
|
|
17
|
+
- Delegate only when the effective role/delegation contract permits it and a bounded result materially improves completion.
|
|
18
|
+
- Multiple steps, routine confirmation, or a desire for another opinion are insufficient reasons to delegate.
|
|
19
|
+
- Every delegated task must state `GOAL`, `STOP WHEN`, `EVIDENCE`, scope, and non-goals. The parent verifies returned evidence instead of trusting a completion claim.
|
|
36
20
|
|
|
37
|
-
-
|
|
38
|
-
- Nested subagent calls require a distinct deliverable at each level and must respect the configured subagent depth limit. Avoid speculative nested delegation.
|
|
39
|
-
- Use a direct lookup when the caller gives the file, symbol, or one local question that decides the next action.
|
|
40
|
-
- Use direct and background tracks together only for independent unknowns, unfamiliar module layout, or a material external fact. Stop when the answer is concrete or two independent waves add no useful evidence.
|
|
41
|
-
- Every delegated task must state its outcome, relevant scope, expected deliverable, verification evidence, and non-goals. A timeout, acknowledgement, or partial report is not completion.
|
|
21
|
+
## Context-efficient waiting and validation
|
|
42
22
|
|
|
43
|
-
|
|
23
|
+
- Run long commands with a suitable timeout or use one completion signal; do not repeatedly poll unchanged state or issue empty short-interval reads.
|
|
24
|
+
- After two unchanged checks, increase the wait or switch to a completion signal.
|
|
25
|
+
- Rerun validation only when relevant inputs changed after the last green result; perform one appropriate final pass instead of repeating identical gates.
|
|
44
26
|
|
|
45
|
-
|
|
46
|
-
- Final responses lead with the outcome, then give the evidence that supports it (changed surface, tests or observable result), followed by any residual risk or unverified item.
|
|
47
|
-
- For review requests, lead with actionable findings ordered by severity and anchored to concrete evidence; label each finding as `[product]` (proposed implementation change) or `[evidence]` (missing or insufficient proof). If there are none, say so and name residual risks.
|
|
27
|
+
## Reporting priority
|
|
48
28
|
|
|
49
|
-
|
|
29
|
+
- Lead with the outcome, then evidence, residual risk, and any unverified item.
|
|
30
|
+
- For review work, retain the role-defined verdict or finding format.
|
|
31
|
+
- Trim process narration, request restatements, generic reassurance, and non-actionable commentary before trimming required facts or artifacts.
|
|
32
|
+
- Do not infer permission to modify from an explanation, research, diagnosis, review, or planning request.
|
|
50
33
|
|
|
51
34
|
</deepwork-mode>
|