Skip to content

feat: add visual-work brief contracts and editor-pass requirements - #44

Merged
TastyTom13 merged 3 commits into
mainfrom
fm/fm-brief-visual-work-editor-pass
Sep 29, 2026
Merged

TastyTom13 merged 3 commits into
mainfrom
fm/fm-brief-visual-work-editor-pass

Conversation

@TastyTom13

@TastyTom13 TastyTom13 commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

Intent

Said 2026-09-29, accepting the reading of Katie Dill's talk "How to scale intent, quality, and artistry with AI": "I accept: All four: briefs and the check pipeline change for every visual task from now on. More rigour, a little slower per task."

The four accepted changes are: (1) one short point-of-view and quality-bar document per surface - decks, Scout screens, website, and emails - which every design brief points to; (2) put it where the worker builds by making the brief scaffold require a design-system step for visual work, with templates and flows, not only colours and fonts; (3) require an editor pass on visual tasks in which the worker records an end-to-end walk as the user and names the one surprising detail it added and why; and (4) in briefs, replace "match the existing style" with the point of view plus room for one strange, better idea.

Decks and Scout screens were ratified with amendments applied; website and email carry amendments but were not formally ratified yet. For Scout screens: "I would like to underline the statements that Katie Dill was making in her video that we analyzed about really thinking through intuitive flows, behaviors. What is someone intending to do on a certain screen? Is it intuitive? Does the flow of information make sense? Do the button make sense and all of the senior product and UI and UX thinking that goes into making a world-class product like Stripe." For decks: "any copy strikes a good balance between professional, warm, human, and direct, matching my own personal writing preferences, meaning that it needs to sound like I wrote it, not like AI wrote it."

The surface point-of-view homes are doc-creator docs/design/point-of-view.md, Scout docs/design-system/point-of-view.md, website sites/tomasmeulenberg/design-concepts/POINT-OF-VIEW.md, and email data/standards/mindshake-outbound-point-of-view.md in the firstmate home. This changes firstmate's shared tracked brief and skill material, never a project repository.

What Changed

  • Added --visual --surface support to fm-brief.sh for decks, Scout screens, websites, and emails, binding briefs to surface-specific points of view.
  • Added worker-facing requirements for design-system flows, copy voice, browser editor passes, and documenting a surprising detail.
  • Added the visual-work skill, documentation updates, and comprehensive scaffold/help tests.

Risk Assessment

✅ Low: The change is bounded to visual-task brief generation, documentation, and its opt-in contract tests, with no material defects identified.

Testing

Ran the targeted fm-brief behavior suite and live CLI scenarios for all visual surfaces, including adversarial flag combinations; generated evidence confirms absolute firstmate-home POV paths.

  • Live validation: ✅ go - 3 of 3 scenarios driven live against the product
Scenario Result Live Evidence
Generate a visual brief for decks, Scout, website, and email; each contract points to the correct absolute firstmate-home POV document ✅ pass live Generated visual contracts for all surfaces
Generate visual ship and scout briefs; both include the design-system, copy-voice, editor-pass, surprising-detail, and rejection-rule contract ✅ pass live ./tests/fm-brief.test.sh and generated contracts
Attempt missing, unknown, or unpaired visual flags and scaffold without --visual; invalid requests are refused and ordinary briefs remain unchanged ✅ pass live ./tests/fm-brief.test.sh
Evidence: Targeted fm-brief test output

Source: Targeted fm-brief test output

ok - fm-brief: scaffolds leave the worker role scope to the launch boundary and keep the secondmate contract
ok - fm-brief.sh: bash -n succeeds
/private/var/folders/08/gk0k1cz96snd794rnghc_98r0000gn/T/fm-brief.NGrVZk/heredoc-in-substitution.sh:2
ok - fm-brief.sh: no heredoc is nested inside a command substitution (Bash 3.2 parse-safe)
ok - fm-brief.sh: --help renders the complete header
ok - fm-brief.sh: no-mistakes/direct-PR/local-only briefs generate cleanly
ok - fm-brief.sh: ship --mode is required and closed-set validated
ok - fm-brief.sh: the explicit ship mode wins over the registered posture
ok - fm-brief.sh: --yolo and scout/secondmate --mode are refused, never silently dropped
ok - fm-brief.sh: the base branch line renders only for an explicit base
ok - fm-brief.sh: faster paths use configured authority without stacked review
ok - fm-brief.sh: no-mistakes DOD keeps its apostrophe prose and bans --yes outright
ok - fm-brief.sh: no-mistakes ask-user findings use one event plus a verbatim snapshot
ok - fm-brief.sh: ship project-memory wording carries the AGENTS.md authoring bar
ok - fm-brief.sh: --herdr-lab emits the complete hard safety contract
ok - fm-brief.sh: --herdr-lab uses its quoted Firstmate-owned helper path
ok - fm-brief.sh: ship and scout scaffolds make omitted Herdr intent fail-visible
ok - fm-brief.sh: the documented {TASK} and {FIRSTMATE_SPEC} fills cannot corrupt the Herdr safety gate
ok - fm-brief.sh: Herdr lab contract covers scouts and rejects secondmate misuse
ok - fm-brief.sh: --no-projects scaffolds a project-less charter and guards misuse
ok - fm-brief.sh: marked requests avoid generic acknowledgements and preserve material reporting
ok - fm-brief.sh: relative directory inputs ignore CDPATH, render stable absolute charter paths, or fail loudly
ok - fm-brief.sh: custom pause verb renders in every scaffold
ok - fm-brief.sh: ship and scout scaffolds teach validation-round pauses
ok - fm-brief.sh: investigation and visual-review completions load the shared decision policy
ok - fm-brief: scout and secondmate code paths still scaffold well-formed briefs
ok - fm-brief.sh: scout Lavish hosting follows the bootstrap lavish-axi floor and names a durable board path
ok - fm-brief.sh: ship and scout carry the CONTEXT pointer, Toolkit, and Reporting rules
ok - fm-brief.sh: --env-file is opt-in, absolute, self-explaining, and refused on charters
ok - fm-brief.sh: the merge wait is declared exactly where a PR is raised
ok - fm-brief.sh: the Built-by PR-body line reads this task's own recorded harness/model/effort
ok - fm-brief.sh: fable-prompting Task subsections, charter Intent slot, Working discipline lines, cd caution, and ship verification step render for every scaffold
ok - fm-brief.sh: acceptance-numbering and red-then-green rules render only for PR-raising ship briefs
ok - fm-brief.sh: the screenshot pre-flight renders only for --ui tasks
ok - fm-brief.sh: --help documents the --ui screenshot pre-flight
ok - fm-brief.sh: ship and scout briefs name the unwanted and wanted turn ends plus the time sentence
ok - fm-brief.sh: --pasted-file marks the captain's paste under Captain's intent and is otherwise byte-identical
ok - fm-brief.sh: --design adds only the front-end design block
ok - fm-brief.sh: --visual is surface-bound, shared by ship/scout, and byte-neutral when absent
ok - fm-brief.sh: --help documents the visual-work flag and surface selector
ok - fm-brief.sh: --help documents --pasted-file and --design
Evidence: Generated visual contracts for all surfaces

Source: Generated visual contracts for all surfaces


=== decks ===
# Visual work contract
Before any design decision, read and follow `~/.no-mistakes/evidence/01M3PSB8QZ9YNVA70DVPNN7QE7/visual-brief-demo/docs/design/point-of-view.md`, the point of view and quality bar for the `decks` surface, and read `~/.no-mistakes/worktrees/a6ca20682364/01M3PSB8QZ9YNVA70DVPNN7QE7/.agents/skills/visual-work/SKILL.md`.
Use the project's design-system templates, interaction patterns, and flows wherever they exist, not only its colours and fonts.
Before the done line, complete an editor pass: walk the finished surface end to end as its user in a real browser.
Record the walk in the PR body for PR work, the report for scout work, or the ready-branch summary for local-only work, and name the one surprising detail you added and why.
Reviewers apply this rejection rule: "satisfies every rule and still dead is a reject".

=== scout ===
# Visual work contract
Before any design decision, read and follow `~/.no-mistakes/evidence/01M3PSB8QZ9YNVA70DVPNN7QE7/visual-brief-demo/docs/design-system/point-of-view.md`, the point of view and quality bar for the `scout` surface, and read `~/.no-mistakes/worktrees/a6ca20682364/01M3PSB8QZ9YNVA70DVPNN7QE7/.agents/skills/visual-work/SKILL.md`.
Use the project's design-system templates, interaction patterns, and flows wherever they exist, not only its colours and fonts.
Before the done line, complete an editor pass: walk the finished surface end to end as its user in a real browser.
Record the walk in the PR body for PR work, the report for scout work, or the ready-branch summary for local-only work, and name the one surprising detail you added and why.
Reviewers apply this rejection rule: "satisfies every rule and still dead is a reject".

=== website ===
# Visual work contract
Before any design decision, read and follow `~/.no-mistakes/evidence/01M3PSB8QZ9YNVA70DVPNN7QE7/visual-brief-demo/sites/tomasmeulenberg/design-concepts/POINT-OF-VIEW.md`, the point of view and quality bar for the `website` surface, and read `~/.no-mistakes/worktrees/a6ca20682364/01M3PSB8QZ9YNVA70DVPNN7QE7/.agents/skills/visual-work/SKILL.md`.
Use the project's design-system templates, interaction patterns, and flows wherever they exist, not only its colours and fonts.
Before the done line, complete an editor pass: walk the finished surface end to end as its user in a real browser.
Record the walk in the PR body for PR work, the report for scout work, or the ready-branch summary for local-only work, and name the one surprising detail you added and why.
Reviewers apply this rejection rule: "satisfies every rule and still dead is a reject".

=== email ===
# Visual work contract
Before any design decision, read and follow `~/.no-mistakes/evidence/01M3PSB8QZ9YNVA70DVPNN7QE7/visual-brief-demo/data/standards/mindshake-outbound-point-of-view.md`, the point of view and quality bar for the `email` surface, and read `~/.no-mistakes/worktrees/a6ca20682364/01M3PSB8QZ9YNVA70DVPNN7QE7/.agents/skills/visual-work/SKILL.md`.
Use the project's design-system templates, interaction patterns, and flows wherever they exist, not only its colours and fonts.
Before the done line, complete an editor pass: walk the finished surface end to end as its user in a real browser.
Record the walk in the PR body for PR work, the report for scout work, or the ready-branch summary for local-only work, and name the one surprising detail you added and why.
Reviewers apply this rejection rule: "satisfies every rule and still dead is a reject".

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

🔧 **Review** - 1 issue found → auto-fixed ✅
  • 🚨 bin/fm-brief.sh:359 - The intent requires the POV documents to live in the firstmate home, but decks, scout, and website paths are rendered relative to the worker's project worktree; only email uses an absolute firstmate-home path. Those workers can therefore fail to read the required POV or read an unrelated project file. The contradicting criterion is: “The surface point-of-view homes are ... in the firstmate home.” Use firstmate-home-qualified paths for all four surfaces.

🔧 Fix applied.
✅ Re-checked - no issues remain.

✅ **Test** - passed

✅ No issues found.

  • Live validation: ✅ go - 3 of 3 scenarios driven live against the product
Scenario Result Live Evidence
Generate a visual brief for decks, Scout, website, and email; each contract points to the correct absolute firstmate-home POV document ✅ pass live Generated visual contracts for all surfaces
Generate visual ship and scout briefs; both include the design-system, copy-voice, editor-pass, surprising-detail, and rejection-rule contract ✅ pass live ./tests/fm-brief.test.sh and generated contracts
Attempt missing, unknown, or unpaired visual flags and scaffold without --visual; invalid requests are refused and ordinary briefs remain unchanged ✅ pass live ./tests/fm-brief.test.sh
  • ./tests/fm-brief.test.sh
  • Manual bin/fm-brief.sh --visual --surface <surface> generation for decks, scout, website, and email
  • Manual invalid-flag and non-visual generation checks
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

Built by: pi/openai-codex/gpt-5.6-sol at high

@TastyTom13
TastyTom13 merged commit ce31c2f into main Sep 29, 2026
16 checks passed
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