feat: runtime smoke test, gitea actions workflows, runtime-checks record
check / check (push) Successful in 49s
check / check (push) Successful in 49s
This commit is contained in:
1 parent
d301ef5a62
commit
c92fe4db73
15 files changed
+847
-137
No files matched your search
@@ -17,7 +17,7 @@ upstream revision each release carries).
|
||||
// opencode.json
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"plugins": ["@haylan/opencode-pocock"]
|
||||
"plugins": ["@haylan/opencode-pocock"],
|
||||
}
|
||||
```
|
||||
|
||||
@@ -43,18 +43,23 @@ Start OpenCode with the `pocock` agent selected and describe what you want to bu
|
||||
opencode --agent pocock
|
||||
```
|
||||
|
||||
| Agent | Role |
|
||||
| --- | --- |
|
||||
| `pocock` | Primary orchestrator. Routes with `ask-matt`, walks grill → spec → tickets → build → review → retro, proposes before each user-invoked step, runs `implement-spec` with one git worktree per ticket and parallel `pocock-worker` subagents. |
|
||||
| `pocock-worker` | Subagent. Builds one ticket test-first (`tdd` at the spec's seams) inside its worktree, merges the integration tip, reports. Never pushes. |
|
||||
| `pocock-reviewer` | Subagent. Read-only executor of one `code-review` axis (Standards or Spec). |
|
||||
| Agent | Role |
|
||||
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `pocock` | Primary orchestrator. Routes with `ask-matt`, walks grill → spec → tickets → build → review → retro, proposes before each user-invoked step, runs `implement-spec` with one git worktree per ticket and parallel `pocock-worker` subagents. |
|
||||
| `pocock-worker` | Subagent. Builds one ticket test-first (`tdd` at the spec's seams) inside its worktree, merges the integration tip, reports. Never pushes. |
|
||||
| `pocock-reviewer` | Subagent. Read-only executor of one `code-review` axis (Standards or Spec). |
|
||||
|
||||
23 of the 31 vendored skills are user-invoked upstream (`disable-model-invocation: true`);
|
||||
OpenCode v2 honors that natively — they stay out of the model's auto-selection and are run by you
|
||||
as slash commands (`/to-spec`, `/retro`, ...).
|
||||
OpenCode v2 honors that natively — they stay out of the model's auto-selection. Note that
|
||||
plugin-injected skills are not exposed as slash commands in v2 (only file-based skills are):
|
||||
the `pocock` agent proposes each user-invoked step and loads it after your yes. If you want
|
||||
`/to-spec` & co. directly, either keep a file-based install of Matt's skills (e.g.
|
||||
`npx skills@latest add mattpocock/skills -a opencode`; id collisions then resolve to your
|
||||
file-based copies) or, for a project-level npm install, add a skills source:
|
||||
`"skills": ["./node_modules/@haylan/opencode-pocock/skills"]`.
|
||||
|
||||
Both agents may create worktrees under `/tmp/pocock-workers`. If you use subagents that write
|
||||
there (exploration notes), consider a global permission rule:
|
||||
Worktrees live under `/tmp/pocock-workers`. Current OpenCode v2 builds allow `external_directory`
|
||||
for `/tmp/*` by default; if yours asks before a subagent writes there, add a global rule:
|
||||
|
||||
```json
|
||||
{ "permission": { "external_directory": { "/tmp/pocock-workers/*": "allow" } } }
|
||||
@@ -69,9 +74,9 @@ there (exploration notes), consider a global permission rule:
|
||||
"package": "@haylan/opencode-pocock",
|
||||
// Ports skills/misc/git-guardrails-claude-code to OpenCode: blocks dangerous git
|
||||
// commands (push --force, reset --hard, clean -f, branch -D, ...) before execution.
|
||||
"options": { "guardrails": true }
|
||||
}
|
||||
]
|
||||
"options": { "guardrails": true },
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user