Skip to content

fix(agent): enforce non-app surface boundaries - #271

Merged
iamjr15 merged 1 commit into
mainfrom
fix/constrain-non-app-intents
Aug 13, 2026
Merged

fix(agent): enforce non-app surface boundaries#271
iamjr15 merged 1 commit into
mainfrom
fix/constrain-non-app-intents

Conversation

@iamjr15

@iamjr15 iamjr15 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Why

Explicit Documents, Slides, Data, Research, and Media selections were preserved as request metadata, but the projectless app fallback and model tool registry still treated them as general app-capable runs. A document request whose subject mentioned a website could therefore scaffold and preview an unrelated Next.js app.

What changed

  • short-circuit projectless app inference whenever an explicit non-app run intent is present
  • resolve exact per-surface model tool allowlists while keeping app-builder topology authoritative
  • advertise only surface-relevant bundled and custom skills
  • make the selected artifact outcome explicit in the run prompt without mutating visible user text
  • auto-select Browser only for hydrated web/mobile app project modes; Files remains authoritative for non-app work
  • document the execution and Computer-surface contracts

Verification

  • pnpm lint
  • pnpm typecheck
  • pnpm turbo build --force
  • pnpm deadcode
  • pnpm architecture:check
  • pnpm turbo skills:build
  • policy probe confirmed Documents, Slides, Data, Research, and Media profiles expose no browser, dev-server, or git tools

Production browser QA will run after the exact commit is merged and deployed to Vercel and Cloudflare.

@iamjr15
iamjr15 merged commit 8f566af into main Aug 13, 2026
4 checks passed
@iamjr15
iamjr15 deleted the fix/constrain-non-app-intents branch August 13, 2026 07: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.

1 participant