aide_info
Checks AIDE artifact versions, global server updates, brain config migration, and brain MCP wiring at startup, returning soft notices and a hard gate that tells the orchestrator whether to continue.
Instructions
Boot-time reporter called by the orchestrator at startup. Returns independent top-level fields that the orchestrator must branch on separately:
outdated (array of stale artifact keys) — soft notification.
Compares the host's .aide/versions.json against the canonical manifest shipped with this npm package. Each element names an artifact key that is behind. An empty array means everything is current. A missing .aide/versions.json (old install predating version tracking) silently collapses to []. Staleness is informational — the orchestrator continues with a heads-up to the user.
behind ({ installed, latest } or null) — soft notification. Non-null only when the project's aide entry launches a globally installed server that is older than the latest published version. Suggest npm i -g @aidemd-mcp/server once and continue — it never gates the pipeline. Null when the server is launched locally, is current, or the version check could not run (offline checks pass silently).
brainMigration ({ staleSections, legacyLauncher } or null) — soft notification. Non-null when the brain config has sections whose text matches an earlier template version, or a legacy brain launcher (legacyLauncher lists the reasons: unpinned, unversioned, older-pin, missing-auto-confirm). Mention it once and suggest /aide:brain config; it never gates the pipeline and never changes brain.status.
brain (precondition state) — hard gate.
Reports whether the host's brain MCP entry is wired and consistent. Shape: { status, name?, fault?, hints } — name is absent on no-brain-aide and brain-aide-invalid; fault is present only on brain-aide-invalid. The orchestrator must halt and direct the user to resolve the issue before continuing if status is not 'ok'. No path validation is performed — the package never stats any directory on disk; state derives entirely from comparing .aide/config/brain.aide against .mcp.json.
The five brain.status values:
ok—.aide/config/brain.aideexists, satisfies the required-section contract, and the host's.mcp.jsonbrainentry matches the parsedmcpServerConfig.nameis the user-declared descriptive label from brain.aide. The pipeline may proceed.no-brain-aide—.aide/config/brain.aideis absent. Nonamefield. Remediation: run/aide:brain config, which creates the config.brain-aide-invalid— the file exists but falls short.fault.kindismissing-sections(withfault.sectionsnaming each missing required section) ormalformed(withfault.reason). Nonamefield. Remediation: run/aide:brain config.no-mcp-entry— brain.aide parsed successfully but the host's.mcp.jsonis absent, malformed, or has nomcpServers.brainkey.nameis present. Remediation: run sync with the same launcher the project'saideMCP entry uses —aidemd-mcp syncwhen the project'saideMCP entry runs the globally installedaidemd-mcp, ornpx -y @aidemd-mcp/server@<version> syncwith the version that entry pins when it runs through npx.mcp-drift— brain.aide and.mcp.jsonboth exist but theirbrainentries disagree oncommandorargs.nameis present. Remediation: run sync with the same launcher the project'saideMCP entry uses —aidemd-mcp syncwhen the project'saideMCP entry runs the globally installedaidemd-mcp, ornpx -y @aidemd-mcp/server@<version> syncwith the version that entry pins when it runs through npx.
hints is always present on every status — an array of candidate brain root paths the orchestrator can surface during recovery.
No parameters needed — uses the server's working directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||