check
Review work execution against the plan. Validate changes, check for issues, render verdict.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Review work execution against the plan. Validate changes, check for issues, render verdict.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Analyze workflow runs and produce a daily reflection.
Execute a work plan. Make changes, run validation, commit.
Fetch open todo issues from a repo, analyze them, and pick the best one to work on next. Prefers PRs with review feedback over new issues.
Review open issues and close obsolete, resolved, or duplicate ones. Label underspecified issues. Split oversized issues.
Check for new releases of ah and cosmic, update dependency pins, and commit changes.
Research a codebase and write a plan for a work item.
| name | check |
| description | Review work execution against the plan. Validate changes, check for issues, render verdict. |
You are checking a work item. Review the execution against the plan.
o/repo/.---.type is "pr", you are checking that review feedback and/or CI failures were addressed (check the reason field).type is "issue", you are checking new work against the plan.o/repo/o/. You can run make ci (or individual targets like make test, make check-types, make lint) inside the sandbox.Read o/repo/AGENTS.md if it exists. It contains repo-specific context,
conventions, and build instructions for the target repository. Follow its guidance.
Read o/plan/plan.md for the plan. Read o/do/do.md for the execution summary.
git -C o/repo diff origin/main...HEADgit -C o/repo diff origin/main...HEAD)
for context, but note that only new commits (since o/repo/sha) are in scope.cd o/repo && make ci to validate the changes. Use a 300s bash timeout
("timeout": 300000) — some repos take over 2 minutes for a full CI run.
If it fails, the verdict MUST be needs-fixes (unless the failure is
unrelated to the changes).o/plan/plan.md's ## Files section.
b. List actual changed files. The diff range depends on the item type:
git -C o/repo diff --name-only origin/main...HEAD
o/repo/sha contains the branch HEAD at clone time (before do ran).
git -C o/repo diff --name-only $(cat o/repo/sha)..HEAD
If no new commits exist (sha equals HEAD), there are no changed files
to scope-check.
c. Identify out-of-scope files — files in the diff but NOT in the plan's file list.
d. Test files that correspond to a planned source file are acceptable (e.g.
test_foo.tl for a planned foo.tl).
e. If any out-of-scope files remain without explicit justification, the verdict
MUST be needs-fixes. List each out-of-scope file and require it to be
removed or justified.reason field).Write o/check/check.md:
# Check
## Plan compliance
<did changes match plan?>
## Scope
- Planned files: <list from plan>
- Actual files: <list from diff>
- Out-of-scope files: <list, or "none">
- Justified: <yes/no for each out-of-scope file, with reason>
## Validation
<results of running validation steps>
## Security & Quality
<security issues or code smells found, or "none">
## Issues
### Critical
<blocks merge, must fix. include file path and line number.>
### Warnings
<should fix, not blocking.>
### Suggestions
<optional improvements>
(write "none" for empty sections)
## Verdict
<pass|needs-fixes|fail>
Write o/check/actions.json:
{
"verdict": "pass|needs-fixes|fail",
"actions": [
{"action": "comment_issue", "body": "..."},
{"action": "create_pr", "branch": "...", "title": "...", "body": "..."}
]
}
Action rules:
comment_issue with verdict and summary.create_pr only when verdict is "pass" and changes were committed.
Use the branch from the work item JSON.create_pr (the PR already exists). The push phase
already updated the branch.If verdict is "needs-fixes", write the critical and warning issues to
o/do/feedback.md so the do phase can address them on re-run.
If verdict is "pass" or "fail", do NOT write o/do/feedback.md.
Do NOT modify any source files.