Implement F003 design workflow candidate
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
# Current state
|
# Current state
|
||||||
|
|
||||||
FORGE-F001 and FORGE-F002 were human accepted and are present on `codex`; F002's context dependency for F003 is satisfied. FORGE-F004 implementation is merged into `codex`, with human acceptance pending JJ's external validation; it is not an F003 dependency. `bortstack-context` and `bortstack-contributor` packages are implemented. The repository `testtask` entry point is provisioned but blocked because Forge has no application runtime or manual-test hook. Two other skill directories remain reserved. No generator, Forge design integration, or active legacy-skill migration has been implemented. Captain reports successful external validation of local Penpot 2.18 Docker and its integrated MCP connection, including editable shape/text creation and preservation of existing design elements during modification; Forge has not independently rerun that external check in this reconciliation. Windows and JJ's hands-on workflow have not been tested. Decisions FORGE-001 through FORGE-006 remain accepted.
|
FORGE-F001 and FORGE-F002 were human accepted and are present on `codex`; F002's context dependency for F003 is satisfied. FORGE-F004 implementation is merged into `codex`, with human acceptance pending JJ's external validation; it is not an F003 dependency. `bortstack-context` and `bortstack-contributor` are integrated; `bortstack-design` is an implementation candidate on the F003 branch only. The repository `testtask` entry point is provisioned but blocked because Forge has no application runtime or manual-test hook. One skill directory remains reserved. No generator or active legacy-skill migration has been implemented. Captain reports successful external validation of local Penpot 2.18 Docker and its integrated MCP connection, including editable shape/text creation and preservation of existing design elements during modification. The MCP container runs locally, but no Penpot connector or browser is exposed to this session, so current-session Penpot edits have not been verified. Windows and JJ's hands-on workflow have not been tested. Decisions FORGE-001 through FORGE-007 remain accepted.
|
||||||
|
|||||||
+6
-4
@@ -1,9 +1,11 @@
|
|||||||
# Handoff
|
# Handoff
|
||||||
|
|
||||||
Current work: documentation-only reconciliation of existing FORGE-F003 on `codex-forge-f003-reconciliation` at `/tmp/bortstack-forge-f003-reconciliation`, based on local `codex` commit `b8f3920`. F003 remains Planned; no implementation worktree, skill package, or application change was created. The `codex` checkout was clean at the start and four commits ahead of `origin/codex`.
|
FORGE-F003 is In Progress on `codex-forge-f003` at `/tmp/bortstack-forge-f003`, based on local `codex` commit `b8f3920` plus the cherry-picked Forge-only reconciliation. The separate planning branch remains intact. F002 is Complete and does not block F003; F004's pending JJ validation also does not block it. No external application project, installed skill, distribution tooling, or production service was modified.
|
||||||
|
|
||||||
F002 is Complete and integrated into `codex`, so F003 has no dependency blocker. Captain reports that local Penpot 2.18 Docker and integrated MCP were validated externally, including editable shape/text creation and modification that preserved existing elements. This reconciliation records that report without independently rerunning Penpot. F004 is merged into `codex` but awaits JJ's validation; it does not block F003.
|
Candidate: `bortstack-design` skill and references; a Forge-owned task-overview example with editable SVG concepts A and B, refined A, PNG previews, and an unapproved handoff draft. The example is not an application feature. Captain approval is pending and no design approval has been recorded in `bortstack-context`.
|
||||||
|
|
||||||
F003 now explicitly covers AI-assisted multiple editable concepts, refinement, Captain approval through `bortstack-context`, structured handoffs, visual validation, optional MCP with fallback, Linux/Windows compatibility, and a Forge-owned disposable example. Decision FORGE-007 removes the earlier PitchInvader pilot clause. Existing distribution tooling and legacy `roborto-*` skills remain untouched.
|
Validation: `python3 -m unittest discover -s tests -v` passed 9 tests; `python3 scripts/validate-skills.py` accepted all three implemented skills; installer dry-run included `bortstack-design`; `git diff --check` and the task-ID/worktree audit passed. SVGs were rendered with ffmpeg, and A-refined and B were visually inspected. The SVG structure test confirms separate text/shapes and preservation of A's original IDs. This does not prove native Penpot editability or visual agreement with an approved implementation.
|
||||||
|
|
||||||
Validation for this planning change: `git diff --check` and `python3 scripts/context_audit.py docs/TASKS.md` passed; the documentation diff was reviewed. No F003 implementation or example validation is claimed. Open decisions for the later implementation briefing: the disposable Forge example and Penpot file, approval artifact, and practical non-MCP editing path. The next step is review of this reconciliation; a separate `engage FORGE-F003` is required to authorise implementation in its own branch/worktree. Do not merge this planning branch as part of the reconciliation request.
|
Limitations: Local Penpot containers run, including MCP, but this Codex session exposes no Penpot connector or browser. Current-session MCP edits and Penpot SVG import were not possible to verify. The non-MCP fallback is documented and its source files were exercised locally, but Penpot UI import remains pending. Windows setup and a post-approval implementation comparison remain unverified. Existing repository `testtask` remains blocked by lack of application runtime.
|
||||||
|
|
||||||
|
Next actions: Captain reviews the concepts and explicitly approves a named version or requests refinement; record that approval through `bortstack-context`. Once Penpot MCP or UI access is available, import/edit the Forge example and record file/board references, exercise the fallback, then perform the approved-source visual comparison. Keep F003 open until those acceptance gates pass. The candidate is committed on its task branch for preservation; no push or merge of F003 implementation has occurred.
|
||||||
|
|||||||
+3
-1
@@ -17,7 +17,7 @@ Acceptance: demonstrate lifecycle and collision checks with new and legacy repos
|
|||||||
Implementation record (2026-11-17): Added the canonical skill, snapshot command reference, read-only task ID/worktree audit, ZIP snapshot entry point, and explicit blocked `testtask` entry point. Tests cover collision handling for new and legacy IDs and safe snapshots of edited/untracked files. The skill defines lifecycle gates and preservation of unfinished work. Runtime manual testing remains unavailable until Forge has a task-specific hook; Windows is untested.
|
Implementation record (2026-11-17): Added the canonical skill, snapshot command reference, read-only task ID/worktree audit, ZIP snapshot entry point, and explicit blocked `testtask` entry point. Tests cover collision handling for new and legacy IDs and safe snapshots of edited/untracked files. The skill defines lifecycle gates and preservation of unfinished work. Runtime manual testing remains unavailable until Forge has a task-specific hook; Windows is untested.
|
||||||
|
|
||||||
## FORGE-F003 — Implement `bortstack-design`
|
## FORGE-F003 — Implement `bortstack-design`
|
||||||
Status: Planned (reconciled 2026-11-17; implementation not authorised). Priority: High. Dependency: FORGE-F002, Complete and integrated into local `codex`; no dependency blocker. Planning branch/worktree: `codex-forge-f003-reconciliation` at `/tmp/bortstack-forge-f003-reconciliation`. A future accepted implementation must use its own task branch/worktree.
|
Status: In Progress (engaged 2026-11-17). Priority: High. Dependency: FORGE-F002, Complete and integrated into local `codex`; no dependency blocker. Implementation branch/worktree: `codex-forge-f003` at `/tmp/bortstack-forge-f003`. Planning reconciliation remains preserved separately at `/tmp/bortstack-forge-f003-reconciliation`.
|
||||||
|
|
||||||
Implement the canonical `bortstack-design` skill for existing and generated repositories. Support AI-assisted concept generation and comparison of multiple distinct, editable Penpot concepts; refinement of a selected concept without flattening or losing existing editable elements; and explicit Captain approval before design-dependent implementation. `bortstack-context` owns the design reference, version, approval authority/date, explicit override, and task lifecycle record. `bortstack-design` owns Penpot operations, concept/refinement guidance, structured design-to-code handoffs, and visual validation. A handoff identifies the approved design/version, relevant screens and states, layout/responsive behavior, assets, interaction details, implementation task, and known gaps. Visual validation compares implementation against that approved source and records deviations or approved changes.
|
Implement the canonical `bortstack-design` skill for existing and generated repositories. Support AI-assisted concept generation and comparison of multiple distinct, editable Penpot concepts; refinement of a selected concept without flattening or losing existing editable elements; and explicit Captain approval before design-dependent implementation. `bortstack-context` owns the design reference, version, approval authority/date, explicit override, and task lifecycle record. `bortstack-design` owns Penpot operations, concept/refinement guidance, structured design-to-code handoffs, and visual validation. A handoff identifies the approved design/version, relevant screens and states, layout/responsive behavior, assets, interaction details, implementation task, and known gaps. Visual validation compares implementation against that approved source and records deviations or approved changes.
|
||||||
|
|
||||||
@@ -31,6 +31,8 @@ Evidence available at reconciliation: Captain reports a validated local Penpot 2
|
|||||||
|
|
||||||
Open decisions for implementation briefing: choose the scope and Penpot file for a disposable Forge-owned example, the Captain's preferred approval artifact/record, and the practical non-MCP editing path. These do not block this planning reconciliation; resolve them before claiming example acceptance. No PitchInvader project work is in F003 scope.
|
Open decisions for implementation briefing: choose the scope and Penpot file for a disposable Forge-owned example, the Captain's preferred approval artifact/record, and the practical non-MCP editing path. These do not block this planning reconciliation; resolve them before claiming example acceptance. No PitchInvader project work is in F003 scope.
|
||||||
|
|
||||||
|
Implementation record (2026-11-17): Added the `bortstack-design` skill, Penpot/MCP and non-MCP operation reference, structured handoff template, and a Forge-owned task-overview example with two distinct SVG concepts and a refined A variant. The SVG source retains separately editable text/shapes and original A element IDs; rendered previews were visually inspected. Nine repository tests pass, the skill validator accepts all three implemented packages, and installer dry-run includes design. Captain approval, Penpot import/editing in this session, current-session MCP mutation, Windows verification, and comparison with an approved implementation remain pending. The local MCP container is running, but no Penpot MCP connector or browser is exposed to this session. Do not claim F003 Complete.
|
||||||
|
|
||||||
## FORGE-F004 — Implement `bortstack-contributor`
|
## FORGE-F004 — Implement `bortstack-contributor`
|
||||||
Status: Merged into `codex`; acceptance pending JJ's external validation. Priority: High. Dependencies: FORGE-F002. Branch/worktree: `codex-forge-f004` at `/tmp/bortstack-forge-f004`.
|
Status: Merged into `codex`; acceptance pending JJ's external validation. Priority: High. Dependencies: FORGE-F002. Branch/worktree: `codex-forge-f004` at `/tmp/bortstack-forge-f004`.
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# Draft design handoff — Forge task overview example
|
||||||
|
|
||||||
|
Status: **Exploratory; Captain approval pending.** This is a Forge-owned validation fixture, not an application implementation task.
|
||||||
|
|
||||||
|
| Field | Draft value |
|
||||||
|
| --- | --- |
|
||||||
|
| Design task | FORGE-F003 |
|
||||||
|
| Editable source | `concept-a.svg`, `concept-b.svg`, `concept-a-refined.svg` in this directory; Penpot file/board not yet assigned |
|
||||||
|
| Alternatives | A uses a compact sidebar and cards; B uses a wide header and timeline |
|
||||||
|
| Proposed selection | Refined A for demonstrating preservation of existing elements; not approved |
|
||||||
|
| Refinement | Preserved A's original element IDs, enlarged the first card, clarified its review status, added a distinct review action |
|
||||||
|
| Viewport | 960 × 600 example only; mobile and state variants remain unspecified |
|
||||||
|
| Typography and colour | Arial; navy, teal, amber on pale grey in A; purple and cream in B |
|
||||||
|
| Interactions | The review action is a visual placeholder; no behavior is authorised |
|
||||||
|
| Accessibility | Text and contrast need review in the eventual implementation; no interactive accessibility claim |
|
||||||
|
| Approval | Pending explicit Captain selection and version reference in `bortstack-context` records |
|
||||||
|
| Visual validation | SVGs rendered to PNG previews and visually inspected; implementation comparison remains pending approval and an implementation artifact |
|
||||||
|
|
||||||
|
Before an implementation handoff, import the selected SVG into Penpot, verify separate text and shapes, record server/project/file/board and version, obtain Captain approval, and fill responsive behavior and interaction details. No application code should be derived from this draft yet.
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
# Forge-owned design workflow example
|
||||||
|
|
||||||
|
This disposable example is a fictional **Forge task overview** screen used only to test `bortstack-design`. It is not an application feature or an external project. The SVG files are editable vector sources with separate `<text>`, `<rect>`, and `<circle>` elements. Import into Penpot and verify native editability before calling them Penpot concepts.
|
||||||
|
|
||||||
|
- `concept-a.svg`: compact sidebar and task cards.
|
||||||
|
- `concept-b.svg`: wide header and timeline rows.
|
||||||
|
- `concept-a-refined.svg`: refinement of A with a visible review action and clearer status; original element IDs remain.
|
||||||
|
|
||||||
|
PNG previews are under `previews/`; `HANDOFF_DRAFT.md` captures an unapproved handoff example. Captain approval: **pending**. No implementation handoff or visual match is approved. Record any approved Penpot file/board and version through `bortstack-context` before using the handoff template. The SVGs demonstrate the non-MCP source path; the current session has not verified Penpot import/editing or MCP mutation.
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="960" height="600" viewBox="0 0 960 600">
|
||||||
|
<rect id="background" width="960" height="600" fill="#f3f5f7"/>
|
||||||
|
<rect id="sidebar" width="220" height="600" fill="#172b3a"/>
|
||||||
|
<text id="brand" x="28" y="54" font-family="Arial" font-size="25" font-weight="bold" fill="#ffffff">Forge</text>
|
||||||
|
<text id="nav-tasks" x="30" y="122" font-family="Arial" font-size="17" fill="#ffffff">Tasks</text>
|
||||||
|
<text id="nav-decisions" x="30" y="162" font-family="Arial" font-size="17" fill="#b8c8d3">Decisions</text>
|
||||||
|
<text id="title" x="260" y="70" font-family="Arial" font-size="30" font-weight="bold" fill="#172b3a">Task overview</text>
|
||||||
|
<text id="subtitle" x="260" y="104" font-family="Arial" font-size="16" fill="#526674">Current work and review state</text>
|
||||||
|
<rect id="card-one" x="260" y="146" width="650" height="148" rx="12" fill="#ffffff"/>
|
||||||
|
<circle id="status-one" cx="290" cy="183" r="9" fill="#de9741"/>
|
||||||
|
<text id="task-one" x="314" y="190" font-family="Arial" font-size="20" font-weight="bold" fill="#172b3a">Design workflow</text>
|
||||||
|
<text id="detail-one" x="290" y="233" font-family="Arial" font-size="16" fill="#526674">In progress · Ready for concept review</text>
|
||||||
|
<rect id="review-action" x="752" y="250" width="132" height="30" rx="6" fill="#235d75"/>
|
||||||
|
<text id="review-label" x="767" y="271" font-family="Arial" font-size="14" fill="#ffffff">View concepts</text>
|
||||||
|
<rect id="card-two" x="260" y="316" width="650" height="124" rx="12" fill="#ffffff"/>
|
||||||
|
<circle id="status-two" cx="290" cy="353" r="9" fill="#398b72"/>
|
||||||
|
<text id="task-two" x="314" y="360" font-family="Arial" font-size="20" font-weight="bold" fill="#172b3a">Context foundation</text>
|
||||||
|
<text id="detail-two" x="290" y="403" font-family="Arial" font-size="16" fill="#526674">Complete · Accepted by Captain</text>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1,17 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="960" height="600" viewBox="0 0 960 600">
|
||||||
|
<rect id="background" width="960" height="600" fill="#f3f5f7"/>
|
||||||
|
<rect id="sidebar" width="220" height="600" fill="#172b3a"/>
|
||||||
|
<text id="brand" x="28" y="54" font-family="Arial" font-size="25" font-weight="bold" fill="#ffffff">Forge</text>
|
||||||
|
<text id="nav-tasks" x="30" y="122" font-family="Arial" font-size="17" fill="#ffffff">Tasks</text>
|
||||||
|
<text id="nav-decisions" x="30" y="162" font-family="Arial" font-size="17" fill="#b8c8d3">Decisions</text>
|
||||||
|
<text id="title" x="260" y="70" font-family="Arial" font-size="30" font-weight="bold" fill="#172b3a">Task overview</text>
|
||||||
|
<text id="subtitle" x="260" y="104" font-family="Arial" font-size="16" fill="#526674">Current work and review state</text>
|
||||||
|
<rect id="card-one" x="260" y="146" width="650" height="124" rx="12" fill="#ffffff"/>
|
||||||
|
<circle id="status-one" cx="290" cy="183" r="9" fill="#de9741"/>
|
||||||
|
<text id="task-one" x="314" y="190" font-family="Arial" font-size="20" font-weight="bold" fill="#172b3a">Design workflow</text>
|
||||||
|
<text id="detail-one" x="290" y="233" font-family="Arial" font-size="16" fill="#526674">In progress · Two concepts to compare</text>
|
||||||
|
<rect id="card-two" x="260" y="292" width="650" height="124" rx="12" fill="#ffffff"/>
|
||||||
|
<circle id="status-two" cx="290" cy="329" r="9" fill="#398b72"/>
|
||||||
|
<text id="task-two" x="314" y="336" font-family="Arial" font-size="20" font-weight="bold" fill="#172b3a">Context foundation</text>
|
||||||
|
<text id="detail-two" x="290" y="379" font-family="Arial" font-size="16" fill="#526674">Complete · Accepted by Captain</text>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,15 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="960" height="600" viewBox="0 0 960 600">
|
||||||
|
<rect id="background" width="960" height="600" fill="#fffaf2"/>
|
||||||
|
<rect id="header" width="960" height="114" fill="#352641"/>
|
||||||
|
<text id="brand" x="38" y="52" font-family="Arial" font-size="24" font-weight="bold" fill="#ffffff">Forge</text>
|
||||||
|
<text id="nav" x="720" y="51" font-family="Arial" font-size="16" fill="#f2debe">Tasks Decisions</text>
|
||||||
|
<text id="title" x="38" y="171" font-family="Arial" font-size="31" font-weight="bold" fill="#352641">Work in motion</text>
|
||||||
|
<text id="subtitle" x="38" y="205" font-family="Arial" font-size="16" fill="#665c69">A timeline of delivery and review</text>
|
||||||
|
<rect id="rail" x="74" y="253" width="4" height="240" fill="#cbbdcf"/>
|
||||||
|
<circle id="node-one" cx="76" cy="286" r="14" fill="#9d5685"/>
|
||||||
|
<text id="task-one" x="112" y="291" font-family="Arial" font-size="21" font-weight="bold" fill="#352641">Design workflow</text>
|
||||||
|
<text id="detail-one" x="112" y="324" font-family="Arial" font-size="16" fill="#665c69">Concepts in progress</text>
|
||||||
|
<circle id="node-two" cx="76" cy="410" r="14" fill="#5c8b80"/>
|
||||||
|
<text id="task-two" x="112" y="415" font-family="Arial" font-size="21" font-weight="bold" fill="#352641">Context foundation</text>
|
||||||
|
<text id="detail-two" x="112" y="448" font-family="Arial" font-size="16" fill="#665c69">Accepted and integrated</text>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
@@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
name: bortstack-design
|
||||||
|
description: Create and refine editable visual concepts, capture Captain approval through Bortstack Context, hand designs to implementation, and validate the result with optional Penpot MCP.
|
||||||
|
---
|
||||||
|
|
||||||
|
# Bortstack Design
|
||||||
|
|
||||||
|
Use with `bortstack-context`, which owns tasks, decisions, design references, approvals, overrides, and lifecycle states. If that skill is unavailable, report the missing dependency and do not invent a parallel approval system. This skill owns concept work, Penpot operations, implementation handoffs, and visual comparison. It applies to new and existing projects across frameworks and business/personal profiles. Never infer ownership or contributor authority from a profile. Preserve installed `roborto-*` skills during migration.
|
||||||
|
|
||||||
|
## Start with project boundaries
|
||||||
|
|
||||||
|
Read repository `AGENTS.md`, the six maintained context records, approved style/design sources, and the accepted task. Inspect Git status and worktrees before files change. Confirm the design belongs to this project; do not edit a separate application or production environment as an incidental pilot. Identify target screens, content, states, responsive needs, constraints, and what Captain must decide. Use a dedicated task worktree for repository changes under the context contract.
|
||||||
|
|
||||||
|
## Concepts and editable source
|
||||||
|
|
||||||
|
Generate at least two meaningfully different concepts when the task calls for alternatives. Explain the choice each concept presents. Keep shapes, text, components, and layout editable in Penpot or an importable vector source; a flattened screenshot is only a preview. Record concept IDs, source file/version, target viewport, assets/fonts, and known limitations. Inspect an existing design before editing it. Refine a selected concept in place or as a versioned duplicate, preserve unrelated elements and IDs where practical, and compare before/after structure. Never describe an importable SVG as verified editable in Penpot until import and editing have been observed.
|
||||||
|
|
||||||
|
## Optional Penpot connection
|
||||||
|
|
||||||
|
Follow `references/penpot-operations.md`. Discover the available Penpot server and MCP tools at runtime; do not assume a specific URL, port, token, or tool name. Confirm project/file access and create/edit capability before mutation. MCP can create and modify native editable objects when available. If MCP is unavailable, prepare importable vector sources, use the Penpot UI for import/editing when accessible, and give Captain a precise manual path. Record which path was actually tested. Penpot absence does not block unrelated context or non-design tasks. Support local and future self-hosted Penpot on Linux and Windows without changing Forge Core.
|
||||||
|
|
||||||
|
## Approval and handoff
|
||||||
|
|
||||||
|
Present the alternatives and refined selection for **explicit Captain approval**. Ask for approval of a named design reference/version, not a vague direction. `bortstack-context` records Captain, date, task, reference/version, and any conditions in the project's task/decision files. An explicit override records who authorised it, scope, date, and rationale; it is not a blanket approval. Design-dependent implementation waits for approved design or a task-specific recorded override. Design approval does not authorise application implementation or mark its task Complete.
|
||||||
|
|
||||||
|
Use `references/implementation-handoff.md` to prepare a structured handoff: approved source and version, screens/states, dimensions and responsive rules, components, typography/colour/assets, interactions, accessibility notes, open gaps, and target implementation task. Mark unapproved concepts clearly. Do not hand off a screenshot alone when editable source is required.
|
||||||
|
|
||||||
|
## Visual validation
|
||||||
|
|
||||||
|
Compare the implementation or reference rendering to the approved design at the stated viewports and states. Check layout, spacing, typography, colour, assets, interaction states, and preservation of approved elements. Record evidence, deviations, severity, and whether Captain approved any change. Do not claim a visual match from source inspection alone. Report unavailable browsers, platforms, or implementations as pending. `bortstack-context` updates task status and handoff; only human acceptance closes the task.
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# Design handoff record
|
||||||
|
|
||||||
|
Copy into the project's context/task record or a linked design handoff, then fill observed values. Keep approval in `bortstack-context` records.
|
||||||
|
|
||||||
|
| Field | Required content |
|
||||||
|
| --- | --- |
|
||||||
|
| Project and task | Repository, design task ID, implementation task ID |
|
||||||
|
| Approval | Captain, date, conditions, context-record link |
|
||||||
|
| Editable source | Penpot server/project/file/board or importable source path, version |
|
||||||
|
| Selection | Chosen concept and why; alternatives remain labelled exploratory |
|
||||||
|
| Screens and states | Desktop/mobile, loading, empty, error, focus/hover where relevant |
|
||||||
|
| Layout | Dimensions, breakpoints, grid, spacing, order, overflow |
|
||||||
|
| Visual tokens | Type, colour, icons, imagery, assets/licences |
|
||||||
|
| Behaviour | Navigation, actions, transitions, form responses |
|
||||||
|
| Accessibility | Contrast, labels, keyboard, focus, motion considerations |
|
||||||
|
| Gaps | Unspecified behavior and decisions still needed |
|
||||||
|
| Validation | Viewports, screenshots/renderings, deviations, approvals |
|
||||||
|
|
||||||
|
The handoff is implementation guidance, not permission to change application code. The implementation task follows its own acceptance and worktree gate.
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# Penpot connection and fallback
|
||||||
|
|
||||||
|
Penpot is optional and outside Forge Core. Treat server URL, authentication, workspace/project/file, and MCP transport as project-specific configuration. Do not copy tokens into repository files or logs.
|
||||||
|
|
||||||
|
## MCP route
|
||||||
|
|
||||||
|
1. Discover the connected Penpot MCP tool and inspect its supported operations. A Docker container being up is not proof that the current Codex session can call MCP.
|
||||||
|
2. Confirm access to the intended project and file, then inventory existing elements before changes.
|
||||||
|
3. Create a versioned concept page/board or duplicate. Keep text as text and shapes as shapes. Record returned references and any unsupported operations.
|
||||||
|
4. After refinement, inspect the result and compare its elements with the prior version. Export a preview only as evidence; retain the editable source.
|
||||||
|
5. Record server version and platform as observed, without treating a Linux check as Windows validation.
|
||||||
|
|
||||||
|
## Non-MCP route
|
||||||
|
|
||||||
|
Prepare separate editable SVG concepts with text and vector shapes, plus a concise import/edit guide. In Penpot's UI, import each into the intended file and verify that text and shapes remain separately editable; if the import flattens or substitutes text, repair in Penpot or report the limit. Refine a versioned copy, inspect retained elements, and record file/board references. If the UI is inaccessible, preserve the SVGs and mark Penpot editability unverified. Captain can review an exported preview, but approval must identify the editable source/version.
|
||||||
|
|
||||||
|
## Platform checks
|
||||||
|
|
||||||
|
On Linux and Windows, use the repository's documented Docker/Podman setup and the configured local/self-hosted URL. Check server reachability, login, MCP discovery if enabled, native object edits, SVG import fallback, preview export, and retained elements. Windows PowerShell and Linux shells differ; describe UI actions or use the project's actual scripts rather than inventing universal commands. Report each platform separately. Do not start persistent containers, alter ports, or change server configuration merely to validate a skill.
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
"""Check that the Forge design example remains editable and refinement preserves elements."""
|
||||||
|
import unittest
|
||||||
|
import xml.etree.ElementTree as ET
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
||||||
|
ROOT = Path(__file__).resolve().parents[1] / "examples/design-workflow"
|
||||||
|
SVG = "{http://www.w3.org/2000/svg}"
|
||||||
|
|
||||||
|
|
||||||
|
def elements(name):
|
||||||
|
tree = ET.parse(ROOT / name)
|
||||||
|
return {item.attrib["id"]: item for item in tree.iter() if "id" in item.attrib}
|
||||||
|
|
||||||
|
|
||||||
|
class DesignExampleTests(unittest.TestCase):
|
||||||
|
def test_distinct_editable_concepts_and_preserved_refinement(self):
|
||||||
|
a = elements("concept-a.svg")
|
||||||
|
b = elements("concept-b.svg")
|
||||||
|
refined = elements("concept-a-refined.svg")
|
||||||
|
self.assertIn("sidebar", a)
|
||||||
|
self.assertIn("header", b)
|
||||||
|
self.assertNotEqual(set(a), set(b))
|
||||||
|
self.assertTrue(set(a).issubset(refined))
|
||||||
|
self.assertIn("review-action", refined)
|
||||||
|
self.assertIn("review-label", refined)
|
||||||
|
for source in (a, b, refined):
|
||||||
|
self.assertGreaterEqual(sum(x.tag == SVG + "text" for x in source.values()), 4)
|
||||||
|
self.assertGreaterEqual(sum(x.tag == SVG + "rect" for x in source.values()), 2)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
unittest.main()
|
||||||
Reference in New Issue
Block a user