Repository navigation
feat(spec-loop): add Grok headless harness profile - #1593
Open
KatalKavya96 wants to merge 2 commits into
Open
KatalKavya96 wants to merge 2 commits into
KatalKavya96 wants to merge 2 commits into
Conversation
Contributor
Author
|
@potiuk You can post this as the maintainer-facing PR comment: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tools/spec-loop.--prompt-file,--cwd,--always-approve, output/model/effort flags, and explicit deny rules for remote mutation.Type of change
.claude/skills/<name>/) — eval fixtures updated belowtools/<system>/*.md)tools/*/withpyproject.toml)docs/,README.md,CONTRIBUTING.md)projects/_template/)prek, workflows, validators)Test plan
prek run --all-filespassesuv run pytest/ruff check/mypypasses(
PYTHONPATH=tools/skill-evals/src python3 -m skill_evals.runner tools/skill-evals/evals/<skill>/)(a regression test for the bug fixed / the behaviour added — see CONTRIBUTING.md)
bash tools/spec-loop/tests/test_runner_fixtures.shbash -n tools/spec-loop/loop.shbash -n tools/spec-loop/lib.shbash -n tools/spec-loop/tests/test_runner_fixtures.shBash(git push:*)andBash(gh:*)deny rules block matching commands even with--always-approveRFC-AI-0004 compliance
git pushandghfrom the Grok invocation; the spec-loop remains local-only and does not autonomously open or push PRsLinked issues
Refs #1416
Notes for reviewers (optional)
The Grok profile was validated against Grok Build 1.0.50 rather than inferred from another harness.
The runner maps:
--prompt-file--cwd--always-approveSPEC_LOOP_OUTPUT_FORMAT=text->plainSPEC_LOOP_OUTPUT_FORMAT=stream-json->streaming-jsonSPEC_LOOP_MODEL->--modelSPEC_LOOP_EFFORT=low|medium|high->--reasoning-effort low|medium|highThe exact deny rules used in the runner were also exercised against the installed CLI:
Bash(git push:*)Bash(gh:*)Both were denied before execution under
--always-approve.A disposable-repository probe was used instead of running a destructive full spec-loop build against the Magpie checkout. The profile successfully made the requested local edit and did not modify unrelated tracked files.