1.7 KiB
1.7 KiB
Tiered Specialist Runtime Foundation
This runtime adds validated contracts, database state, and a safe executable adapter for Hermes specialist-agent delegation.
Runtime Boundary
- Profile manifests are loaded from
lib/agent/profile-registry.cjsand synchronized intoagent_profileson startup. - Delegation requests are validated by
lib/agent/contracts.cjs. - Policy checks in
lib/agent/policy-engine.cjsenforce tier, depth, context, capability, timeout, and budget limits. agent-controller.cjsexposes an internal bearer-token API at/v1/agent.server.cjsmounts authenticated admin API routes at/api/admin/agent.HERMES_AGENT_EXECUTION_MODE=disabledis the default and records queued executions with an explicit disabled reason.
APIs
GET /v1/agent/profilesPOST /v1/agent/delegationsGET /v1/agent/delegations?state=queuedGET /v1/agent/delegations/:idPOST /v1/agent/delegations/:id/cancelPOST /v1/agent/executions/:id/grants
The admin control plane exposes the same suffixes under /api/admin/agent after the existing admin session check.
Execution Status
The isolated hermes-agent-worker can now lease and complete bounded tasks. Supported execution modes are:
disabled: create, validate, audit, and queue records without dispatch.fake-live: lease queued tasks into the isolated worker and complete them through the no-side-effect fake provider.
fake-live executes a safe provider adapter with no model or side effects. It builds bounded context packs from approved System Knowledge reads, requires explicit grants for write/automation/provisioning scopes, records budget use and result envelopes, and reaches terminal states. Full real-provider execution remains a later adapter.