mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-09 06:28:59 +02:00
fix(test): stage design-consultation's sections/ into the E2E fixture
The skill has been carved since v1.57.0.0 — the DESIGN.md structure prescription (the AESTHETIC proposal template) lives in sections/proposal-and-preview.md behind a STOP-read. The fixture only copied SKILL.md, so the agent improvised structure from the skeleton and the section-synonym check has been a coin flip since the carve (CI run 33090283032 trace shows 'no sections dir'; the local eval store has the same failure on 2026-08-25 while that day's CI run passed on lucky vocabulary). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
969fed9b4f
commit
a181601bde
@@ -76,12 +76,25 @@ A civic tech data platform for government employees to access, visualize, and sh
|
||||
run('git', ['add', '.']);
|
||||
run('git', ['commit', '-m', 'initial project setup']);
|
||||
|
||||
// Copy design-consultation skill
|
||||
// Copy design-consultation skill — INCLUDING sections/. The skill has
|
||||
// been carved since v1.57.0.0 (e722c5bf): Phases 3-6, where the DESIGN.md
|
||||
// structure (the "AESTHETIC: [direction]" proposal template) is
|
||||
// prescribed, live in sections/proposal-and-preview.md behind a STOP-read.
|
||||
// Without the dir the agent improvises structure from the skeleton
|
||||
// ("Visual thesis" vocabulary) and the section-synonym check becomes a
|
||||
// coin flip (observed: CI run 33090283032 failed both attempts with
|
||||
// "no sections dir" in the trace; the skeleton-only pass on 32899975845
|
||||
// was lucky vocabulary).
|
||||
fs.mkdirSync(path.join(designDir, 'design-consultation'), { recursive: true });
|
||||
fs.copyFileSync(
|
||||
path.join(ROOT, 'design-consultation', 'SKILL.md'),
|
||||
path.join(designDir, 'design-consultation', 'SKILL.md'),
|
||||
);
|
||||
fs.cpSync(
|
||||
path.join(ROOT, 'design-consultation', 'sections'),
|
||||
path.join(designDir, 'design-consultation', 'sections'),
|
||||
{ recursive: true },
|
||||
);
|
||||
});
|
||||
|
||||
afterAll(() => {
|
||||
|
||||
Reference in New Issue
Block a user