一键导入
gpd-decisions
Display and search the cumulative decision log
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Display and search the cumulative decision log
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Add research phase to end of current milestone in roadmap
Capture idea or task as todo from current research conversation context
Prepare a paper for arXiv submission with validation and packaging
Audit research milestone completion against original research goals
Create a hypothesis branch for parallel investigation of an alternative approach
List pending research todos and select one to work on
基于 SOC 职业分类
| name | gpd-decisions |
| description | Display and search the cumulative decision log |
| argument-hint | [phase number or keyword] |
| context_mode | project-required |
| requires | {"files":[".gpd/STATE.md"]} |
| allowed-tools | ["read_file","shell","grep","glob"] |
<codex_runtime_notes> Codex shell compatibility:
gpd on PATH.GPD_ACTIVE_RUNTIME=codex uv run gpd ....
</codex_runtime_notes>Routes to the decisions workflow which handles:
$gpd-decisions 3)$gpd-decisions regularization)<execution_context> @.gpd/STATE.md
Display and search the cumulative decision log from .gpd/DECISIONS.md. Supports filtering by phase number or keyword, and presents formatted output with summary statistics.<required_reading> Read all files referenced by the invoking prompt's execution_context before starting. </required_reading>
Check if the decision log exists:cat .gpd/DECISIONS.md 2>/dev/null
If file doesn't exist or has no entries (only header row):
No decisions logged yet.
Decisions are recorded automatically during phase transitions ($gpd-progress).
You can also add entries manually to .gpd/DECISIONS.md.
---
Would you like to:
1. Check project progress ($gpd-progress)
2. View current phase ($gpd-show-phase)
Exit.
Determine filter mode from arguments:$gpd-decisions -> show all entries$gpd-decisions 3 (number) -> filter to Phase 3 only$gpd-decisions regularization (text) -> keyword search across all fields$gpd-decisions high -> filter by impact levelDetection logic:
high, medium, or low (case-insensitive): impact filterExtract each row into fields: ID, Decision, Rationale, Alternatives Considered, Phase, Date, Impact.
Skip the header row and separator row.
**Phase filter:** Keep rows where Phase field matches the requested phase number.Keyword filter: Keep rows where any field contains the keyword (case-insensitive).
Impact filter: Keep rows where Impact field matches (case-insensitive).
No filter: Keep all rows.
**If filter returned results:**Present filtered entries in a readable format:
## Decision Log{filter_suffix}
{filter_suffix examples: " — Phase 3", " — matching 'regularization'", " — High Impact"}
| ID | Decision | Phase | Date | Impact |
| --- | --- | --- | --- | --- |
| DEC-001 | Adopt (-,+,+,+) metric signature | 1 | 2026-03-15 | High |
| DEC-003 | Truncate series at 2-loop | 3 | 2026-03-15 | Medium |
---
**{N} decisions** shown{filter_note}. {M} total in log.
For the compact table, show ID, Decision, Phase, Date, Impact.
To see full details (rationale and alternatives) for a specific decision, the user can ask: "Show details for DEC-003".
If showing details for one decision:
## DEC-003: Truncate perturbative series at 2-loop
**Phase:** 3 | **Date:** 2026-03-15 | **Impact:** Medium
**Rationale:** 3-loop contribution estimated < 0.1% of leading order
**Alternatives Considered:** 1-loop only, 3-loop, resummation
If filter returned no results:
No decisions match {filter description}.
Try:
- `$gpd-decisions` — show all
- `$gpd-decisions <phase>` — filter by phase
- `$gpd-decisions <keyword>` — search by keyword
After the table, show a brief summary:
**Summary:** {total} decisions across {phase_count} phases | High: {h} | Medium: {m} | Low: {l}
Only show this for unfiltered or phase-filtered views (skip for keyword searches with few results).
<success_criteria>
</success_criteria>
</execution_context>
**Follow the decisions workflow** from `@./.codex/get-physics-done/workflows/decisions.md`.The workflow handles all logic including: