Skip to content

docs: align guides and mock generation with the tree - #748

Merged
behinddwalls merged 3 commits into
mainfrom
preetam/docs
Sep 28, 2026
Merged

behinddwalls merged 3 commits into
mainfrom
preetam/docs

Conversation

@behinddwalls

@behinddwalls behinddwalls commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Why?

Guides, RFCs, and local-development comments still described the layout from before service-scoped storage and core packages, and they documented older SubmitQueue and Stovepipe pipelines. make mocks also skipped packages that already had //go:generate directives, so make check-mocks could not refresh them. A later review pass found a few remaining sentences that still named the wrong aggregate, topic keys, and hook events.

What?

Repoints the architecture guide, domain READMEs, and storage docs at the live service-scoped paths. Rewrites the orchestrator workflow from pipeline.go, distinguishes Stovepipe's implemented pipeline from its unbuilt analyze design, and marks shipped RFCs as implemented. Corrects the reviewed build-runner, extension-input, and cancellation descriptions. Fixes broken links and local-development commands, expands make mocks to every generated-mock tree, and commits the three mocks regeneration updated. The follow-up states that only the orchestrator aggregate satisfies changeset.Stores, that build_dlq is consumed by NewDLQBuildController, that Stovepipe buildsignal holds its delivery, that record emits validation.repository.cancelled, and that the live topic keys are runway-merge and submitqueue-land.

Test Plan

  • ✅ make fmt
  • ✅ make tidy
  • ✅ make gazelle
  • ✅ make mocks
  • ✅ make test — 123 tests passed
  • ✅ License, binary-file, message-ID, and queue-shard linters
  • ✅ Local Markdown link scan — no missing targets
  • ✅ git diff --check

behinddwalls and others added 2 commits September 28, 2026 10:15
## Summary

### Why?

Guides, RFCs, and local-dev comments still described the layout from before service-scoped storage and core packages, and they still described an older orchestrator and Stovepipe pipeline. `make mocks` also skipped several packages that already had `//go:generate` directives, so `make check-mocks` could not refresh them.

### What?

Repoints the architecture guide, domain READMEs, and storage docs at the live paths: shared SubmitQueue core is `changeset`, `messagequeue`, and `topickey`; request and batch helpers live under the gateway and orchestrator. Rewrites the orchestrator workflow around `pipeline.go`, including dependency analysis, a real speculate stage, the Runway land round-trip, and the hook stage. Marks shipped RFCs as implemented, and marks Stovepipe's analyze stage as designed and not built. Fixes relative links, compose build-target names, stop and status commands, and the MySQL queue RFC link. Extends `make mocks` to every `//go:generate` tree and commits the three mocks that regeneration updated.

## Test Plan

- `make fmt`, `make tidy`, and `make gazelle` leave the tree clean.
- License, message-id, queue-shard, and binary-file linters pass. `make lint` still reports this uncommitted diff from its format gate until the commit lands.
- `make mocks` covers every `//go:generate` package, and `make test` passes 123 tests.
- A local Markdown link scan finds no missing targets.

Co-authored-by: Cursor <cursoragent@cursor.com>
## Summary

### Why?

The documentation audit still left three claims that did not match the interfaces and cancellation behavior in code.

### What?

Documents Stovepipe's actual build-runner return values, distinguishes the extension contract's historical problem from its implemented signatures, and records that cancellation leaves Landing and terminal batches for conclude.

## Test Plan

- `git diff --check`
- Local link validation for the three updated RFCs

Co-authored-by: Cursor <cursoragent@cursor.com>
@behinddwalls
behinddwalls marked this pull request as ready for review September 28, 2026 17:21
@behinddwalls
behinddwalls requested review from a team and sbalabanov as code owners September 28, 2026 17:21
## Summary

### Why?

Autoreview found RFC sentences that still described an older pipeline: a gateway aggregate satisfying changeset.Stores, an unwired build_dlq, buildsignal republishing to itself, a missing cancelled hook, an unimplemented BuildRunner, and orchestrator topic keys named merge and land.

### What?

Corrects those claims against the live controllers. Only the orchestrator aggregate satisfies changeset.Stores. build_dlq is consumed by NewDLQBuildController. Stovepipe buildsignal holds its delivery. record publishes validation.repository.cancelled. BuildRunner is the live interface. Topic keys are runway-merge and submitqueue-land, conflict checking is mergeconflictcheck.go, cancel hands only cancellable batches to speculate, and the gateway persists cancelling before publishing.

## Test Plan

- `git diff --check` on the five updated RFCs

Co-authored-by: Cursor <cursoragent@cursor.com>
@behinddwalls
behinddwalls added this pull request to the merge queue Sep 28, 2026
Merged via the queue into main with commit b508b3d Sep 28, 2026
15 checks passed
@behinddwalls
behinddwalls deleted the preetam/docs branch September 28, 2026 18:02

This branch was successfully deployed

1 active deployment
stack-rebase — 71feef5a Deployed Sep 28, 2026 by behinddwalls via Rebase Stack #538
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants