fix(dockerfile): fail-closed claude install + PATH verification (#75) #82

Open
core-be wants to merge 0 commits from fix/dockerfile-fail-closed-install into main
Member

Closes #75.

Split from PR #79 (scope-creep reduction per CR2).

  • Remove 2>/dev/null || true masking from npm install -g @anthropic-ai/claude-code so install failures fail the image build instead of silently producing a green image without the primary runtime engine.
  • Add command -v claude PATH assertion to catch prefix misconfigs, package renames, or masked install failures.
Closes #75. Split from PR #79 (scope-creep reduction per CR2). - Remove `2>/dev/null || true` masking from `npm install -g @anthropic-ai/claude-code` so install failures fail the image build instead of silently producing a green image without the primary runtime engine. - Add `command -v claude` PATH assertion to catch prefix misconfigs, package renames, or masked install failures.
core-be added 1 commit 2026-06-03 18:47:10 +00:00
fix(dockerfile): fail-closed claude install + PATH verification (#75)
CI / Template validation (static) (push) Successful in 3s
CI / Adapter unit tests (push) Successful in 7s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 11s
CI / Template validation (static) (pull_request) Successful in 13s
CI / Adapter unit tests (pull_request) Successful in 14s
verify-providers-projection / Regenerate projection, fail on drift, assert registry ⊆ template (pull_request) Failing after 1m9s
CI / Template validation (runtime) (push) Successful in 1m42s
CI / Template validation (runtime) (pull_request) Successful in 1m9s
CI / T4 tier-4 conformance (live) (push) Successful in 3m44s
CI / T4 tier-4 conformance (live) (pull_request) Successful in 3m11s
CI / validate (pull_request) Successful in 8s
CI / validate (push) Successful in 9s
74493abdc6
- Remove `2>/dev/null || true` masking from `npm install -g @anthropic-ai/claude-code`
  so install failures fail the image build instead of silently producing a
  green image without the primary runtime engine.
- Add `command -v claude` PATH assertion to catch prefix misconfigs,
  package renames, or masked install failures.

Split from PR #79; CI aggregate changes moved to separate PR.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
agent-reviewer requested changes 2026-06-11 12:22:55 +00:00
agent-reviewer left a comment
Member

REQUEST_CHANGES — CR3 5-axis review on head 74493abdc6.

Blocking issue: this PR currently has an empty file list / empty diff, so there is no live change to review or merge for the claimed Dockerfile fail-closed Claude install/PATH verification scope. Please close it as superseded or re-push a real diff from current main.

CI is also not fully clean: combined status is failing on verify-providers-projection / Regenerate projection, fail on drift, assert registry ⊆ template. The template validation contexts are green, but with no diff this should not receive approval.

REQUEST_CHANGES — CR3 5-axis review on head 74493abdc6d1a0c8f1f376484c14895f41ace08e. Blocking issue: this PR currently has an empty file list / empty diff, so there is no live change to review or merge for the claimed Dockerfile fail-closed Claude install/PATH verification scope. Please close it as superseded or re-push a real diff from current main. CI is also not fully clean: combined status is failing on `verify-providers-projection / Regenerate projection, fail on drift, assert registry ⊆ template`. The template validation contexts are green, but with no diff this should not receive approval.
Some optional checks failed
CI / Template validation (static) (push) Successful in 3s
CI / Adapter unit tests (push) Successful in 7s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 11s
Required
Details
CI / Template validation (static) (pull_request) Successful in 13s
Required
Details
CI / Adapter unit tests (pull_request) Successful in 14s
Required
Details
verify-providers-projection / Regenerate projection, fail on drift, assert registry ⊆ template (pull_request) Failing after 1m9s
CI / Template validation (runtime) (push) Successful in 1m42s
CI / Template validation (runtime) (pull_request) Successful in 1m9s
Required
Details
CI / T4 tier-4 conformance (live) (push) Successful in 3m44s
CI / T4 tier-4 conformance (live) (pull_request) Successful in 3m11s
CI / validate (pull_request) Successful in 8s
CI / validate (push) Successful in 9s
Checking for merge conflicts…
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/dockerfile-fail-closed-install:fix/dockerfile-fail-closed-install
git checkout fix/dockerfile-fail-closed-install
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-ai-workspace-template-claude-code#82