Skip to content

Ci/image hardening - #28

Closed
Mancolt wants to merge 3 commits into
myxdvz:mainfrom
Mancolt:ci/image-hardening
Closed

Mancolt wants to merge 3 commits into
myxdvz:mainfrom
Mancolt:ci/image-hardening

Conversation

@Mancolt

@Mancolt Mancolt commented Sep 15, 2026

Copy link
Copy Markdown

No description provided.

Mancolt and others added 3 commits September 14, 2026 20:01
…s, regression replay

Maintained fork of myxdvz/booktree (upstream inactive since 2026-03). This commit changes no runtime behaviour;
it sets the project up for public maintenance:

- image ghcr.io/mancolt/booktree built for amd64+arm64 with SBOM/provenance; base pinned to alpine:3.21;
  rapidfuzz pinned so fuzzy scores cannot drift
- CI: ruff, unit tests, bandit, pip-audit, gitleaks, Trivy image scan; Dependabot for pip, actions, docker
- SECURITY.md, CONTRIBUTING.md (compatibility promise, never write under the source path, MAM call budget)
- docs/FORK.md: output contract kept byte-compatible, defect roadmap mapped to upstream issues
- tests/replay: offline replay of historical run logs (search keys, cached Audible/MAM ranking, target paths,
  OPF, stdout transcripts) + compare tool; frozen baseline summary for the upstream code
- .claude/agents: correctness/efficiency and security review agents used before every commit

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JdymXZSW4aRWMFREPAFzkZ
…-arch PR builds, authenticate Trivy pull

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JdymXZSW4aRWMFREPAFzkZ
Trivy flagged Alpine's py3-setuptools 70.3.0 (CVE-2025-47273) and py3-msgpack (GHSA-6v7p-g79w-8964), both
pulled in only by 'apk add py3-pip'. The venv seeds its own pip via ensurepip, so the system packages are
unnecessary; the venv's pip is removed after installing requirements so the runtime image carries no installer.
Also 'apk upgrade' the base and pin build args to their CI defaults. Runtime unchanged: Python 3.12, same
dependency versions; corpus replay identical to baseline.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JdymXZSW4aRWMFREPAFzkZ

@Mancolt Mancolt left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed updates

@Mancolt Mancolt closed this Sep 15, 2026
@Mancolt

Mancolt commented Sep 15, 2026

Copy link
Copy Markdown
Author

Opened against the wrong base by mistake, this is a fork; closing

@Mancolt
Mancolt deleted the ci/image-hardening branch September 15, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant