Engineering/AI documentation

Meta-Agent

The Meta-Agent surface exposes the meta-hyperagent system for inspecting or governing higher-level agentic improvement behavior.

documented
UI Path
Meta-Agent
Component
MetaHyperagentView
Source Refs
3
Tests
0

Concepts: a2a, compass-forge

Implementation Summary

The Meta-Agent surface exposes the meta-hyperagent system for inspecting or governing higher-level agentic improvement behavior inside the active project.

Frontend Surface

  • frontend/src/components/meta/MetaHyperagentView.tsx
  • backend/app/api/routes/meta_hyperagent.py
  • backend/app/core/meta_hyperagent.py
  • backend/app/skills/skill_usage.py

State, API, And Backend Contracts

Stores

  • None recorded.

API And Backend

  • backend/app/api/routes/meta_hyperagent.py

Architecture Notes

  • The feature is mounted through frontend/src/components/meta/MetaHyperagentView.tsx and the UI navigation path recorded in the inventory.
  • All project-facing Meta-Hyperagent status, proposals, observations, variants, toggle, and mutation routes require an explicit project_id, verify the project is visible to the admin subject, and filter persisted records by exact project id.
  • Enabling the observation loop, approving proposals, and confirming variants require the requested project to be active and unpaused. Disabling or rejecting remains available so a paused project can stop or discard queued improvement work.
  • The observation loop is no longer started globally during application startup. It starts only from a project-scoped UI/API request and records its active project id.
  • The observation loop re-checks that active project immediately before observation and again before proposal analysis, so a project paused mid-cycle cannot continue into proposal generation.
  • Each observation cycle re-checks the owning project before collecting observations and again before proposal analysis. If the project is paused or deleted while the loop is running, the loop stops instead of producing new improvement proposals.
  • Skill usage stats now maintain per-project counters so Meta-Hyperagent skill-selection analysis does not infer proposals from another project's execution history.
  • Self-evolution tuning proposals require project-local learning evidence. An empty project, or a project with only global/other-project learning history, must not generate threshold-lowering proposals.
  • Confirmed Meta-Hyperagent overrides are persisted under project-specific override buckets instead of process-wide override keys.
  • Applying a proposal creates an active project-scoped variant; it does not mutate module globals. Self-evolution and skill-routing code consult active or confirmed overrides at read time, so project A variants cannot affect project B.
  • Protected Research Spine methodology, reliability thresholds, authorization constraints, and report gates cannot be changed through Meta-Hyperagent variants. Such changes require explicit governed architecture work.
  • New project-scoped proposals emit content-free meta_hyperagent.proposal telemetry with the project id, meta-hyperagent handle, target system, and confidence only. Proposal reasons and evidence details stay in governed proposal records, not telemetry spans.
  • Simulation scenarios that exercise Meta-Hyperagent status, proposals, variants, observations, toggles, or mutation checks pass the active simulation project id and skip scoped endpoint calls when no project id exists.
  • The frontmatter and manifest entries are the durable contract for agents updating this page after code changes.
  • When the referenced component, store, route, agent, skill, or test behavior changes, regenerate and validate the feature documentation.

Agents, Skills, LLM, MCP, And Permissions

  • Agent-to-agent behavior should be traced through agent stores, A2A routes, permissions, active project ids, and review surfaces before changing assumptions.
  • Meta-Hyperagent WebSocket proposal broadcasts include project_id so live updates are delivered only to connections scoped to the same active project.

Tests And Verification

  • tests/test_meta_hyperagent.py
  • tests/test_project_scope_contracts.py
  • tests/test_security_benchmark.py
  • tests/test_simulation_project_scope_contracts.py

Compass Evidence

  • Spec/task: CF-SPEC-60 / CF-757; CF-SPEC-68 / CF-870; CF-SPEC-106 / CF-1337
  • Inventory source: docs/features/inventory.json

When To Update

  • Update this page whenever the listed UI components, stores, routes, model behavior, permissions, or tests change.
  • Regenerate the site and machine manifests with python scripts/feature_docs.py --seed-missing --generate-site --check.