Skip to content

Document expanded command words and allowed arguments (T199) - #81

Merged
erickb336 merged 2 commits into
mainfrom
codex/t199-expanded-word-docs
Oct 7, 2026
Merged

erickb336 merged 2 commits into
mainfrom
codex/t199-expanded-word-docs

Conversation

@erickb336

Copy link
Copy Markdown
Owner

Closes #77

Sage task T199 (follow-up).

The README and Claude sage skill now explain the expanded-word rule. In sage mode it applies to program words, the first git/gh subcommand, and the subcommand after gh pr, for the main session and agents. The literal [ and [[ test commands remain allowed. The README shows ./scripts/*.sh as refused and git log --format='%h {x}' as allowed because the braces are in an ordinary argument.

This change adds one README table row and one skill sentence. It does not change code or narrow the rule. The generated skill comes from the build.

Validation

Command Last result
npm run build built 108 files
npm run check all checks pass
npm test tests 472; pass 472; fail 0
git diff --check origin/main Exit 0

Fake ps, pgrep, and kill were first on PATH for the test run. No new tests were added because this is documentation only; main-failure proof does not apply. Existing T199 tests cover the unchanged rule.

Independent review confirmed that the wording and examples match the current T199 policy. This branch includes main 886b1f6, after #78 and #79 merged.

Not verified

No live provider session was tested. The examples were not passed to a shell.

@erickb336 erickb336 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex review at 1ffdd1ba851c5a2fff57cd6a21be4d3fadf7147d: no findings. Independent review confirmed that the wording matches T199, including program and subcommand scope, literal test-command exceptions, and ordinary arguments. The refused and allowed examples were inspected as text, never executed.

Only one README row, one source skill sentence, and its generated copy differ from main 886b1f6. No code or tests changed. Fresh build produced 108 files; check passed; all 472 tests passed. CI run 37686644106 passed. No live provider session was tested. Ready for the owner's merge; closes #77.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

T199 follow-up: document the expanded-word rule in the README and the sage skill

1 participant