Skip to content

bug(onboarding): fresh install greets the first agent with red "must-fix" compatibility findings from Trinity's own starter templates #2899

Closed

Description

@obasilakis

Summary

On a fresh v0.9.5 install, opening the first agent shows a red "3 compatibility issues (2 must-fix)" banner on the Overview tab. Every agent in the stock demo fleet is affected, and the must-fix findings come from templates Trinity itself ships. This is the first screen a new user sees after the setup wizard.

This is a recurrence of the class #1908 named and did not close: "The platform grades agents against docs/agent-validation-spec.md, but nothing grades the templates the platform itself ships." #1908 fixed one instance (the missing .gitignore); the guard that would have caught the next one was never added, and this is the next one.

Evidence

Fresh DigitalOcean snapshot install of v0.9.5, demo fleet created through the UI, no user edits. Reports built via services.compatibility.build_report(agent, include_ai=False) inside trinity-backend:

== acme-scout   issues  hard=2 soft=1 info=5
   F-006 info | README.md is missing
   F-010 soft | dashboard.yaml is missing — Dashboard tab will be empty
   F-011 info | ARCHITECTURE.md (or docs/architecture.md) is missing
   T-004 hard | template.yaml resources.cpu is missing
   T-005 hard | template.yaml resources.memory is missing
   T-007 info | template.yaml 'version' is missing
   T-008 info | template.yaml 'author' is missing
   T-010 info | template.yaml 'use_cases' is missing or empty
   skipped: {'no_api_key': 30, 'no_env_example': 2, 'no_dashboard': 6}  (89 checks total)

== cornelius    issues  hard=0 soft=5 info=2
   F-010 soft | dashboard.yaml is missing — Dashboard tab will be empty
   F-011 info | ARCHITECTURE.md (or docs/architecture.md) is missing
   S-006 soft | Claude Code runtime dirs not all excluded in .gitignore
   S-008 soft | wildcard secret-file patterns missing from .gitignore
   T-010 info | use_cases should have 3–7 entries (has 10)
   P-004 soft | SKILL.md files exceed 500 lines
   X-004 soft | MCP servers differ between template.yaml and .mcp.json.template
   skipped: {'no_api_key': 30, 'no_dashboard': 6}  (89 checks total)

acme-sage and acme-scribe are identical to acme-scout: hard=2 soft=1 info=5, same eight findings.

The three templates carrying the hard findings are exactly the three Trinity presents as starters — config/agent-templates/{scout,sage,scribe}/template.yaml, each marked hidden: false with the comment "a starter we stand behind as someone's first agent" (#1931). None of the three declares resources:, version:, author: or use_cases:. Nearly every other bundled template declares resources:.

The two defects behind the one symptom

1. Shipped starter templates fail Trinity's own must-fix checks.

T-004 / T-005 (spec.py, severity hard) fail on scout, sage and scribe because those three manifests carry no resources: block. The information-severity findings (F-006, F-011, T-007, T-008, T-010) have the same root: the three starters are three-file templates (CLAUDE.md, template.yaml, avatar.webp) while the checks expect the fuller shape documented in docs/agent-validation-spec.md.

Two ways to close it, and the choice is a product call, not a mechanical one:

  • Fill the templates in — add resources:, version:, author:, use_cases:, README.md, dashboard.yaml. Read config/agent-templates/default/template.yaml before doing this: it documents that _resolve_local_template applies a template's resources over the caller's requested values in crud.py before normalize_cpu runs, so adding the block changes what a manifest or API caller can ask for on these three templates.
  • Or re-grade the checks — if a working agent can ship without resources:, hard is the wrong severity for T-004/T-005 and the spec should say so.

2. The panel presents advisory findings as problems on the first screen.

Independent of the template content, CompatibilityPanel.vue is mounted in OverviewPanel.vue:311 — the landing tab of the agent detail page (#1107). Its headline is issueCount = hard_count + soft_count (CompatibilityPanel.vue:31-34), so cornelius, whose findings are five advisory nits and zero must-fix, still announces "5 compatibility issues" in a warning-toned banner. infoCount is computed on line 33 and never rendered — dead.

Expanding the panel on a fresh install also shows 30 rows of "AI check skipped (no API key configured)" out of 89 checks, because CompatibilityPanel.vue:84-89 auto-fires an AI run on first open and ai_checks.py:207-212 skips every AI check when no Anthropic key is configured. A fresh install has no key by default, so every first-time user sees this. The skipped rows correctly do not count toward the headline (__init__.py:64-76), but they dominate the list visually.

Acceptance criteria

  1. A fresh install with the stock demo fleet shows zero must-fix (hard) findings on every bundled hidden: false template.
  2. An agent whose only findings are advisory does not present a warning-toned "N compatibility issues" banner on the Overview landing tab. Either the headline counts must-fix only, or advisory findings move behind the expanded view.
  3. With no Anthropic API key configured, the panel does not render one row per skipped AI check — collapse them to a single line, or omit the AI section entirely with one line explaining what enables it.
  4. A CI guard runs the compatibility spec against every bundled hidden: false template and fails on a hard finding. Without this, the class recurs a third time. This is the part bug(templates): sage/scout/scribe ship no .gitignore — every agent created from them is born with 4 hard security findings #1908 left open.

Repro

  1. Fresh v0.9.5 install, complete the setup wizard.
  2. Create the demo fleet (or any agent from the scout, sage or scribe template).
  3. Open the agent → Overview tab.
  4. Red banner: "3 compatibility issues (2 must-fix)".

Activity

  1. added
    priority-p1
    type-bug
    theme-ui-ux
    complexity-medium
    on Sep 18, 2026
  2. obasilakis commented on Sep 18, 2026

    @obasilakis
    ContributorAuthor

    Scope note: Cornelius's template content is out of scope here. Its 5 soft + 2 info findings are filed upstream as Abilityai/cornelius#9 (it is seeded from github:Abilityai/cornelius, so the AC4 guard over bundled templates cannot see it). One piece stays here: X-004 flags trinity in template.yaml mcp_servers as missing from .mcp.json.template, but the platform injects that server at runtime (agent_server/services/trinity_mcp.py), so the check should exempt it.

  3. obasilakis commented on Sep 18, 2026

    @obasilakis
    ContributorAuthor

    /claim

  4. added
    status-in-progress
    on Sep 18, 2026
  5. github-actions commented on Sep 18, 2026

    @github-actions

    Claimed by @obasilakis. Label status-in-progress added.

    Next steps:

    1. Create branch: feature/2899-<short-slug>
    2. Implement the feature
    3. Open a PR with Fixes #2899
  6. added
    status-in-dev
    and removed
    status-in-progress
    on Sep 21, 2026
  7. removed
    status-in-dev
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

complexity-mediumpriority-p1theme-ui-uxtype-bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions