Skip to content

Prototype: Project Agent Context surface#1129

Draft
simple-agent-manager[bot] wants to merge 2 commits into
mainfrom
prototype/project-agent-context
Draft

Prototype: Project Agent Context surface#1129
simple-agent-manager[bot] wants to merge 2 commits into
mainfrom
prototype/project-agent-context

Conversation

@simple-agent-manager
Copy link
Copy Markdown
Contributor

@simple-agent-manager simple-agent-manager Bot commented May 27, 2026

Prototype only - do not merge

This PR is a throwaway design prototype for the project-scoped Agent Context surface. It is intentionally mock-only, public, and unauthenticated under:

/prototype/agent-context

Idea: 01KSM6QT5DPJZKSEVEZKQRHH5T
Branch: prototype/project-agent-context

What this explores

  • Keeps hidden agent system visibility project-scoped instead of adding top-level navigation.
  • Groups memory, instruction-only project policies, recent agent actions, and contextual missions into one inspection surface.
  • Labels policy enforcement honestly: project policies are instruction-only today; SAM platform policy is not implemented yet.
  • Uses stress-test mock data with long titles, URLs, HTML-like strings, blocked/pending states, and dense mobile content.
  • Uses a 100vh internal scroll wrapper to match SAM's custom scrolling constraints.

Screenshots and recording

Artifacts are committed in docs/prototypes/agent-context/:

Scroll audit result confirms bodyScrollTop: 0 and wrapper scrolling (wrapperScrollTop: 647, wrapperScrollHeight: 1447, wrapperClientHeight: 800).

Validation

  • Built local workspace packages required for Vite resolution: shared, ui, acp-client, terminal.
  • Started Vite dev server and captured Playwright screenshots/video.
  • pnpm --filter @simple-agent-manager/web typecheck passes after building local workspace packages.

This PR should stay draft. It is for discussion and visual review, not production merge.

@simple-agent-manager
Copy link
Copy Markdown
Contributor Author

Prototype visual artifacts

Desktop overview:

Desktop overview

Desktop policies:

Desktop policies

Mobile overview:

Mobile overview

Mobile actions scrolled to bottom:

Mobile actions scrolled bottom

Click-through recording: https://github.com/raphaeltm/simple-agent-manager/blob/prototype/project-agent-context/docs/prototypes/agent-context/click-through.webm

Scroll audit confirms custom-wrapper scrolling, not body/html scrolling: bodyScrollTop: 0, wrapperScrollTop: 647, wrapperScrollHeight: 1447, wrapperClientHeight: 800.

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
8.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

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