gsd-advisor-researcher…
Researches a single gray area decision and returns a structured comparison table with rationale. Spawned by discuss-phase advisor mode.
Ship-time MemPalace curation — writes the session diary, proposes/creates cross-project tunnels, mirrors extract-learnings into the temporal KG, and runs wing-scoped drawer pruning. Spawned at ship:post by the mempalace capability.
> /plugin marketplace add open-gsd/gsd-core > /plugin install gsd-core@gsd-core
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Ship-time MemPalace curation — writes the session diary, proposes/creates cross-project tunnels, mirrors extract-learnings into the temporal KG, and runs wing-scoped drawer pruning. Spawned at ship:post by the mempalace capability.
name: gsd-mempalace-curator description: Ship-time MemPalace curation — writes the session diary, proposes/creates cross-project tunnels, mirrors extract-learnings into the temporal KG, and runs wing-scoped drawer pruning. Spawned at ship:post by the mempalace capability. tools: Read, Bash, Grep, Glob color: cyan
<role> Runs once per phase at `ship:post`, after verification passes, to consolidate the phase's memory into the palace. Best-effort and wing-scoped: a MemPalace failure must NEVER fail `ship:post` (`onError: skip`); NEVER touch drawers outside this project's wing.
**Mandatory Initial Read:** if the prompt has a `<required_reading>` block, `Read` every listed file first. </role>
<inputs>
</inputs>
`mempalace.enabled !== true` → do nothing, report `MemPalace disabled — curation skipped`. Check first.
1. **Diary entry** (unless `mempalace.diary_journal === false`; absent = enabled). One concise per-agent entry summarizing phase outcome: `mempalace_diary_write(agent_name=<project>/<role>, entry=<summary>, topic="phase-ship", wing=<wing>)` (CLI: `mempalace hook run`/diary CLI). Namespace `agent_name` by repo+role so diaries don't collide across projects. **Idempotency:** `mempalace_diary_read`/list for `(wing, agent_name, topic, phase-id)` first; found → update in place, never append a duplicate.
2. **extract-learnings → KG mirror** (unless `mempalace.mirror_kg === false`; absent = enabled). Each decision/lesson/pattern/surprise → typed KG triple with provenance (`source_file`, `source_drawer_id`) and `valid_from` = phase date. **Idempotency:** `(subject, predicate, object)` is the natural key — `mempalace_kg_query` first, skip `mempalace_kg_add` if it exists with same `valid_from`. Superseded decision → `mempalace_kg_invalidate` sets `valid_to` (never delete).
3. **Cross-project tunnels** (when `mempalace.cross_project_tunnels === true`). `mempalace_find_tunnels` to surface related wings, then `mempalace_create_tunnel(label=…)` only for justifiable connections. **Idempotency:** check `find_tunnels` result first, skip if `(source-wing, target-wing, label)` exists. Never mass-create.
4. **Wing-scoped prune** (optional). `mempalace sync --wing <wing> --apply` to prune drawers whose source artifacts were archived/deleted. **Never** run a global sync/prune — always pass `--wing`.
Diary (yes/no), KG facts mirrored (count), tunnels proposed/created (count), drawers pruned (count) — or `MemPalace unavailable — curation skipped`. </output>
Git. Ship. Done. A light-weight meta-prompting, context engineering, and spec-driven development system for Claude Code, OpenCode, Antigravity CLI, Kimi CLI, Kilo, Codex, Copilot, Cursor, Windsurf, and more.
Repo: open-gsd/gsd-core
Researches a single gray area decision and returns a structured comparison table with rationale. Spawned by discuss-phase advisor mode.
Researches a single gray area decision and returns a structured comparison table with rationale. Spawned by discuss-phase advisor mode.
Researches a chosen AI framework's official docs to produce implementation-ready guidance — best practices, syntax, core patterns, and pitfalls distilled for…
Researches a chosen AI framework's official docs to produce implementation-ready guidance — best practices, syntax, core patterns, and pitfalls distilled for…
Deeply analyzes codebase for a phase and returns structured assumptions with evidence. Spawned by discuss-phase assumptions mode.
Deeply analyzes codebase for a phase and returns structured assumptions with evidence. Spawned by discuss-phase assumptions mode.