Repository navigation
Name a stubbed event in the first run - #88
Merged
Merged
Conversation
The next First Draft deploy keeps a State Machine in AASM when one of its events has effects the Compiler cannot generate. That event's bang form, plain form, and may_ predicate raise NotImplementedError until it is written, its State Machine examples fail through the stub, and the README's Behavior to write lists it. The generated AGENTS.md now says a stubbed scope or event raises. The Setup and specs bullet says how each kind of unwritten behavior fails, and it named no event. It now says a stubbed scope or event raises NotImplementedError, as the app's AGENTS.md does. Before the deploy no README lists an event, 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 State Machine whose event has effects the Compiler cannot generate stays in AASM. That event's bang form, plain form, and
may_predicate raiseNotImplementedErroruntil it is written, its State Machine examples fail through the stub, and the generated README's Behavior to write lists it. Before, such a machine kept only storage. The generatedAGENTS.mdnow says:This changes only the first bullet of Setup and specs in
.devcontainer/workshop/app-instructions.md: "A stubbed scope raises" becomes "A stubbed scope or event raises", so the notes name each kind of stub the generatedAGENTS.mdnames. Everything else in the file is unchanged. Before the deploy no README lists an event, so the rule holds on both sides of it.Verified. The wording follows the
AGENTS.mdtemplate at servicemaine2318b81. That commit's transition stubs smoke passed: its compiled README listed four stubbed Ticket events under Behavior to write, and the generated suite failed only through those stubs' State Machine examples (96 examples, 16 failures).Not run: a Codespace, and an agent reading the notes.
Not for merging until the owner approves: merging changes what new workshop Codespaces get.
Docs: updated
.devcontainer/workshop/app-instructions.md(Setup and specs).Review: Codex (codex-review 0.8.0, max effort), session 1f44225f-8b93-469f-a524-06abd8015fc8, approve.