Skip to content

feat: add configurable background agent roles#336

Merged
pedronauck merged 4 commits into
mainfrom
feat/agent-roles
Jul 25, 2026
Merged

feat: add configurable background agent roles#336
pedronauck merged 4 commits into
mainfrom
feat/agent-roles

Conversation

@pedronauck

Copy link
Copy Markdown
Member

Summary

  • Adds a configurable six-role background-agent system with global/workspace routing, ordered fallbacks, provenance, diagnostics, and live Settings management.
  • Makes the same runtime truth manageable through config, CLI, HTTP, UDS, native config tools, the Web UI, generated API docs, and the bundled AGH skill.
  • Preserves hidden builtin execution and hard-cuts the former role-bearing memory/autonomy keys without compatibility aliases.

Changes

  • Runtime and config: introduces the closed coordinator, dream, checkpoint_summary, memory_extractor, auto_title, and memory_controller roster, typed defaults/validation/merge, workspace overlays, reserved builtin identities, and live lifecycle classification.
  • Routing and reliability: resolves authored or builtin role identities with ordered pre-acceptance fallback, correlated role.fallback.used events, workspace-aware Dream/checkpoint behavior, and a bounded transient ACP tiebreaker for genuine memory-controller ambiguity.
  • Agent-manageable surfaces: adds agh roles list|show, HTTP/UDS parity for /api/roles, structured global/workspace [roles] mutation through CLI and agh__config_*, per-field provenance, lifecycle status, and actionable diagnostics.
  • Web and OS integration: adds Settings → Roles with truthful builtin/inherit/off/error states, fallback editing, numeric validation focus, live cache reconciliation, and Window Manager/E2E corrections needed by the current desktop contract.
  • Contracts and docs: updates OpenAPI/TypeScript generation, runtime documentation, configuration lifecycle tables, AGH's bundled skill, glossary, QA scenarios, journeys, charters, bug registry, and the dated Agent Roles QA report.
  • Hardening: fixes shutdown ordering in Network so inbox waiters observe lifecycle cancellation before session state is released.

Release Notes

🎉 Features

  • Add background agent roles

🐛 Bug Fixes

  • Align Web flows with Window Management
  • Resolve the final Agent Roles review findings

Deep review

  • Round 1 found 5 defects and 45 advisories; all were resolved before round 2.
  • Round 2 reconfirmed those closures and surfaced 7 additional defects plus 34 advisories; every item was corrected directly in this branch.
  • The requested two-round cap was exhausted after round 2, so there is no third post-remediation SHIP verdict; the source-frozen monorepo gate passed independently after all corrections.

QA

Historical run status: the targeted Agent Roles run executed all six charters and fixed all five reproduced Agent Roles bugs. Its dated report remained blocked by the then-red broad Web E2E precondition; the feature-owned Roles browser journey passed.

Coverage: Dora and Ada exercised global/workspace routing, fallback boundaries, reserved-name enforcement, cross-transport projection, Settings Roles, and the default Dream pipeline.

Issues: 5 Agent Roles bugs reproduced, fixed, and retested — coordinator config path, inherited provider resolution, extractor metadata scope, bundle agent snapshot loss, and reserved bundle error mapping.

Final-review impact flag: MS-background-role-routing, MS-background-role-fallback, MS-settings-roles-panel, and MS-016 are reset to untested because the final corrections changed structured root mutation, fallback configuration, invalid-form recovery, and workspace-aware Dream behavior. Historical evidence is preserved; the next QA cycle owns those rows.

Full report: 2026-07-24-agent-roles.md

AGH Impact Audit

  • Native tools: agh__config_list|get|set|unset now expose canonical flattened roles.* paths and structured root-table mutation with lifecycle results; no new agh__roles_* tool IDs were introduced. Native descriptors, config value kinds, transport parity, and tests were checked.
  • Extensibility and hooks: role resolution uses the config/builtin-agent registries and emits the existing typed runtime event surface for fallbacks; config lifecycle, bundled skill, generated contracts, and daemon composition were updated. Extension and bridge SDK contracts are unchanged.
  • Workspace data isolation: role overrides are global- or workspace-scoped; workspace identity/root propagate through Settings/config targets, resolver snapshots, cache invalidation, runtime consumers, provenance, events, and tests. No role state is session- or agent-owned, and cross-workspace leakage is covered by overlay/projection tests.
  • Official AGH skill: skills/agh/ documents role inspection, configuration, native-tool boundaries, builtin identities, and fallback routing.

Test plan

  • make lint — zero Go/Bun findings.
  • make verify after rebasing onto origin/main and synchronizing the frozen dependency graph — codegen-check, installer-check, Bun lint/typecheck/test, Web build, Go fmt/lint/race tests/build, and boundaries passed.
  • go test -race ./internal/network -run '^TestManagerWaitInboxHonorsCancellationAndShutdown$' -count=100 — 300 test nodes passed.
  • Focused final-review Go matrix — 5,082 tests across 12 packages passed.
  • Full Web Turbo typecheck/test — 3,651 tests across 471 files passed before the final monorepo gate.
  • Focused site docs truth suite (14 tests), make codegen-check, and the agent-skill integration scenario passed.

Shipping notes

  • No schema migration is included.
  • No .github workflow changes are included.
  • skeeper sync --dry-run was not forced because its guardrail reported an unrelated 8,072-file / 273 MB plan.

@vercel

vercel Bot commented Jul 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agh-site Ready Ready Preview, Comment Jul 25, 2026 1:00am

Request Review

@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 333 files, which is 233 over the limit of 100.

To get a review, narrow the scope:
• coderabbit review --committed # exclude uncommitted changes
• coderabbit review --dir # limit to a subdirectory
• coderabbit review --base # compare against a closer base

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 300 files.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: aabcdb2f-3dea-4b0a-9f23-32fdccf2e82d

📥 Commits

Reviewing files that changed from the base of the PR and between d435cff and 17620a1.

⛔ Files ignored due to path filters (81)
  • docs/_memory/glossary.md is excluded by !**/*.md
  • docs/qa/_seeds/final-qa/_children/05-memory-soul.md is excluded by !**/*.md
  • docs/qa/bugs/BUG-20260724-bundle-agent-snapshot-loss.md is excluded by !**/*.md
  • docs/qa/bugs/BUG-20260724-coordinator-config-list-path.md is excluded by !**/*.md
  • docs/qa/bugs/BUG-20260724-inherited-role-provider-resolution.md is excluded by !**/*.md
  • docs/qa/bugs/BUG-20260724-memory-extractor-agent-tier.md is excluded by !**/*.md
  • docs/qa/bugs/BUG-20260724-reserved-bundle-error-mapping.md is excluded by !**/*.md
  • docs/qa/charters/CH-background-role-routing-scopes.md is excluded by !**/*.md
  • docs/qa/charters/CH-dream-pipeline-canary.md is excluded by !**/*.md
  • docs/qa/charters/CH-reserved-builtin-name-sweep.md is excluded by !**/*.md
  • docs/qa/charters/CH-role-fallback-boundary.md is excluded by !**/*.md
  • docs/qa/charters/CH-roles-projection-truthfulness.md is excluded by !**/*.md
  • docs/qa/charters/CH-settings-roles-live-truth.md is excluded by !**/*.md
  • docs/qa/journeys/J-digest-sessions-into-memory.md is excluded by !**/*.md
  • docs/qa/journeys/J-route-background-work.md is excluded by !**/*.md
  • docs/qa/reports/2026-07-24-agent-roles.md is excluded by !**/*.md
  • docs/qa/scenarios/MS-011.md is excluded by !**/*.md
  • docs/qa/scenarios/MS-016.md is excluded by !**/*.md
  • docs/qa/scenarios/MS-017.md is excluded by !**/*.md
  • docs/qa/scenarios/MS-026.md is excluded by !**/*.md
  • docs/qa/scenarios/MS-background-role-fallback.md is excluded by !**/*.md
  • docs/qa/scenarios/MS-background-role-routing.md is excluded by !**/*.md
  • docs/qa/scenarios/MS-inspect-background-role-routing.md is excluded by !**/*.md
  • docs/qa/scenarios/MS-settings-roles-panel.md is excluded by !**/*.md
  • docs/qa/scenarios/RT-reserved-builtin-agent-names.md is excluded by !**/*.md
  • internal/config/prompts/coordinator.md is excluded by !**/*.md
  • internal/config/prompts/dreaming-curator.md is excluded by !**/*.md
  • internal/sandbox/daytona/sidecar_assets/agh-daytona-sidecar-linux-amd64.gz is excluded by !**/*.gz, !**/*.gz
  • internal/sandbox/daytona/sidecar_assets/agh-daytona-sidecar-linux-arm64.gz is excluded by !**/*.gz, !**/*.gz
  • internal/testutil/acpmock/testdata/agent_roles_fixture.json is excluded by !**/*.json
  • internal/testutil/acpmock/testdata/auto_title_fixture.json is excluded by !**/*.json
  • openapi/agh.json is excluded by !**/*.json
  • packages/site/content/runtime/api-reference/meta.json is excluded by !**/*.json
  • packages/site/content/runtime/core/autonomy/coordinator.mdx is excluded by !**/*.mdx
  • packages/site/content/runtime/core/autonomy/index.mdx is excluded by !**/*.mdx
  • packages/site/content/runtime/core/configuration/agent-md.mdx is excluded by !**/*.mdx
  • packages/site/content/runtime/core/configuration/config-toml.mdx is excluded by !**/*.mdx
  • packages/site/content/runtime/core/configuration/lifecycle-matrix.mdx is excluded by !**/*.mdx
  • packages/site/content/runtime/core/memory/dream.mdx is excluded by !**/*.mdx
  • packages/site/content/runtime/core/sessions/lifecycle.mdx is excluded by !**/*.mdx
  • skills/agh/SKILL.md is excluded by !**/*.md
  • skills/agh/references/agent-definitions.md is excluded by !**/*.md
  • skills/agh/references/capabilities-and-bundles.md is excluded by !**/*.md
  • skills/agh/references/native-tools.md is excluded by !**/*.md
  • skills/agh/references/runtime-operations.md is excluded by !**/*.md
  • web/e2e/__tests__/agent-categories.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/agents.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/automation.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/bridges.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/combined-flows.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/dashboard.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/jobs-hardening.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/knowledge.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/marketplace.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/network.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/os-shell.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/sandbox.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/session-clarify.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/session-hardening.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/session-onboarding.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/session-provider-override.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/settings-hardening.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/settings.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/tasks-coordinator-handoff.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/tasks-hardening.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/tasks-orchestration.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/tasks.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/tool-approval-grants.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/triggers-hardening.spec.ts is excluded by !web/e2e/**
  • web/e2e/__tests__/workspace-setup.spec.ts is excluded by !web/e2e/**
  • web/e2e/fixtures/__tests__/browser-artifact-session.test.ts is excluded by !**/fixtures/**, !web/e2e/**
  • web/e2e/fixtures/__tests__/runtime-seed.test.ts is excluded by !**/fixtures/**, !web/e2e/**
  • web/e2e/fixtures/__tests__/selectors.test.ts is excluded by !**/fixtures/**, !web/e2e/**
  • web/e2e/fixtures/artifacts.ts is excluded by !**/fixtures/**, !web/e2e/**
  • web/e2e/fixtures/browser-artifact-session.ts is excluded by !**/fixtures/**, !web/e2e/**
  • web/e2e/fixtures/os-navigation.ts is excluded by !**/fixtures/**, !web/e2e/**
  • web/e2e/fixtures/runtime-seed.ts is excluded by !**/fixtures/**, !web/e2e/**
  • web/e2e/fixtures/runtime.ts is excluded by !**/fixtures/**, !web/e2e/**
  • web/e2e/fixtures/selectors.ts is excluded by !**/fixtures/**, !web/e2e/**
  • web/src/generated/agh-openapi.d.ts is excluded by !**/generated/**, !**/generated/**, !**/*.d.ts
  • web/src/systems/settings/routes/settings-roles.stories.tsx is excluded by !**/*.stories.tsx
📒 Files selected for processing (333)
  • internal/api/contract/authored_context_helpers.go
  • internal/api/contract/diagnostics.go
  • internal/api/contract/roles.go
  • internal/api/contract/roles_test.go
  • internal/api/contract/settings.go
  • internal/api/contract/settings_config_payloads.go
  • internal/api/contract/settings_mutations.go
  • internal/api/core/agent_channels_internal_test.go
  • internal/api/core/agent_contracts.go
  • internal/api/core/agent_contracts_test.go
  • internal/api/core/agent_create.go
  • internal/api/core/agent_definitions.go
  • internal/api/core/agent_identity.go
  • internal/api/core/base_handlers.go
  • internal/api/core/bundles.go
  • internal/api/core/conversions_settings_runtime.go
  • internal/api/core/conversions_settings_sections.go
  • internal/api/core/errors.go
  • internal/api/core/errors_diagnostic_payload.go
  • internal/api/core/handlers_agents.go
  • internal/api/core/handlers_test.go
  • internal/api/core/interfaces.go
  • internal/api/core/memory_health_payload.go
  • internal/api/core/memory_payloads.go
  • internal/api/core/payload_helpers_test.go
  • internal/api/core/roles_handlers.go
  • internal/api/core/roles_handlers_test.go
  • internal/api/core/settings.go
  • internal/api/core/settings_internal_test.go
  • internal/api/core/settings_memory_config.go
  • internal/api/core/settings_roles_config.go
  • internal/api/core/settings_roles_request.go
  • internal/api/core/settings_test.go
  • internal/api/core/tool_errors.go
  • internal/api/core/tools_test.go
  • internal/api/httpapi/agent_routes.go
  • internal/api/httpapi/handlers.go
  • internal/api/httpapi/handlers_test.go
  • internal/api/httpapi/roles_routes.go
  • internal/api/httpapi/routes.go
  • internal/api/httpapi/routes_refac_test.go
  • internal/api/httpapi/server.go
  • internal/api/httpapi/server_handler_config.go
  • internal/api/httpapi/transport_parity_integration_test.go
  • internal/api/spec/agent_definitions.go
  • internal/api/spec/operation_registry.go
  • internal/api/spec/registry_agents.go
  • internal/api/spec/registry_roles.go
  • internal/api/spec/registry_settings_features.go
  • internal/api/spec/roles_test.go
  • internal/api/spec/schema_enum_registry.go
  • internal/api/spec/settings_test.go
  • internal/api/spec/settings_values.go
  • internal/api/spec/spec.go
  • internal/api/udsapi/agent_channels_test.go
  • internal/api/udsapi/handler_config.go
  • internal/api/udsapi/handlers_test.go
  • internal/api/udsapi/roles_routes.go
  • internal/api/udsapi/routes.go
  • internal/api/udsapi/server.go
  • internal/api/udsapi/server_handler_config.go
  • internal/api/udsapi/server_handlers.go
  • internal/api/udsapi/transport_parity_integration_test.go
  • internal/bundles/service_test.go
  • internal/bundles/service_validate_agents.go
  • internal/cli/client.go
  • internal/cli/client_roles.go
  • internal/cli/config.go
  • internal/cli/config_display.go
  • internal/cli/config_roles.go
  • internal/cli/config_test.go
  • internal/cli/config_value_commands.go
  • internal/cli/config_value_parse.go
  • internal/cli/helpers_test.go
  • internal/cli/hooks.go
  • internal/cli/output_labels.go
  • internal/cli/roles.go
  • internal/cli/roles_test.go
  • internal/cli/root.go
  • internal/cli/skill_output.go
  • internal/cli/spawn.go
  • internal/cli/tool_approvals.go
  • internal/config/agent.go
  • internal/config/agent_create.go
  • internal/config/agent_workspace_discovery_test.go
  • internal/config/autonomy.go
  • internal/config/autonomy_test.go
  • internal/config/bootstrap.go
  • internal/config/bootstrap_test.go
  • internal/config/builtin_agents.go
  • internal/config/builtin_agents_test.go
  • internal/config/config.go
  • internal/config/config_agent_session.go
  • internal/config/config_extensions_sandbox.go
  • internal/config/config_memory.go
  • internal/config/config_memory_defaults.go
  • internal/config/config_memory_section_validation.go
  • internal/config/config_test.go
  • internal/config/config_validate_features.go
  • internal/config/config_validation.go
  • internal/config/defaults.go
  • internal/config/lifecycle/lifecycle.go
  • internal/config/lifecycle/lifecycle_test.go
  • internal/config/memory_v2_config_test.go
  • internal/config/merge.go
  • internal/config/merge_features.go
  • internal/config/merge_load.go
  • internal/config/merge_memory_controller.go
  • internal/config/merge_memory_runtime.go
  • internal/config/merge_overlay.go
  • internal/config/merge_roles.go
  • internal/config/merge_session.go
  • internal/config/merge_test.go
  • internal/config/persistence_tree.go
  • internal/config/provider.go
  • internal/config/provider_builtin.go
  • internal/config/role_sources.go
  • internal/config/role_tool_surface.go
  • internal/config/roles.go
  • internal/config/roles_test.go
  • internal/config/tool_surface.go
  • internal/config/tool_surface_reflection.go
  • internal/config/tool_surface_test.go
  • internal/config/tool_surface_types.go
  • internal/config/workspace_overlay.go
  • internal/coordinator/coordinator.go
  • internal/coordinator/coordinator_bench_test.go
  • internal/coordinator/coordinator_test.go
  • internal/daemon/agent_skill_resources_integration_test.go
  • internal/daemon/auto_title_generator.go
  • internal/daemon/auto_title_role_integration_test.go
  • internal/daemon/auto_title_runtime.go
  • internal/daemon/auto_title_runtime_test.go
  • internal/daemon/boot.go
  • internal/daemon/boot_memory_session.go
  • internal/daemon/boot_runtime_services.go
  • internal/daemon/boot_runtime_services_test.go
  • internal/daemon/checkpoint_summary_summarizer.go
  • internal/daemon/checkpoint_summary_summarizer_test.go
  • internal/daemon/coordinator_config.go
  • internal/daemon/coordinator_config_test.go
  • internal/daemon/coordinator_runtime.go
  • internal/daemon/coordinator_runtime_hooks.go
  • internal/daemon/coordinator_runtime_integration_test.go
  • internal/daemon/coordinator_runtime_reconcile.go
  • internal/daemon/coordinator_runtime_session.go
  • internal/daemon/coordinator_runtime_test.go
  • internal/daemon/daemon_acpmock_helpers_integration_test.go
  • internal/daemon/daemon_agent_definition_e2e_integration_test.go
  • internal/daemon/daemon_memory_e2e_integration_test.go
  • internal/daemon/daemon_mock_agents_integration_test.go
  • internal/daemon/daemon_sandbox_integration_test.go
  • internal/daemon/daemon_test.go
  • internal/daemon/heartbeat_wake_runtime_test.go
  • internal/daemon/loop_goal_command_e2e_integration_test.go
  • internal/daemon/memory_controller_role.go
  • internal/daemon/memory_controller_role_test.go
  • internal/daemon/memory_controller_tiebreaker.go
  • internal/daemon/memory_controller_wiring.go
  • internal/daemon/memory_extractor_fork.go
  • internal/daemon/memory_extractor_output.go
  • internal/daemon/memory_runtime.go
  • internal/daemon/memory_runtime_test.go
  • internal/daemon/native_bundle_resource_tools.go
  • internal/daemon/native_config_hook_tools.go
  • internal/daemon/native_config_mutation_tools.go
  • internal/daemon/native_create_tools.go
  • internal/daemon/native_create_tools_test.go
  • internal/daemon/native_extension_tools.go
  • internal/daemon/native_hook_helpers.go
  • internal/daemon/native_memory_admin_mutation.go
  • internal/daemon/native_memory_admin_tools.go
  • internal/daemon/native_tool_dependencies.go
  • internal/daemon/native_tools_dependencies_builder.go
  • internal/daemon/native_tools_test.go
  • internal/daemon/prompt_sections.go
  • internal/daemon/role_dependencies.go
  • internal/daemon/role_fallback.go
  • internal/daemon/role_fallback_test.go
  • internal/daemon/role_resolver.go
  • internal/daemon/role_resolver_integration_test.go
  • internal/daemon/role_resolver_test.go
  • internal/daemon/role_status.go
  • internal/daemon/role_status_test.go
  • internal/daemon/runtime_dependencies.go
  • internal/daemon/runtime_deps.go
  • internal/daemon/runtime_dream_dependencies.go
  • internal/daemon/server_options.go
  • internal/daemon/settings_runtime_applier.go
  • internal/daemon/support_bundle_status.go
  • internal/diagnosticcontract/diagnostics.go
  • internal/events/components.go
  • internal/events/registry.go
  • internal/events/registry_test.go
  • internal/extension/manager_snapshots.go
  • internal/extension/manager_test.go
  • internal/memory/batch.go
  • internal/memory/checkpoint_summary.go
  • internal/memory/checkpoint_summary_test.go
  • internal/memory/checkpoint_summary_update.go
  • internal/memory/consolidation/runtime.go
  • internal/memory/consolidation/runtime_spawner_test.go
  • internal/memory/consolidation/runtime_test.go
  • internal/memory/consolidation/runtime_trigger.go
  • internal/memory/consolidation/session_fallback.go
  • internal/memory/controller/controller.go
  • internal/memory/controller/controller_targets.go
  • internal/memory/controller/controller_test.go
  • internal/memory/controller/tiebreaker.go
  • internal/memory/decision.go
  • internal/memory/decision_controller.go
  • internal/memory/dream.go
  • internal/memory/dream_run.go
  • internal/memory/dream_test.go
  • internal/memory/dream_v2.go
  • internal/memory/dream_v2_artifact.go
  • internal/memory/dream_v2_run.go
  • internal/memory/prompts/extract.v1.tmpl
  • internal/memory/store.go
  • internal/memory/store_options.go
  • internal/network/manager.go
  • internal/session/coordinator_fallback_test.go
  • internal/session/manager.go
  • internal/session/manager_prompt_request.go
  • internal/session/manager_start_run.go
  • internal/session/manager_start_test.go
  • internal/session/manager_test.go
  • internal/session/manager_workspace.go
  • internal/session/provider_runtime_pi.go
  • internal/session/query.go
  • internal/session/spawn.go
  • internal/session/transient_model.go
  • internal/settings/config_apply_classification.go
  • internal/settings/config_apply_helpers.go
  • internal/settings/config_apply_service.go
  • internal/settings/config_apply_service_test.go
  • internal/settings/config_reload_diff.go
  • internal/settings/models.go
  • internal/settings/models_runtime.go
  • internal/settings/section_config_update.go
  • internal/settings/section_memory_apply.go
  • internal/settings/section_roles.go
  • internal/settings/sections.go
  • internal/settings/sections_daemon.go
  • internal/settings/service_test.go
  • internal/situation/service.go
  • internal/situation/service_context_cancellation_test.go
  • internal/situation/service_network.go
  • internal/situation/service_resolution.go
  • internal/situation/service_test.go
  • internal/skills/coordinator_fallback_test.go
  • internal/skills/registry_agent.go
  • internal/store/globaldb/global_db_session.go
  • internal/store/globaldb/global_db_session_ids.go
  • internal/testutil/e2e/config_seed.go
  • internal/testutil/e2e/config_seed_test.go
  • internal/testutil/e2e/runtime_harness_integration_test.go
  • internal/testutil/e2e/runtime_harness_sessions.go
  • internal/tools/errors.go
  • internal/workspace/clone.go
  • internal/workspace/resolver.go
  • internal/workspace/resolver_test.go
  • internal/workspace/scanner.go
  • packages/site/lib/__tests__/runtime-autonomy-docs.test.ts
  • packages/site/lib/__tests__/runtime-docs-truth.test.ts
  • packages/site/lib/runtime-navigation.ts
  • web/src/lib/__tests__/settings-api-contract.test.ts
  • web/src/routeTree.gen.ts
  • web/src/routes/_app/-settings-preload.ts
  • web/src/routes/_app/settings/-automation-settings-page.tsx
  • web/src/routes/_app/settings/-extensions-policy-section.tsx
  • web/src/routes/_app/settings/-memory-controller-sections.tsx
  • web/src/routes/_app/settings/-memory-dream-section.tsx
  • web/src/routes/_app/settings/-memory-processing-sections.tsx
  • web/src/routes/_app/settings/-memory-settings-page.tsx
  • web/src/routes/_app/settings/-roles-settings-page.tsx
  • web/src/routes/_app/settings/-skills-settings-page.tsx
  • web/src/routes/_app/settings/__tests__/-roles.test.tsx
  • web/src/routes/_app/settings/roles.tsx
  • web/src/storybook/route-story-registry.ts
  • web/src/systems/network/components/network-create-channel-dialog.tsx
  • web/src/systems/os/apps/settings/settings-window.tsx
  • web/src/systems/os/apps/tasks/task-detail-location.tsx
  • web/src/systems/os/components/__tests__/os-window.test.tsx
  • web/src/systems/os/components/os-window.tsx
  • web/src/systems/os/hooks/__tests__/os-interaction-hooks.test.tsx
  • web/src/systems/os/hooks/__tests__/window-manager-runtime.test.ts
  • web/src/systems/os/hooks/use-os-window.ts
  • web/src/systems/os/lib/os-types.ts
  • web/src/systems/os/lib/window-manager-view.ts
  • web/src/systems/os/runtime/window-manager-runtime.ts
  • web/src/systems/os/stores/window-manager-store.ts
  • web/src/systems/settings/adapters/__tests__/settings-api.test.ts
  • web/src/systems/settings/adapters/settings-api.ts
  • web/src/systems/settings/adapters/settings-roles-api.ts
  • web/src/systems/settings/components/__tests__/settings-number-input.test.tsx
  • web/src/systems/settings/components/index.ts
  • web/src/systems/settings/components/network-settings-sections.tsx
  • web/src/systems/settings/components/role-advanced-details.tsx
  • web/src/systems/settings/components/role-diagnostics-notice.tsx
  • web/src/systems/settings/components/role-fallback-editor.tsx
  • web/src/systems/settings/components/role-field-control.tsx
  • web/src/systems/settings/components/role-settings-group.tsx
  • web/src/systems/settings/components/role-status-badges.tsx
  • web/src/systems/settings/components/setting-row.tsx
  • web/src/systems/settings/components/settings-advanced-fold.tsx
  • web/src/systems/settings/components/settings-number-input.tsx
  • web/src/systems/settings/hooks/__tests__/use-settings-mutations.test.tsx
  • web/src/systems/settings/hooks/__tests__/use-settings-page.test.tsx
  • web/src/systems/settings/hooks/__tests__/use-settings-roles-page.test.tsx
  • web/src/systems/settings/hooks/use-settings-mutations.ts
  • web/src/systems/settings/hooks/use-settings-roles-page.ts
  • web/src/systems/settings/hooks/use-settings-sections.ts
  • web/src/systems/settings/index.ts
  • web/src/systems/settings/lib/__tests__/roles-config.test.ts
  • web/src/systems/settings/lib/__tests__/save-state.test.ts
  • web/src/systems/settings/lib/__tests__/sections.test.ts
  • web/src/systems/settings/lib/query-keys.ts
  • web/src/systems/settings/lib/query-options.ts
  • web/src/systems/settings/lib/roles-config.ts
  • web/src/systems/settings/lib/roles-validation.ts
  • web/src/systems/settings/lib/roles-view-model.ts
  • web/src/systems/settings/lib/save-state.ts
  • web/src/systems/settings/lib/sections.ts
  • web/src/systems/settings/mocks/fixtures.ts
  • web/src/systems/settings/mocks/handlers.ts
  • web/src/systems/settings/mocks/index.ts
  • web/src/systems/settings/mocks/roles-fixtures.ts
  • web/src/systems/settings/types.ts
  • web/src/systems/tasks/components/task-now-active-run.tsx
  • web/src/systems/tasks/components/task-page-head.tsx
  • web/src/systems/tasks/components/task-runs-panel.tsx
  • web/src/systems/tasks/lib/task-detail-pills.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/agent-roles

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@compozyrabbit

compozyrabbit Bot commented Jul 25, 2026

Copy link
Copy Markdown

Code Review Could Not Complete ⚠️

The review failed before suggestions could be generated.

Reason: Unexpected error while running the code review (open_router).

After fixing the issue, comment @kody review on this PR to re-run the review.

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug
Performance
Security
Business Logic

Access your configuration settings here.

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit 17620a1.

@pedronauck
pedronauck merged commit 763968b into main Jul 25, 2026
5 of 7 checks passed
@pedronauck
pedronauck deleted the feat/agent-roles branch July 25, 2026 00:57
@compozyrabbit

compozyrabbit Bot commented Jul 25, 2026

Copy link
Copy Markdown

Code Review Could Not Complete ⚠️

The review failed before suggestions could be generated.

Reason: Unexpected error while running the code review (open_router).

After fixing the issue, comment @kody review on this PR to re-run the review.

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug
Performance
Security
Business Logic

Access your configuration settings here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant