lib-process:shared--scene-context-builder
library/processes/shared/scene-context-builder overview
Assemble a "scene context" string for a subagent working on one task inside a multi-task plan. Answers four questions the subagent needs every time: where am I in the plan, who is running concurrently, what's next that I must NOT implement, and what did prior tasks already build. Extracted from the `buildSceneContext` helper in joe-habu/superbabysitter/process/subagent-tdd-loop.js (lines 69-144). Usage: ```js import { buildSceneContext } from '@a5c-ai/babysitter-library/processes/shared'; const scene = buildSceneContext({ task: plan.tasks[i], taskIndex: i, allTasks: plan.tasks, buildManifest, batchContext: null, // or { peerTasks, upcomingBatches, currentBatchIndex } in parallel mode }); ```
Attributes
Outgoing edges
- domain:software-engineering·DomainSoftware Engineering
- topic:test-driven-development·TopicTest-Driven Development
- topic:code-review-best-practices·TopicCode Review Best Practices
- workflow:code-review·Workflow
- workflow:feature-development·Workflow
- workflow:release-management·Workflow
- role:backend-engineer·RoleBackend Engineer
- role:tech-lead·RoleTech Lead
- role:qa-engineer·RoleQA Engineer
- skill-area:code-review-practice·SkillAreaCode Review Practice
- skill-area:e2e-testing·SkillAreaEnd-to-End Testing