docs: add agent definition spike and ADR-0004 - #57
Merged
Merged
Conversation
Defines the prompt-only agent manifest, hybrid storage with a private prompt and a salted on-chain hash, immutable versions, deploy steps and test runs. The agent-wallet signing steps stay pending ADR-0003.
Deploying puls3 with
|
| Latest commit: |
bf7137b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://af23713c.puls3-4lw.pages.dev |
| Branch Preview URL: | https://docs-33-agent-definition.puls3-4lw.pages.dev |
XxHugheadxX
marked this pull request as ready for review
September 26, 2026 02:33
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.
Refs #33
Summary
docs/spikes/agent-definition.md: answers the 7 questions of spike: agent definition (manifest) and deployment model for Agent Studio #33, with sourcesdocs/adr/0004-agent-manifest-and-deployment.md: the decision, alternatives, and impact on feat: Agent Identity Registry contract #13, chore: deploy contracts to testnet and seed demo agents #15, feat: register agent flow (wallet and on-chain identity) #18, feat: agent runtime executing deployed manifests #20, feat: AgentManifest domain model and validation #34, feat: Agent Studio endpoints (drafts, test run, deploy) #35, feat: Agent Studio UI (builder, playground, deploy) #37docs/architecture/examples/agent-manifest.example.json: the manifest of the Copy Forge demo agentKey decisions:
puls3.agent-manifest/v1): name, description, skills (A2A skill shape), model, system prompt, input/output contract, and price as an integer in USDC stroops. Fields mirror the Studio's existingAgentDraft.agent_uri) has no prompt; on-chain metadata holdspuls3.manifestHash(SHA-256 ofsalt || canonical JSON) andpuls3.manifestVersion.register_fullandset_metadata, within ADR-0002's limits.Acceptance criteria
Comment for #6 (deliverable 4): #6 is closed, so the metadata fields are listed here instead. The Identity Registry must accept two metadata keys per agent, which it already does through
set_metadata/register_full(key ≤ 64 chars, value ≤ 4,096 bytes):puls3.manifestHashpuls3.manifestVersionVerification evidence
The example manifest was checked against every rule in the spike (field order and names, lengths, kebab-case unique skill IDs, input/output limits, integer price, no floats):
sha256exists in soroban-sdk'sCryptoand in pure Dart (package:crypto).Notes for reviewers