Context
Migrate the scaffold check cli/src/lib/doctor/_scaffold/checks/agent-neutral.sh to a native TypeScript module at cli/src/lib/doctor/checks/agent-neutral.ts.
Acceptance Criteria
Technical Notes
- Pure function: corpus path in, diagnostics out
- DiagnosticResult schema as defined in the doctor module
- The shell script uses grep/find; TypeScript port must replicate the same glob + pattern logic
- Reference implementation:
cli/src/lib/doctor/_scaffold/checks/agent-neutral.sh
Context
Migrate the scaffold check
cli/src/lib/doctor/_scaffold/checks/agent-neutral.shto a native TypeScript module atcli/src/lib/doctor/checks/agent-neutral.ts.Acceptance Criteria
cli/src/lib/doctor/checks/agent-neutral.tsexportsvalidate(corpusRoot: string): DiagnosticResult[].mdor.meta.yaml) references a specific agent nameai4x doctorinvokes the new check (replaces scaffold invocation)agent-neutral.sh) deleted after portdistinguish_fromcontext)Technical Notes
cli/src/lib/doctor/_scaffold/checks/agent-neutral.sh