Skip to content

Align agents on persistent project scope - #1921

Merged
Aaronontheweb merged 1 commit into
devfrom
fix/project-scope-guidance
Aug 13, 2026
Merged

Align agents on persistent project scope#1921
Aaronontheweb merged 1 commit into
devfrom
fix/project-scope-guidance

Conversation

@Aaronontheweb

@Aaronontheweb Aaronontheweb commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • distinguish exact per-call path scope from persistent project scope in always-loaded guidance and the operations skill
  • teach parent agents and tool-capable subagents to declare a different user-named project before repeated shell work
  • keep Public and tool-filtered subagents free of unusable guidance
  • add a sanitized behavioral eval that proves declaration precedes the two exact requested shell calls without telling the model which declaration tool to use
  • retain eval child logs from both supported container log roots

Policy boundary

  • no approval authority is widened
  • one-shot WorkingDirectory remains exact call scope and does not create a safe root
  • headless execution remains strict without explicit authority
  • no executable-specific command parsing is added

Validation

  • adversarial review: PASS, no warnings
  • targeted behavioral eval: 4/5 at the configured threshold; the failed run used one-shot scope without project declaration and failed as intended
  • Release build: 0 warnings, 0 errors
  • full .NET test command: passed
  • focused actor and prompt-provider suites: passed
  • strict OpenSpec, headers, Bash syntax, portability, diff, and PII checks: passed
  • Slopwatch: only the pre-existing SW004 in untouched PowerShellHostProbeTests.cs

The repository-wide behavioral suite was started from a fresh image, then stopped at maintainer direction after it entered unrelated MCP, memory, skill-routing, and background-job cases. Those failures are not changed or claimed fixed by this PR.

@Aaronontheweb
Aaronontheweb enabled auto-merge (squash) August 13, 2026 13:00
@Aaronontheweb
Aaronontheweb force-pushed the fix/project-scope-guidance branch from 7beb764 to 0ed4c6b Compare August 13, 2026 13:00
@Aaronontheweb Aaronontheweb added security Security-related changes shell Issues related to the shell tool, since it has the largest security perimeter. labels Aug 13, 2026
@Aaronontheweb
Aaronontheweb merged commit 46ca54b into dev Aug 13, 2026
23 checks passed
@Aaronontheweb
Aaronontheweb deleted the fix/project-scope-guidance branch August 13, 2026 13:32
@Aaronontheweb Aaronontheweb mentioned this pull request Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security Security-related changes shell Issues related to the shell tool, since it has the largest security perimeter.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant