mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-08-14 14:57:28 +00:00
feat(agentstack): add delegation authority checks
This commit is contained in:
parent
edf32139ae
commit
61d42e4aaf
4 changed files with 92 additions and 27 deletions
|
|
@ -74,7 +74,8 @@ Backed by `src/index.ts`, `src/types.ts`, `src/manifest.ts`:
|
|||
- **Status lifecycle** — `pending → queued → running → blocked → complete | failed | cancelled`.
|
||||
- **`AgentStack` coordinator** (in-memory `Map` storage, injectable clock):
|
||||
`registerAgent`, `getAgent`, `createTask`, `getTask`, `assignTask`, `updateTaskStatus`,
|
||||
`delegate`, `revokeDelegation`, `listTasks`, `snapshot`, and an `on(listener)` event subscription.
|
||||
`delegate`, `revokeDelegation`, `listDelegations`, `hasDelegation`, `listTasks`, `snapshot`,
|
||||
and an `on(listener)` event subscription.
|
||||
- **Events** — `agent.registered`, `task.created`, `task.assigned`, `task.updated`,
|
||||
`delegation.granted`, `delegation.revoked`.
|
||||
- **`agentStackPlugin`** — a LogicSRC `PluginDefinition`, plus `agentStackManifest` declaring
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue