oh-my-opencode-serverlocal 0.1.7 → 0.1.9

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/dist/cli/index.js CHANGED
@@ -552,6 +552,30 @@ var CUSTOM_SKILLS = [
552
552
  description: "Manage Git worktrees as OMO safe isolated coding lanes for complex/risky/parallel work",
553
553
  allowedAgents: ["orchestrator"],
554
554
  sourcePath: "src/skills/worktrees"
555
+ },
556
+ {
557
+ name: "tier0-workflow",
558
+ description: "Fast, direct implementation workflow for routine tasks. Basic state documentation, low cooperation overhead.",
559
+ allowedAgents: ["orchestrator"],
560
+ sourcePath: "src/skills/tier0-workflow"
561
+ },
562
+ {
563
+ name: "tier1-workflow",
564
+ description: "Guided and supervised workflow. Mandatory Oracle reviews for planning and final implementation.",
565
+ allowedAgents: ["orchestrator"],
566
+ sourcePath: "src/skills/tier1-workflow"
567
+ },
568
+ {
569
+ name: "tier2-workflow",
570
+ description: "Sophisticated ideation and planning. Mandatory roundtable tool usage for vision expansion before technical implementation.",
571
+ allowedAgents: ["orchestrator"],
572
+ sourcePath: "src/skills/tier2-workflow"
573
+ },
574
+ {
575
+ name: "tier3-workflow",
576
+ description: 'The "All Out" Tier. Complex implementation with continuous Oracle supervision and Roundtable ambiguity resolution.',
577
+ allowedAgents: ["orchestrator"],
578
+ sourcePath: "src/skills/tier3-workflow"
555
579
  }
556
580
  ];
557
581
 
package/dist/index.js CHANGED
@@ -18380,6 +18380,30 @@ var CUSTOM_SKILLS = [
18380
18380
  description: "Manage Git worktrees as OMO safe isolated coding lanes for complex/risky/parallel work",
18381
18381
  allowedAgents: ["orchestrator"],
18382
18382
  sourcePath: "src/skills/worktrees"
18383
+ },
18384
+ {
18385
+ name: "tier0-workflow",
18386
+ description: "Fast, direct implementation workflow for routine tasks. Basic state documentation, low cooperation overhead.",
18387
+ allowedAgents: ["orchestrator"],
18388
+ sourcePath: "src/skills/tier0-workflow"
18389
+ },
18390
+ {
18391
+ name: "tier1-workflow",
18392
+ description: "Guided and supervised workflow. Mandatory Oracle reviews for planning and final implementation.",
18393
+ allowedAgents: ["orchestrator"],
18394
+ sourcePath: "src/skills/tier1-workflow"
18395
+ },
18396
+ {
18397
+ name: "tier2-workflow",
18398
+ description: "Sophisticated ideation and planning. Mandatory roundtable tool usage for vision expansion before technical implementation.",
18399
+ allowedAgents: ["orchestrator"],
18400
+ sourcePath: "src/skills/tier2-workflow"
18401
+ },
18402
+ {
18403
+ name: "tier3-workflow",
18404
+ description: 'The "All Out" Tier. Complex implementation with continuous Oracle supervision and Roundtable ambiguity resolution.',
18405
+ allowedAgents: ["orchestrator"],
18406
+ sourcePath: "src/skills/tier3-workflow"
18383
18407
  }
18384
18408
  ];
18385
18409
 
@@ -19022,7 +19046,7 @@ var AGENT_DESCRIPTIONS = {
19022
19046
  - Role: Your strict supervisor and senior reviewer.
19023
19047
  - Permissions: read_files
19024
19048
  - Capabilities: Deep architectural reasoning, system-level trade-offs, logic bugs, edge cases, simplification.
19025
- - **Delegate when:** (Tier 1+) Planning reviews, final implementation reviews, high-risk refactors, logical error spotting. Oracle finds what you miss.`,
19049
+ - **Delegate when:** Planning reviews, final implementation reviews, high-risk refactors, logical error spotting. Oracle finds what you miss.`,
19026
19050
  designer: `@designer
19027
19051
  - Lane: UI/UX perfection, design systems, visual execution.
19028
19052
  - Permissions: read_files, write_files
@@ -19039,7 +19063,7 @@ var AGENT_DESCRIPTIONS = {
19039
19063
  - Lane: Multi-model adversarial debate, ideation, and complex technical planning.
19040
19064
  - Role: Launches a structured round-table debate with 3 independent debaters (skeptic, pragmatist, architect) and a critic.
19041
19065
  - Capabilities: Creative ideation, feature expansion, non-technical vision refinement, high-stakes trade-off analysis.
19042
- - **Delegate when:** (Tier 2/3) User wants to expand their vision, needs creative ideas, feature suggestions, or when tech decisions are highly ambiguous.
19066
+ - **Delegate when:** User wants to expand their vision, needs creative ideas, feature suggestions, or when tech decisions are highly ambiguous.
19043
19067
  - **How to call:** \`roundtable({ query: "...", maxRounds: 5 })\`.`,
19044
19068
  observer: `@observer
19045
19069
  - Lane: Visual/media analysis.
@@ -19053,39 +19077,37 @@ function buildOrchestratorPrompt(disabledAgents) {
19053
19077
  `);
19054
19078
  return `You are the Master Orchestrator. Your job is to plan, implement, schedule, and delegate coding work.
19055
19079
  You are aware of all tools, skills, and agents available to you.
19056
- You implement the main tasks yourself unless parallel offloading is needed or a specialist is required.
19057
19080
 
19058
- ## Available Specialists
19059
- ${enabledAgents}
19081
+ ## Default Workflow (Tier 0)
19082
+ By default, you operate autonomously.
19083
+ - You implement the main tasks yourself.
19084
+ - You use @explorer and @librarian freely for basic context.
19085
+ - You have a high threshold for asking for review (you don't prioritize cooperation/supervision unless explicitly needed).
19086
+ - If parallel simple implementation is needed, offload to @fixer.
19087
+
19088
+ ## Explicit Tiers
19089
+ The user may invoke specific tiers via slash commands (e.g., \`/tier1\`, \`/tier2\`, \`/tier3\`). If they do, a specific set of rules will be injected into your prompt. You MUST abandon your default autonomous behavior and strictly follow the injected tier rules (which involve mandatory @oracle reviews, \`roundtable\` usage, etc.).
19060
19090
 
19061
- ## Workflow Tiers
19062
- You operate in different Tiers based on the user's request (e.g., /deepwork tier 2, or explicit tier mention). Deduce the appropriate tier.
19091
+ ## Crucial Skills & Commands (USE THESE PROACTIVELY)
19092
+ You have access to powerful workflow commands. You MUST use them when the situation calls for it:
19063
19093
 
19064
- **Tier 0: Basic Mode**
19065
- - Focus: Fast, direct implementation. Low cooperation overhead.
19066
- - Workflow: You do the work. High threshold for asking for review. Use @explorer and @librarian freely for basic context.
19067
- - Supervision: No mandatory @oracle review.
19094
+ 1. **/interview Command:**
19095
+ - If the user asks you to implement a new feature, app, or workflow, and their description is vague, not well thought out, or lacks sophisticated details: DO NOT GUESS.
19096
+ - IMMEDIATELY invoke the \`/interview\` command (or ask the user questions directly) to extract their vision, refine the requirements, and clarify what they actually want before writing any code.
19097
+ - Think before you act: "Do I have enough detail to make this perfect?" If no, interview the user.
19068
19098
 
19069
- **Tier 1: Guided / Supervised Mode**
19070
- - Focus: Quality and correctness over pure speed.
19071
- - Workflow: You plan the work. **MANDATORY:** You must call @oracle to review the plan (logic, edge cases, overlooked items) BEFORE implementing.
19072
- - Implementation: You implement, or parallelize to @fixer.
19073
- - Verification: **MANDATORY:** You must call @oracle at the end of implementation to review the final code for bugs and logical errors. Treat @oracle as your strict supervisor.
19099
+ 2. **/reflect Command:**
19100
+ - Use this to review past work and suggest reusable workflows or improvements.
19074
19101
 
19075
- **Tier 2: Sophisticated Ideation & Planning**
19076
- - Focus: High value, high performance, high cost. Vision expansion.
19077
- - Workflow: When the user provides a vision or basic idea, you MUST use the \`roundtable\` tool to plan the non-technical implementation, get creative feature suggestions, and refine the user's vision.
19078
- - Supervision: Follow Tier 1 supervisor rules (@oracle reviews the technical translation of the roundtable's output).
19102
+ 3. **/loop Command:**
19103
+ - Use this for loop engineering and monitoring.
19079
19104
 
19080
- **Tier 3: Sophisticated Implementation**
19081
- - Focus: Complex, ambiguous implementation.
19082
- - Workflow: You implement everything. You occasionally ask @oracle for spot-checks.
19083
- - Ambiguity Resolution: If during implementation the task has multiple perspectives or it's not clearly decidable what the best course of action is, you MUST invoke the \`roundtable\` tool again to decide the path forward.
19105
+ ## Available Specialists
19106
+ ${enabledAgents}
19084
19107
 
19085
19108
  ## Universal Rules
19086
19109
  - Design: If something needs visual design, call @designer. Ensure it follows existing design system files.
19087
19110
  - Vision/Images: Call @observer for screenshots or visual review.
19088
- - Parallel Work: If simple implementation is needed and we know exactly what to change, offload parallel tasks to @fixer via background tasks.
19089
19111
  - Main Implementation: If implementation is the main focus, YOU do it yourself. @fixer is ONLY for offloading parallel or bounded sub-tasks.
19090
19112
  - Background Tasks: Prefer \`task(..., background: true)\` for delegated work that can run independently. Continue orchestration only on non-overlapping work.
19091
19113
  - Session Reuse: Smartly reuse an available specialist session using \`task_id\`.
@@ -19099,7 +19121,7 @@ function createOrchestratorAgent(model, customPrompt, customAppendPrompt, disabl
19099
19121
  const prompt = resolvePrompt(basePrompt, customPrompt, customAppendPrompt);
19100
19122
  const definition = {
19101
19123
  name: "orchestrator",
19102
- description: "Master Orchestrator. Handles Tiers 0-3, implements main tasks, delegates to specialists.",
19124
+ description: "Master Orchestrator. Operates autonomously by default, or follows strict Tier 1-3 rules when invoked. Conducts interviews for vague tasks.",
19103
19125
  config: {
19104
19126
  temperature: 0.1,
19105
19127
  prompt
@@ -26274,62 +26296,54 @@ function formatCancelledTaskStatusOutput(taskID, summary = "cancelled") {
26274
26296
  `);
26275
26297
  }
26276
26298
  // src/hooks/tier-commands/index.ts
26277
- var COMMON_REQUIREMENTS = `
26278
- State Management Requirements:
26279
- - Before planning or creating state, inspect \`.gitignore\` and \`.ignore\`. Add missing entries: \`.gitignore\` must contain \`.slim/tier_state/\`, and \`.ignore\` must contain \`!.slim/tier_state/\` and \`!.slim/tier_state/**\`.
26280
- - Create and maintain a progress file at \`.slim/tier_state/progress.md\`.
26281
- - Keep OpenCode todos synced with the current phase.
26282
- - Execute phase by phase. Wait for hook-driven background completion, reconcile results, and fix actionable review issues before continuing.`;
26283
- function getTierPrompt(tier, task2) {
26299
+ function activationPrompt3(tier, task2) {
26284
26300
  let tierRules = "";
26285
- switch (tier) {
26286
- case 0:
26287
- tierRules = `**Tier 0: Basic Mode**
26301
+ if (tier === 0) {
26302
+ tierRules = `**Tier 0: Basic Mode**
26288
26303
  Focus: Fast, direct implementation. Low cooperation overhead.
26289
26304
  Rules:
26290
26305
  1. You (Orchestrator) do the main implementation work.
26291
26306
  2. High threshold for asking for review. No mandatory @oracle review.
26292
26307
  3. Use @explorer and @librarian freely for basic context.
26293
26308
  4. If parallel simple implementation is needed, offload to @fixer.
26294
- 5. If visual design is needed, call @designer. If vision extraction is needed, call @observer.`;
26295
- break;
26296
- case 1:
26297
- tierRules = `**Tier 1: Guided / Supervised Mode**
26298
- Focus: Quality and correctness over pure speed.
26309
+ 5. If visual design is needed, call @designer.`;
26310
+ } else if (tier === 1) {
26311
+ tierRules = `**Tier 1: Basic Collaboration**
26312
+ Focus: Quality assurance through basic supervision.
26299
26313
  Rules:
26300
26314
  1. You must plan the work first.
26301
- 2. MANDATORY: Call @oracle to review your plan (logic, edge cases, overlooked items) BEFORE implementing.
26315
+ 2. MANDATORY: Call @oracle to review your plan BEFORE implementing.
26302
26316
  3. Implement the work yourself, or offload parallel tasks to @fixer.
26303
- 4. MANDATORY: Call @oracle at the end of the implementation to review the final code for bugs and logical errors. Treat @oracle as your strict supervisor.
26304
- 5. Use @designer for UI, @observer for vision, @explorer/@librarian for context.`;
26305
- break;
26306
- case 2:
26307
- tierRules = `**Tier 2: Sophisticated Ideation & Planning**
26308
- Focus: High value, high performance, high cost. Vision expansion.
26317
+ 4. MANDATORY: Call @oracle at the end of the implementation to review the final code.`;
26318
+ } else if (tier === 2) {
26319
+ tierRules = `**Tier 2: Deep Collaboration & Multiple Reviews**
26320
+ Focus: High-quality, heavily supervised implementation.
26309
26321
  Rules:
26310
- 1. The user has provided a vision or basic idea.
26311
- 2. MANDATORY: You must FIRST use the \`roundtable\` tool to plan the non-technical implementation, get creative feature suggestions, and refine the updated, perfected version of the user's vision.
26312
- 3. Once the roundtable outputs its report, you must translate it into a technical implementation plan.
26313
- 4. MANDATORY: Call @oracle to review your technical translation of the roundtable's plan BEFORE implementing.
26314
- 5. Proceed with implementation. Call @oracle for a final code review at the end.`;
26315
- break;
26316
- case 3:
26317
- tierRules = `**Tier 3: Sophisticated Implementation**
26318
- Focus: Complex, ambiguous implementation.
26322
+ 1. You are working under the strict supervision of @oracle.
26323
+ 2. You must interact with @oracle multiple times: for initial planning, during major implementation steps, and for final corrections.
26324
+ 3. Utilize all normal sub-agents (@explorer, @librarian, @designer) extensively to gather perfect context before acting.
26325
+ 4. Expect and proactively seek multiple reviews and corrections.`;
26326
+ } else if (tier === 3) {
26327
+ tierRules = `**Tier 3: The "All Out" Tier**
26328
+ Focus: Maximum sophistication, ideation, and complex problem solving.
26319
26329
  Rules:
26320
- 1. You implement the main tasks. Occasionally ask @oracle for spot-checks.
26321
- 2. AMBIGUITY RESOLUTION: If during implementation the task has multiple perspectives or it is not clearly decidable what the best course of action is, you MUST invoke the \`roundtable\` tool to decide the path forward.
26322
- 3. Offload parallel known tasks to @fixer, UI to @designer.
26323
- 4. MANDATORY: Call @oracle for a final code review at the end.`;
26324
- break;
26330
+ 1. This is the highest level of execution. You use everything available.
26331
+ 2. **ROUNDTABLE MANDATORY:** Because task requirements at this tier are often vague or have multiple valid approaches, you MUST start by invoking the \`roundtable\` tool. Let the debaters ideate, refine the vision, and figure out the best approach.
26332
+ 3. Once the roundtable produces a council report, translate it into a technical plan and have @oracle review it.
26333
+ 4. During implementation, if any ambiguity arises, invoke the \`roundtable\` tool again.
26334
+ 5. Work with @oracle for continuous, strict supervision (multiple reviews/corrections).`;
26325
26335
  }
26326
26336
  return [
26327
- `You are operating in a strict structured workflow.`,
26328
- "",
26329
- COMMON_REQUIREMENTS,
26337
+ `Use the **tier${tier}-workflow** skill for this task. Load it to understand the required documentation structure.`,
26338
+ `You are operating in **Tier ${tier}**. Follow these rules strictly:`,
26330
26339
  "",
26331
26340
  tierRules,
26332
26341
  "",
26342
+ "State Management Requirements:",
26343
+ "- Inspect `.gitignore` and `.ignore`. Add `.slim/tier_state/` to `.gitignore` and `!.slim/tier_state/` to `.ignore`.",
26344
+ "- Maintain a progress file at `.slim/tier_state/progress.md` following the structure defined in your skill.",
26345
+ "- Keep OpenCode todos synced.",
26346
+ "",
26333
26347
  "Task:",
26334
26348
  task2
26335
26349
  ].join(`
@@ -26339,10 +26353,10 @@ function createTierCommandsHook() {
26339
26353
  const commands = ["tier0", "tier1", "tier2", "tier3"];
26340
26354
  return {
26341
26355
  registerCommand: (opencodeConfig) => {
26342
- registerCommandHook(opencodeConfig, "tier0", "Start a Tier 0 session (Fast, direct implementation)", "Basic mode");
26343
- registerCommandHook(opencodeConfig, "tier1", "Start a Tier 1 session (Guided/Supervised by Oracle)", "Supervised mode");
26344
- registerCommandHook(opencodeConfig, "tier2", "Start a Tier 2 session (Ideation via Roundtable -> Supervised)", "Sophisticated Ideation");
26345
- registerCommandHook(opencodeConfig, "tier3", "Start a Tier 3 session (Complex implementation with Roundtable fallback)", "Sophisticated Implementation");
26356
+ registerCommandHook(opencodeConfig, "tier0", "Start a Tier 0 session (Basic Mode)", "Tier 0");
26357
+ registerCommandHook(opencodeConfig, "tier1", "Start a Tier 1 session (Basic Oracle Collaboration)", "Tier 1");
26358
+ registerCommandHook(opencodeConfig, "tier2", "Start a Tier 2 session (Deep Collaboration & Multiple Reviews)", "Tier 2");
26359
+ registerCommandHook(opencodeConfig, "tier3", "Start a Tier 3 session (All-Out: Roundtable + Deep Collaboration)", "Tier 3");
26346
26360
  },
26347
26361
  handleCommandExecuteBefore: async (input, output) => {
26348
26362
  if (!commands.includes(input.command))
@@ -26354,7 +26368,7 @@ function createTierCommandsHook() {
26354
26368
  return;
26355
26369
  }
26356
26370
  const tierNum = parseInt(input.command.replace("tier", ""), 10);
26357
- output.parts.push({ type: "text", text: getTierPrompt(tierNum, task2) });
26371
+ output.parts.push({ type: "text", text: activationPrompt3(tierNum, task2) });
26358
26372
  }
26359
26373
  };
26360
26374
  }
package/dist/tui.js CHANGED
@@ -471,6 +471,30 @@ var CUSTOM_SKILLS = [
471
471
  description: "Manage Git worktrees as OMO safe isolated coding lanes for complex/risky/parallel work",
472
472
  allowedAgents: ["orchestrator"],
473
473
  sourcePath: "src/skills/worktrees"
474
+ },
475
+ {
476
+ name: "tier0-workflow",
477
+ description: "Fast, direct implementation workflow for routine tasks. Basic state documentation, low cooperation overhead.",
478
+ allowedAgents: ["orchestrator"],
479
+ sourcePath: "src/skills/tier0-workflow"
480
+ },
481
+ {
482
+ name: "tier1-workflow",
483
+ description: "Guided and supervised workflow. Mandatory Oracle reviews for planning and final implementation.",
484
+ allowedAgents: ["orchestrator"],
485
+ sourcePath: "src/skills/tier1-workflow"
486
+ },
487
+ {
488
+ name: "tier2-workflow",
489
+ description: "Sophisticated ideation and planning. Mandatory roundtable tool usage for vision expansion before technical implementation.",
490
+ allowedAgents: ["orchestrator"],
491
+ sourcePath: "src/skills/tier2-workflow"
492
+ },
493
+ {
494
+ name: "tier3-workflow",
495
+ description: 'The "All Out" Tier. Complex implementation with continuous Oracle supervision and Roundtable ambiguity resolution.',
496
+ allowedAgents: ["orchestrator"],
497
+ sourcePath: "src/skills/tier3-workflow"
474
498
  }
475
499
  ];
476
500
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-opencode-serverlocal",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Custom serverlocal fork of oh-my-opencode-slim — fully owned, custom prompts + commands, dist synced via opencode-dotfiles",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: tier0-workflow
3
+ description: Fast, direct implementation workflow for routine tasks. Basic state documentation, low cooperation overhead.
4
+ ---
5
+
6
+ # Tier 0 Workflow: Basic Mode
7
+
8
+ Tier 0 is the default workflow for fast, direct implementation. Use it when the task is clear, routine, and does not require heavy supervision or ideation.
9
+
10
+ ## Core Contract
11
+ - **State Management:** You must create and maintain a progress file at `.slim/tier_state/<short-task-slug>.md`.
12
+ - **Git Ignore:** Before creating the state file, ensure `.gitignore` contains `.slim/tier_state/` and `.ignore` contains `!.slim/tier_state/` and `!.slim/tier_state/**`.
13
+ - **Implementation:** You (Orchestrator) do the main implementation work. Use `@fixer` only for parallelizing simple, scoped file modifications across different folders.
14
+ - **Review:** High threshold for asking for review. No mandatory `@oracle` review is required unless you encounter a critical roadblock.
15
+ - **Research:** Use `@explorer` and `@librarian` freely for basic context gathering.
16
+ - **Design:** If visual design is needed, call `@designer`. For vision extraction from images, call `@observer`.
17
+
18
+ ## Documentation Structure
19
+ Your `.slim/tier_state/<short-task-slug>.md` file MUST follow this standard structure:
20
+
21
+ ### 1. Goal
22
+ A concise statement of what needs to be implemented.
23
+
24
+ ### 2. Context
25
+ Any researched facts, library documentation links from `@librarian`, or structural maps from `@explorer`. (Do not paste full file contents, use paths).
26
+
27
+ ### 3. Execution Plan
28
+ A simple checklist of files to modify and steps to take. Keep OpenCode todos synced with this plan.
29
+
30
+ ### 4. Implementation Log
31
+ Record task IDs of any spawned background sub-agents (e.g., `@fixer`). Record terminal results and completed steps.
32
+
33
+ ### 5. Final Validation
34
+ A brief note confirming the code runs and meets the goal.
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: tier1-workflow
3
+ description: Guided and supervised workflow. Mandatory Oracle reviews for planning and final implementation.
4
+ ---
5
+
6
+ # Tier 1 Workflow: Supervised Mode
7
+
8
+ Tier 1 is for non-trivial tasks where quality and correctness take precedence over pure speed. It enforces strict supervision by the `@oracle`.
9
+
10
+ ## Core Contract
11
+ - **State Management:** Create and maintain `.slim/tier_state/<short-task-slug>.md`. Ensure git ignore rules are set. Keep OpenCode todos synced with the current phase.
12
+ - **Mandatory Plan Review:** You must draft a technical plan in your state file. BEFORE writing any code, you MUST call `@oracle` to review your plan for logic, edge cases, and overlooked items. Revise the plan until `@oracle` approves.
13
+ - **Implementation:** Implement the work yourself, or offload parallel bounded tasks to `@fixer`. Remember that `@fixer` will report bugs back to you at the end of its output.
14
+ - **Mandatory Final Review:** After implementation, you MUST call `@oracle` to review the final code for bugs, race conditions, and logical errors. Fix actionable issues before concluding.
15
+
16
+ ## Documentation Structure
17
+ Your `.slim/tier_state/<short-task-slug>.md` file MUST follow this standard structure:
18
+
19
+ ### 1. Goal
20
+ A clear statement of the objective.
21
+
22
+ ### 2. Context
23
+ Researched, factual context from `@librarian` and `@explorer` to ensure `@oracle` reviews from accepted context instead of redoing discovery.
24
+
25
+ ### 3. Technical Plan & Oracle Review
26
+ - The drafted implementation plan.
27
+ - **Oracle Review Notes:** Explicitly record `@oracle`'s feedback and how the plan was revised.
28
+
29
+ ### 4. Execution Log
30
+ Record implementation phases, task IDs, parallel workers used, and any bug reports generated by `@fixer`.
31
+
32
+ ### 5. Final Oracle Review & Validation
33
+ Record the final sign-off from `@oracle` and your final validation checks.
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: tier2-workflow
3
+ description: Sophisticated ideation and planning. Mandatory roundtable tool usage for vision expansion before technical implementation.
4
+ ---
5
+
6
+ # Tier 2 Workflow: Ideation & Planning
7
+
8
+ Tier 2 is a high-value, high-performance workflow designed for vision expansion, feature ideation, and resolving highly ambiguous technical directions BEFORE implementation begins.
9
+
10
+ ## Core Contract
11
+ - **State Management:** Create and maintain `.slim/tier_state/<short-task-slug>.md`. Ensure git ignore rules are set. Keep OpenCode todos synced.
12
+ - **MANDATORY Roundtable Ideation:** The user has provided a vision or basic idea. You MUST FIRST invoke the \`roundtable\` tool (`roundtable({ query: "...", maxRounds: 5 })`) to ideate, get creative feature suggestions, and refine the perfected version of the user's vision.
13
+ - **Technical Translation:** Once the roundtable outputs its Council Report, translate its findings into a concrete technical implementation plan in your state file.
14
+ - **Mandatory Plan Review:** Call `@oracle` to review your technical translation of the roundtable's plan.
15
+ - **Implementation & Final Review:** Proceed with implementation. Call `@oracle` for a final code review at the end.
16
+
17
+ ## Documentation Structure
18
+ Your `.slim/tier_state/<short-task-slug>.md` file MUST follow this standard structure:
19
+
20
+ ### 1. Initial Vision
21
+ The raw goal or idea provided by the user.
22
+
23
+ ### 2. Roundtable Council Report
24
+ Record the synthesized results from the `roundtable` debate (Decision, Dissent, Open Questions).
25
+
26
+ ### 3. Technical Translation & Oracle Review
27
+ - The concrete technical plan derived from the roundtable report.
28
+ - **Oracle Review Notes:** `@oracle`'s critique of the technical plan.
29
+
30
+ ### 4. Execution Log
31
+ Phases, task IDs, and parallel workers used.
32
+
33
+ ### 5. Final Oracle Review & Validation
34
+ Record the final sign-off from `@oracle` and validation results.
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: tier3-workflow
3
+ description: The "All Out" Tier. Complex implementation with continuous Oracle supervision and Roundtable ambiguity resolution.
4
+ ---
5
+
6
+ # Tier 3 Workflow: Complex Implementation
7
+
8
+ Tier 3 is the highest level of execution for massive, complex, and highly ambiguous implementations. It utilizes every available tool and agent to ensure perfection.
9
+
10
+ ## Core Contract
11
+ - **State Management:** Create and maintain `.slim/tier_state/<short-task-slug>.md`. Ensure git ignore rules are set. Keep OpenCode todos synced.
12
+ - **Continuous Supervision:** Work with `@oracle` for continuous, strict supervision. Ask for reviews not just at the beginning and end, but during major implementation milestones.
13
+ - **MANDATORY Ambiguity Resolution:** If, during implementation, the task has multiple perspectives, unexpected roadblocks, or it is not clearly decidable what the best course of action is, you MUST invoke the \`roundtable\` tool (`roundtable({ query: "..." })`) to decide the path forward.
14
+ - **Full Agent Utilization:** Offload parallel known tasks to `@fixer`. Use `@designer` for all UI. Aggressively use `@explorer` and `@librarian`.
15
+
16
+ ## Documentation Structure
17
+ Your `.slim/tier_state/<short-task-slug>.md` file MUST follow this standard structure:
18
+
19
+ ### 1. Master Goal & Context
20
+ The overarching objective and deep context gathered from specialists.
21
+
22
+ ### 2. Strategic Plan & Oracle Sign-off
23
+ The high-level architectural plan and the initial `@oracle` review.
24
+
25
+ ### 3. Phased Implementation Log
26
+ For each major phase:
27
+ - **Phase Goal**
28
+ - **Ambiguity Checks:** If a roadblock occurred, record the `roundtable` Council Report used to resolve it.
29
+ - **Execution:** Task IDs and parallel workers.
30
+ - **Mid-point Reviews:** `@oracle` spot-check notes.
31
+
32
+ ### 4. Final Oracle Review & Validation
33
+ Record the final, rigorous sign-off from `@oracle` and comprehensive validation results.