You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: Add orchestration context awareness to skills #40
Unnecessary work when context is already established
Proposed Solution
Option A: Environment Variable
# /fullsolve sets this before invoking child skillsexport SEQUANT_ORCHESTRATOR=fullsolve
export SEQUANT_ISSUE=218
Skills check:
<!-- In skill header -->
If SEQUANT_ORCHESTRATOR is set:
- Skip pre-flight git state checks (parent already did this)
- Skip issue fetch if SEQUANT_ISSUE matches
- Reduce verbosity of progress updates
Option B: Marker File
# /fullsolve createsecho"fullsolve:218:exec"> /tmp/sequant-context.txt
# Skills check for file and read context
Option C: Skill Parameter
/exec 218 --orchestrated
Implementation
Define context mechanism (recommend Option A - environment variable)
Update /fullsolve to set context before each phase
Update skills to check for orchestration context
Define which steps to skip when orchestrated:
Pre-flight git checks → Skip (parent verified)
Issue fetch → Use cached if same issue
Progress comments → Reduce frequency
Final summary → Defer to parent
Acceptance Criteria
Define orchestration context mechanism
Update /fullsolve to set context
Update /exec to check context and skip redundant steps
Update /test and /qa similarly
Document context behavior in skill headers
Benefits
Faster /fullsolve execution (less redundant work)
Cleaner GitHub issue comments (not spammed with updates)
Activity
admarble commentedon Jan 10, 2026
Implementation Plan - Orchestration Context Awareness
Acceptance Criteria Checklist
AC-1: Define orchestration context mechanism
/fullsolve 123runs,SEQUANT_ORCHESTRATOR=fullsolveis setAC-2: Update
/fullsolveto set context before each phaseexecutePhase()AC-3: Update
/execto check context and skip redundant steps/exec= full checks; orchestrated = skip pre-flightAC-4: Update
/testand/qasimilarlyAC-5: Document context behavior in skill headers
Implementation Phases
Phase 1: TypeScript Changes
src/commands/run.ts- extendexecutePhase()to set:SEQUANT_ORCHESTRATOR=fullsolveSEQUANT_PHASE={current_phase}SEQUANT_ISSUE,SEQUANT_WORKTREE)Phase 2: Skill Updates
2. Update
.claude/skills/exec/SKILL.md- conditional pre-flight checks3. Update
.claude/skills/test/SKILL.md- skip issue fetch when orchestrated4. Update
.claude/skills/qa/SKILL.md- reduce git sync checks5. Update
.claude/skills/loop/SKILL.md- same patternPhase 3: Documentation
6. Add "Orchestration Context" section to each skill header
7. Update
.claude/skills/fullsolve/SKILL.mdto document context behaviorKey Decisions
/specchanges/loopchangesAssumptions to Validate
query()callsEstimated Effort
/fullsolverun on test issueRecommended Workflow
Phases:
exec → qaQuality Loop: disabled
Plan generated by
/specworkflowfeat(#40): add orchestration context awareness to skills
admarble commentedon Jan 10, 2026
/exec Progress Update
AC Coverage
/fullsolveto set context/execto check context and skip redundant steps/testand/qasimilarlyCoverage: 5/5 AC items fully met
Implementation Summary
Environment Variables Added:
SEQUANT_ORCHESTRATOR- Identifies the orchestrator (e.g.,sequant-run)SEQUANT_PHASE- Current phase being executedSEQUANT_ISSUE- Issue number (already existed)SEQUANT_WORKTREE- Worktree path (already existed)Skills Updated:
/exec- Orchestration context section with conditional pre-flight checks and worktree handling/test- Conditional issue fetch and GitHub comments/qa- Conditional pre-flight sync check and worktree location/loop- Conditional worktree lookup and GitHub comments/fullsolve- Documentation of orchestrator roleFiles Changed
src/commands/run.ts(+5 lines).claude/skills/exec/SKILL.md(+43 lines).claude/skills/test/SKILL.md(+39 lines).claude/skills/qa/SKILL.md(+42 lines).claude/skills/loop/SKILL.md(+30 lines).claude/skills/fullsolve/SKILL.md(+25 lines)Quality Checks
npm test: 236 tests passednpm run build: TypeScript compiles successfullyPR Status
Created: #52
Progress update generated by
/execworkflowfeat(#40): add orchestration context awareness to skills (#52)
chore: release v1.3.0 - orchestration context, smoke tests, configura…
feat(#40): add orchestration context awareness to skills