Import reviewed specialist skill packages (FORGE-F018)

This commit is contained in:
rob
2026-12-02 12:11:59 +00:00
parent 31f8edf5cb
commit 1fd552cf32
49 changed files with 3774 additions and 0 deletions
@@ -0,0 +1,49 @@
# Finding Quality and Severity
Before reporting a finding, verify:
## Evidence
- Is the issue caused or exposed by the reviewed change?
- Is there a concrete execution/data/runtime path?
- Did you inspect enough surrounding code to rule out an existing guard/helper?
- Is the behavior actually contrary to repository requirements/tests/decisions?
- Can the condition occur with realistic inputs/state?
If any answer is unknown, gather more evidence or lower confidence. Do not present speculation as fact.
## Good finding structure
**[Severity] Short title** — `file/area`
Explain the failure in one compact paragraph: the triggering condition, observed consequence, and why the changed code permits it. Mention validation evidence or limitations where useful.
## Severity prompts
### Critical
- Realistic severe compromise?
- Irreversible/catastrophic data loss?
- Production-wide outage with a direct path?
### High
- Authorization/security bypass?
- Data corruption/loss?
- Core workflow broken for common inputs?
- Migration/deployment likely to fail broadly?
### Medium
- Real but narrower functional/reliability defect?
- Edge case that affects legitimate users/data?
- Maintainability flaw with a concrete near-term failure mode?
### Low
- Minor concrete defect with limited user/operational impact?
Do not use severity as implementation priority unless repository conventions explicitly map the two.
## Reject these weak findings
- Pure naming/style preference.
- "Could maybe fail" without a path.
- Generic security advice unrelated to the diff.
- Existing behavior unchanged by the patch, unless the patch newly relies on it in an unsafe way.
- Missing tests for trivial implementation details.
- A design alternative presented as a correctness bug.
@@ -0,0 +1,57 @@
# Code Review Checklist
Use selectively based on the diff. Do not turn this into a mechanical list of comments.
## Scope and context
- Confirm branch/base/commit range or exact working-tree diff.
- Read repository instructions/context and accepted task intent.
- Identify high-risk changed areas first.
## Correctness
- Trace changed conditionals and state transitions.
- Check edge/null/empty/error cases.
- Check changed callers and public contracts.
- Verify retries/side effects are not duplicated or skipped.
## Auth/security
- Backend authentication present where required.
- Role/ownership/object authorization preserved.
- No secrets/sensitive data leaked.
- No obvious injection/path/redirect/deserialization exposure introduced.
## API/data contracts
- Request/response/status shapes remain coherent.
- Frontend/backend field expectations match.
- Validation covers boundaries and malformed input.
- Pagination/filter/order/date semantics remain stable.
## Database/migrations
- Model and migration agree.
- Existing rows survive new constraints/defaults.
- FK/unique/index/cascade semantics are intentional.
- Upgrade/deployment order is safe.
- Downgrade is coherent where repository practice requires it.
## Frontend
- Props/context/hook contracts preserved.
- Async state handles race/error/loading paths.
- Forms send correct payloads.
- Route/navigation/auth behavior remains correct.
- Interaction changes do not create obvious accessibility regressions.
## Runtime/config
- Env/config names and defaults remain compatible.
- Entry points/imports/startup commands still work.
- Docker/CI/deployment wiring matches changed paths/dependencies.
- No secret committed or logged.
## Tests
- Meaningful changed behavior has regression coverage.
- Negative/auth/error paths are tested where risk warrants it.
- Tests would actually fail for the suspected regression.
## Final signal check
- Remove speculative or stylistic findings.
- Merge duplicates sharing one root cause.
- Order findings by severity/impact.
- It is acceptable to return no findings.