fix: proper gstack description in openai.yaml + block Codex from rewriting it

Codex kept overwriting agents/openai.yaml with a browse-only description.
Two fixes: (1) better description covering full PM/dev/eng/CEO/QA scope,
(2) add agents/ to the filesystem boundary so Codex stops modifying it.
This commit is contained in:
Garry Tan
2026-03-28 09:11:10 -07:00
parent ee058081f6
commit c94f91601c
5 changed files with 19 additions and 16 deletions
+1
View File
@@ -1304,6 +1304,7 @@ describe('Codex generation (--host codex)', () => {
const content = fs.readFileSync(rootMetadata, 'utf-8');
expect(content).toContain('display_name: "gstack"');
expect(content).toContain('Use $gstack to locate the bundled gstack skills.');
expect(content).toContain('allow_implicit_invocation: true');
});
test('codexSkillName mapping: root is gstack, others are gstack-{dir}', () => {