feat(harness): add Agent Map concept demo - #773
Draft
ynadge wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a deterministic, browser-only Agent Map concept fixture for product and design review. It demonstrates a project-level planning conversation, iterative map revision and confirmation, simulated builder-session launch, injected child-session context, and per-agent step decomposition.
This is intentionally a concept surface, not a production graph-authoring implementation or prompt contract.
Changes
VITE_MOCK=1and?mockFixtures=agent-map.Motivation
The concept explores treating the Agent Map as a collaborative project plan created before implementation, rather than only as a post-hoc dependency graph inferred from existing agents. The confirmed map can then become shared context for scoped implementation sessions while keeping project topology separate from per-agent execution detail.
Testing
pnpm --filter @sapiom/harness exec vitest run web/src/lib/agent-map-demo.test.ts— 6/6 testspnpm --filter @sapiom/harness typecheckVITE_MOCK=1 pnpm --filter @sapiom/harness build:webpnpm --filter @sapiom/harness build:webpnpm --filter @sapiom/harness exec playwright test --config web/e2e/playwright.config.ts agent-map-demo.spec.ts— 1/1 Chromium testInteractive demo
Run from the repository root:
Then open:
Use the prepared walkthrough through Approve and launch builders, then select either builder row to inspect its injected context and agent-specific steps.
Safety and scope
SystemGraphcontract is widened or reused for graph authoring.Checklist
main