Skip to content

feat(#40): Add orchestration context awareness to skills - #52

Merged
admarble merged 1 commit into
mainfrom
feature/40-feat-add-orchestration-context-awareness-to-skills
Jan 10, 2026
Merged

admarble merged 1 commit into
mainfrom
feature/40-feat-add-orchestration-context-awareness-to-skills

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Summary

  • Added SEQUANT_ORCHESTRATOR and SEQUANT_PHASE environment variables to executePhase() in run.ts
  • Updated /exec, /test, /qa, /loop skills with "Orchestration Context" sections
  • Skills now conditionally skip redundant operations when orchestrated
  • Updated /fullsolve to document its role as orchestrator

Test plan

  • npm test - All 236 tests pass
  • npm run build - TypeScript compiles successfully
  • Manual test: Run sequant run 123 and verify skills receive env vars
  • Manual test: Run /exec 123 standalone and verify full pre-flight checks run

Changes

File Change
src/commands/run.ts Set SEQUANT_ORCHESTRATOR and SEQUANT_PHASE env vars
.claude/skills/exec/SKILL.md Add orchestration context section with conditional behavior
.claude/skills/test/SKILL.md Add orchestration context for issue fetch and comments
.claude/skills/qa/SKILL.md Add orchestration context for pre-flight and worktree
.claude/skills/loop/SKILL.md Add orchestration context for worktree and issue
.claude/skills/fullsolve/SKILL.md Document orchestrator role and env vars

Closes #40

🤖 Generated with Claude Code

- Add SEQUANT_ORCHESTRATOR and SEQUANT_PHASE env vars in run.ts executePhase()
- Update /exec skill with orchestration context section and conditional behavior
- Update /test skill with orchestration context for issue fetch and GitHub comments
- Update /qa skill with orchestration context for pre-flight checks and worktree
- Update /loop skill with orchestration context for worktree and issue handling
- Update /fullsolve skill to document its role as orchestrator

Skills now detect when running under orchestration and skip redundant:
- Pre-flight git state checks
- Worktree creation (use provided path)
- GitHub comment posting (defer to orchestrator)
- Issue fetching (trust orchestrator context)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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.

feat: Add orchestration context awareness to skills

1 participant