Skip to content

App steps: { frames: N } and { dialog: N } play again - #75

Merged
shinyobjectz merged 1 commit into
mainfrom
steps-whole-numbers
Nov 9, 2026
Merged

shinyobjectz merged 1 commit into
mainfrom
steps-whole-numbers

Conversation

@shinyobjectz

Copy link
Copy Markdown
Owner

raea app check reads export const steps through the JS engine, whose JSON writes every number as a double. So { frames: 30 }, which SKILL.md documents, was refused with {"frames":30.0} is none of press, …. { dialog: N } failed the same way.

Frames and Dialog now accept a whole double as the count, and still refuse 2.5, -1 and anything too large for the type. engine/rune/src/script.rs gains tests for both. I ran them in a small crate holding the same enum and parser, not a full rune build in a scratch target: they pass there, and the first fails on the old enum. CI builds the real crate.

This doesn't fix a second problem I hit while writing the interface guide: on the native target, the same steps failed with "no element with data-testid remove-0". That still needs looking into.

🤖 Generated with Claude Code

…JS arrives as 30.0, which u32 and usize refused

raea app check reads export const steps through the JS engine, whose JSON writes every number as a double, so the
documented { frames: 30 } failed with '{"frames":30.0} is none of press, ...'. Frames and Dialog take a whole double as
the count it is and refuse 2.5, -1 and anything past the type. Tests for both, checked against the unfixed enum.
@shinyobjectz
shinyobjectz merged commit 39aade7 into main Nov 9, 2026
4 checks passed
@shinyobjectz
shinyobjectz deleted the steps-whole-numbers branch November 9, 2026 14:20
shinyobjectz added a commit that referenced this pull request Nov 15, 2026
… the project's plan.org; SKILL.md section 0 step 5 opens the project's plan once in its folder; the plan tools in collaborate.md and reference/feed.md (generated from raea-feed integration-014 1214a21)
shinyobjectz added a commit that referenced this pull request Nov 15, 2026
…, read and written by task id (#154)

sdk/task reads and writes a project's plan.org (Org mode) as typed tasks: keywords, properties, kinds and views a plugin can add, React hooks and components. docs/plan.feature files the plan work, landed for 0.1.4. The skills submodule moves to raea-skills e249001 (#75: section 0 step 5, open or start the project's plan).
shinyobjectz added a commit that referenced this pull request Nov 18, 2026
…, read and written by task id

The plan of a project's work (asked 11-14: "i like org mode for managing projects ... integrates well with
typescript/react/jsx"): one Org file at the top of the project's folder, the to-do list the person sees in the app and
the one every agent keeps. sdk/task reads it losslessly (parseOrg/printOrg give back any text byte for byte: CRLF,
tabs, unknown drawers, LOGBOOK, blocks, tables, no final newline), gives its tasks as typed values (ids, keywords,
priority, tags, dates, :ITEM:, :AGENT:, :FROM:, subtasks, checkboxes, progress cookies, links by id), and edits it by
task id (add, set, state, move, remove, check: ids minted, CLOSED stamped, cookies recounted, untouched lines kept, a
bad edit throws and changes nothing). Plugins add keyword sequences, properties, kinds and views; board, agenda and
outline ship. planDigest and the plan tools' answers serve any host; ./react has usePlan, useView and the outline,
agenda and board components. No runtime dependencies.

docs/plan.feature PL1 to PL6 says what the app, the agents and the SDK do. The app is raea-feed integration-014
(tasks-org merged, 1214a21) and the skill raea-skills #75.

Checked: bun test (org, edit, extend, tools) 32 of 32; with its React tests under the app's vitest, 35; the gates in
a clean export of main with these files (layers, names, size, one-version, no-void, dupes, rask, sdk coverage, sdk
props, taxonomy) all pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant