com um clique
grace-execute
// Execute the full GRACE development plan step by step with controller-managed context packets, verification-plan excerpts, scoped reviews, level-based verification, and commits after validated sequential steps.
// Execute the full GRACE development plan step by step with controller-managed context packets, verification-plan excerpts, scoped reviews, level-based verification, and commits after validated sequential steps.
Operate the optional `grace` CLI against a GRACE project. Use when you want to lint GRACE artifacts, explain/remediate lint issues, check autonomy readiness, inspect project or module health, inspect verification entries, resolve modules from names or file paths, inspect shared/public module context, or inspect file-local/private markup through `grace lint`, `grace status`, `grace module`, `grace verification`, and `grace file show`.
Complete GRACE methodology reference. Use when explaining GRACE to users, onboarding new projects, or when you need to understand the GRACE framework - its principles, semantic markup, knowledge graphs, contracts, testing, and unique tag conventions.
Bootstrap GRACE framework structure for a new project. Use when starting a new project with GRACE methodology - creates docs/ directory, AGENTS.md, and XML templates for requirements, technology, development plan, verification plan, knowledge graph, and operational packet contracts.
Execute a GRACE development plan in controller-managed parallel waves with selectable safety profiles, verification-plan excerpts, batched shared-artifact sync, and scoped reviews.
Create GRACE subagent presets for the current agent shell. Use when you want GRACE worker and reviewer agent files scaffolded for Claude Code, OpenCode, Codex, or another shell.
Show the current health status of a GRACE project. Use to get an overview of project artifacts, codebase metrics, knowledge graph health, verification coverage, and suggested next actions.
| name | grace-execute |
| description | Execute the full GRACE development plan step by step with controller-managed context packets, verification-plan excerpts, scoped reviews, level-based verification, and commits after validated sequential steps. |
Execute the development plan step by step, generating code for each pending module with validation and commits.
docs/development-plan.xml must exist with an ImplementationOrder sectiondocs/knowledge-graph.xml must existdocs/verification-plan.xml should exist and define module-level checks for the modules you plan to executedocs/operational-packets.xml exists, use it as the canonical packet and delta reference$grace-plan themselves before large execution runs$grace-verification themselves before large execution runsKeep execution sequential, but keep context handling and verification disciplined.
Read docs/development-plan.xml, docs/knowledge-graph.xml, and docs/verification-plan.xml, then build the execution queue.
When the optional grace CLI is available, grace module show M-XXX --path <project-root> --with verification is a fast way to seed the shared/public portion of a step packet, and grace file show <path> --path <project-root> --contracts --blocks is a fast way to inspect local/private details for the current write scope.
Phase-N elements where status="pending"step-N elements in orderdocs/technology.xml when the project defines onedocs/development-plan.xmldocs/knowledge-graph.xmlDEPENDSdocs/verification-plan.xml, including module-local commands, critical scenarios, required log markers, and test-file targetsExecutionPacket, GraphDelta, and VerificationDelta shapes from docs/operational-packets.xml when that file exists.Execution Queue:
Phase N: phase name
Step order: module ID - step description
Step order: module ID - step description
Phase N+1: ...
For each approved step, process exactly one module at a time.
Follow this protocol for the assigned module:
grace(MODULE_ID): short description of what was generated
Phase N, Step order
Module: module name (module path)
Contract: one-line purpose from development-plan.xml
After generating, review the step using the smallest safe scope:
DEPENDS?If critical issues are found:
$grace-reviewer audit only if local evidence suggests wider driftIf implementation or review fails, do not loop indefinitely.
If only minor issues are found, note them and proceed.
After the implementation commit from Step 2a:
docs/knowledge-graph.xml from the accepted graph sync output or graph delta proposaldocs/verification-plan.xml from the accepted verification delta proposaldocs/development-plan.xml if the step format supports explicit completion stategrace(meta): sync after MODULE_ID
After each step, print:
--- Step order/total complete ---
Module: MODULE_ID (path)
Status: DONE
Review: scoped pass / scoped pass with N minor notes / escalated audit pass
Verification: step-level passed / follow-up required at phase level
Checkpoint: assumptions confirmed / retry budget used N / stop trigger none
Implementation commit: hash
Meta commit: hash (if any)
Remaining: count steps
After all steps in a phase are done:
docs/development-plan.xml: set the Phase-N element's status attribute to donedocs/verification-plan.xml$grace-refresh to verify graph and verification-reference integrity; prefer targeted refresh if the touched scope is well bounded, escalate to full refresh if drift is suspected$grace-reviewer audit if the phase introduced non-trivial shared-artifact changes or drift riskgrace lint --profile autonomous --path <project-root> when the phase materially changed verification, packets, or execution policygrace(plan): mark Phase N "phase name" as done
After all phases are executed:
=== EXECUTION COMPLETE ===
Phases executed: count
Modules generated: count
Total commits: count
Knowledge graph: synced
Verification: phase checks passed / follow-up required
$grace-verification themselves before continuingdocs/development-plan.xml and docs/verification-plan.xml are shared sources of truth; never deviate from the contract or from required evidence silently