Skip to content

One editable text per card: every prompt is composed when drawn, a keyframe's, storyboard's or take's prompt.md is an override the agent writes and "Use the automatic prompt" removes, and Use brings a folder back as it was - #263

Merged
SitgesRun merged 1 commit into
stagingfrom
a4-one-editable-text
Nov 16, 2026

Conversation

@SitgesRun

Copy link
Copy Markdown
Contributor

The A4 Studio half: one editable text per card (the person's rule, through master). The interface with drama-cli is worker-06's; their drama-cli PR lands first.

What changes

  • Asset cards edit the description only. Full prompt is read only: the prompt the last draw sent (the receipt's prompt_sent), or "Composed when drawn".

  • The Studio's prompt editing is deleted: the 'prompt' card action, the composer's prompt editor and CanvasPrompt.

  • A keyframe, storyboard or take may have prompt.md, an override the agent writes and drama-cli sends as written. The card says "Its own prompt is used" and offers Use the automatic prompt, the new 'automatic' action, which removes it.

    • Generate no longer needs a text.
    • prompt.md is read only on those cards (protocol.ts PROMPT_CARDS).
  • Use (§12, with Codex's fix 1) restores the object's own folder as of the result:

    • its files then come back, and the files it did not hold then are removed;
    • object.json stays current, with that result's shown_file;
    • on a keyframe, storyboard or take, objects_sent_by_draw_request comes back too, which its prompt's Image N names.

    readChangeOfObject is replaced by filesOfObjectAt.

  • Major-1 conversion (M16), which every project of a released Studio goes through, writes the rule's shape:

    • stored prompts are dropped (prompts/ folders and choices.json prompts; the backup keeps them);
    • a character's look and a prop's text join description.md after the person's pending text, in drama-cli's bytes (entries.prose, worker-06);
    • extract_json_field_to_markdown is deleted.
  • No one-time cleanup. Major 2 was never released (master). Our own major-2 test projects keep their stray prompt.md. drama-cli ignores it on description cards. On a keyframe, storyboard or take it reads as an override: press "Use the automatic prompt", or start fresh.

  • Docs: doc/protocol.md 2.2, 3 and 5; doc/quick-start.md (the "redraw ignored your new description" row is gone).

Size

Part Files + −
Production 14 110 103
Tests 4 90 64
Docs 2 11 6

Tests

  • Failing-first (f2083a2): an earlier version of these tests, run on staging 16d1419, FAILED 4 of 338, all on assertions; the other 333 passed. The four were:
    • the conversion;
    • the prompt action;
    • Use as of;
    • the cleanup, which was later dropped with its test.
  • This head d57ede8: pine-dev PASSED in 103 s. npm test: 337 tests, 336 pass, 0 fail, 1 skipped. Render smoke: 30 of 30 pages (run 20261116T010152-d57ede8a).

Codex reviews the code after landing, read only; its findings go in a fix-forward PR.

…yframe's, storyboard's or take's prompt.md is an override the agent writes and "Use the automatic prompt" removes, and Use brings a folder back as it was

The person's rule (A4): every card has one editable text, the person and Pine
Computer write it as equals, and nothing rewrites it as a side effect.

- An asset card edits its description only. Its Full prompt shows, read only,
  the prompt its last draw sent (the receipt's prompt_sent), or "Composed when
  drawn". The Studio's prompt editing is deleted: the 'prompt' card action, the
  composer's prompt editor and CanvasPrompt.
- A keyframe, storyboard or take may have prompt.md, an override that drama-cli
  sends as written. The card says "Its own prompt is used" and offers "Use the
  automatic prompt", a new 'automatic' action that removes it. Generate no
  longer needs a text. prompt.md is read only on those cards (PROMPT_CARDS).
- Use restores the object's own folder as of the result: its files then, the
  files it did not hold then removed, object.json current with that result's
  shown_file and, on a keyframe, storyboard or take, its
  objects_sent_by_draw_request, which its prompt's Image N names.
  readChangeOfObject is replaced by filesOfObjectAt.
- The major-1 conversion, which every project of a released Studio goes
  through, writes the rule's shape: stored prompts are dropped (prompts/
  folders and choices.json prompts; the backup keeps them), and a character's
  look and a prop's text join description.md after the person's pending text,
  in drama-cli's bytes (entries.prose). Its extract_json_field_to_markdown
  operation is deleted.
- Major 2 was never released, so no project needs a one-time cleanup; a major-2
  test project made before this keeps its stray prompt.md files, which
  drama-cli ignores on description cards.
- doc/protocol.md 2.2, 3 and 5, doc/quick-start.md.

Signed-off-by: SitgesRun <169425442+SitgesRun@users.noreply.github.com>
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