From 9b6490d31728ad8d6eb2347850cd2cd74ccf6ddc Mon Sep 17 00:00:00 2001 From: kina0630 Date: Tue, 5 May 2026 15:46:18 +0800 Subject: [PATCH] docs(adr): accept ADR-0018 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- .../tasks/adr-0018-pr5-acceptance-docs.md | 41 +++++++++++++++++++ ...ocal-cloud-aware-subagent-orchestration.md | 2 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 coding-agent/.opencode/prompts/tasks/adr-0018-pr5-acceptance-docs.md diff --git a/coding-agent/.opencode/prompts/tasks/adr-0018-pr5-acceptance-docs.md b/coding-agent/.opencode/prompts/tasks/adr-0018-pr5-acceptance-docs.md new file mode 100644 index 000000000..06b575eb9 --- /dev/null +++ b/coding-agent/.opencode/prompts/tasks/adr-0018-pr5-acceptance-docs.md @@ -0,0 +1,41 @@ +Goal: +Close out ADR-0018 after PR1-PR4 by marking the decision accepted now that the documented implementation slices have landed. + +Scope: +- Update `docs/adr/0018-owner-local-cloud-aware-subagent-orchestration.md` status from `Proposed` to `Accepted`. +- Add a docs-only task packet that records this ADR closeout slice. +- Keep the body of the accepted ADR otherwise unchanged. + +Out of scope: +- Do not change executable behavior, tests, or runtime code. +- Do not introduce a new ADR for distributed child workers in this PR. +- Do not revise historical rationale or acceptance criteria text beyond status closeout. + +Context: +- ADRs: + - `docs/adr/0018-owner-local-cloud-aware-subagent-orchestration.md` + - `docs/adr/README.md` +- Relevant files: + - `docs/adr/0018-owner-local-cloud-aware-subagent-orchestration.md` + - `.opencode/prompts/tasks/adr-0018-pr5-acceptance-docs.md` + +Target tests: +- `python3 - <<'PY2' +from pathlib import Path +text = Path('docs/adr/0018-owner-local-cloud-aware-subagent-orchestration.md').read_text() +assert '**Status**: Accepted' in text +print('ADR_STATUS_OK') +PY2` +- `uv run python -m compileall -q src tests/agentkit/runtime tests/coding_agent/tools tests/ui` + +Loop policy: +- Engineer implements the smallest correct change and runs the target tests. +- Reviewer reviews only the resulting diff and affected tests. +- Reviewer reports only P1/P2 findings. +- Engineer fixes only accepted P1/P2 findings and reruns the same target tests. +- Verifier reruns the exact target tests and reports pass/fail only. + +Stop conditions: +- At most one review/fix/retest cycle. +- Escalate architectural redirection or scope expansion to the human. +- Ignore non-blocking optimization suggestions. diff --git a/coding-agent/docs/adr/0018-owner-local-cloud-aware-subagent-orchestration.md b/coding-agent/docs/adr/0018-owner-local-cloud-aware-subagent-orchestration.md index 0997e4fc8..d3952fedc 100644 --- a/coding-agent/docs/adr/0018-owner-local-cloud-aware-subagent-orchestration.md +++ b/coding-agent/docs/adr/0018-owner-local-cloud-aware-subagent-orchestration.md @@ -1,6 +1,6 @@ # ADR-0018: Keep cloud-aware subagent orchestration owner-local -**Status**: Proposed +**Status**: Accepted **Date**: 2026-05-04 ## Context