Repository navigation
Conversation
A decision is now an approval, or a withdrawal that takes one back, which reads as undecided and says who took it back. What's wrong with an image is a note's to say. `selfie reject` becomes `selfie unapprove`, the review UI's Reject buttons and filter go, and a story approved here offers Take back approval. A commit's status is red only when a story fails. The decisions table keeps its `rejected` column, now 1 for a withdrawal, since renaming it would be a schema version that resets every store. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
selfie-bot
left a comment
There was a problem hiding this comment.
Syncing with the released 0.1.0 CLI turns a withdrawal into an approval on its side. Details are inline.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The decision word is `undone`, as the UI's Undo approval says, and the store's schema is version 2, with `decisions.undone` in place of `rejected`. Every store, local and D1, is reset rather than migrated. The glossary defines Undecided, and Decision as an approval or an undo of one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@selfie-bot please review again: the decision word is now |
Reject, or `r`, asks what's wrong with the image showing, keeps it as a note, and moves on to the next story. A story reads as rejected while an open note is on its very image and it isn't approved: it has a label and a filter, and is never approved in bulk or by a crosscut. Nothing stores a rejection as a decision. The feedback bar becomes the shelf, docked at the foot of every screen and folding to its title, with Copy all for agent. In the cloud, where nothing stores notes yet, the shelf is kept in the browser, and its text links each image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@selfie-bot please review again: Reject is back, as a rejection kept as a note on a shelf for the agent, held in the browser in the cloud, and never a decision. |
selfie-bot
left a comment
There was a problem hiding this comment.
The selfie status on this head is red, and the cause is this PR: the new Pages/Story/States/Rejected story's play fails (batch dbd9da32, play: expect(element).toBeVisible() … Received element is not visible: <span />). Its first "Rejected" is the story list's decision column, which the narrow sidebar hides, so the assertion lands on a hidden span. The detail page's own label is in <main>. There's a suggestion inline that scopes the check to it, which I haven't run.
The other inline note is minor: if Reject is pressed and the person moves away without saving, the "rejecting" state stays attached to that story.
Superseded by the review on a later commit.
… leaving Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
selfie-bot
left a comment
There was a problem hiding this comment.
Pages/Story/States/Rejected still fails, and the cause is the getByRole("main") I suggested last round. The canvas has two main elements: the app's <main className="selfie-main"> and Primer's PageLayout.Content, which renders as main by default and sits inside it. Batch 096cd5df reports play: Found multiple elements with the role "main", and that one failure is why the selfie status reads "1 story failed". Taking the last main gets the inner one, because a nested element comes after its ancestor in document order. The inline suggestion does that. I haven't run it.
…atch The cloud's copied text names each render batch to pull and each rejection's image by its hash, instead of a link an agent couldn't open for a private repository. `selfie pull <batch>` takes that batch and its images, then pulls its commit, so `selfie review <batch>` gives the images as files. The renders route sends the batch with each page, which is how a store that knows only an ID takes it. Also checks the innermost main in the Rejected story, since the page has two. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@selfie-bot please review again: the cloud's copied text now names render batches and image hashes, and |
selfie-bot
left a comment
There was a problem hiding this comment.
A rejection copied from the cloud tells the agent to run selfie pull <batch> without saying which server to pull from, so the agent gets no-remote unless SELFIE_REMOTE is already set. The inline suggestions pass the page's origin into the command. I haven't run them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reject stays, but rejecting isn't a stored verdict any more. A rejection is what's wrong with an image, written for the coding agent. It waits on a shelf until you copy them all to the agent. Approvals keep their own data, and there's a new decision, Undo approval.
Rejecting
r, on a story's page opens the box on the image showing, asking what's wrong. Saving the rejection goes on to the next story, as Approve does. Drawing a box also starts one, and stays on the story.rreplacesm.selfie review, or syncs to another store.The shelf replaces the feedback bar. It's docked at the foot of every screen, like a Gmail draft. It folds down to its title, and the browser remembers whether it's folded. It has "Copy all for agent", and "Send to agent" while an agent waits locally.
In the cloud, nothing stores notes yet, so the shelf is kept in the browser (
localStorage, per project, shared across tabs). It only copies. The copied text names each render batch and each rejected image's hash, and tells the agent toselfie pull <batch>andselfie review <batch>for the images. A link wouldn't open for an agent on a private repository. Anyone can reject, signed in or not, since nothing leaves the browser until they copy it.selfie pull <batch>takes a batch the remote holds, such as one CI rendered, with its images. It then pulls that batch's commit in the batch's environment, if this clone has the commit. The renders route now sends the batch's facts with each page.Undo approval
selfie unapprove <batch> --all|--story.undone. It reads as undecided, says who undid it, and syncs like an approval.takesDecisiononly lets an undo land on an approved image.Schema version 2:
decisions.rejectedbecomesdecisions.undone. Every store has to be reset when this ships: each project's D1 database, and each localstore.db. SeeOPERATIONS.md→ Resetting a project store.Other changes
selfie rejectis gone, and so is therejectedblocker. A commit's status is red only when a story fails.summarizeBatchdropsunapproved, which is now the same asundecided.isApproved,isUndecided, andrejectedStoriesare the shared rules.Glossary: Rejection, Note (what a rejection is kept as), Shelf, Decision (an approval, or an undo of one), and Undecided.
Specs: feedback (Rejections, The shelf, In the cloud), ui, renders, cli, cloud, access, system, README, OPERATIONS, and CHANGELOG.
pnpm testpasses: store 661, cli 557, render 147, ui 163. I tried the cloud flow end to end in the sandbox, on #108's batch: reject, move on, the Rejected filter, and Copy all.🤖 Generated with Claude Code