You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commit a4eec13 (feat(#411): canary invariant harness Phase 1) added src/backend/canary/ but did not add a corresponding COPY line to docker/backend/Dockerfile. The backend container fails to start with:
File "/app/routers/canary.py", line 21, in <module>
from canary import INVARIANTS
ModuleNotFoundError: No module named 'canary'
Root Cause
docker/backend/Dockerfile copies source directories explicitly. The new canary/ package was not added:
# Existing copies:COPY ../../src/backend/routers /app/routers/
COPY ../../src/backend/services /app/services/
COPY ../../src/backend/db /app/db/
# Missing:COPY ../../src/backend/canary /app/canary/ ← not present in a4eec13
Fix
Add to docker/backend/Dockerfile after the existing COPY block:
COPY ../../src/backend/canary /app/canary/
Impact
construct instance attempted to deploy a4eec13, backend failed to start, rolled back to 7b95c46. No data loss.
Reproduction
git checkout a4eec13
docker compose build --no-cache backend
docker compose up -d backend
docker logs trinity-backend # ModuleNotFoundError: No module named 'canary'
Closing — already fixed by commit 62cc7495 ("fix(docker): add missing COPY for canary/ package in backend Dockerfile (#768)"). Same bug, different PR number. The current docker/backend/Dockerfile (line 57) has COPY ../../src/backend/canary /app/canary/ and the chmod block (lines 65–66) includes the package. Reopen if the breakage came back.
Correction on the earlier comment — premature close. Fix 62cc7495 is merged to dev only, not yet to main. Reopening + relabeling status-in-dev per the team rule that issues close only on main merge (i.e. at release cut).
Activity
dolho commentedon May 14, 2026
Closing — already fixed by commit
62cc7495("fix(docker): add missing COPY for canary/ package in backend Dockerfile (#768)"). Same bug, different PR number. The currentdocker/backend/Dockerfile(line 57) hasCOPY ../../src/backend/canary /app/canary/and the chmod block (lines 65–66) includes the package. Reopen if the breakage came back.dolho commentedon May 14, 2026
Correction on the earlier comment — premature close. Fix
62cc7495is merged to dev only, not yet to main. Reopening + relabelingstatus-in-devper the team rule that issues close only on main merge (i.e. at release cut).vybe commentedon Jun 1, 2026
Shipped in v0.6.0 (released via #998).
feat(skills): a gated skill is refused inside the agent unless its ru…
fix(skill-gate): review fixes — the card shows exactly what runs, a l…
fix(skill-gate): close the #3208 validation gaps before the gate map …
test(gates): existing gate worlds' approvers can open the agent; shap…
Release: v1.0.0 (#3853)