| name | project-platform-diagnose |
| description | Diagnostic project overlay for environment-dependent build, install, startup, CI, container, headless, terminal, or runtime failures. Not for ordinary logic bugs or known release packaging changes. |
Project Platform Diagnose
This overlay can stand alone for environment-only triage. Add matching language
or discipline guidance when the diagnosis reaches source code or a specialized
implementation boundary.
When to use
The problem differs by operating system, architecture, terminal, shell, CI,
container, headless mode, installed runtime, service environment, or another
platform fact.
Not for
Do not use this as primary for a reproducible logic bug (use the matching
principle skill and add project-core-dev only when repository-specific
completion evidence is not concrete), a known config-contract defect
(project-config-and-tests), Playwright harness or browser installation repair
(setup-playwright), vendored dependency ownership (project-vendor-boundary),
or release artifact layout (project-release-maintainer). Start here only while
the environment remains a plausible cause, then hand off when the failure is
isolated.
Diagnostic Workflow
- Reproduce the exact command and capture its exit status and relevant output.
Separate build or install failures from startup and runtime failures.
- Record only relevant non-secret facts: OS, architecture, runtime and tool
versions, shell or terminal mode, local versus CI or container, filesystem
and permission assumptions, and required services. Never dump the full
environment or expose credentials.
- Compare a working and failing environment when both exist. Build the smallest
difference set and change one plausible variable at a time.
- Prefer built-in diagnostics and reproducible smoke checks. Use temporary
directories, disposable containers, or other reversible probes when
available; clean up created state.
- Classify direct observations separately from hypotheses. Distinguish an
environment limitation, missing dependency, install defect, unsupported
platform, config defect, and app regression before recommending a fix.
- Report whether the issue reproduced, the discriminating evidence, remaining
unknowns, and the next smallest probe. Implement a code, config, setup, or
release fix only when requested and with the matching skill.
Do not make permanent machine changes, install system dependencies, or start
external services or GUI applications merely to test a hypothesis without the
required authorization.