Examples
Spec to Slice to PR to Merge
create_research_briefcaptures the problem statement and evidence.create_spec_recordconverts it into an auditable spec artifact.create_slice_planandevaluate_slice_plan_readinessbreak the work into implementation units.- Queue and task tools track claim, update, and status transitions.
- GitHub and branching tools create pull-request records, update status, and plan dependent rebases.
- Policy, Discord approvals, and gates decide whether the work can merge.
Incident Remediation
create_review_findingcreate_remediation_planrun_gatesevaluate_sonar_quality_gate
Headless Maintenance Handoff
Use a JSON plan when DevPlat should continue repository maintenance without a Discord thread binding:
bash
npm run maintenance:headless -- --plan ./maintenance-plan.json --write-plan ./.devplat/state/next-maintenance-plan.jsonThe input plan contains the current continuation request and any explicit tool inputs that are safe to run. The handoff plan written by --write-plan contains the updated request with new artifact signals, so the next run can resume from current lifecycle evidence and stop at the next missing input or approval gate. Once that handoff file exists, local continuation can use the default state path and a single external tool input:
bash
npm run maintenance:headless -- --handoff --tool-input ./.devplat/state/next-tool-input.jsonnext-tool-input.json contains the selected toolName, that tool's params, and only needs artifactSignal when the tool response cannot derive the new lifecycle artifact signal.