Overview
| Artifact ID: | ded3bf2b41778f012851b5e456a1d551b00cc72b5eb3fc64217b1d38b712a559 |
|---|---|
| Ticket: | a4a9f1879984e667eac7756af9681cd69c8b59e4
api: landing write plane — open, comment, accept, reject |
| User & Date: | ai-local on 2026-08-23 18:36:26 |
Changes
- icomment:
Two corrections after reading zit#127 and src/cmd/landing.zig. **1. "together or neither" contradicts zit's contract.** zit does the opposite, deliberately: > THE ORDER IS THE CONTRACT. Merge and commit run first; the outcome tag and the transition reply follow. A failure after the merge leaves merged work under a still-open landing, which one command settles. The reverse order would leave an accepted record over an unmerged branch — a lie in the permanent record. The failure modes are asymmetric: recoverable noise on one side, a false statement in an append-only log on the other. quarry must follow the same order, not invent atomicity. This ticket's wording should say so. **2. accept is blocked upstream; the other three ops are not.** landing.open, landing.comment and landing.reject mint forum artifacts only, and forum already appends to a bare store under -R. Build those now. landing.accept cannot be served: `zit landing accept` refuses -R, requires the checkout to be ON the target branch, and leaves a dirty tree on conflict. Filed as danmestas/zit#131 asking for a bare-store accept that refuses cleanly instead of conflicting. Until it lands, the UI should say accept happens from a checkout rather than offering a button that cannot work. Also unresolved and ours to decide: who may accept. zit#127 scoped approvals out ("Not asking for: approvals/required-reviewers"), which is right for a CLI where the operator is the authority. A multi-account forge is a different question, and RFC 0004 caps plus the caps-in-context seam make it answerable now. - mimetype: "text/x-markdown"