-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.dockerignore
More file actions
73 lines (66 loc) · 2.03 KB
/
Copy path.dockerignore
File metadata and controls
73 lines (66 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Python caches
__pycache__/
*.py[cod]
*$py.class
.venv/
.uv/
# Tool caches
.tmp/
.mypy_cache/
.pytest_cache/
.ruff_cache/
# BMad planning artifacts + agent-tool dotdirs (not runtime assets)
_bmad/
_bmad-output/
upstream/
# Story 11.3.7 / AC1 / H7g: orchestrator-adapter's Dockerfile vendors the OMC
# source tree into its image so OMCRunner.__init__ (omc_runner.py:62) finds
# /app/upstream/omc at boot. Exception override (matches the
# !tests/fixtures/* idiom below). Other vendored trees under upstream/
# (e.g. upstream/clawhip) remain excluded — only orchestrator-adapter needs
# OMC, and we keep the ~48MB blast radius scoped accordingly.
!upstream/omc/
.agent/
.agents/
.claude/
.cursor/
.gemini/
.opencode/
.pi/
.omc/
# Git + CI metadata (not needed inside images)
.git/
.github/
# Test tree — not needed in runtime images (root-level and co-located per
# Architecture §line-344 pattern). **/tests/ supersedes the root tests/ line
# but both kept for belt-and-suspenders clarity.
**/tests/
# Exceptions: fixture images needed in Docker build context for separability
# and integration tests (Stories 2.15 / 3.5.4 / 5.16 / 5.18).
# Story 9.7 / AC11 (D2 unblock): scripted_worker_stub and auto_approval_stub
# were missing from the allowlist, causing Docker build to fail with
# "file not found" errors when building fixture images from the repo root.
!tests/fixtures/null_orchestrator/
!tests/fixtures/scripted_worker_stub/
!tests/fixtures/auto_approval_stub/
# PM-B14 (Story 9.7 pass-1): re-included fixture directories must NEVER
# contain .env files, *.pem certificates, id_rsa keys, or other secrets —
# they would bake silently into production Docker images. The secret-hygiene
# CI scan (packages/secret-hygiene) validates this path. Any new fixture
# directory added here must be reviewed for credentials before merging.
**/test_*.py
**/__pycache__/
# Docs + top-level non-runtime files
docs/
README.md
CHANGELOG.md
LICENSE
# Environment files (never include real secrets)
.env
.env.*
!.env.example
# OS / editor artifacts
.DS_Store
Thumbs.db
*.swp
*~