fix: align feature marker seeding with GStack state

Wave-amended: seeding relocation re-applied to the composite action (v1.77 moved CI seeding out of the inline workflow steps the original commit edited); wiring tripwire re-pointed accordingly; stale marker comment updated
This commit is contained in:
Simon Altit
2026-08-31 21:06:39 +00:00
committed by Garry Tan
parent 6a14a387d0
commit 69fa5a7a68
6 changed files with 63 additions and 8 deletions
+13
View File
@@ -321,6 +321,7 @@ describe('gstack-skill-start behavior', () => {
expect(checkpoint).toContain(
`touch "${path.join(freshGh, '.feature-prompted-continuous-checkpoint')}"`,
);
expect(checkpoint).not.toContain('GSTACK_INSTRUCTION_BEGIN: feature-overlay');
expect(checkpoint).not.toContain(
path.join(projectSkillRoot, '.feature-prompted-continuous-checkpoint'),
);
@@ -334,7 +335,19 @@ describe('gstack-skill-start behavior', () => {
expect(overlay).toContain(
`touch "${path.join(freshGh, '.feature-prompted-model-overlay')}"`,
);
expect(overlay).not.toContain('GSTACK_INSTRUCTION_BEGIN: feature-checkpoint');
expect(overlay).not.toContain(path.join(projectSkillRoot, '.feature-prompted-model-overlay'));
fs.writeFileSync(path.join(freshGh, '.feature-prompted-model-overlay'), '');
const acknowledged = execFileSync(localStart, ['--skill', 'testskill'], {
encoding: 'utf-8',
cwd: projectRoot,
env,
});
expect(acknowledged).not.toContain('GSTACK_INSTRUCTION_BEGIN: feature-checkpoint');
expect(acknowledged).not.toContain('GSTACK_INSTRUCTION_BEGIN: feature-overlay');
expect(acknowledged).not.toContain('.feature-prompted-continuous-checkpoint');
expect(acknowledged).not.toContain('.feature-prompted-model-overlay');
} finally {
fs.rmSync(projectRoot, { recursive: true, force: true });
fs.rmSync(freshGh, { recursive: true, force: true });