omakaseagent 0.1.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.
Files changed (187) hide show
  1. package/LICENSE +182 -0
  2. package/OMAKASE-CRITIQUE.md +12 -0
  3. package/OMAKASE-PRINCIPLES.md +15 -0
  4. package/OMAKASE-RULES.md +25 -0
  5. package/README.md +96 -0
  6. package/bin/omakase.js +571 -0
  7. package/dist/agents/.agents/skills/omakase/OMAKASE-CRITIQUE.md +12 -0
  8. package/dist/agents/.agents/skills/omakase/OMAKASE-PRINCIPLES.md +15 -0
  9. package/dist/agents/.agents/skills/omakase/OMAKASE-RULES.md +25 -0
  10. package/dist/agents/.agents/skills/omakase/SKILL.md +177 -0
  11. package/dist/agents/.agents/skills/omakase/TEAMS.md +120 -0
  12. package/dist/agents/.agents/skills/omakase/core/omakase-core.md +43 -0
  13. package/dist/agents/.agents/skills/omakase/reference/archivist-workflows.md +178 -0
  14. package/dist/agents/.agents/skills/omakase/reference/backlog-audit.md +168 -0
  15. package/dist/agents/.agents/skills/omakase/reference/critique.md +92 -0
  16. package/dist/agents/.agents/skills/omakase/reference/dark-factory.md +111 -0
  17. package/dist/agents/.agents/skills/omakase/reference/engineering.md +137 -0
  18. package/dist/agents/.agents/skills/omakase/reference/execution-plan.md +159 -0
  19. package/dist/agents/.agents/skills/omakase/reference/factory-orchestration.md +123 -0
  20. package/dist/agents/.agents/skills/omakase/reference/handoff.md +43 -0
  21. package/dist/agents/.agents/skills/omakase/reference/init.md +146 -0
  22. package/dist/agents/.agents/skills/omakase/reference/learn.md +66 -0
  23. package/dist/agents/.agents/skills/omakase/reference/native-agents.md +45 -0
  24. package/dist/agents/.agents/skills/omakase/reference/plan.md +79 -0
  25. package/dist/agents/.agents/skills/omakase/reference/skill-judge.md +133 -0
  26. package/dist/agents/.agents/skills/omakase/reference/task-intake.md +94 -0
  27. package/dist/agents/.agents/skills/omakase/reference/taste.md +33 -0
  28. package/dist/agents/.agents/skills/omakase/reference/team-architecture.md +38 -0
  29. package/dist/agents/.agents/skills/omakase/teams/archives/lead.md +77 -0
  30. package/dist/agents/.agents/skills/omakase/teams/archives/sub-personas/memory-synthesizer.md +66 -0
  31. package/dist/agents/.agents/skills/omakase/teams/critics/lead.md +94 -0
  32. package/dist/agents/.agents/skills/omakase/teams/critics/sub-personas/deslop-critic.md +52 -0
  33. package/dist/agents/.agents/skills/omakase/teams/critics/sub-personas/skill-judge.md +59 -0
  34. package/dist/agents/.agents/skills/omakase/teams/critics/sub-personas/structural-critic.md +112 -0
  35. package/dist/agents/.agents/skills/omakase/teams/critics/sub-personas/verification-critic.md +73 -0
  36. package/dist/agents/.agents/skills/omakase/teams/engineering/lead.md +111 -0
  37. package/dist/agents/.agents/skills/omakase/teams/engineering/sub-personas/debugger.md +44 -0
  38. package/dist/agents/.agents/skills/omakase/teams/engineering/sub-personas/implementation-lead.md +43 -0
  39. package/dist/agents/.agents/skills/omakase/teams/engineering/sub-personas/refactor-specialist.md +56 -0
  40. package/dist/agents/.agents/skills/omakase/teams/engineering/sub-personas/senior-reviewer.md +83 -0
  41. package/dist/agents/.opencode/agents/omakase-archivist.md +24 -0
  42. package/dist/agents/.opencode/agents/omakase-critic.md +32 -0
  43. package/dist/agents/.opencode/agents/omakase-debugger.md +15 -0
  44. package/dist/agents/.opencode/agents/omakase-deslop-critic.md +15 -0
  45. package/dist/agents/.opencode/agents/omakase-engineer.md +38 -0
  46. package/dist/agents/.opencode/agents/omakase-implementation-lead.md +15 -0
  47. package/dist/agents/.opencode/agents/omakase-memory-synthesizer.md +15 -0
  48. package/dist/agents/.opencode/agents/omakase-refactor-specialist.md +15 -0
  49. package/dist/agents/.opencode/agents/omakase-senior-reviewer.md +17 -0
  50. package/dist/agents/.opencode/agents/omakase-skill-judge.md +17 -0
  51. package/dist/agents/.opencode/agents/omakase-structural-critic.md +15 -0
  52. package/dist/agents/.opencode/agents/omakase-verification-critic.md +15 -0
  53. package/dist/chat/omakase/SKILL.md +84 -0
  54. package/dist/claude/.claude/agents/omakase-archivist.md +21 -0
  55. package/dist/claude/.claude/agents/omakase-critic.md +25 -0
  56. package/dist/claude/.claude/agents/omakase-engineer.md +32 -0
  57. package/dist/claude/.claude/skills/omakase/OMAKASE-CRITIQUE.md +12 -0
  58. package/dist/claude/.claude/skills/omakase/OMAKASE-PRINCIPLES.md +15 -0
  59. package/dist/claude/.claude/skills/omakase/OMAKASE-RULES.md +25 -0
  60. package/dist/claude/.claude/skills/omakase/SKILL.md +177 -0
  61. package/dist/claude/.claude/skills/omakase/TEAMS.md +120 -0
  62. package/dist/claude/.claude/skills/omakase/core/omakase-core.md +43 -0
  63. package/dist/claude/.claude/skills/omakase/reference/archivist-workflows.md +178 -0
  64. package/dist/claude/.claude/skills/omakase/reference/backlog-audit.md +168 -0
  65. package/dist/claude/.claude/skills/omakase/reference/critique.md +92 -0
  66. package/dist/claude/.claude/skills/omakase/reference/dark-factory.md +111 -0
  67. package/dist/claude/.claude/skills/omakase/reference/engineering.md +137 -0
  68. package/dist/claude/.claude/skills/omakase/reference/execution-plan.md +159 -0
  69. package/dist/claude/.claude/skills/omakase/reference/factory-orchestration.md +123 -0
  70. package/dist/claude/.claude/skills/omakase/reference/handoff.md +43 -0
  71. package/dist/claude/.claude/skills/omakase/reference/init.md +146 -0
  72. package/dist/claude/.claude/skills/omakase/reference/learn.md +66 -0
  73. package/dist/claude/.claude/skills/omakase/reference/native-agents.md +45 -0
  74. package/dist/claude/.claude/skills/omakase/reference/plan.md +79 -0
  75. package/dist/claude/.claude/skills/omakase/reference/skill-judge.md +133 -0
  76. package/dist/claude/.claude/skills/omakase/reference/task-intake.md +94 -0
  77. package/dist/claude/.claude/skills/omakase/reference/taste.md +33 -0
  78. package/dist/claude/.claude/skills/omakase/reference/team-architecture.md +38 -0
  79. package/dist/claude/.claude/skills/omakase/teams/archives/lead.md +77 -0
  80. package/dist/claude/.claude/skills/omakase/teams/archives/sub-personas/memory-synthesizer.md +66 -0
  81. package/dist/claude/.claude/skills/omakase/teams/critics/lead.md +94 -0
  82. package/dist/claude/.claude/skills/omakase/teams/critics/sub-personas/deslop-critic.md +52 -0
  83. package/dist/claude/.claude/skills/omakase/teams/critics/sub-personas/skill-judge.md +59 -0
  84. package/dist/claude/.claude/skills/omakase/teams/critics/sub-personas/structural-critic.md +112 -0
  85. package/dist/claude/.claude/skills/omakase/teams/critics/sub-personas/verification-critic.md +73 -0
  86. package/dist/claude/.claude/skills/omakase/teams/engineering/lead.md +111 -0
  87. package/dist/claude/.claude/skills/omakase/teams/engineering/sub-personas/debugger.md +44 -0
  88. package/dist/claude/.claude/skills/omakase/teams/engineering/sub-personas/implementation-lead.md +43 -0
  89. package/dist/claude/.claude/skills/omakase/teams/engineering/sub-personas/refactor-specialist.md +56 -0
  90. package/dist/claude/.claude/skills/omakase/teams/engineering/sub-personas/senior-reviewer.md +83 -0
  91. package/dist/codex/.codex/agents/omakase-archivist.toml +133 -0
  92. package/dist/codex/.codex/agents/omakase-critic.toml +149 -0
  93. package/dist/codex/.codex/agents/omakase-debugger.toml +92 -0
  94. package/dist/codex/.codex/agents/omakase-deslop-critic.toml +100 -0
  95. package/dist/codex/.codex/agents/omakase-engineer.toml +167 -0
  96. package/dist/codex/.codex/agents/omakase-implementation-lead.toml +91 -0
  97. package/dist/codex/.codex/agents/omakase-memory-synthesizer.toml +114 -0
  98. package/dist/codex/.codex/agents/omakase-refactor-specialist.toml +104 -0
  99. package/dist/codex/.codex/agents/omakase-senior-reviewer.toml +127 -0
  100. package/dist/codex/.codex/agents/omakase-skill-judge.toml +106 -0
  101. package/dist/codex/.codex/agents/omakase-structural-critic.toml +160 -0
  102. package/dist/codex/.codex/agents/omakase-verification-critic.toml +121 -0
  103. package/dist/cursor/.cursor/agents/omakase-archivist.md +21 -0
  104. package/dist/cursor/.cursor/agents/omakase-critic.md +25 -0
  105. package/dist/cursor/.cursor/agents/omakase-engineer.md +32 -0
  106. package/dist/cursor/.cursor/skills/omakase/OMAKASE-CRITIQUE.md +12 -0
  107. package/dist/cursor/.cursor/skills/omakase/OMAKASE-PRINCIPLES.md +15 -0
  108. package/dist/cursor/.cursor/skills/omakase/OMAKASE-RULES.md +25 -0
  109. package/dist/cursor/.cursor/skills/omakase/SKILL.md +177 -0
  110. package/dist/cursor/.cursor/skills/omakase/TEAMS.md +120 -0
  111. package/dist/cursor/.cursor/skills/omakase/core/omakase-core.md +43 -0
  112. package/dist/cursor/.cursor/skills/omakase/reference/archivist-workflows.md +178 -0
  113. package/dist/cursor/.cursor/skills/omakase/reference/backlog-audit.md +168 -0
  114. package/dist/cursor/.cursor/skills/omakase/reference/critique.md +92 -0
  115. package/dist/cursor/.cursor/skills/omakase/reference/dark-factory.md +111 -0
  116. package/dist/cursor/.cursor/skills/omakase/reference/engineering.md +137 -0
  117. package/dist/cursor/.cursor/skills/omakase/reference/execution-plan.md +159 -0
  118. package/dist/cursor/.cursor/skills/omakase/reference/factory-orchestration.md +123 -0
  119. package/dist/cursor/.cursor/skills/omakase/reference/handoff.md +43 -0
  120. package/dist/cursor/.cursor/skills/omakase/reference/init.md +146 -0
  121. package/dist/cursor/.cursor/skills/omakase/reference/learn.md +66 -0
  122. package/dist/cursor/.cursor/skills/omakase/reference/native-agents.md +45 -0
  123. package/dist/cursor/.cursor/skills/omakase/reference/plan.md +79 -0
  124. package/dist/cursor/.cursor/skills/omakase/reference/skill-judge.md +133 -0
  125. package/dist/cursor/.cursor/skills/omakase/reference/task-intake.md +94 -0
  126. package/dist/cursor/.cursor/skills/omakase/reference/taste.md +33 -0
  127. package/dist/cursor/.cursor/skills/omakase/reference/team-architecture.md +38 -0
  128. package/dist/cursor/.cursor/skills/omakase/teams/archives/lead.md +77 -0
  129. package/dist/cursor/.cursor/skills/omakase/teams/archives/sub-personas/memory-synthesizer.md +66 -0
  130. package/dist/cursor/.cursor/skills/omakase/teams/critics/lead.md +94 -0
  131. package/dist/cursor/.cursor/skills/omakase/teams/critics/sub-personas/deslop-critic.md +52 -0
  132. package/dist/cursor/.cursor/skills/omakase/teams/critics/sub-personas/skill-judge.md +59 -0
  133. package/dist/cursor/.cursor/skills/omakase/teams/critics/sub-personas/structural-critic.md +112 -0
  134. package/dist/cursor/.cursor/skills/omakase/teams/critics/sub-personas/verification-critic.md +73 -0
  135. package/dist/cursor/.cursor/skills/omakase/teams/engineering/lead.md +111 -0
  136. package/dist/cursor/.cursor/skills/omakase/teams/engineering/sub-personas/debugger.md +44 -0
  137. package/dist/cursor/.cursor/skills/omakase/teams/engineering/sub-personas/implementation-lead.md +43 -0
  138. package/dist/cursor/.cursor/skills/omakase/teams/engineering/sub-personas/refactor-specialist.md +56 -0
  139. package/dist/cursor/.cursor/skills/omakase/teams/engineering/sub-personas/senior-reviewer.md +83 -0
  140. package/dist/grok/.grok/agents/omakase-archivist.md +25 -0
  141. package/dist/grok/.grok/agents/omakase-critic.md +28 -0
  142. package/dist/grok/.grok/agents/omakase-debugger.md +17 -0
  143. package/dist/grok/.grok/agents/omakase-deslop-critic.md +17 -0
  144. package/dist/grok/.grok/agents/omakase-engineer.md +36 -0
  145. package/dist/grok/.grok/agents/omakase-implementation-lead.md +17 -0
  146. package/dist/grok/.grok/agents/omakase-memory-synthesizer.md +17 -0
  147. package/dist/grok/.grok/agents/omakase-refactor-specialist.md +17 -0
  148. package/dist/grok/.grok/agents/omakase-senior-reviewer.md +17 -0
  149. package/dist/grok/.grok/agents/omakase-skill-judge.md +17 -0
  150. package/dist/grok/.grok/agents/omakase-structural-critic.md +17 -0
  151. package/dist/grok/.grok/agents/omakase-verification-critic.md +17 -0
  152. package/dist/grok/.grok/skills/omakase/OMAKASE-CRITIQUE.md +12 -0
  153. package/dist/grok/.grok/skills/omakase/OMAKASE-PRINCIPLES.md +15 -0
  154. package/dist/grok/.grok/skills/omakase/OMAKASE-RULES.md +25 -0
  155. package/dist/grok/.grok/skills/omakase/SKILL.md +177 -0
  156. package/dist/grok/.grok/skills/omakase/TEAMS.md +120 -0
  157. package/dist/grok/.grok/skills/omakase/core/omakase-core.md +43 -0
  158. package/dist/grok/.grok/skills/omakase/reference/archivist-workflows.md +178 -0
  159. package/dist/grok/.grok/skills/omakase/reference/backlog-audit.md +168 -0
  160. package/dist/grok/.grok/skills/omakase/reference/critique.md +92 -0
  161. package/dist/grok/.grok/skills/omakase/reference/dark-factory.md +111 -0
  162. package/dist/grok/.grok/skills/omakase/reference/engineering.md +137 -0
  163. package/dist/grok/.grok/skills/omakase/reference/execution-plan.md +159 -0
  164. package/dist/grok/.grok/skills/omakase/reference/factory-orchestration.md +123 -0
  165. package/dist/grok/.grok/skills/omakase/reference/handoff.md +43 -0
  166. package/dist/grok/.grok/skills/omakase/reference/init.md +146 -0
  167. package/dist/grok/.grok/skills/omakase/reference/learn.md +66 -0
  168. package/dist/grok/.grok/skills/omakase/reference/native-agents.md +45 -0
  169. package/dist/grok/.grok/skills/omakase/reference/plan.md +79 -0
  170. package/dist/grok/.grok/skills/omakase/reference/skill-judge.md +133 -0
  171. package/dist/grok/.grok/skills/omakase/reference/task-intake.md +94 -0
  172. package/dist/grok/.grok/skills/omakase/reference/taste.md +33 -0
  173. package/dist/grok/.grok/skills/omakase/reference/team-architecture.md +38 -0
  174. package/dist/grok/.grok/skills/omakase/teams/archives/lead.md +77 -0
  175. package/dist/grok/.grok/skills/omakase/teams/archives/sub-personas/memory-synthesizer.md +66 -0
  176. package/dist/grok/.grok/skills/omakase/teams/critics/lead.md +94 -0
  177. package/dist/grok/.grok/skills/omakase/teams/critics/sub-personas/deslop-critic.md +52 -0
  178. package/dist/grok/.grok/skills/omakase/teams/critics/sub-personas/skill-judge.md +59 -0
  179. package/dist/grok/.grok/skills/omakase/teams/critics/sub-personas/structural-critic.md +112 -0
  180. package/dist/grok/.grok/skills/omakase/teams/critics/sub-personas/verification-critic.md +73 -0
  181. package/dist/grok/.grok/skills/omakase/teams/engineering/lead.md +111 -0
  182. package/dist/grok/.grok/skills/omakase/teams/engineering/sub-personas/debugger.md +44 -0
  183. package/dist/grok/.grok/skills/omakase/teams/engineering/sub-personas/implementation-lead.md +43 -0
  184. package/dist/grok/.grok/skills/omakase/teams/engineering/sub-personas/refactor-specialist.md +56 -0
  185. package/dist/grok/.grok/skills/omakase/teams/engineering/sub-personas/senior-reviewer.md +83 -0
  186. package/dist/omakase-skill.zip +0 -0
  187. package/package.json +54 -0
@@ -0,0 +1,146 @@
1
+ # Init — Bootstrap the Omakase Standard in a Project
2
+
3
+ **Preferred (deterministic):** run the CLI from the project root:
4
+
5
+ ```bash
6
+ npx omakase init
7
+ # or, in the omakase repo: node bin/omakase.js init
8
+ ```
9
+
10
+ This creates `.omakaseagent/`, updates `AGENTS.md`, installs the skill bundle, and registers **native agents** (`omakase-engineer`, `omakase-critic`, `omakase-archivist`, plus hidden/internal specialists) for OpenCode, Cursor, Claude Code, and Codex.
11
+
12
+ **Next:** `npx omakase learn` — bootstrap Level 4 factory for this repo (`factory.md`, scenarios, gates). See `reference/learn.md`.
13
+
14
+ **Skill fallback:** `/omakase init` in a harness chat follows the steps below when the CLI cannot be run — but the CLI path is strongly preferred so native agents are actually on disk.
15
+
16
+ `omakase init` creates the persistent memory layer and sets the project up to use the standard.
17
+
18
+ ## What It Creates
19
+
20
+ At minimum:
21
+ - `.omakaseagent/` directory at project root
22
+ - `.omakaseagent/taste.md` — running record of what good looks like for this project/team and what patterns are rejected
23
+ - `.omakaseagent/decisions.md` — key architectural and product decisions with date + "Why"
24
+ - `AGENTS.md` (created or enhanced) — lightweight project-level guidance including Omakase team model reference
25
+
26
+ Optionally (when the project justifies it):
27
+ - `.omakaseagent/context/` for additional high-signal reference material
28
+ - `.omakaseagent/handoffs/` for saved handoff documents
29
+
30
+ ## Behavior
31
+
32
+ 1. **Detect existing state.**
33
+ - If `.omakaseagent/` already exists, read the current taste and decisions.
34
+ - Ask the user whether they want to refresh / expand the existing memory or leave it alone.
35
+ - Never silently overwrite.
36
+
37
+ 2. **Explore the project (light but real).**
38
+ - Read README, AGENTS.md / CLAUDE.md / any existing standards docs, package.json or equivalent.
39
+ - Note the primary language/stack and any obvious architectural patterns.
40
+ - Form a hypothesis about what "senior work" looks like in this codebase.
41
+
42
+ 3. **Create the .omakaseagent/ directory and files (exact steps).**
43
+ - `mkdir -p .omakaseagent`
44
+ - Write `.omakaseagent/taste.md` using the high-signal starter below (customize the "What Good Looks Like Here" section based on your project exploration in step 2).
45
+ - Write `.omakaseagent/decisions.md` with at least one initial entry capturing the current context + the decision to adopt Omakase.
46
+ - If this repo already has excellent examples (see the ones in this project's own `.omakaseagent/`), use those as the gold standard for tone and density rather than the generic templates.
47
+
48
+ 4. **Explain what was created and why it matters.**
49
+ - Tell the user the exact paths.
50
+ - Show the first few lines of taste.md and decisions.md.
51
+ - Explain that per SKILL.md Setup, these files are now mandatory context for every significant task (with required "Memory consulted" citation).
52
+
53
+ 5. **Generate or enhance AGENTS.md**
54
+ - Create `AGENTS.md` in the project root (or enhance it if it already exists).
55
+ - Add a clear Omakase section that references the core principles and the team model (Engineering, Archives, Critics).
56
+ - Keep the addition lightweight — link to the installed Omakase skill for the full rules and rubric.
57
+ - Example section to add:
58
+ ```markdown
59
+ ## Omakase Standards
60
+ This project follows the Omakase standard (senior craftsmanship, zero AI slop, mandatory critique gate, ruthless simplicity).
61
+
62
+ Teams:
63
+ - Engineering (lead: The Engineer) — primary implementation and technical work
64
+ - Archives (lead: The Archivist) — memory, decisions, and knowledge management
65
+ - Critics (lead: The Critic) — cross-cutting quality enforcement
66
+
67
+ Use `/omakase engineer`, `/omakase critique`, etc. once the skill is installed.
68
+ See the installed Omakase skill for the full 12 Rules and Critique Rubric.
69
+ ```
70
+
71
+ 6. **Offer the obvious next step.**
72
+ - Usually: "Now you can say `/omakase engineer <task>` or just describe what you want built/reviewed/planned."
73
+ - If the project has no prior standards, this is often the moment to do a light first critique or shape a small piece of work so the taste memory gets its first real data point.
74
+
75
+ **Minimal Seed for First Task (used by SKILL.md when no .omakaseagent/ exists on first significant engineering work, and user elects to proceed without full /omakase init):**
76
+ Create only:
77
+ - `.omakaseagent/decisions.md` with exactly this starter (customize date/project name):
78
+ ```markdown
79
+ # Key Decisions
80
+
81
+ ## YYYY-MM-DD — Core Omakase Standards Adopted
82
+ **Context**: First significant engineering task on a project with no prior .omakaseagent/ memory.
83
+ **Decision**: Adopt core Omakase Rules + Critique Rubric immediately. Full taste.md and richer decisions will be captured on first real body of work or via explicit `/omakase init`.
84
+ **Why**: Prevents total context loss and generic output from the very first deliverable. Matches Rule 5 (Persistent Taste Memory) and the Setup requirement in SKILL.md. A minimal seed is better than none for Context Fidelity.
85
+ **Revisit if**: User runs full init or provides project-specific taste.
86
+ ```
87
+ - No taste.md yet (or a 1-line placeholder directing to run init for real preferences).
88
+ After creating, tell the user the exact path created and that the next significant output will cite this seed entry. Then proceed with the task under core + engineering (if signals) standards. This is the *only* allowed path for "proceed without init" on first heavy task.
89
+
90
+ **Gold standard reference:** The `.omakaseagent/taste.md` and `decisions.md` in this very repository (the Omakase source) are the current best examples of the expected density, directness, and "Why" quality. When in doubt during init, bias toward matching that tone rather than the generic templates below.
91
+
92
+ ## Starter taste.md (high-signal template)
93
+
94
+ ```markdown
95
+ # Omakase Taste Memory
96
+
97
+ ## What Good Looks Like Here
98
+ - [Project-specific observation 1]
99
+ - [Project-specific observation 2]
100
+ - Ruthless simplicity is valued more than clever abstractions
101
+ - Code that a strong mid-level engineer can understand and modify six months later
102
+
103
+ ## What We Reject
104
+ - Unnecessary comments that restate the obvious
105
+ - Defensive code around trusted paths
106
+ - `any` casts used as escape hatches
107
+ - Files that grow past ~1000 lines without clear justification
108
+ - "For future flexibility" abstractions that add cost today
109
+
110
+ ## Current Standards
111
+ - Every non-trivial engineering change includes a short "Why this approach" section
112
+ - Critique gate is mandatory before significant work is considered done
113
+ - Persistent decisions are recorded in decisions.md
114
+ ```
115
+
116
+ ## Starter decisions.md (high-signal template)
117
+
118
+ ```markdown
119
+ # Key Decisions
120
+
121
+ ## YYYY-MM-DD — Decision Title
122
+ **Context**: One sentence on the situation.
123
+ **Decision**: What we chose.
124
+ **Why**: The senior reasoning (trade-offs, constraints, taste).
125
+ **Revisit if**: Conditions under which we would reconsider.
126
+
127
+ ---
128
+
129
+ (Older decisions go below. Keep the most recent ones near the top.)
130
+ ```
131
+
132
+ ## Success Criteria for This Command
133
+
134
+ After running `omakase init`, a new or existing project should have a clean, useful `.omakaseagent/` that the skill will actually consult on future work. The files should feel like they were written by someone with taste, not by a generic template engine.
135
+
136
+ If the project already has strong standards elsewhere, `init` should acknowledge them and focus on creating the minimal bridge into the Omakase memory layer rather than fighting existing conventions.
137
+
138
+ ## Minimum Seed Content for First-Task / Proactive Seeding (when init is not explicit)
139
+
140
+ When the router creates a seed on the first significant task (see SKILL.md Routing Logic):
141
+ - taste.md must contain **at least three concrete, observable, task-derived entries** (not generic aspirations) in "What Good Looks Like Here" and "What We Reject", pulled directly from the files, request, or smells under discussion in the current turn.
142
+ - decisions.md must contain the adoption entry plus the context of the triggering task.
143
+ - After writing, the persona must re-read the created files and perform a quick internal rubric pass, recording the result in the output or decisions.md.
144
+ - The seed must be high-signal enough that a future agent loading it 10 minutes later can make a better decision on the *same* task than it could with no memory.
145
+
146
+ Generic one-line placeholders ("Core standards adopted") are a failure of Context Fidelity.
@@ -0,0 +1,66 @@
1
+ # omakase learn — repo factory bootstrap
2
+
3
+ **Owner:** The Archivist (method). **CLI:** `bin/omakase.js learn` (deterministic discover + write).
4
+
5
+ ## Purpose
6
+
7
+ Install a **Level 4 dark factory** for *this* repo — not generic templates. `learn` discovers stack and scripts, then writes:
8
+
9
+ - `.omakaseagent/factory.md` — repo playbook (checks, risk classes, workflow)
10
+ - `.omakaseagent/scenarios/` — up to 5 starter scenarios (approve before Class 2+ work)
11
+ - `.omakaseagent/gates/` + `handoffs/` + `backlog/` — empty with README
12
+ - Taste/decisions/AGENTS.md updates when missing factory markers
13
+
14
+ Global bar: `reference/dark-factory.md`. This command installs **instrumentation**.
15
+
16
+ ## CLI
17
+
18
+ ```bash
19
+ omakase learn # factory + memory markers
20
+ omakase learn --dry-run # list paths only
21
+ omakase learn --memory-only # taste/decisions only, no scenarios
22
+ omakase learn --factory-only # factory.md + scenarios, skip taste merge
23
+ omakase learn --project-agents-only # project-agents/ + native emit only
24
+ ```
25
+
26
+ **Precondition:** `.omakaseagent/` exists (`omakase init` first).
27
+
28
+ ## Agent fallback (no CLI)
29
+
30
+ 1. Confirm `.omakaseagent/` exists; else tell user to run `omakase init`.
31
+ 2. Read README, `package.json`, CI workflows, main source dirs.
32
+ 3. Propose same artifacts as CLI would write; show diffs.
33
+ 4. **Wait for confirm** before writing.
34
+ 5. Log decision in `decisions.md`.
35
+
36
+ ## After learn
37
+
38
+ Agents follow **`reference/task-intake.md`** (single tasks) and **`reference/factory-orchestration.md`** (Class 2+ team loop: Engineer → critic → gate → archivist when needed). Backlog audit and execution plans: **`reference/backlog-audit.md`**, **`reference/execution-plan.md`**.
39
+
40
+ - Class **0–1:** brief inline; mechanical checks; light checkpoint OK.
41
+ - Class **2+:** brief + scenarios (agent drafts); one confirm; gate file at end.
42
+ - Re-run `learn` when stack or CI changes (`--dry-run` first).
43
+
44
+ ## Gate report shape (minimum headings)
45
+
46
+ ```markdown
47
+ # Gate: <task>
48
+
49
+ ## Seed
50
+ ## Scenarios
51
+ ## Mechanical evidence
52
+ ## Critic
53
+ ## Memory consulted
54
+ ## Risks / human decision
55
+ ```
56
+
57
+ ## Project agents (Phase G)
58
+
59
+ `learn` proposes up to **3** namespaced agents under `.omakaseagent/project-agents/` from repo signals (`skill/`, `bin/`, domain dirs). On learn, stubs emit to installed harness `agents/` dirs (e.g. `.cursor/agents/omakase-<pkg>-skill.md`).
60
+
61
+ - **Canonical source:** `.omakaseagent/project-agents/*.md` — edit here, re-run learn
62
+ - **Does not replace** core leads (`@omakase-engineer`, etc.)
63
+ - **Gate:** skill-judge report on new/changed bodies (report-only; human decides)
64
+ - **Refresh:** `omakase learn --project-agents-only` after editing project agent files
65
+
66
+ See `reference/team-architecture.md` for delegation patterns.
@@ -0,0 +1,45 @@
1
+ # Native Omakase Agents
2
+
3
+ Portable reference (shipped with the skill). Full doc: `docs/NATIVE-SUBAGENTS.md` in the repo.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npx omakase init
9
+ ```
10
+
11
+ ## User-facing leads
12
+
13
+ | Agent id | Use for |
14
+ |----------|---------|
15
+ | `omakase-engineer` | Implementation, architecture, refactoring |
16
+ | `omakase-critic` | Quality enforcement, critique |
17
+ | `omakase-archivist` | Memory, decisions, synthesis; git recap & chat preferences (`reference/archivist-workflows.md`) |
18
+
19
+ ## Invoke
20
+
21
+ | Harness | Command |
22
+ |---------|---------|
23
+ | OpenCode | `opencode run --agent omakase-engineer "…"` |
24
+ | Grok Build | `grok --agent omakase-engineer "…"` |
25
+ | Claude | `claude -p --agent omakase-engineer "…"` |
26
+ | Cursor | `@omakase-engineer` |
27
+ | Codex | `codex exec -c 'agent="omakase_engineer"' "…"` |
28
+
29
+ ## Delegation (leads only)
30
+
31
+ Task → `subagent_type` from the lead’s delegation list (e.g. `omakase-senior-reviewer`, `omakase-skill-judge`). See each lead agent file.
32
+
33
+ Specialists are **INTERNAL ONLY** — not user-facing.
34
+
35
+ ## Skill router (fallback)
36
+
37
+ This install includes skill **`omakase-router`** at `.agents/skills/omakase/SKILL.md` (folder name `omakase`).
38
+
39
+ Use for: `/omakase-router plan`, taste, handoff — **not** for `@omakase-engineer`.
40
+
41
+ ## Verify
42
+
43
+ ```bash
44
+ npm run verify:native-agents
45
+ ```
@@ -0,0 +1,79 @@
1
+ # Plan — Senior Planning with Domain Awareness
2
+
3
+ `plan` is a core command. It produces plans that a strong senior engineer or team would actually want to follow.
4
+
5
+ Like `critique`, it is a smart traffic-cop: it detects the nature of the request, merges the appropriate standards, and then delivers a high-signal plan with explicit reasoning.
6
+
7
+ ## Core Principle
8
+
9
+ A mediocre plan is worse than no plan. Every Omakase plan must itself pass the Critique Rubric (core + relevant merged extensions) before being delivered.
10
+
11
+ ## Detection & Merge Logic
12
+
13
+ **Strong signals to merge Engineering extensions** (from `reference/engineering.md`):
14
+ - Implementation, architecture, refactoring, performance, system design, "how should we build X"
15
+ - Code, modules, boundaries, tech choices, team process around code
16
+ - Any request that will result in significant code or technical decisions
17
+ - "Sketch the core data model", "API surface", "backend service" or similar technical depth
18
+
19
+ **Non-Engineering Signals (core standards only — do not merge engineering extensions)**:
20
+ - Pure product strategy, GTM, org design, high-level roadmap, ICP/positioning/pricing work with explicit or implied "high-level" or "no implementation details" framing.
21
+ - Writing, narrative, or process-focused requests: "develop the messaging", "write the strategy brief for execs", "design a better operating rhythm for feature requests", "critique this customer email sequence for voice".
22
+ - Requests that actively disclaim technical depth.
23
+
24
+ **Mixed / Ambiguous (common)**:
25
+ - When the request combines product/strategy with any meaningful technical architecture, data model, or implementation implications → merge engineering extensions for the relevant portions only.
26
+ - When in doubt (e.g., "plan improvements to the developer platform" or "add X feature" without clear qualifiers), **ask once** rather than guessing: "This plan request blends product strategy with potential technical elements. Should I produce a plan under core Omakase standards only, or merge in engineering standards (ruthless simplicity for architecture, boundary hygiene, etc.) for the technical sections?"
27
+
28
+ When in doubt, ask once rather than guessing the register. The plan output must always include an explicit Domain Detection & Merge note near the top (see required elements below).
29
+
30
+ ## What a Senior Omakase Plan Must Contain
31
+
32
+ A good plan is not a list of tasks. It is a clear, reasoned artifact that reduces ambiguity and surfaces the important thinking.
33
+
34
+ Required elements:
35
+
36
+ 1. **Domain Detection & Merge Declaration** (mandatory, placed early — right after Goal Restatement or as a top callout box): Explicitly state the detected domain and merge decision with reasoning. Examples:
37
+ - "Domain: Pure product strategy / GTM. Standards: Core Omakase only (no engineering extensions merged). Reason: Request was high-level positioning and launch phases with no technical architecture or implementation content."
38
+ - "Domain: Mixed (product positioning + technical implementation sketch). Standards: Core + Engineering extensions (applied to data model and API sections for code judo and contract clarity). Reason: Explicit request for both strategy and core data model/API surface."
39
+ This fulfills the requirement that every plan (and its subsequent critique) transparently documents whether engineering standards were correctly avoided or applied.
40
+ 2. **Problem / Goal Restatement** (sharper and more precise than the original request)
41
+ 3. **Key Constraints & Non-Goals** (what we are deliberately *not* doing and why)
42
+ 4. **Recommended Approach** with explicit "Why this approach" section (trade-offs, why this shape over obvious alternatives)
43
+ 5. **Options Considered** (at least the main 2-3 alternatives and why they were rejected or deferred)
44
+ 6. **Risks, Assumptions & Open Questions**
45
+ 7. **Proposed Phasing / Order of Work** (with justification — not just a flat list)
46
+ 8. **Success Criteria** (observable, testable outcomes)
47
+ 9. **Handoff Notes** (what the implementer needs to know that isn't in the plan itself)
48
+
49
+ ## Quality Bar
50
+
51
+ - Ruthless simplicity in the *plan itself*. Bloated plans are a smell.
52
+ - The plan must pass the Critique Rubric (core only for pure product/strategy/writing work; core + engineering extensions when the plan contains meaningful technical decisions or architecture).
53
+ - Every non-obvious recommendation must have "Why this approach" reasoning.
54
+ - The Domain Detection & Merge Declaration must itself be accurate and defensible (this is part of the self-critique gate).
55
+ - The plan should feel like it was written by someone who has actually shipped similar work and knows where things usually go wrong.
56
+
57
+ ## Tone
58
+
59
+ Calm, senior, decisive but not arrogant. You are comfortable saying "this is the right shape" while still showing the thinking that led there. You surface uncomfortable trade-offs early.
60
+
61
+ ## Self-Application
62
+
63
+ The output of `plan` is frequently handed to `engineer` or other agents. Poor plans create expensive downstream problems. Hold the plan to the same standard you would hold the final implementation.
64
+
65
+ ## Relationship to Handoff
66
+
67
+ When the plan is substantial, consider also producing a crisp handoff document (see `reference/handoff.md`) for the transition from planning to execution.
68
+
69
+ ## Strategic plan vs execution plan
70
+
71
+ | | Strategic (`reference/plan.md`) | Execution (`.omakaseagent/backlog/`) |
72
+ |---|--------------------------------|--------------------------------------|
73
+ | **Purpose** | Why, options, trade-offs, phasing | How — steps, excerpts, verify gates |
74
+ | **Trigger** | `/omakase plan`, shaping direction | Backlog audit selection, "fix X" spec |
75
+ | **Audience** | Human + Engineer deciding shape | `omakase-implementation-lead` with zero session context |
76
+ | **Template** | Required elements in this file | `reference/execution-plan.md` |
77
+ | **Close** | Handoff to Engineer | Factory loop: critic + gate |
78
+
79
+ A strategic plan may recommend backlog items; Engineer writes execution plans when it's time to spec concrete file-level work (`reference/backlog-audit.md`).
@@ -0,0 +1,133 @@
1
+ # Skill Judge — SKILL.md evaluation rubric
2
+
3
+ Use this reference when auditing agent skills, `SKILL.md` packages, persona markdown, or third-party imports before they merge into Omakase. This complements the Omakase Critique Rubric for code and artifacts; it does not replace it.
4
+
5
+ **Policy (non-negotiable):** Report-only. Never block merges, installs, or releases on a numeric grade. The Critic delivers the report; the human decides.
6
+
7
+ ## When to run
8
+
9
+ - "Evaluate this skill", "audit SKILL.md", "score this persona"
10
+ - Before siphoning an external skill into `skill/teams/` or `skill/reference/`
11
+ - After generating or changing project agents (`omakase learn` → `.omakaseagent/project-agents/`)
12
+ - Dark-factory Phase 4: mechanical contracts in `evals/*.eval.json` (`npm run verify:scenario-evals`); live with/without-skill runs per `reference/team-architecture.md` trigger table
13
+
14
+ ## Evaluation protocol
15
+
16
+ 1. **Knowledge delta scan (first pass).** For each major section, tag:
17
+ - **[E] Expert** — the model/harness genuinely benefits; keep
18
+ - **[A] Activation** — known material, but a brief reminder helps activation; keep if short
19
+ - **[R] Redundant** — tutorial filler the model already knows; delete or compress
20
+ 2. **Structure check** — frontmatter validity, description quality, line count, progressive disclosure, reference files that actually load
21
+ 3. **Score eight dimensions** — evidence per dimension, not vibes
22
+ 4. **Grade** — total out of 120; assign A–F
23
+ 5. **Report** — required output shape below; run Omakase Internal Critique Pass on the report itself
24
+
25
+ ## Eight dimensions (120 points)
26
+
27
+ | ID | Dimension | Max | What it measures |
28
+ |----|-----------|-----|------------------|
29
+ | D1 | Knowledge delta | 20 | Expert-only content vs token waste (core dimension) |
30
+ | D2 | Mindset + procedures | 15 | Thinking patterns and workflows the harness would not infer |
31
+ | D3 | Anti-pattern quality | 15 | Explicit NEVER lists with non-obvious reasons |
32
+ | D4 | Specification compliance | 15 | Frontmatter, description (WHAT / WHEN / keywords), activation |
33
+ | D5 | Progressive disclosure | 15 | Layered loading; body vs references; "do not load" guards |
34
+ | D6 | Freedom calibration | 15 | Constraint level matches task fragility (creative vs brittle ops) |
35
+ | D7 | Pattern fit | 10 | Matches a deliberate pattern (see below) |
36
+ | D8 | Practical usability | 15 | Decision trees, examples, error paths an agent can follow |
37
+
38
+ ### Grades
39
+
40
+ | Grade | Score | Meaning |
41
+ |-------|-------|---------|
42
+ | A | 108+ (90%+) | Production-ready expert skill |
43
+ | B | 96–107 | Good; minor fixes |
44
+ | C | 84–95 | Adequate; clear improvement path |
45
+ | D | 72–83 | Significant issues |
46
+ | F | &lt;72 | Redesign likely |
47
+
48
+ ### Design patterns (D7)
49
+
50
+ | Pattern | ~Lines | Best for |
51
+ |---------|--------|----------|
52
+ | Mindset | ~50 | Taste-heavy creative work |
53
+ | Navigation | ~30 | Distinct scenarios, routing |
54
+ | Philosophy | ~150 | Originality-heavy creation |
55
+ | Process | ~200 | Multi-step projects |
56
+ | Tool | ~300 | Precise format or API operations |
57
+
58
+ Wrong pattern for the job is a D7 failure even if prose is polished.
59
+
60
+ ## Common failure patterns (flag explicitly)
61
+
62
+ 1. **Tutorial** — explains basics the model already knows
63
+ 2. **Dump** — everything in one 800+ line file
64
+ 3. **Orphan references** — linked files never reached in workflow
65
+ 4. **Checkbox procedure** — steps without thinking frameworks
66
+ 5. **Vague warning** — "be careful" without invariant or example
67
+ 6. **Invisible skill** — strong body, weak `description` (activation fails)
68
+ 7. **Wrong location** — trigger guidance only in body, not description
69
+ 8. **Over-engineered package** — auxiliary files without load path
70
+ 9. **Freedom mismatch** — rigid scripts for creative work, or loose prose for fragile ops
71
+
72
+ ## Omakase alignment checks
73
+
74
+ In addition to the 120-point rubric, note pass/fail on:
75
+
76
+ - **Zero slop** — generic AI voice, filler, engagement bait
77
+ - **Expert-only default** — no menu of 18 shallow skills when one lead + delegation would do
78
+ - **Native agent fit** — if this is a persona: correct `description`, lead-only specialists, no user-facing duplicate of a lead
79
+ - **Memory contract** — significant skills mention when to read/update `.omakaseagent/` if project-scoped
80
+
81
+ ## Required report shape
82
+
83
+ ```markdown
84
+ # Skill Evaluation Report: [name]
85
+
86
+ ## Summary
87
+ - **Total score**: X/120 (Y%)
88
+ - **Grade**: [A|B|C|D|F]
89
+ - **Pattern**: [Mindset|Navigation|Philosophy|Process|Tool|Mixed|None]
90
+ - **Knowledge ratio**: E:A:R = e:a:r
91
+ - **Verdict**: [one sentence]
92
+
93
+ ## Dimension scores
94
+ | Dimension | Score | Max | Notes |
95
+ |-----------|-------|-----|-------|
96
+
97
+ ## Critical issues
98
+ - [must-fix, with location]
99
+
100
+ ## Top 3 improvements
101
+ 1. ...
102
+ 2. ...
103
+ 3. ...
104
+
105
+ ## Omakase alignment
106
+ - [bullet findings]
107
+
108
+ ## Internal Critique Pass
109
+ [1–2 sentences on this report; issues found or none]
110
+ ```
111
+
112
+ ## Example report (abbreviated)
113
+
114
+ ```markdown
115
+ # Skill Evaluation Report: omakase-router
116
+
117
+ ## Summary
118
+ - **Total score**: 108/120 (90%)
119
+ - **Grade**: A
120
+ - **Pattern**: Navigation
121
+ - **Knowledge ratio**: E:A:R = 8:2:0
122
+ - **Verdict**: Thin router with strong precedence and pointers; suitable after native-agent install.
123
+
124
+ ## Critical issues
125
+ - none
126
+
127
+ ## Top 3 improvements
128
+ 1. Keep body under ~150 lines as references grow.
129
+ ```
130
+
131
+ ## Lineage
132
+
133
+ Rubric distilled from [softaworks/agent-toolkit skill-judge](https://github.com/softaworks/agent-toolkit/tree/main/skills/skill-judge) (MIT). Rewritten for Omakase voice and report-only policy.
@@ -0,0 +1,94 @@
1
+ # Task intake — agents co-create the factory setup
2
+
3
+ Users say goals in plain language ("add rate limiting", "fix the CI flake"). **They should not need to know "seed", risk classes, or gate file paths.** Leads set that up.
4
+
5
+ ## Why intake exists
6
+
7
+ The factory pattern (see `reference/dark-factory.md`) tries to **replace routine diff review with proof**. Your job at intake: turn a vague ask into an approvable brief + evidence plan so the human can say yes once, then judge **evidence at the end** — not every file during implementation.
8
+
9
+ **You are not building a runner.** You are setting up **what must be proven** and **which commands prove it**.
10
+
11
+ **Read first:** `reference/dark-factory.md` (goals + what automation means), `.omakaseagent/factory.md` (this repo's checks), `taste.md`, `decisions.md`.
12
+
13
+ ## If factory is missing
14
+
15
+ On first significant task in a repo without `factory.md`:
16
+
17
+ 1. Tell the user briefly: Omakase works best with a one-time repo setup.
18
+ 2. Prefer CLI: `npx omakase init` then `npx omakase learn` (or `learn --dry-run`).
19
+ 3. If CLI unavailable: `@omakase-archivist` or router `learn` per `reference/learn.md` — propose artifacts, confirm before write.
20
+ 4. **Do not block Class 0–1 trivia** (typo in README) on full factory — still cite memory if present.
21
+
22
+ ## Intake protocol (Engineer — start of non-trivial work)
23
+
24
+ Replace jargon with a short **Task brief** the user can skim in one screen.
25
+
26
+ ### 1. Infer from the request (do not interrogate)
27
+
28
+ From the user message + repo context, draft:
29
+
30
+ | Field | Agent fills |
31
+ |-------|-------------|
32
+ | **Goal** | What should be true when done |
33
+ | **Non-goals** | What we are not doing |
34
+ | **Observable behavior** | What a human or test would see |
35
+ | **Risk class** | 0–3+ using `factory.md` or `dark-factory.md` defaults |
36
+ | **Evidence plan** | Commands from `factory.md` mechanical list + scenarios if Class 2+ |
37
+
38
+ Show the brief under a heading like **Task brief** (not "Seed" unless the user is technical).
39
+
40
+ ### 2. When to ask the user (minimal)
41
+
42
+ | Situation | Action |
43
+ |-----------|--------|
44
+ | Class 0–1, clear ask | Brief inline → proceed |
45
+ | Class 2+, clear ask | Brief + propose 1–3 scenarios (new or link existing in `.omakaseagent/scenarios/`) → **one** confirm: "Proceed with this brief?" |
46
+ | Ambiguous goal, conflicting constraints, Class 3+ | Ask clarifying questions before implementation |
47
+ | User already gave a full spec | Brief is confirm-only or skip if redundant |
48
+ | User points at `.omakaseagent/backlog/NNN-*.md` | Treat execution plan as charter; brief is plan summary + risk class; proceed to scenarios (Class 2+) then factory loop |
49
+
50
+ Never ask the user to "create a seed file." You create the brief; they approve or correct.
51
+
52
+ ### Backlog execution plans
53
+
54
+ When implementing from `.omakaseagent/backlog/`:
55
+
56
+ 1. Read the full execution plan (`reference/execution-plan.md` shape).
57
+ 2. Task brief = plan title + why + done criteria excerpt.
58
+ 3. Run drift check from plan header before editing source.
59
+ 4. Honor STOP conditions — escalate to user, do not improvise.
60
+ 5. Gate report must link the backlog plan path and record done-criteria results.
61
+
62
+ ### 3. Scenarios (Class 2+)
63
+
64
+ - Reuse existing scenario files when they cover the work.
65
+ - If gaps exist, **draft** `.omakaseagent/scenarios/<slug>.md` and show content; write file after confirm (or on proceed if user said "ship it").
66
+ - Keep scenarios short: actor, start, action, observe, must-not, evidence.
67
+
68
+ ### 4. Work between gates
69
+
70
+ Proceed with implementation per Engineering lead. Run mechanical checks from `factory.md`. Delegate critic when appropriate.
71
+
72
+ ### 5. Close with a gate report (not chat-only "done")
73
+
74
+ Write `.omakaseagent/gates/<date>-<slug>-gate.md` using headings from `reference/learn.md`. Tell the user the path.
75
+
76
+ For Class 0–1, a **light checkpoint** in the reply is enough; full gate file optional unless taste requires it.
77
+
78
+ ### 6. Plain-language close
79
+
80
+ End with what changed, what was verified, and **one decision** if the human must accept/reject — not a lecture on Level 4.
81
+
82
+ ## Other leads
83
+
84
+ | Lead | Intake role |
85
+ |------|-------------|
86
+ | **Critic** | Reviews evidence stack in gate reports; does not replace intake |
87
+ | **Archivist** | `learn`, memory, chat/git workflows; may draft factory artifacts |
88
+
89
+ ## Anti-patterns
90
+
91
+ - Waiting for the user to say "seed" or "risk class"
92
+ - Long factory terminology up front
93
+ - Skipping mechanical evidence when `factory.md` lists commands
94
+ - "Done" without verification or gate artifact on Class 2+
@@ -0,0 +1,33 @@
1
+ # Taste Memory Management
2
+
3
+ Persistent taste lives in `.omakaseagent/taste.md` and `decisions.md` at the project root.
4
+
5
+ ## Core Contract
6
+
7
+ - These files are **sacred context**.
8
+ - **On every non-trivial task the skill MUST read (or have in active context) both files before reasoning.** "Attempt" or "best-effort" is not sufficient; absence of a read is a process failure.
9
+ - The output **must** contain the "Memory consulted" declaration required by SKILL.md Setup.
10
+ - After significant work, the skill **must** proactively update (or propose exact patch for) taste.md / decisions.md when new strong preferences or decisions surface, and declare the update in the output ("Updated decisions.md with..."). Updates are part of delivery for non-trivial engineering.
11
+
12
+ ## Reading
13
+
14
+ - On *every* non-trivial task (engineering or otherwise where project standards apply), read both files early using available tools.
15
+ - Weave specific preferences into reasoning ("Given that this project rejects defensive comments...") **and cite the exact entry**.
16
+ - If the files are missing but the project would clearly benefit, gently surface the option to run `omakase init`. For first significant engineering work, the calling skill (per SKILL.md) creates a minimal seed decisions.md before or instead of asking.
17
+
18
+ ## Writing / Updating
19
+
20
+ - Never overwrite the user's voice. Add, refine, or sharpen.
21
+ - New entries in `taste.md` should be specific and observable ("We reject X because it caused Y in the past").
22
+ - `decisions.md` entries must always include **Context**, **Decision**, **Why**, and **Revisit if**.
23
+ - Keep both files relatively small and high-signal. Summarize or archive when they grow.
24
+
25
+ ## Quality Bar for Taste Entries
26
+
27
+ An entry is good when a future agent (or human) can read it in 30 seconds and make meaningfully better decisions on the next piece of work.
28
+
29
+ Vague or aspirational entries ("we like clean code") are low value and should be sharpened or removed.
30
+
31
+ ## Relationship to the Critique Rubric
32
+
33
+ Taste memory is one of the primary mechanisms for achieving **Context Fidelity** across sessions. Weak or absent memory is a recurring source of generic output.
@@ -0,0 +1,38 @@
1
+ # Team architecture patterns (Harness vocabulary, Omakase mapping)
2
+
3
+ One-page reference for **when to delegate how**. Siphoned from [revfactory/harness](https://github.com/revfactory/harness) agent-design patterns — Omakase is a **curated** instance, not a harness generator.
4
+
5
+ ## Six patterns
6
+
7
+ | Pattern | Meaning | Omakase today |
8
+ |---------|---------|---------------|
9
+ | **Pipeline** | Stages in order | `plan` → Engineer work → Critic → gate → Archivist memory |
10
+ | **Expert Pool** | Lead picks specialist by signal | Engineer → implementation-lead / debugger / refactor; Critic → deslop / structural / skill-judge |
11
+ | **Producer–Reviewer** | Build then independent review | Engineer implements → **@omakase-critic** mandatory Class 2+; Sales brief → Critic for claims |
12
+ | **Fan-out / Fan-in** | Parallel work, merged result | Parallel Task to verifiers (Sales); multiple critic specialists → one gate `## Critic` |
13
+ | **Supervisor** | Lead owns DAG, not every line | **@omakase-engineer** orchestrates factory-orchestration phases |
14
+ | **Hierarchical** | Nested leads | **Avoid** — Omakase stays flat: user talks to leads only |
15
+
16
+ ## Omakase defaults
17
+
18
+ - **User invokes leads only:** `@omakase-engineer`, `@omakase-critic`, `@omakase-archivist`
19
+ - **Class 2+ factory:** Producer–Reviewer + Supervisor (`reference/factory-orchestration.md`)
20
+ - **Imports / skills:** skill-judge (Critics) before merging external SKILL.md
21
+ - **Handoffs:** `.omakaseagent/handoffs/` or `_workspace/{phase}_{agent}_{artifact}` for multi-step audit trails
22
+
23
+ ## Trigger evals (skill activation)
24
+
25
+ From Harness skill-testing — apply with **skill-judge** and **scenario evals** (`evals/*.eval.json`):
26
+
27
+ | Should activate | Should NOT activate (near-miss) |
28
+ |-----------------|----------------------------------|
29
+ | "Ship this PR", "fix CI", "refactor X" | "Write launch email copy" (no engineering extensions) |
30
+ | "Critique this skill", "audit SKILL.md" | "Summarize this article" (not skill-judge) |
31
+ | "What did I ship last week" | "Implement feature Y" (Archivist, not Engineer) |
32
+ | Class 2+ product change | Typo fix in README (Class 0) |
33
+
34
+ **With-skill vs without-skill:** For a new persona or router change, run the same prompt twice (native lead present vs absent) and compare: memory citation, gate artifact, domain declaration. Mechanical contract: `npm run verify:scenario-evals`.
35
+
36
+ ## Drift
37
+
38
+ Archivist maintenance: `npm run verify:drift` — `skill/teams/` vs `dist/*/agents/` vs `TEAMS.md`. Re-run after `npm run build` when personas change.