fabro/docs
Bryan Helmkamp f46803b367
refactor(api): unify PR detail types via with_replacement
Move PullRequestDetail, PullRequestGithubDetail, PullRequestUser,
PullRequestRef, and MergeMethod into fabro-types. Register them as
fabro-api with_replacement targets so the OpenAPI client and the server
share one canonical type per concept.

PullRequestDetail composes a stored PullRequestRecord with a flattened
PullRequestGithubDetail mirroring GitHub's REST payload, removing the
hand-rolled pull_request_detail_json builder in the server. Change the
PullRequestRef wire field from `ref_name` to `ref` so the same Rust
type round-trips through both GitHub and our API without aliases.

The server now uses fabro_api::types::{Create,Merge,Close}* directly,
deleting the hand-defined request/response shadows and the
`body.method.parse::<...>()` call (the typed MergeMethod enum drives
deserialization). Drops fabro-cli's `i64::try_from(record.number)`
panic path and the AutoMergeMethod enum (replaced by MergeMethod).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 21:41:11 -04:00
..
administration refactor(server): lock down server secrets 2026-04-23 07:15:27 -04:00
agents feat(cli): rename store dump to dump 2026-04-23 07:48:03 -04:00
api-reference refactor(api): unify PR detail types via with_replacement 2026-04-23 21:41:11 -04:00
brainstorms feat(install): add object-store step to web install 2026-04-22 19:31:09 -04:00
changelog Merge remote-tracking branch 'origin/main' 2026-04-23 08:34:44 -04:00
core-concepts docs: migrate reference and guide examples to v2 config shape 2026-04-09 11:30:52 -04:00
examples feat(template): unify workflow and config template syntax 2026-04-11 10:58:50 -04:00
execution feat(cli): rename store dump to dump 2026-04-23 07:48:03 -04:00
getting-started feat(install): pivot happy path to fabro server start web wizard 2026-04-21 16:02:49 -04:00
human-tools docs: migrate reference and guide examples to v2 config shape 2026-04-09 11:30:52 -04:00
ideation docs 2026-04-09 17:24:30 -04:00
images Cut over Fabro web app to a server-backed SPA 2026-04-01 21:36:01 -07:00
integrations feat(server): add explicit GitHub webhook strategies 2026-04-19 22:53:22 -04:00
languages Add fabro language for syntax highlighting in docs 2026-03-17 09:43:14 -04:00
logo Fix logo SVG viewBox clipping the right edge of the O 2026-03-14 14:11:36 -04:00
plans refactor(pr): move pull request commands server-side 2026-04-23 19:23:52 -04:00
reference fix(pr): address review feedback on PR refactor 2026-04-23 20:34:18 -04:00
superpowers/specs refactor(server): lock down server secrets 2026-04-23 07:15:27 -04:00
tutorials Attractor spec hunks 14 & 16: remove error_policy and k_of_n/quorum from parallel handler 2026-03-23 14:59:35 -04:00
workflows refactor(config): move project state under .fabro 2026-04-11 12:55:46 -04:00
.mintignore Fix Mintlify dev server: valid navbar URL and ignore AGENTS.md 2026-03-05 16:29:50 -05:00
docs.json fix(docs): point Get Started button to docs.fabro.sh introduction 2026-04-23 16:33:32 -04:00
dot-highlight.js Remove debug markers from dot-highlight script 2026-03-17 10:23:48 -04:00
favicon.svg Rebrand docs site from Arc to Fabro 2026-03-11 21:27:58 -04:00