Status

NeoLabHQ/context-engineering-kit/skills/status

作者 NeoLabHQ23e2428e809d77717f8acc9659c374a3a1fcb93e無授權條款收錄於 2026年10月9日更新於 2026年10月9日

Display the current state of the FPF knowledge base

AI 產生的概覽

顯示 FPF 知識庫的目前狀態,包括假設數量、證據新鮮度與所處階段。

功能
檢查 .fpf/ 目錄結構,並統計 L0、L1、L2 與 invalid 各知識層中的假設檔案數量。它透過 frontmatter 中的 valid_until 欄位檢查 .fpf/evidence/ 中證據檔案的新鮮度,並統計 .fpf/decisions/ 中的決策記錄數量。接著輸出格式化的狀態報告,包含階段判斷、數量統計、證據狀態、警告與近期決策。
適用情境
當你需要了解 FPF 知識庫的整體狀態,或想知道它目前處於哪個工作流程階段時使用。它也適合用來發現過期或即將過期的證據,並判斷是否需要執行 decay 或 propose-hypotheses 等後續指令。
執行需求
無需指令碼或特殊工具,依賴代理讀取 .fpf/ 目錄及其檔案。要產生完整報告需要知識庫已存在,但此技能也能處理尚未初始化的情況。

Status Check

Display the current state of the FPF knowledge base.

Action (Run-Time)

  1. Check Directory Structure: Verify .fpf/ exists and contains required subdirectories.
  2. Count Hypotheses: List files in each knowledge layer:
    • .fpf/knowledge/L0/ (Proposed)
    • .fpf/knowledge/L1/ (Verified)
    • .fpf/knowledge/L2/ (Validated)
    • .fpf/knowledge/invalid/ (Rejected)
  3. Check Evidence Freshness: Scan .fpf/evidence/ for expired evidence.
  4. Count Decisions: List files in .fpf/decisions/.
  5. Report to user.

Status Report Format

markdown
## FPF Status
### Directory Structure- [x] .fpf/ exists- [x] knowledge/L0/ exists- [x] knowledge/L1/ exists- [x] knowledge/L2/ exists- [x] evidence/ exists- [x] decisions/ exists
### Current PhaseBased on hypothesis distribution: ABDUCTION | DEDUCTION | INDUCTION | DECISION | IDLE
### Hypothesis Counts
| Layer | Count | Status ||-------|-------|--------|| L0 (Proposed) | 3 | Awaiting verification || L1 (Verified) | 2 | Awaiting validation || L2 (Validated) | 1 | Ready for decision || Invalid | 1 | Rejected |
### Evidence Status
| Total | Fresh | Stale | Expired ||-------|-------|-------|---------|| 5 | 3 | 1 | 1 |
### Warnings
- 1 evidence file is EXPIRED: ev-benchmark-old-2024-06-15- Consider running `/fpf:decay` to review stale evidence
### Recent Decisions
| DRR | Date | Winner ||-----|------|--------|| DRR-2025-01-15-use-redis | 2025-01-15 | redis-caching |

Phase Detection Logic

Determine current phase by examining the knowledge base state:

ConditionPhaseNext Step
No .fpf/ directoryNOT INITIALIZEDRun /fpf:propose-hypotheses
L0 > 0, L1 = 0, L2 = 0ABDUCTIONContinue with verification
L1 > 0, L2 = 0DEDUCTIONContinue with validation
L2 > 0, no recent DRRINDUCTIONContinue with audit and decision
Recent DRR existsDECISION COMPLETEReview decision
All emptyIDLERun /fpf:propose-hypotheses

Evidence Freshness Check

For each evidence file in .fpf/evidence/:

  1. Read the valid_until field from frontmatter
  2. Compare with current date
  3. Classify:
    • Fresh: valid_until > today + 30 days
    • Stale: valid_until > today but < today + 30 days
    • Expired: valid_until < today

If any evidence is stale or expired, warn the user and suggest /fpf:decay.

Example Output

## FPF Status
### Current Phase: DEDUCTION
You have 3 hypotheses in L0 awaiting verification.Next step: Continue the FPF workflow to process L0 hypotheses.
### Hypothesis Counts
| Layer | Count ||-------|-------|| L0 | 3 || L1 | 0 || L2 | 0 || Invalid | 0 |
### Evidence Status
No evidence files yet (hypotheses not validated).
### No Warnings
All systems nominal.

來源與署名

來源:NeoLabHQ/context-engineering-kit位於skills/status提交23e2428

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架