Status

NeoLabHQ/context-engineering-kit/plugins/fpf/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)統計假設檔案數量,根據 valid_until 日期檢查證據的新鮮度,並統計決策檔案數量。接著輸出狀態報告,包含偵測到的工作流程階段、數量、證據狀態、警告與近期決策。
適用情境
當你需要了解 FPF 知識庫的目前狀態或工作流程階段時使用。它也適合在決定下一步(例如驗證、確認、稽核或衰減審查)之前使用。
執行需求
無需指令碼,僅為說明性指示。它會讀取本機 .fpf/ 目錄,其中包含 knowledge、evidence 與 decisions 子目錄,並需要目前日期來判斷證據新鮮度。

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位於plugins/fpf/skills/status提交23e2428

授權條款: 無授權條款

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

檢舉或申請下架