@AGENTS.md
PROJECT_PLAN.mdfor product direction and fixed invariants.RULES.mdfor activation-scoped implementation rules.EXECUTE_PLAN.mdfor phase status and backlog. 3a.docs/spec/for frozen decisions — these win on conflict with any plan or doc.docs/plan/holds the plans they govern. Amend the spec rather than diverging from it: a decision that lives only in a working note is not a decision anyone can review.AGENTS.md(auto-loaded every session via the import above) for the full operating guide.skills/mcsl-future/SKILL.mdfor domain-sensitive changes.harness.mdfor agent runtime workflow requirements (e.g. verify againstmicrosoft-docsbefore writing .NET / Microsoft code).
- Declare touched areas before code or project-rule changes.
- Use only rules relevant to the touched areas plus global rules.
- Preserve Common serialized DTO, Daemon API contract, daemon implementation, daemon-client transport, and WPF boundaries.
- Use the sole
/api/v2JSON-RPC endpoint plus versioned binary frames; do not add V1 fallback or envelope heuristics. - Keep protocol/plugin serialization on explicit source-generated
JsonTypeInfowith no reflection fallback. - Plugin-enabled publishing is untrimmed JIT single-file plus sidecars; keep trim analysis but do not claim Native AOT/trimmed plugin-host support.
- Use
Lang.Tr[...]for WPF user-facing text. - Run the smallest relevant build or test, then
git diff --check. - Before every commit, run the full
MCServerLauncher.ProtocolTestssuite and ensure it passes. - Commit format:
type(scope): subject.
Common areas are docs, agent-docs, frontend, backend, protocol, serialization, installer, storage, tests, benchmarks, workflow, and integrations.
Use skills/mcsl-future/SKILL.md for work that changes daemon protocol behavior, instance lifecycle, file ownership/path handling, installer logic, WPF create-instance submission, serialization, or event semantics. Do not use it for trivial docs-only edits.
- WPF:
dotnet build src/MCServerLauncher.WPF/MCServerLauncher.WPF.csproj /m:1 - Daemon:
dotnet build src/MCServerLauncher.Daemon/MCServerLauncher.Daemon.csproj /m:1 - Daemon API:
dotnet build src/MCServerLauncher.Daemon.API/MCServerLauncher.Daemon.API.csproj /m:1 - DaemonClient:
dotnet build src/MCServerLauncher.DaemonClient/MCServerLauncher.DaemonClient.csproj /m:1 - Protocol:
dotnet test tests/MCServerLauncher.ProtocolTests/MCServerLauncher.ProtocolTests.csproj /m:1 - Generated docs:
dotnet run --project tools/MCServerLauncher.ProtocolDocs/MCServerLauncher.ProtocolDocs.csproj -- --check - V1 deletion:
pwsh -File tools/VerifyNoV1Runtime.ps1 - Final hygiene:
git diff --checkandgit status --short