feat(harness): define Agent Map proposal operations - #774
Conversation
Add strict caller schemas and a pure prospective-graph validator with batch-local reference resolution, deterministic touch sets, and post-validation ID materialization. Closes: SAP-3061
Review — PR #774: define Agent Map proposal operationsNo confidentiality problems: the changeset, JSDoc and comments are provider-neutral and name no Findings1. Touch sets record writes but not reads, so
|
Refs: SAP-3061
Follow-up review — PR #774 (delta since
|
Refs: SAP-3061
Summary
Define the versioned, path-free Agent Map proposal domain used by later persistence, MCP, and rendering tickets. Caller batches are parsed strictly, validated against one complete prospective graph, and materialized with permanent IDs only after semantic validation succeeds.
Changes
Key Refinements from Code Review
Testing
pnpm --filter @sapiom/harness exec vitest run src/core/agent-map-proposal-schema.test.ts src/core/agent-map-proposal-validator.test.ts(37 tests passed)pnpm --filter @sapiom/harness typecheckpnpm --filter @sapiom/harness build:servergit diff --checkRelated
Checklist
@sapiom/agentchanges