-
Notifications
You must be signed in to change notification settings - Fork 1
v2: Enhance validation with objective delegation, GitHub checks, and failure recovery #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -66,7 +66,7 @@ You will validate that the just-completed assignment has successfully met all it | |||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| It is important to the final quality of our product for everyone to perform their assignment exactly as specified. | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| Validation **must be delegated to an independent quality agent** (e.g., `qa-test-engineer`) who was not responsible for the original implementation work. This ensures objective evaluation and prevents self-validation bias. | ||||||||||||||||||||||||||
| **MANDATORY INDEPENDENT VALIDATION:** Validation **MUST** be delegated to an independent `qa-test-engineer` agent who was **NOT** responsible for the original implementation work. This ensures objective evaluation, prevents self-validation bias, and provides unbiased quality assessment. The qa-test-engineer must operate autonomously with no influence from the implementing agent. | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| ### Detailed Steps | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
|
|
@@ -101,9 +101,12 @@ Validation **must be delegated to an independent quality agent** (e.g., `qa-test | |||||||||||||||||||||||||
| - Check documentation is present | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| 3. For GitHub operations (issue/PR/project changes): | ||||||||||||||||||||||||||
| - Delegate a `github-expert` (or equivalent) agent to query live repository state (e.g., fetch the created issue or PR) | ||||||||||||||||||||||||||
| - Confirm existence, title, labels, blocking relationships, and milestone links | ||||||||||||||||||||||||||
| - If the resource is missing or mismatched, mark validation as **FAILED** and trigger `recover-from-error` | ||||||||||||||||||||||||||
| - **MANDATORY:** Delegate a `github-expert` agent to perform live GitHub API queries for real-state verification | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
| - **MANDATORY:** Delegate a `github-expert` agent to perform live GitHub API queries for real-state verification | |
| - **MANDATORY:** Delegate a `github-expert` agent to perform live GitHub API queries for real-time state verification |
Copilot
AI
Oct 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The command examples use placeholder syntax without clear indication of how to substitute actual values. Consider adding a note that {owner}, {repo}, {number}, and {project-number} should be replaced with actual values from the repository context.
| - **MANDATORY:** Delegate a `github-expert` agent to perform live GitHub API queries for real-state verification | |
| - **MANDATORY:** Delegate a `github-expert` agent to perform live GitHub API queries for real-state verification | |
| - **Note:** In the following command examples, replace `{owner}`, `{repo}`, `{number}`, and `{project-number}` with the actual values from your repository context. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation for this list of steps is inconsistent with other lists in the document. This list uses 4 spaces for indentation, while other lists (e.g., under step 2 on line 98) use 3 spaces. For consistency and correct rendering by markdown parsers, please adjust the indentation to 3 spaces.
| - **MANDATORY:** Delegate a `github-expert` agent to perform live GitHub API queries for real-state verification | |
| - Query repository state using GitHub APIs: `gh api repos/{owner}/{repo}/issues/{number}`, `gh pr view {number}`, `gh project item-list {project-number}` | |
| - Verify existence, title, body, labels, assignees, milestone, blocking relationships, and linked issues/PRs | |
| - Cross-reference with assignment specifications to ensure exact match of requirements | |
| - **CRITICAL:** If any GitHub resource is missing, mismatched, or incorrectly configured, mark validation as **FAILED** and auto-trigger `recover-from-error` workflow | |
| - Document all API query results and comparisons in validation report for audit trail | |
| - **MANDATORY:** Delegate a `github-expert` agent to perform live GitHub API queries for real-state verification | |
| - Query repository state using GitHub APIs: `gh api repos/{owner}/{repo}/issues/{number}`, `gh pr view {number}`, `gh project item-list {project-number}` | |
| - Verify existence, title, body, labels, assignees, milestone, blocking relationships, and linked issues/PRs | |
| - Cross-reference with assignment specifications to ensure exact match of requirements | |
| - **CRITICAL:** If any GitHub resource is missing, mismatched, or incorrectly configured, mark validation as **FAILED** and auto-trigger `recover-from-error` workflow | |
| - Document all API query results and comparisons in validation report for audit trail |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation for this list of steps is inconsistent with other lists in the document. This list uses 4 spaces for indentation, while other lists (e.g., under step 4 on line 347) use 3 spaces. For consistency and correct rendering by markdown parsers, please adjust the indentation to 3 spaces.
| - **AUTO-TRIGGER:** Immediately invoke `recover-from-error` workflow with validation failure details | |
| - Do NOT proceed to next assignment until recovery is successful | |
| - Notify user of validation failure with specific remediation steps | |
| - Provide link to validation report and recovery workflow status | |
| - Request manual intervention only if automated recovery fails | |
| - **AUTO-TRIGGER:** Immediately invoke `recover-from-error` workflow with validation failure details | |
| - Do NOT proceed to next assignment until recovery is successful | |
| - Notify user of validation failure with specific remediation steps | |
| - Provide link to validation report and recovery workflow status | |
| - Request manual intervention only if automated recovery fails |
Copilot
AI
Oct 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The phrase 'untrusted' may have negative connotations. Consider using more neutral terminology such as 'unverified' or 'pending verification' to maintain professional tone while conveying the same validation requirement.
| - Bias reduction: Implementing agent outputs are treated as untrusted until independently verified | |
| - Bias reduction: Implementing agent outputs are treated as unverified until independently verified |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Consider replacing 'qa-test-engineer' with 'QA test engineer' for consistency with typical naming conventions, or ensure it matches the formal agent identifier used elsewhere in the system.