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,74 @@
# Deployment Gates
Use this as a coverage guide. Apply only gates relevant to the repository/deployment model.
## Release identity
- Intended source commit/tag/release known
- Working tree/release source acceptable under repository rules
- Built artifact/image maps to intended source
- Immutable tag/digest available when project requires it
- Previous known-good release identified
## Validation
- Required CI gates passed
- Relevant backend tests passed
- Relevant frontend tests passed
- Lint/static checks passed or accepted findings documented
- Production build succeeds
- Container/config syntax validation succeeds
## Runtime/config
- Supported runtime versions
- Required environment keys present
- Production mode/debug settings correct
- Secrets sourced from approved location
- No secret values printed into logs/report
- Networks, ports, volumes and permissions coherent
- Resource/disk capacity acceptable where verifiable
## Database/migrations
- Current revision known
- Target revision known
- Migration delta inspected
- Existing-data constraints considered
- Lock/downtime risk considered
- Backup/recovery gate appropriate to migration risk
- Rollback compatibility understood
- Migration validated on disposable/restored DB where feasible
## Artifact/container/process
- Exact image/package exists
- Image architecture/runtime compatible
- Pull/build succeeds
- Services start without restart loop
- Health/readiness becomes healthy
- Persistent volumes remain mounted correctly
## Reverse proxy/TLS
- Expected hostname known
- Proxy routes to correct service/port/network
- HTTPS works through the real public/internal entry point
- Certificate valid for hostname
- HTTP→HTTPS behavior correct where intended
- Forwarded headers/proxy trust match app assumptions
## Smoke tests
- Landing/API health path
- Authentication path when safe test account exists
- Core protected read path
- Core write path only when approved safe test mechanism exists
- Frontend static assets/API requests
- Critical external service where required
## Logs/observability
- No new fatal/repeated error pattern
- App/proxy/database logs checked where available
- Monitoring/alerts remain active
- Backup timer/job still healthy
## Rollback/recovery
- Previous release known
- Command/workflow documented
- Application rollback compatible with new schema
- Data restore authority and backup location known for destructive failure
- Exact deployed release recorded
@@ -0,0 +1,22 @@
# Migration Safety Notes
Treat migrations as a production data operation, not merely part of container startup.
Before applying a migration, inspect the revisions between current and target state. Pay special attention to:
- dropping tables/columns/indexes/constraints;
- renaming without compatibility window;
- adding required columns to populated tables;
- new unique constraints over existing data;
- foreign keys with orphaned historical rows;
- enum/type narrowing or conversion;
- large backfills or full-table rewrites;
- long-running DDL/lock behavior;
- application versions that cannot operate before/after the migration;
- downgrade steps that do not restore lost data.
Prefer expand/migrate/contract patterns for changes that must support rolling or reversible deployments.
A syntactically valid migration is not proof that it is safe against production data.
If migration validation cannot be performed, report the exact uncertainty and do not call the data gate passed.