mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-08 01:38:10 +01:00
test: Codex preamble expectation follows the plain start lookup (GST-882)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
afa2e1956f
commit
6e3f47fe9a
1 file changed
+5
-3
@@ -3125,9 +3125,11 @@ describe('Codex generation (--host codex)', () => {
|
||||
expect(content).toContain('_r=$(git rev-parse --show-toplevel 2>/dev/null)/.agents/skills/gstack');
|
||||
expect(content).toContain('_r=${CODEX_HOME:-~/.codex}/skills/gstack');
|
||||
// Phase 1/2: config reads moved into gstack-skill-start — the fence itself
|
||||
// is the bin asset the preamble must resolve through $GSTACK_BIN, and the
|
||||
// question-preference runtime call still resolves the same way.
|
||||
expect(content).toContain('$GSTACK_BIN/gstack-skill-start');
|
||||
// is the bin asset the preamble resolves through the same roots, as plain
|
||||
// lines (GST-882), and the question-preference runtime call resolves
|
||||
// through $GSTACK_BIN.
|
||||
expect(content).toContain('[ -d "$GSTACK_ROOT/bin" ]||GSTACK_ROOT=${CODEX_HOME:-~/.codex}/skills/gstack');
|
||||
expect(content).toContain('"$GSTACK_ROOT/bin/gstack-skill-start"');
|
||||
expect(content).toContain('$GSTACK_BIN/gstack-question-preference');
|
||||
// The upgrade-skill doc reference moved into the script's upgrade-flow
|
||||
// block, resolved $0-relative ($_ROOT_DIR) — host-neutral by construction,
|
||||
|
||||
Reference in new issue
Block a user