| name | laravel-evidence-risk-review-plan |
| description | Continue or resume the padosoft/laravel-evidence-risk-review package implementation. Use when working in this repo, when context was compacted or lost, or when enforcing the branch, PR, Copilot review, documentation, testing, Laravel package, standalone-agnostic, default-OFF, and release rules. |
Laravel Evidence Risk Review Plan
This is the full repo-local skill. Keep the Claude/Copilot summary at .claude/skills/laravel-evidence-risk-review-plan/SKILL.md in sync when changing process rules.
Start Here
Read these files before editing application code:
AGENTS.md
CLAUDE.md
docs/IMPLEMENTATION_PLAN.md
docs/RULES.md
docs/PROGRESS.md
docs/LESSON.md
The canonical full specification is saved at:
%USERPROFILE%\Downloads\padosoft-laravel-evidence-risk-review-SPEC-PLAN.md
If that file is unavailable, continue from docs/IMPLEMENTATION_PLAN.md and the latest docs/PROGRESS.md entry.
Procedure
Temporary review strategy override from 2026-06-14: while completing W3-W8, do not launch local Copilot, GitHub Copilot, or Codex reviews for every W/subtask. Keep local gates, PRs, merges, and CI checks. Run one deep AI review over the completed roadmap before final hardening/release. If a review was already running before the override, fix valid findings already received but do not request another pass.
- Run
git status --short --branch before changing files.
- Re-read
docs/LESSON.md and pass its relevant contents to any background worker.
- Work only on the current macro/subtask branch.
- Define objective, implementation details, and guardrails for the slice.
- Keep public adapters thin and route all business behavior through the core services.
- Preserve standalone-agnostic boundaries.
- Add or update tests with the change.
- Run relevant local gates.
- While the temporary override is active, skip per-task local Copilot review and record that the deep review is deferred to the final roadmap pass. When the override is removed, run local Copilot review on the full diff versus
origin/main in report-only mode: use stdin without --autopilot, do not use --yolo; the prompt must say not to edit files, not to run shell commands, not to stage files, not to commit, focus on correctness, tests, security, Laravel package conventions, standalone-agnostic boundaries, default-OFF behavior, and missing edge cases, and return either no findings or a concise numbered list of actionable findings.
- After any local Copilot review, run
git status and inspect any diff before staging. Copilot CLI can still attempt filesystem edits despite report-only instructions; keep only intentional changes.
- Update
docs/PROGRESS.md.
- Update
docs/LESSON.md when learning something durable.
- While the temporary override is active, do not use per-PR Copilot/Codex review loops; defer AI review to the final deep pass.
- If the temporary override is removed, use
.claude/skills/copilot-pr-review-loop/SKILL.md and .claude/skills/codex-pr-review-fallback/SKILL.md as documented.
- If remote PR/Copilot/Codex/CI steps cannot run, record the blocker and next action.
CI note: before W7, the remote CI gate means no required checks are failing or pending. W7 introduces the GitHub Actions workflow; after that, every PR must wait for configured CI to pass.
Guardrails
- No AskMyDocs references or dependencies.
- No default network calls in tests.
- API/MCP/LLM default-OFF paths tested.
- Heavy checks respect
BudgetMeter.
- Review log append-only.
- Unknown/invalid states fail loudly.
- UI tasks, if any, require Playwright interaction coverage.
- Keep
phpunit.xml aligned with new test directories, including Feature and opt-in Live suites.
- Use
#[WithConfig(..., defer: false)] for Testbench config that must exist before provider boot.
- Run Redocly lint for OpenAPI changes and YAML lint for workflow changes.
- After W7, remote GitHub Actions CI must pass before merge.
Copilot Review Fallback
Use .claude/skills/copilot-pr-review-loop/SKILL.md for the GitHub Copilot PR loop. Prefer gh pr create --reviewer '@copilot'; for an existing PR try gh pr edit <PR> --add-reviewer '@copilot', then gh pr edit <PR> --add-reviewer copilot-pull-request-reviewer if Copilot cannot be resolved or the command no-ops. Quote @copilot in PowerShell. Verify with requested_reviewers and PR review/comment JSON. Use the GraphQL/API fallbacks in AGENTS.md only as attempts; command success is not enough unless Copilot appears in verification output.
After a fix push, request/re-request Copilot unless an automatic review-on-push ruleset visibly produced a fresh review. Copilot has answered only when review summaries, issue comments, inline comments, or reviewThreads include a Copilot author; prefer comments/reviews tied to the current headRefOid.
If Copilot remains unavailable because of quota, budget, access, or prolonged non-response, switch to ChatGPT Codex Connector: comment @codex review, verify chatgpt-codex-connector[bot] responds in PR reviews/comments/reactions, and treat actionable findings as the remote AI review gate for that cycle.