Loading...
Loading...
Gatekeeper Pipeline [Single Rule Source + Master Control Routing]. Only triggered manually via the `/gatekeeper` command (Agent automatic usage is prohibited). First locate the current step of the process, then dispatch to the corresponding sub-skill to continue; if no process exists, initiate `/gatekeeper-init` first.
npx skill4agent add x-js/gatekeeper gatekeeperThis document is the single rule source + master control routing for the iteration pipeline; the responsibilities of all sub-skills are listed in Section 8, and the overall rules are subject to the following sections. Version number = current Git branch name (obtained by readingonly; if failed/empty → prompt manual branch switch, prohibit using empty string/guessed value). Global Path Convention:git branch --show-currentalways refers to the Git repository root directory (whereProject Root/...is located, e.g.,AGENTS.md);Project Root/.gatekeeper/of thetemplate/skill refers to its own resource directory, and the two must not be confused.gatekeeper
/gatekeeperallow_implicit_invocation: falseagents/openai.yamlManual Requirement ConfirmationAgent High-Level DesignManual Review Traceability + ApprovalAgent Coding + Unit TestingAgent Dev Environment Testing (traceability in Part 3 of review.md)Manual Code Review Traceability + ApprovalManual Commit Merge + Staging DeploymentManual Staging Testing Verification (traceability in test.md)Manual-Assisted Production Deployment Finalizationrequirement.mdProject Root/.gatekeeper/history//gatekeeper-abortProject Root/.gatekeeper/history/${version number}/review.mdtest.mdreview.mdcrmeb/apidoc/| File | Readable | Agent Writable | Description |
|---|---|---|---|
| ✅ | ❌ Prohibited | Written manually, Agent cannot modify |
| ✅ | ❌ Prohibited | Phase master gate, only manual modification allowed |
| ✅ | ✅ | Agent high-level design output |
| ✅ | ✅ Only [Status] + [Rectification Result] columns | Status only allows Pending Rectification → Rectified Pending Review / No Rectification Needed |
| ✅ | ✅ Only [Status] + [Rectification Result] columns | Same as above |
| ✅ | ❌ Prohibited | Completed archive, completely ignored during iteration |
| ✅ | ❌ Prohibited | Global configuration, only manual modification allowed |
template/gatekeeperProject Root/.gatekeeper/${version number}/${version number}| Template | Instantiation Target | Generator | Generation Timing |
|---|---|---|---|
| requirement.md | Manual | Initialization ( |
| progress.md | Manual | Initialization ( |
| design.md | Agent | Phase 2 ( |
| review.md | Agent | Phase 5 ( |
| test.md | Agent | Phase 7 ( |
| Sub-skill | Command | Responsibility |
|---|---|---|
| | Create |
| | Read [Pending Rectification] issues in review/test, judge attribution first for staging, fix and fill in in a targeted manner, wait for manual review |
| | After confirming review is passed, execute current phase tasks and instantiate required templates |
| | Terminate: After checking traceability, mark and migrate to history |
| | Migrate to history after verifying that four items are complete for archiving |
Project Root/.gatekeeper/${version number}//gatekeeper-initprogress.mdreview.mdtest.md.init-incompletegatekeeper-init| Priority | Scenario | Dispatch |
|---|---|---|
| 1 | [Pending Rectification] exists in review/test | |
| 2 | Phase 1 Requirement Confirmation not completed | No sub-skill: Prompt manual filling of requirement.md |
| 3 | Phase 2 High-Level Design not completed | |
| 4 | Phase 3 Coding + Unit Testing not completed | |
| 5 | Phase 4 Dev Testing not completed | |
| 6 | Phase 5 Code Review not completed | |
| 7 | Phase 6 Commit Merge + Staging Deployment | No sub-skill: Manual execution of git (Agent does not execute) |
| 8 | Phase 7 Staging Testing not completed | |
| 9 | Phase 8 Finalization and archiving conditions are met | |
| 10 | All completed | Prompt manual personnel to archive or start a new iteration |
/gatekeeper-init.init-incomplete/gatekeeper