You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 11, 2026. It is now read-only.
The validated architecture requires a small tenant-aware control-plane registry before any provider or Telegram integration is added. Existing tenant, identity, module-management, audit, soft-delete, and RLS foundations must be reused.
Objective
Add the hermes_agent system module and the minimum schema/API needed to register Hermes profiles and their trusted endpoints without storing runtime credentials.
restore/purge operations following existing soft-delete conventions;
paginated search/filter by name, profile key, environment, lifecycle, and health placeholder.
Permissions
Seed granular permissions for dashboard, agents, health, channels, identities, runs, bindings, approvals, usage, incidents, and audit. Only registry permissions need active endpoints in this issue; later permissions are declared for the epic and documented.
Security requirements
Tenant context + ABAC + PostgreSQL RLS on every tenant-owned query.
Default deny and deny-overrides-allow.
Secret-shaped settings/values rejected.
Endpoint URLs validated structurally but not contacted in this issue.
High-risk mutation uses Idempotency-Key.
Safe audit diff contains field names/status only, never endpoint credentials.
Core profile/config records use soft delete; purge is separately authorized and audited.
Acceptance criteria
Module is registered through the existing descriptor registry.
Full-online feature gate defaults off.
Sequential migration creates tables, keys, indexes, FORCE RLS, policies, grants, and permission seeds.
Cross-tenant reads/writes fail in integration tests.
CRUD, restore, and purge follow current response/error conventions.
Raw secrets cannot be accepted or returned.
Module management can list and health-classify the registered module.
OpenAPI and module README are updated.
Unit, API, migration, RLS, ABAC, audit, and soft-delete tests pass.
Parent epic: #668
Depends on: #669
Context
The validated architecture requires a small tenant-aware control-plane registry before any provider or Telegram integration is added. Existing tenant, identity, module-management, audit, soft-delete, and RLS foundations must be reused.
Objective
Add the
hermes_agentsystem module and the minimum schema/API needed to register Hermes profiles and their trusted endpoints without storing runtime credentials.Scope
Module descriptor
hermes_agentsystem/api/v1/hermes/admin/hermestenant_admin,identity_access,profile_identity,module_management,logging,reporting,workflowTables
awcms_mini_hermes_agentsawcms_mini_hermes_endpointsMinimum agent fields:
Minimum endpoint fields:
internalorexternal);API
GET/POST /api/v1/hermes/agentsGET/PATCH/DELETE /api/v1/hermes/agents/{agentId}Permissions
Seed granular permissions for dashboard, agents, health, channels, identities, runs, bindings, approvals, usage, incidents, and audit. Only registry permissions need active endpoints in this issue; later permissions are declared for the epic and documented.
Security requirements
Idempotency-Key.Acceptance criteria
bun run checkpasses.Out of scope