Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/design/hidden-features-registry/feature-register.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
| Auto-recall tuning knobs | `NMG_AUTO_RECALL_TIER` (1), `NMG_AUTO_RECALL_LIMIT` (13), `NMG_AUTO_RECALL_INITIAL_TARGET` (13), `NMG_AUTO_RECALL_STRONG_HIT_TOP_GAP` (0.05), `NMG_AUTO_RECALL_STRONG_HIT_INITIAL_TARGET` (3) | as listed | tune the default-on auto-recall | pi ext + dsh plugin | core | knobs of a default-on feature |
| Board wake cadence | `NMG_BOARD_WAKE_INTERVAL_SEC` | — | wake interval for board coordination loop | dsh plugin | earlier feature | knob |
| Daemon idle timeout | `NMG_DAEMON_IDLE_TIMEOUT_MS` | — | daemon idle shutdown | `src/cli/http-server.ts` | core | knob |
| Session-only recall cue pilot | Lab lease `recall_gate` | OFF | Normal supplemental search can piggyback a literal cue after an otherwise skipped entry; one rotating pool seeded from the editable vocabulary (segmented LRU driven by distinct user turns) plus an on-request event ring; native Pi reuses turn metadata with no extra per-turn prepare RPC or notice; explicit clients use preparation revisions; lifecycle retirement; no persistence and no truth/relevance feedback | `src/core/{recall-vocabulary,recall-matcher,recall-pool,session-recall}.ts`, Lab authority/service, Pi turn bridge; shared MCP/DSH Lab schemas | [Retrieval owner](../design/progressive-retrieval.md#progressive-retrieval) | experimental; controlled mechanics only, no natural quality/cost evidence |
| Session-only recall cue pilot | Lab lease `recall_gate` | OFF | Literal cues for skipped entries; one seed/learned segmented LRU driven by distinct user turns; bounded event ring; no persistence or truth/relevance feedback | Core recall modules; shared service/host adapters | [Retrieval and lifecycle contract](../design/progressive-retrieval.md#progressive-retrieval) | experimental; controlled mechanics only, no natural quality/cost evidence |
| Controlled daemon code reload | Explicit `nmg daemon reload`; owner capability `controlled-reload`; internal `daemon run --reload-ticket` | OFF (operator action only) | Exclusive handover, drain of accepted calls, ticketed replacement, durable data retained, volatile AG/leases cleared; missing capability and orphaned gate fail closed | `src/cli/daemon-reload.ts`, `lifecycle.ts`, `http-server.ts`, `main.ts`, `daemon-client.ts` | [Daemon lifecycle](../daemon-lifecycle-design/controlled-code-reload.md) | isolated contract tests; no automatic production replacement |
| Agent identity / capabilities | `NMG_AGENT_ID`, `NMG_AGENT_CAPABILITIES`, `NMG_AGENT_ONLINE_MS`, `DSH_SESSION_ID` | auto | board/agent registration identity | pi ext / dsh / `src/core/store/base.ts` | core | config |
| Paths | `NMG_DATA_DIR`, `NMG_PROJECT_DIR`, `HOME`, `USERPROFILE` | — | data/project directories | pi ext / dsh | core | config |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
| Auto-recall tuning knobs | `NMG_AUTO_RECALL_TIER` (1)、`NMG_AUTO_RECALL_LIMIT` (13)、`NMG_AUTO_RECALL_INITIAL_TARGET` (13)、`NMG_AUTO_RECALL_STRONG_HIT_TOP_GAP` (0.05)、`NMG_AUTO_RECALL_STRONG_HIT_INITIAL_TARGET` (3) | 如列值 | 调节默认开启的 auto-recall | 默认开启功能的 knobs |
| Board wake cadence | `NMG_BOARD_WAKE_INTERVAL_SEC` | 未设置 | board coordination loop 的唤醒间隔 | knob |
| Daemon idle timeout | `NMG_DAEMON_IDLE_TIMEOUT_MS` | 未设置 | daemon 空闲关闭时间 | knob |
| Session-only recall cue pilot | Lab 租约 `recall_gate` | OFF | 普通补充检索可在本来被跳过的一条之后携带字面提词;一个由可编辑词表播种的轮换词池(按不同用户回合驱动的分段 LRU)加按需事件环;原生 Pi 复用回合元数据,不增加逐回合 prepare RPC 或提示;显式客户端使用准备修订号;生命周期退役;不持久化,也不做真值/相关性反馈 | 实验性;仅受控机制,无自然质量/成本证据 |
| Session-only recall cue pilot | Lab 租约 `recall_gate` | OFF | 被跳过入口的字面提词;种子与学到的词共用一个按不同用户回合驱动的分段 LRU;有界事件环;不持久化,也不做真值/相关性反馈 | 实验性;仅受控机制,无自然质量/成本证据;[检索与生命周期契约](../design/progressive-retrieval.zh-CN.md#渐进检索) |
| Controlled daemon code reload | 显式 `nmg daemon reload`;owner 能力 `controlled-reload`;内部 `daemon run --reload-ticket` | OFF(仅操作员动作) | 独占交接、排空已接受调用、持票替代、持久数据保留、易失 AG/租约清空;缺少能力与孤儿门禁 fail closed | 隔离契约测试;没有自动生产替换 |
| Agent identity/capabilities | `NMG_AGENT_ID`、`NMG_AGENT_CAPABILITIES`、`NMG_AGENT_ONLINE_MS`、`DSH_SESSION_ID` | 自动 | board/agent 注册身份 | 配置 |
| Paths | `NMG_DATA_DIR`、`NMG_PROJECT_DIR`、`HOME`、`USERPROFILE` | 依环境 | data/project 目录 | 配置 |
Expand Down
Loading