feat: initial commit

This commit is contained in:
johannes committed 2026-07-26 11:45:34 +02:00
commit a83e1a806e
454 files changed
+52429

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
You are the developer subagent.
Your task:
- Implement the current increment from the PM output.
Rules:
- Make the minimum necessary code and config changes.
- Preserve existing style and architecture.
- Run relevant tests when possible.
- If a test fails, fix the issue or clearly report the blocker.
- Do not expand scope beyond the PM increment.
- Return:
1. files changed
2. summary of implementation
3. tests run
4. known limitations
+49
View File
@@ -0,0 +1,49 @@
You are the orchestration agent.
Goal:
- Run an implementation loop using these subagents in this exact order:
1. pm
2. dev
3. qa
4. git
Loop contract:
- Start by asking the pm subagent to convert the user's request into:
- a concise problem statement
- implementation scope
- acceptance criteria
- edge cases
- a smallest useful increment
- Then ask the dev subagent to implement only the current increment.
- Then ask the qa subagent to verify the result against the acceptance criteria.
Decision rules:
- If qa passes, determine whether the full user request is complete.
- If complete, report completion and wait for the next user instruction.
- If incomplete, start the next PM -> DEV -> QA loop for the next increment.
- If qa fails, start another PM -> DEV -> QA loop focused only on the defects or missing acceptance criteria.
- After major changes, start the GIT subagent to commit the changes.
- Continue iterating until:
- the user explicitly says stop, pause, cancel, or otherwise instructs you to stop, or
- the work is fully complete and qa passes.
Output rules:
- Do not dump all subagent reasoning.
- After each loop, give a compact status update with:
- current increment
- what changed
- qa result
- next action
- Keep the team aligned on the latest acceptance criteria.
- Prefer small safe iterations over large rewrites.
Operational rules:
- Always use the Task tool to invoke pm, dev, qa and git.
- Never skip qa.
- Never let dev define scope; scope comes from pm and user intent.
- If requirements are ambiguous, ask pm to produce assumptions and pick the safest minimal assumption unless the ambiguity blocks implementation.
+22
View File
@@ -0,0 +1,22 @@
You are the product manager subagent.
Your task:
- Turn the user request into a developer-ready implementation slice.
Return exactly these sections:
1. Problem
2. Scope
3. Out of scope
4. Acceptance criteria
5. Edge cases
6. Suggested smallest increment
7. Notes for developer
8. Notes for qa
Rules:
- Be concrete.
- Prefer minimal viable scope.
- Resolve ambiguity with explicit assumptions.
- Do not write code.
- Do not edit files.
- Keep acceptance criteria testable and binary.
+25
View File
@@ -0,0 +1,25 @@
You are the QA subagent.
Your task:
- Validate the developer output against the PM acceptance criteria.
Check:
- functional correctness
- edge cases
- regressions
- missing tests
- mismatches with scope
- obvious quality issues
Return exactly:
1. Verdict: PASS | FAIL
2. Acceptance criteria status
3. Defects found
4. Regression risks
5. Recommended next step
Rules:
- Be strict.
- Do not edit files.
- Prefer reproducible findings.
- If evidence is insufficient, fail with the missing evidence listed explicitly.
+362
View File
@@ -0,0 +1,362 @@
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
"opencode-openai-codex-auth",
"context-mode",
"cursor-acp"
],
"mcp": {
"metamcp": {
"type": "remote",
"url": "https://mcp.home.jokresner.de/metamcp/all/mcp"
},
"context-mode": {
"type": "local",
"command": [
"context-mode"
]
}
},
"provider": {
"openai": {
"options": {
"reasoningEffort": "medium",
"reasoningSummary": "auto",
"textVerbosity": "medium",
"include": [
"reasoning.encrypted_content"
],
"store": false
},
"models": {
"gpt-5.2": {
"name": "GPT 5.2 (OAuth)",
"limit": {
"context": 272000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"variants": {
"none": {
"reasoningEffort": "none",
"reasoningSummary": "auto",
"textVerbosity": "medium"
},
"low": {
"reasoningEffort": "low",
"reasoningSummary": "auto",
"textVerbosity": "medium"
},
"medium": {
"reasoningEffort": "medium",
"reasoningSummary": "auto",
"textVerbosity": "medium"
},
"high": {
"reasoningEffort": "high",
"reasoningSummary": "detailed",
"textVerbosity": "medium"
},
"xhigh": {
"reasoningEffort": "xhigh",
"reasoningSummary": "detailed",
"textVerbosity": "medium"
}
}
},
"gpt-5.2-codex": {
"name": "GPT 5.2 Codex (OAuth)",
"limit": {
"context": 272000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"variants": {
"low": {
"reasoningEffort": "low",
"reasoningSummary": "auto",
"textVerbosity": "medium"
},
"medium": {
"reasoningEffort": "medium",
"reasoningSummary": "auto",
"textVerbosity": "medium"
},
"high": {
"reasoningEffort": "high",
"reasoningSummary": "detailed",
"textVerbosity": "medium"
},
"xhigh": {
"reasoningEffort": "xhigh",
"reasoningSummary": "detailed",
"textVerbosity": "medium"
}
}
},
"gpt-5.1-codex-max": {
"name": "GPT 5.1 Codex Max (OAuth)",
"limit": {
"context": 272000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"variants": {
"low": {
"reasoningEffort": "low",
"reasoningSummary": "detailed",
"textVerbosity": "medium"
},
"medium": {
"reasoningEffort": "medium",
"reasoningSummary": "detailed",
"textVerbosity": "medium"
},
"high": {
"reasoningEffort": "high",
"reasoningSummary": "detailed",
"textVerbosity": "medium"
},
"xhigh": {
"reasoningEffort": "xhigh",
"reasoningSummary": "detailed",
"textVerbosity": "medium"
}
}
},
"gpt-5.1-codex": {
"name": "GPT 5.1 Codex (OAuth)",
"limit": {
"context": 272000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"variants": {
"low": {
"reasoningEffort": "low",
"reasoningSummary": "auto",
"textVerbosity": "medium"
},
"medium": {
"reasoningEffort": "medium",
"reasoningSummary": "auto",
"textVerbosity": "medium"
},
"high": {
"reasoningEffort": "high",
"reasoningSummary": "detailed",
"textVerbosity": "medium"
}
}
},
"gpt-5.1-codex-mini": {
"name": "GPT 5.1 Codex Mini (OAuth)",
"limit": {
"context": 272000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"variants": {
"medium": {
"reasoningEffort": "medium",
"reasoningSummary": "auto",
"textVerbosity": "medium"
},
"high": {
"reasoningEffort": "high",
"reasoningSummary": "detailed",
"textVerbosity": "medium"
}
}
},
"gpt-5.1": {
"name": "GPT 5.1 (OAuth)",
"limit": {
"context": 272000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"variants": {
"none": {
"reasoningEffort": "none",
"reasoningSummary": "auto",
"textVerbosity": "medium"
},
"low": {
"reasoningEffort": "low",
"reasoningSummary": "auto",
"textVerbosity": "low"
},
"medium": {
"reasoningEffort": "medium",
"reasoningSummary": "auto",
"textVerbosity": "medium"
},
"high": {
"reasoningEffort": "high",
"reasoningSummary": "detailed",
"textVerbosity": "high"
}
}
}
}
}
},
"agent": {
"orchestrator": {
"mode": "primary",
"description": "Orchestrates PM -> DEV -> QA implementation loops until the user says to stop.",
"model": "openai/gpt-5.4",
"maxSteps": 50,
"permission": {
"edit": "allow",
"webfetch": "allow",
"bash": {
"*": "ask",
"git status*": "allow",
"git diff*": "allow",
"npm test*": "allow",
"pnpm test*": "allow",
"bun test*": "allow"
},
"task": {
"*": "deny",
"pm": "allow",
"dev": "allow",
"qa": "allow",
"git": "allow"
}
},
"prompt": "{file:./agents/orchestrator.md}"
},
"pm": {
"mode": "subagent",
"hidden": true,
"description": "Breaks requests into implementable requirements, acceptance criteria, scope and priorities.",
"model": "openai/gpt-5.4",
"permission": {
"edit": "deny",
"webfetch": "allow",
"bash": {
"*": "deny",
"git status*": "allow",
"git diff*": "allow",
"grep *": "allow",
"rg *": "allow"
}
},
"prompt": "{file:./agents/pm.md}"
},
"dev": {
"mode": "subagent",
"hidden": true,
"description": "Implements the PM plan with minimal, correct code changes.",
"model": "openai/gpt-5.4",
"permission": {
"edit": "allow",
"webfetch": "allow",
"bash": {
"*": "ask",
"git status*": "allow",
"git diff*": "allow",
"npm test*": "allow",
"pnpm test*": "allow",
"bun test*": "allow",
"vitest*": "allow",
"jest*": "allow"
}
},
"prompt": "{file:./agents/dev.md}"
},
"qa": {
"mode": "subagent",
"hidden": true,
"description": "Validates behavior against acceptance criteria, tests, regressions and quality risks.",
"model": "openai/gpt-5.4",
"permission": {
"edit": "deny",
"webfetch": "allow",
"bash": {
"*": "ask",
"git status*": "allow",
"git diff*": "allow",
"npm test*": "allow",
"pnpm test*": "allow",
"bun test*": "allow",
"vitest*": "allow",
"jest*": "allow"
}
},
"prompt": "{file:./agents/qa.md}"
},
"git": {
"mode": "subagent",
"hidden": true,
"description": "Conventional git workflow.",
"model": "openai/gpt-5.4",
"permission": {
"edit": "allow",
"webfetch": "allow",
"bash": {
"*": "ask",
"git status*": "allow",
"git diff*": "allow",
"npm test*": "allow",
"pnpm test*": "allow",
"bun test*": "allow",
"vitest*": "allow",
"jest*": "allow"
}
},
"prompt": "Create a git commit message using conventional commits for all changes in the current branch."
}
}
}