Skip to content

Commit f4e34f4

Browse files
andysnellclaude
andcommitted
Add .dockerignore and trim deny.toml unused license allowances (Task 9)
Task 9 quality-gate verification: added the .dockerignore flagged in Task 8's review (excludes target/, .git/, .superpowers/ etc. so the docker build context stays small — confirmed 1.5GB target/ down to 110KB transferred). cargo-deny check (run for the first time) flagged BSD-2-Clause, ISC, and Zlib as allowed-but-unused licenses; trimmed them per the no-blanket-allowance rule and added unused-allowed-license = "deny" so future unjustified entries fail loudly. All other gates (fmt, clippy -D warnings, cargo test, cargo test --doc, cargo nextest, musl release build, docker build) passed without needing source changes. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent a2cbbc3 commit f4e34f4

2 files changed

Lines changed: 34 additions & 3 deletions

File tree

.dockerignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Build artifacts (large; would bloat the docker build context)
2+
/target
3+
4+
# Local/IDE/AI folders
5+
/.idea/
6+
/.local/
7+
/.playwright-mcp/
8+
/.remember/
9+
/.superpowers/
10+
/.vscode/
11+
/.zed/
12+
/.git/
13+
/.github/
14+
15+
# Local/IDE/OS files
16+
*.local.json
17+
*.swo
18+
*.swp
19+
*.tmp
20+
*~
21+
.DS_Store*
22+
._*
23+
Thumbs.db
24+
25+
# Environment variable files
26+
.env
27+
*.env
28+
*.env.*
29+
!.env.dist

deny.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,18 @@
88
ignore = []
99

1010
[licenses]
11+
# Only licenses actually required to satisfy a dependency's license
12+
# expression are listed here (verified via `cargo deny list`). BSL-1.0
13+
# (ryu) and Unlicense (aho-corasick, memchr) are not listed because those
14+
# crates' license expressions are already satisfied by MIT/Apache-2.0.
1115
allow = [
1216
"MIT",
1317
"Apache-2.0",
1418
"Apache-2.0 WITH LLVM-exception",
15-
"BSD-2-Clause",
1619
"BSD-3-Clause",
17-
"ISC",
1820
"Unicode-3.0",
19-
"Zlib",
2021
]
22+
unused-allowed-license = "deny"
2123

2224
[bans]
2325
multiple-versions = "warn"

0 commit comments

Comments
 (0)