Skip to content

Verify ARC/DinD detection mounts and clarify input-scope ownership - #10281

Merged
lpcox merged 4 commits into
mainfrom
copilot/verify-detection-input-scope-fail-closed
Oct 19, 2026
Merged

lpcox merged 4 commits into
mainfrom
copilot/verify-detection-input-scope-fail-closed

Conversation

Copilot AI commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

ARC/DinD detection inputs are mounted, but the reported permission errors and successful strict-mode verdict have not been reproduced. A mount does not establish that Copilot can read the inputs.

  • AWF boundary: Extend detection-mount coverage across daemon-only and shared /tmp path prefixes, preserving read-only inputs and the caller’s command.
  • Ownership and evidence: Clarify that threat-detect constructs Copilot’s --add-dir arguments. Document the redacted run evidence needed to distinguish the old-version report from current-version remediation.

The subprocess-scope fix and fail-closed verdict verification remain upstream; this change does not claim either is resolved.

Copilot AI changed the title [WIP] Investigate detection input scope and fail-closed behavior Verify ARC/DinD detection mounts and clarify input-scope ownership Oct 19, 2026
Copilot AI requested a review from lpcox October 19, 2026 17:23
@lpcox
lpcox marked this pull request as ready for review October 19, 2026 17:27
Copilot AI max review requested due to automatic review settings October 19, 2026 17:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The closing keyword would close #10270 while its required runtime verification remains outstanding.

1 open issue
What changed in this PR

Expands AWF’s ARC/DinD mount coverage and clarifies threat-detection ownership without claiming an end-to-end fix.

Changes:

  • Tests detection mounts across three path prefixes while preserving permissions and commands.
  • Documents subprocess-scope ownership and evidence needed for strict-mode verification.
File Description
src/​services/​agent-volumes-arc-dind-staging.test.ts Expands detection-mount assertions across DinD prefixes.
docs/​arc-dind.md Clarifies ownership and reproduction evidence requirements.

Review effort: Max

Comment thread docs/arc-dind.md
Comment on lines +218 to +219
To verify the reported strict-mode failure, reproduce on a throwaway PR
with `CUSTOM_PROMPT` removed and other detection settings unchanged. Keep a
@lpcox

lpcox commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

@copilot address review feedback

Copilot AI commented Oct 19, 2026

Copy link
Copy Markdown
Contributor Author

@copilot address review feedback

I confirmed PR #10281 still has an autogenerated Fixes #10270 suffix, while the description shown in the task omits it. No tracked file contains that keyword, and I don’t have a PR-body editing operation available here; the PR description needs to be changed to Refs #10270 to resolve this.

@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

✅ Copilot review passed with no inline comments.

@copilot Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Documentation Preview

Documentation has been built for this PR.

Download preview artifact

To view locally:

  1. Download the docs-preview-pr-10281 artifact from the workflow run
  2. Unzip and open index.html in your browser

Built from commit 697decf

@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Coverage Regression Detected

This PR decreases test coverage. Please add tests to maintain coverage levels.

Overall Coverage

Metric Base PR Delta
Lines 93.44% 93.44% ➡️ +0.00%
Statements 92.01% 92.01% ➡️ +0.00%
Functions 91.18% 91.18% ➡️ +0.00%
Branches 86.00% 85.99% 📉 -0.01%

Coverage comparison generated by scripts/ci/compare-coverage.ts

@lpcox

lpcox commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

@copilot merge main and resolve conflicts

…ion-input-scope-fail-closed

# Conflicts:
#	docs/arc-dind.md

Co-authored-by: lpcox <[email protected]>

Copilot AI commented Oct 19, 2026

Copy link
Copy Markdown
Contributor Author

@copilot merge main and resolve conflicts

Merged main and resolved the docs/arc-dind.md conflict in merge commit 4660df2. The merge has both parents and is published. The focused test could not run because node_modules is absent.

@lpcox
lpcox merged commit fde283b into main Oct 19, 2026
30 of 32 checks passed
@lpcox
lpcox deleted the copilot/verify-detection-input-scope-fail-closed branch October 19, 2026 19:03
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.

ARC/DinD: verify detection input scope and fail-closed behavior (finding 2)

3 participants