Chore: remove serena MCP completely; gitea auto-push + test-count conventions

Serena dropped from .mcp.json + .serena/ untracked (unused in practice,
flaky on Unity per CLAUDE.md's own caveat); memory stack is now three
layers. Standing auths recorded in the skill: docs auto-commit + auto-push
main->gitea (origin stays ask-first).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-07 22:00:33 -07:00
parent a4b6bb9dfe
commit 7b64c1caa3
6 changed files with 33 additions and 24 deletions
@@ -50,6 +50,24 @@ MEMORY.md index de-bloated (two ~500-word narrative lines → true one-liners; d
the stale "scale LEG children" root-cause claim corrected in the redirect memory (real fix was the swallowed
attribute — see [[2026-07-07_Phase15_NodeFeedback_Attribute_Swallow]]).
## Round 2 (same session) — health sweep + operator authorizations
Sweep findings: **GitHub PAT leaked in the `origin` remote URL** (operator rotating; never echo credentialed remote
URLs) · **75 commits unpushed to origin / 25 to gitea** · basic-memory sync verified LIVE · four pre-redirect roadmap
docs lacked supersession banners (added, `03fb4052e`) · playtest-notes drop file created (`User Sessions/` is
git-ignored — local scratch by design; durable record = session logs).
Operator authorized ×3: (1) **auto-push `main`→gitea whenever** (SKILL.md #5 + memory; origin stays ask-first);
(2) **serena REMOVED completely**`.mcp.json`, `.serena/` (moved to scratchpad; memories were empty), all references
in CLAUDE.md ("three layers" now), SKILL.md, memory-protocol.md, Documentation_Protocol.md; C# nav = Grep/Glob;
(3) **console-noise purge + conventions**: fixed CS0618/CS0414 in `MenuUi` (FindAnyObjectByType),
GA `SaveParticleSystemScript` (prefabAssetPath→assetPath ×2), Synty `SampleOscillateSliders` (FindObjectsByType
overload), `POLYGON_DogAnimationController` (dead `death_b` removed) — **plus a real bug the sweep surfaced:
`PixelArtDevControls` used legacy `Input.GetKeyDown(F3)``InvalidOperationException` EVERY FRAME in Play** (Input
System-only project; fixed to `Keyboard.current.f3Key.wasPressedThisFrame`). Test-count convention: durable docs say
"suite green (N at the time)", never absolute counts (455 ≠ the stale "456" stamps). Suite green (455) post-purge;
compile warnings zero; remaining console = known test-world `Ignoring invalid [UpdateBefore]` artifacts + bridge noise.
## Next-session intent
Phase 1.5 in earnest: collision-fidelity pass (stabilize #2, now scoped) → lighting/atmosphere pass → art-look
+3 -2
View File
@@ -16,14 +16,15 @@ How knowledge is read and written for Project M. Four layers, each with a distin
|---|---|---|
| **This vault** (`Docs/Vault/`) | Design docs, decision records, session logs, roadmap | **Yes** (git) |
| **basic-memory** MCP | Semantic + wikilink recall over these same vault files | Yes (indexes the vault) |
| **serena** MCP | C# symbol navigation of `Assets/_Project/` | N/A (from code) |
| **Native Claude memory** | Machine-local facts / preferences (`memory/`, `MEMORY.md`) | **No** |
> serena MCP (C# symbol nav) REMOVED 2026-07-07 — unused in practice + flaky on Unity; C# navigation = `Grep`/`Glob`.
**Cross-machine rule:** durable truth → vault or repo `CLAUDE.md` (both committed). Native memory is local-only, never the sole home of a decision or design fact.
## Which tool when
- Where is X defined / who calls it → **serena** (fallback `Grep` / `Glob`).
- Where is X defined / who calls it → **Grep / Glob**.
- What did we decide / how does system Z work → **basic-memory** recall → read the note here.
- Literal string / asset GUID → **Grep / Glob**.
- Current DOTS / Netcode API → **context7** (never memory).