project-platform-diagnose · diff

git:20260423.b0aeb97 to git:20260819.151acd9

37 added, 15 removed. Audit A to A.

---
name: project-platform-diagnose
- description: Overlay for environment-sensitive diagnosis — service startup, install issues, platform integration, headless/container behavior, and runtime smoke checks. Portable across repos where build, install, or runtime behavior depends on the local platform.
+ 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 is a diagnostic overlay, not a standalone workflow.
- Use alongside the repo's implementation skill when debugging environment-sensitive
- issues.
+ 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 involves build/install failures, runtime environment issues, platform
- integration, or headless/container behavior.
+ The problem differs by operating system, architecture, terminal, shell, CI,
+ container, headless mode, installed runtime, service environment, or another
+ platform fact.
## Not for
- Logic bugs in repo-owned code (use the implementation skill directly), vendored
- dependency issues (use **project-vendor-boundary**), or config behavior (use
- **project-config-and-tests**).
+ 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.
- ## Rules
+ ## Diagnostic Workflow
- - separate build/install failures from runtime failures
- - separate environment limits from app regressions
- - prefer built-in diagnostics and reproducible smoke checks before guessing
- - treat headless/container failures carefully when the feature expects a richer
- desktop or service environment
+ 1. Reproduce the exact command and capture its exit status and relevant output.
+ Separate build or install failures from startup and runtime failures.
+ 2. 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.
+ 3. Compare a working and failing environment when both exist. Build the smallest
+ difference set and change one plausible variable at a time.
+ 4. Prefer built-in diagnostics and reproducible smoke checks. Use temporary
+ directories, disposable containers, or other reversible probes when
+ available; clean up created state.
+ 5. 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.
+ 6. 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.