Repository navigation
docs: describe the services as API clients in the planning docs - #276
Conversation
PLANNING.md's M2 and REBUILD_PLAN.md's step 7 described a server-side service layer between controllers and repositories. The controllers call the repositories directly, and services/*Service.java are RestTemplate clients of the API used by the debug endpoints, as tickets.md already says. PLANNING.md's environment-create body now lists numRows/numColumns, and the spec path in REBUILD_PLAN.md step 6 names docs/openapi/. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Self-review rubric:
Observation left for a later sweep (judgment call, not fixed here):
Docs-only; no do-not-auto-merge path matched. This review was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener). drafted by Claude on behalf of Daniel Stephenson |
Summary
A Stage A documentation sweep (every open issue — #270, #213, #209, #130 — is waiting on an owner decision or is beyond a single cycle's scope; see below) showed that two planning docs describe an architecture the code does not have:
docs/PLANNING.mdM2 described the*Serviceclasses as server-side "core service logic to support the REST API". The controllers call the repositories directly (for exampleEnvironmentControllerholdsEnvironmentRepositoryand runs the cascade delete itself), andservices/*Service.javaareRestTemplateclients of the API, imported only byDebugController. The M2 intro now says so, matching whattickets.mdandREADME.mdalready state.docs/REBUILD_PLAN.mdstep 7 prescribed "Controller → Service → Repository"; it now reads "Controller → Repository" with the same explanation.docs/PLANNING.mditem 19 listed the environment-create body asname,numGrids,gridSizeonly; it now includes thenumRows/numColumnsalternative, asdocs/MVP.mdand the spec do.docs/REBUILD_PLAN.mdstep 6 named the spec path asopenapi/viron-api.json; it isdocs/openapi/viron-api.json.No tracking issue — the drift was found during this cycle's sweep.
Deferred issues
pom.xmlbuild-pipeline change beyond one cycle.Test plan
pytest— 201 passed (no Python files changed; run as a sanity check)CIJava build carries no signal for these files beyond confirming nothing else brokesrc/main/java/preponderous/viron/controllers/*.javaandservices/*Service.javaThis PR description was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener).
🤖 Generated with Claude Code
drafted by Claude on behalf of Daniel Stephenson