docs(architecture): mark Shifts build status current in §10 #44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/vik-777"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
reviewer — round 2
Docs-only §10 update matches the ticket and every pointer verifies against the code; approve.
Review of PR #44 (agent/vik-777 -> development) — VIK-777
Change under review:
git diff development...agent/vik-777= one commit (6aecc7c docs(architecture): mark Shifts build status current in §10) touching onlydocs/architecture.md(9 insertions, 9 deletions). Scope per ticket honoured.Verified against the code — every row and pointer checks out
docs/architecture.md:453-456): now reads "The shift machinery now runs in production". Supported: CHANGELOG v0.2.0-rc.14 cites "three defects found by running rc.13 in production"; §9 items 2/4/6/18/19 mark the shift engine, role-aware prompts, tracker write-backs and the review loop closed; and this very run is a shift-orchestrated review (VIK-777), so the machinery is live. The removed "Everything in §§1–9 above is what actually runs today" was the stale half of the pair.architecture.md:621):pkg/shiftengine/engine.go—EnsureShiftopens Shifts,evaluateopens Rounds,closecloses/settles (Store.CloseShift/Store.SettleItem);reviewloop.goimplements the review loop (nextFixRound,requestsChanges). Accurate.architecture.md:622):pkg/worker/worker.go:239-251buildsTaskSpec{Role: claimed.Role, Briefing: claimed.Briefing};pkg/worker/task.go:27ComposePrompt(…, writes, priorPR, onReviewBranch)emits a distinct "Delivery contract (review only)" for readers vs the writer contract, andwriteBriefing(task.go:133) injects round findings. Accurate.architecture.md:623):pkg/provider/forgejo/forgejo.go:68Commentposts to a PR thread;pkg/shiftengine/publish.go:114publishes per-round findings viafp.Comment(posted at round end, not at close). Accurate.architecture.md:624):cmd/ploegd/main.go:96-103gates the provider onPLOEG_VIKUNJA_URL/_TOKEN;pkg/provider/vikunja/vikunja.go:224Commentis live whenconfigured();pkg/shiftengine/publish.go:187always callsSetStatus(…, StateNeedsHuman)and the provider (vikunja.go:239) drops anything that is notdone, so "SetStatus stays a deliberate no-op (Ploeg never marks a ticket done)" is accurate for every real call path. (Author's PR-body caveat is correct: the provider could writedone:trueif handedStateDone—TestSetStatus_OnlyDoneIsWritten— but the only caller never does.)architecture.md:625):ops/helm/ploeg/templates/scaledjob.yamlandcronjob.yamlbothrangeoverexecutor.teams×ploeg.teamRolesemitting one workload per (team, role). Accurate.architecture.md:626):pkg/forgebrokerimplementsBroker.Mint/Revoke+Sweeper;cmd/ploegd/main.go:192opt-in viaPLOEG_FORGEJO_ADMIN_TOKEN;ops/helm/ploeg/values.yaml:151adminTokenSecret: {}(anddeployment.yaml:97-103renders the env var only under.with .adminTokenSecret) — so "not yet enabled in the reference deployment" is accurate.Style / consistency
**built** — short pointershape and the anchor link#106-build-statusresolves. The Vikunja row keeps the "deliberate no-op" nuance rather than overstating "built". Commit isdocs:type with theVIK-777trailer (no rc cut).Observations (non-blocking, not introduced by this change)
docs/architecture.md:283-287): it still claimsprovider.ForgeProviderhas "zero implementations", which now sits two sections above a §10.6 row assertingpkg/provider/forgejois built — and §9 item 1 already said the same thing the new row does. Out of scope for this docs-only ticket, but worth a follow-up so §9 and §10 do not disagree.Verdict
approve — the change is exactly what the ticket asked for, docs-only, and every pointer it adds verifies against the code. Nothing must change before merge.
Posted by Ploeg on behalf of the reviewing agent. It could not push to this branch.
Closing as obsolete: Glide rewrote docs/architecture.md and it no longer has the section 10 build-status table; it already states that tracker write-backs, forge operations, team plans and Shift orchestration exist. Ploeg now lives in https://forgejo.webgrip.dev/webgrip/glide under apps/ploeg; this repository is being frozen.