Files
gstack/test/fixtures/codex-review
8e24cf48df fix(gbrain): brain context loads, managed sync works, memory sync stops duplicating (#2883, #2985, #2922)
- brain-context-load called 'gbrain list_pages' (an MCP tool name), so
  every skill's brain context was 0 bytes. It now uses 'gbrain list'
  with gbrain's real filter flags, and prints one line when queries fail.
- The code-stage sync always passes --no-pull (managed gbrain >= 0.51
  refuses without it); a gbrain that rejects the flag fails with an
  upgrade message and is never retried without it. stderr is streamed
  with a bounded tail and quoted in failure summaries.
- /sync-gbrain gains --sources (and GSTACK_MEMORY_INGEST_SOURCES); by
  default it skips types already synced through a federated curated
  source, so curated pages stop being re-duplicated.

Co-authored-by: Vitor Cepeda Lopes <vitor@vitorcepedalopes.com>
Co-authored-by: harshitgavita-07 <harshit.gavita@gmail.com>
2026-10-02 14:56:05 +00:00
..

Captured codex review --base output (#2769)

Captured from the real Codex CLI binary, codex-cli 0.160.0 (npm @openai/codex), running codex review --base main -c 'sandbox_mode="read-only"' on a branch with one commit plus an uncommitted edit.

The model turn is synthetic: no OpenAI credential was available, so the CLI was pointed at a local Responses-API stub (model_providers.mock, wire_api = "responses") that returned the reviewer rubric's JSON. Everything after that JSON (parsing, rendering, stdout) is the CLI's own code path.

  • clean-review.stdout.txt: the stub returned {"findings":[],"overall_correctness":"patch is correct","overall_explanation":"No actionable correctness issues were found in the changed retry helper or its tests.","overall_confidence_score":0.88}. The CLI prints only overall_explanation; overall_correctness and the confidence score never reach stdout, so a clean review is untagged prose.
  • p2-review.stdout.txt: one finding titled [P2] .... Severity tags appear only inside finding titles.

The request the CLI sent asked the model to run git diff <merge-base> (working tree against the merge base: branch commits plus uncommitted tracked edits, not untracked files). The --base path has no structured verdict on stdout, so the gate cannot grant PASS to untagged output.