live-tip-20260606183709-api-contract-ready-packet: Lock the review packet ready-response contract #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task/live-tip-20260606183709-api-contract-ready-packet"
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?
Assigned idea
API contract: Edit task/instruction.md and set this task slug to live-tip-20260606183709-api-contract-ready-packet. Define a typed contract for
GET /api/review-packets/:id/readyand update handler responses to always match it, including ordered artifact metadata fields.Approach: Edit task/instruction.md and set this task slug to live-tip-20260606183709-api-contract-ready-packet. Define a typed contract for
GET /api/review-packets/:id/readyand update handler responses to always match it, including ordered artifact metadata fields.Verification: {"file":"src/api/contracts/review-packets.ts","assertion":"The file must define a
ReviewPacketReadyResponsetype/object shape and includepacketId,status, and anartifactsarray in that response."}{"file":"test/contracts/review-packet-ready.contract.test.ts","assertion":"The contract test must assert that the response JSON contains
status,packetId, and each artifact entry hasnameandsizeBytes."}Risk: Live smoke generated task; validate by PR diff and gate result.
Required smoke edit: update task/instruction.md with live-tip-20260606183709-api-contract-ready-packet.
Agent context
Task slug: live-tip-20260606183709-api-contract-ready-packet
Branch: task/live-tip-20260606183709-api-contract-ready-packet
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.