Repository navigation
Key first-run failures on Behavior to write - #27
Merged
Merged
Conversation
The next First Draft deploy keeps a polymorphic Reference's storage when a target cannot carry the authored deletion outcome. Such a target refuses its own deletion while a record references it, and a cascade or nullification it leaves out fails its deletion spec with RecordNotDestroyed. The README's Behavior to write lists that outcome, and the generated AGENTS.md now calls any spec that fails through behavior on that list work to do. The app-session notes called only a NotImplementedError work to do, so an agent would have reported a left-out deletion as a First Draft defect. They now key the first run on the Behavior to write list and name both failure shapes, as the app's AGENTS.md and the Drawing Board's notes do. A Chrome that cannot start is still a gap in the laptop's setup. Before the deploy no README lists a deletion outcome, so the rule holds on both sides of it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From the next First Draft deploy, a polymorphic Reference keeps its storage when a target cannot carry the authored deletion outcome. That target refuses its own deletion in a private
before_destroywhile a record references it, and a cascade or nullification it leaves out fails its deletion spec withActiveRecord::RecordNotDestroyed. The generated README's Behavior to write lists that outcome, and the generatedAGENTS.mdnow says:The app-session notes (from #26) called only a
NotImplementedErrorwork to do, so an agent would have reported a left-out deletion as a First Draft defect.This mirrors firstdraft/drawing-board#84 in
workshop-kit/scripts/linux/app-instructions.md: the first bullet of Setup and specs now calls a spec that fails through behavior the README's Behavior to write lists work to do, and names both failure shapes. Its clause that a Chrome that cannot start is a gap in the laptop's setup, not a First Draft defect, stays. Nothing else in the file changed. Before the deploy no README lists a deletion outcome, so the rule holds on both sides of it.Verified. The wording follows the
AGENTS.mdtemplate at servicemaina55d79bb. A Compile of the service's multi-target smoke Plan on that commit produced a README whose Behavior to write lists a Remark cascade, and its specs failed only there, withRecordNotDestroyed.Not run: a laptop (WSL or Mac), and Claude reading the notes. This repository has no CI.
Not for merging until the owner approves: merging changes what newly set-up laptops get.
Docs: updated
workshop-kit/scripts/linux/app-instructions.md(Setup and specs).Review: Codex (codex-review 0.8.0, max effort), session de95be2e-8812-4761-b9c2-beb8ff28d282, approve.