feat(agentstack): add @logicsrc/agentstack coordination module#5
Open
ralyodio wants to merge 2 commits into
Open
feat(agentstack): add @logicsrc/agentstack coordination module#5ralyodio wants to merge 2 commits into
ralyodio wants to merge 2 commits into
Conversation
AgentStack is the LogicSRC module for portable agent, task, payment, and reputation coordination across Profullstack apps. Reference implementation of the `agentstack` capability in the Profullstack Shared AppKit OpenSpec. - packages/agentstack: DID helpers (did:coinpay:user/agent), DidTask model + lifecycle, AgentStack in-memory coordinator (agents, tasks, delegation, events), and a validated LogicSRC plugin definition. 9 vitest cases. - Wire @logicsrc/agentstack into the root build chain (after plugin-core). - docs/agentstack.md + mention in openspec-comparison.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
vu1nz Security Review0 finding(s) in PR #? No security issues found. |
…+ browser) Matches the revised Shared AppKit PRD's Runtime Compatibility Strategy. AgentStack is runtime-neutral (no Bun/Node-only APIs; time is injected). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
What
Adds
@logicsrc/agentstack— the LogicSRC module for portable agent, task, payment, and reputation coordination across Profullstack apps (sh1pt, uGig, qaaas.dev, crawlproof, commandboard.run, coinpayportal, logicsrc, intr0s).It is the reference implementation of the
agentstackcapability in the Profullstack Shared AppKit OpenSpec (profullstack-web/openspec/specs/agentstack, see profullstack-web PR #4).Module surface
userDid/agentDid/makeDid/parseDid(did:coinpay:user:123,did:coinpay:agent:abc).DidTask— portable task model with lifecyclepending → queued → running → blocked → complete | failed | cancelled, bindable topaymentIntentId/escrowId/reputationEventId.AgentStack— in-memory coordinator:registerAgent,createTask,assignTask,updateTaskStatus,delegate/revokeDelegation,listTasks,snapshot,on(event listeners).agentStackPlugin— a LogicSRCPluginDefinitionvalidated against the plugin manifest schema (routes, events, permissions, TUI panel).Wiring
buildchain right after@logicsrc/plugin-core(its only dependency).docs/agentstack.md+ a mention indocs/openspec-comparison.md.Verification
npm --workspace @logicsrc/agentstack run build✅ (clean tsc)npm --workspace @logicsrc/agentstack test✅ 9/9 vitest cases pass (DID helpers, manifest validity, task lifecycle, terminal-status guard, delegation events, filters).🤖 Generated with Claude Code