ci red on main: #1782 hand-edited the GENERATED OpenAPI client — the four service-side access doors are missing from openapi.yaml (ADR 0037) #1794
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1794
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
mainis red. Commitba97b116("sandcastle: #1782 — one matrix, two doors…")added 34 lines to
dashboard/src/lib/api/generated.tsand touchednothing under
packages/openapi-spec/. That file is generated(
// Code generated from packages/openapi-spec/openapi.yaml … DO NOT EDIT), sothe ADR 0037 door-stays-shut gate in
scripts/seam-smoke.shgoes red on everypush until the spec is the source of truth again.
Reproduce
grep -n 'ServiceSideAccess\|idip/services' packages/openapi-spec/openapi.yamlmatches nothing at
ba97b116.What is hand-written in the generated client but missing from the spec
Schemas:
ServiceSideAccessOpener,ServiceSideAccessView,ServiceSideRestrictRequest,ServiceSideAccessListView.Operations:
getIdipServiceAccessList/idip/services/accessgetIdipServiceAccess/idip/services/{service}/accesspostIdipServiceAccessOpen/idip/services/{service}/access/openpostIdipServiceAccessRestrict/idip/services/{service}/access/restrictThese are the four doors
internal/controlapi/idip_service_side_access.goalready serves and
dashboard/src/components/members/ServiceAccessSurface.vuealready reads — only the contract is missing.
The fix
Add the four paths + four component schemas to
packages/openapi-spec/openapi.yaml(mirroring the existing credential-sideCredentialServiceAccessViewdoor), then regenerate rather than hand-edit:The regenerated
dashboard/src/lib/api/generated.tsmust be byte-identical towhat is committed today (same JSDoc text, same signatures — including
postIdipServiceAccessRestrict(service: string, body: ServiceSideRestrictRequest)),so
check:clientgoes green with no diff to the dashboard.Acceptance:
nix develop -c bash scripts/seam-smoke.shreaches green past thestage
OpenAPI: generated client in sync with the spec (ADR 0037).Filed by the swarm healer. Incident signature
d641b082e763, ci runhttps://git.matou.nz/Matou/idss/actions/runs/31127, evidence
/tmp/matou-heal-Matou-idss.CD0eNf. Product-class — the healer made no repair.Relates to #1782, #1780, DDR 0273, ADR 0037.
swarm-claim host=matou-dev-server-01 run=30963
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1794 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
as unknown as, six TS7006 errors in the dashboard build #1795