Repository navigation
refactor(api): move goal routes into hq_routes (ARCH-10c) - #246
Conversation
Move GET/POST /api/hq/v1/goals and POST /api/hq/v1/goals/:id/tasks from api.rs into hq_routes::handle() unchanged, with exact method and segment matches in the ownership test. No-Test: purely mechanical move; existing goal API tests cover the behaviour and arm order. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3d691df457
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @@ -0,0 +1,15 @@ | |||
| # ARCH-10c — Ziel-Routen nach hq_routes | |||
|
|
|||
| Status: entwurf | |||
There was a problem hiding this comment.
Aktiviere die bereits umgesetzte Paket-Spec
entwurf bedeutet laut scripts/lib/active-specs.mjs:3-6, dass die Datei noch kein ausführbarer Auftrag ist; entsprechend lässt npm run specs ARCH-10c aus, obwohl derselbe Commit das M-Paket bereits umsetzt und die serielle Nahtstelle api.rs ändert. Dadurch bleibt diese Lane während der laufenden Arbeit in STAND.md unbelegt und ein weiterer Agent könnte parallel dieselbe Nahtstelle bearbeiten. Setze die Spec bis zum Merge auf aktiv und trage sie unter „Aktive Specs“ ein; nach dem Merge kann sie auf historisch gesetzt werden.
AGENTS.md reference: AGENTS.md:L31-L32
Useful? React with 👍 / 👎.
| | ("GET", ["api", "hq", "v1", "runtime" | "plan" | "runs"]) | ||
| | ("GET", ["api", "hq", "v1", "context" | "changes"]) | ||
| | ("POST", ["api", "hq", "v1", "plan", "import"]) | ||
| | ("GET" | "POST", ["api", "hq", "v1", "goals"]) |
There was a problem hiding this comment.
Stelle den erforderlichen No-Test-Trailer wieder her
Der Commit ändert Rust-Quellcode, enthält aber keine eigenständige Zeile No-Test: ...; die Formulierung **Test policy:** No-Test im Bericht wird vom Gate nicht als Trailer erkannt. Für genau diesen Base-/Head-Vergleich endet BASE_SHA=277a79d... HEAD_SHA=0a14433... bash scripts/ci/red-first.sh --plan deshalb mit Exit 1 und „ändert Quellcode ohne Test-First:/Regression-For:/No-Test:“, sodass dieser Kandidat die Merge-Gates nicht bestehen kann.
AGENTS.md reference: AGENTS.md:L155-L158
Useful? React with 👍 / 👎.
|
@Mergifyio queue |
Merge Queue Status
This pull request spent 11 minutes 43 seconds in the queue, including 11 minutes 29 seconds running CI. Required conditions to merge
|
Dieses Paket verschiebt drei Ziel-Routen unverändert aus
api.rsnachhq_routes.rs. Das Verhalten der Schnittstelle ändert sich nicht. Der eigene Prüflauf und beide unabhängigen Reviews sind abgeschlossen.Report
GET /api/hq/v1/goals,POST /api/hq/v1/goalsandPOST /api/hq/v1/goals/:goalId/tasksmoved verbatim fromapi.rstohq_routes::handle(). Ownership test inhq_routes::routematches exact method and exact segments (no prefix/method wildcard). Spec:.pa/task_arch10c.md(15 lines).3d691df45762660422def4e14bed905edb4c82b1(remote branch head, verified withgit ls-remote).srv-arch10c-hq-goals, clean, HEAD == remote ==3d691df,CARGO_BUILD_JOBS=1, own target dir, noCARGO_PROFILE_*. Command:bash scripts/ci/gates.sh lane prepushrun in the foreground with its exit status captured directly (no pipe) → exit 0, 66 s (gates: selftest-secrets, script-modes, red-first-plan, fmt, typecheck, lint, fe-test, hq-test, clippy, rust-suite all green; 1705 tests run, 1705 passed, 7 skipped). Log: server-local,arch10c-prepush-3d691df.log. HEAD, clean tree and remote head re-checked unchanged after the run; no source bytes modified.277a79dwith a dirty tree. The following commit/push usedtail, so the push exit code was not established; the remote head matching3d691dfwas observed vials-remote. The earlier run is therefore not counted as proof for this candidate. Secret scan ran in the precommit hook at commit time (known, not re-run here).#[cfg(windows)]tests (run_in_pty, npm_shim, ConPTY, DPAPI) and Windows clippy arms (Windows lane runs in the merge queue); browser smoke, frontend build and workflow gates of thelinuxlane; state of external services; no runtime check of the running app, no GUI/QA.🤖 Generated with Claude Code
Review disposition — Tier A, round 1 (coordinator)
Bound to candidate
3d691df45762660422def4e14bed905edb4c82b1against base277a79d5bcc196b6dfa3dfc859105b73c98c5a59, accepted by the coordinator on 2026-10-03 22:05 CEST. No source changes followed either review.d712fb53-9cfb-4381-9e1e-8cba29e36c86was inspected by the coordinator: ACCEPT, no confirmed new defect. Exact 78-line equality, ownership/fallthrough, validation/default/backend mapping and unchanged outer/scoped authority were checked at the immutable candidate.opencode-go/ modelglm-5.2, subscribed OpenCode Go. Complete round-1 report inspected in the same review sessionses_efcb13143ffeftvZ7QBJtMTKJA: APPROVE, no confirmed new defect. The initial run ended without final answer; the same session supplied only its final report, with no repeated source investigation or second review round. Finalization direct exit 0. Earlier git command exit codes were not separately captured and are not retroactively asserted.NICHT ABGEDECKT: reviews are static source inspections, with graph project/generation/coverage unknown. Reviewers ran no tests/builds/gates and observed no GUI/runtime. Author prepush covers Linux only; Windows-specific tests/clippy await the actual merge-queue Windows lane. Browser smoke/frontend build/workflow checks await the full Linux CI lane. No external-service or release verification. A PR Windows success is a stub, not the Windows queue verdict.