Proposal: opt-in Herdr status bridge and stable turn lifecycle events
維護者通常 1 天內回覆
評估
研究方向
The proposal describes a plugin and an unresolved lifecycle API and marketplace policy question, but names no files or tests to start from. Read the documented Hooks and identify the plugin entry points and existing lifecycle tests; clarify the supported completion and cancellation signals with maintainers before choosing an implementation. Done means maintainers have resolved the interface and review scope, and the plugin reports completion, cancellation, and permission rejection without claiming unverified success.
由索引模型根據 Issue 內容生成。
描述
Proposal
I would like to contribute zcode-herdr-status, a Standard (non-UI), developer-tools plugin that reports observational ZCode lifecycle status to an existing Herdr pane on Linux. It does not approve permissions, inject input, manage sessions, or include an Ovis patch.
An isolated internal prototype exercised a real read-only document review, permission rejection, cancellation, disconnect/reconnect and observer stop without terminating the native agent. This is limited trial evidence, not a claim of broad compatibility or unattended reliability. A portable candidate is being prepared separately with bilingual documentation, local tests and no machine-specific paths or bundled runtimes.
Public lifecycle contract question
The documented Hooks are useful, but Stop is not necessarily final completion, and the tested runtime did not always emit a terminal Hook when a user rejected a permission prompt or cancelled a request. We must not misreport those as successful completion.
The candidate therefore has two explicit modes:
- Default Hooks-only: reports working/permission wait;
Stopbecomes unknown / completion unverified. - Optional experimental adapter: for the tested ZCode 3.16.3 runtime only, projects exact-session/current-parent lifecycle metadata from the local SQLite database in read-only mode. It does not read message text, reasoning, tool arguments/outputs or credential files. Database/schema/runtime mismatches produce unknown/refusal rather than optimistic completion.
Bindings are per inherited pane/socket and exact PID/start-time/UID lineage. Stop/release affects only the observer's source. Native ZCode parameters, model selection and permission policy remain the user's choice.
Questions for maintainers
- Is there a supported event or API for final turn completion, cancellation and TUI permission rejection that this plugin should use instead of internal SQLite metadata?
- Is an explicitly experimental, opt-in, tightly version-pinned read-only metadata adapter acceptable for marketplace review, or should the initial contribution remain Hooks-only until such an API exists?
I will link a focused draft PR for review; a draft is not a request to publish the experimental adapter before this interface question is resolved.
- 主要語言
- Python
- 星號
- 124
- 分支
- 93
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
zai-org/zcode-plugins 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
zai-org/zcode-plugins#107 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 85/100
zai-org/zcode-plugins#106 ·
維護者通常 1 天內回覆
-
video-agent-kit (0.4.3): hooks invoke python3, which doesn't exist on Windows — SessionStart/UserPromptSubmit/Stop hooks fail on every trigger可能已有人在做 @dvd233 於 37 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 85/100
zai-org/zcode-plugins#14 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 35/100
zai-org/zcode-plugins#141 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 57/100
zai-org/zcode-plugins#135 ·
維護者通常 1 天內回覆
查看 zai-org/zcode-plugins 的全部 Issue
相似的 Issue
-
[oblt-aw][autodoc] Document new required `shared-org-key` input for `obs-aw-dependency-review`可能已有人在做 @github-actions 今天認領。 未關閉
難度 1/5 1 小時以內 新手友好度 90/100
維護者通常 1 天內回覆
-
getchaintips leaves out the active tip once a header is staged on it, where Core always lists it未關閉
難度 2/5 1-3 小時 新手友好度 88/100
btclib-org/btclib-node#2158 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 85/100
dbt-msft/dbt-sqlserver#897 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
Gathin23/cleanyourtv#2770 · 2 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
Dao-AILab/flash-attention#3097 ·
維護者通常 3 天內回覆