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,34 @@
# Behavior Preservation Checklist
Use only the sections relevant to the refactor.
## Public/API contracts
- Route paths and HTTP methods unchanged unless authorized.
- Request fields, defaults, validation semantics, and content types unchanged.
- Response fields/types/status codes/error shapes unchanged.
- Authentication and authorization requirements unchanged.
- Pagination/filter/sort/order semantics unchanged.
## Frontend contracts
- Route/navigation behavior unchanged.
- Public component props/events unchanged where callers depend on them.
- Loading, empty, error, success, disabled, and validation states preserved.
- Forms submit the same domain payloads and retain required accessibility behavior.
- Existing approved visual behavior is not redesigned incidentally.
## Data/persistence
- Schema unchanged unless explicitly part of scope.
- Existing rows retain the same meaning.
- Transaction/commit/rollback behavior remains equivalent.
- Serialization/deserialization behavior remains equivalent.
- Migration history is not rewritten.
## Runtime/integration
- Environment/configuration names unchanged.
- Startup/import/entry-point paths remain valid.
- Docker/Gunicorn/nginx/CI/scripts consuming moved code are updated safely.
- External-service contracts and side effects are preserved.
## Operational
- No branch switches, commits, pushes, deploys, resets, or destructive state changes without authority.
- No unrelated dependency churn or generated-file noise.
@@ -0,0 +1,37 @@
# Refactor Validation
A safe refactor should be evaluated against its **pre-change baseline**, not only against an ideal green suite.
## Before
Record, where available:
- targeted test results;
- broader test results;
- lint/type/build results;
- browser/visual state if relevant;
- migration/config/runtime checks if relevant;
- known existing failures and warnings.
## During
After each meaningful structural step:
- run the narrowest relevant test/check;
- verify imports/exports/routes/registration still resolve;
- inspect unexpected diff/churn;
- stop and correct regressions before continuing.
## After
Run the strongest practical combination of:
- targeted tests;
- broader backend/frontend tests;
- lint/type/build;
- API contract tests;
- migration/config/startup checks;
- visual/browser checks where rendered behavior could change;
- `git diff --check` or repository equivalent;
- final reference/search check before deleting old symbols/files.
## Result classification
- **Verified preserved:** required checks ran and no behavioral regression was found.
- **Preserved with known baseline failures:** no new failures beyond documented pre-existing ones.
- **Partially verified:** some required checks were unavailable; state exactly which.
- **Behavior changed:** identify the exact observable difference and whether it is authorized.
- **Blocked:** equivalence cannot be established safely with available evidence.