[Feature]: Let a project declare optional components absent by choice, so fw doctor stays green and readable
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 45/100
調査の方向性
Start by reading lib/config.sh and agents/context/sidecar-autostart.sh, then trace how fw doctor, fw audit, and fw cron generate read project configuration. Identify how fw upgrade preserves MESSAGING_TOOLKIT and which cron jobs and checks map to each component. Done means disabled components are skipped in doctor and audit, omitted from generated cron jobs, and kept through upgrades.
索引モデルが issue の本文から書いたものです。
説明
Problem
A consumer project can deliberately run without some optional components. Here: no embedding service (Ollama: memory is tight on the host), no Playwright (no framework UI tests in a consumer), no TermLink and no cross-host messaging, no framework cron (fw cron install needs root and the two seeded jobs serve the components above).
The framework has no way to record that choice, so fw doctor exits 1 forever:
- six FAIL lines for the vector index (
index,manifest,age,lag,canary,token) plusWARN usage: recallandWARN [host] embed endpoint not reachable.lib/config.shonly offers thresholds (INDEX_MAX_AGE_HOURS,RECALL_FAIL_PCT_WARN...), no switch; WARN Playwright pip package missing;WARN Cron registry present but not generated(the seeded jobs aresidecar-sweep-5mandindex-reindex-hourly);WARN Sidecar watcher live but INERT: TermLink absentandWARN [host] TermLink not installed.
MESSAGING_TOOLKIT: 0 (T-4042, thank you) stops the slash commands and scripts, but not the sidecar: the sidecar-autostart SessionStart hook still starts a receiver and two watchers for every session (agents/context/sidecar-autostart.sh); the only opt-outs are the environment variable FW_SIDECAR_AUTOSTART=0, which belongs to the launcher, not to the project, and fw sidecar stop.
A doctor that is always red teaches the operator to stop reading it, and the real failures are lost among the expected ones.
Proposed Solution
- One project-level switch per optional component in
.framework.yaml, read byfw doctorandfw audit, for exampleSEMANTIC_INDEX: 0,UI_TESTS: 0,SIDECAR: 0. When off, the related checks printSKIP <name> (disabled in .framework.yaml)and do not count toward the exit code. MESSAGING_TOOLKIT: 0also implies no sidecar autostart and nosidecar-sweep-5mjob (orSIDECAR: 0as its own key, documented next to it).fw cron generateleaves out jobs whose component is off, sofw cron installinstalls only what is used.fw upgradekeeps these keys, as it already keepsMESSAGING_TOOLKIT.
Subsystem
Task Management
Scope
None
Alternatives Considered
- Install everything: Ollama costs memory the host does not have; Playwright and TermLink serve nothing in this project.
- Live with the red doctor: that is what happens now, and it hides real failures.
FW_SIDECAR_AUTOSTART=0in the launcher: it works for the sidecar only, and the setting then lives outside the project.
Additional Context
1.8.11 (e42aa41bf), vendored consumer, Linux (Ubuntu 20.04, systemd 245), Claude Code. Found during a review of the installation after upgrading from 1.8.6. Related defects found in the same review (smoke test, cron OK, resolver-loop, turn driver) are reported separately; this request is only about declaring components absent.
- 主要言語
- Shell
- スター
- 16
- フォーク
- 6
- 平均マージ
- 6時間 24分
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DimitriGeelen/agentic-engineering-framework のほかの issue
-
area:cli bug severity:low status:fixed-on-bleeding-edge triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
DimitriGeelen/agentic-engineering-framework#100 · コメント 5 件 ·
-
area:cli bug severity:medium status:fixed-on-bleeding-edge triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
DimitriGeelen/agentic-engineering-framework#97 · コメント 5 件 ·
-
area:context bug severity:low status:accepted triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
DimitriGeelen/agentic-engineering-framework#96 · コメント 3 件 ·
-
area:cli bug severity:medium status:accepted triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
DimitriGeelen/agentic-engineering-framework#95 · コメント 3 件 ·
-
area:watchtower bug severity:low status:released triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
DimitriGeelen/agentic-engineering-framework#94 · コメント 4 件 ·
DimitriGeelen/agentic-engineering-framework の issue をすべて見る
似ている issue
-
bug raised-by:verifier
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
medici-finance/assay#4008 ·
メンテナーはふだん 1 日以内に返信
-
bug: `curl NAME` exports an unquoted, uninterpolated command that is not runnable対応中かも @dannyward630 が今日担当しました。 オープンbug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
yunaremaia/git-api#61 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
cloudflare/skills#247 ·
メンテナーはふだん 1 日以内に返信
-
Update nwg-panel to 0.12.3対応中かも @zen0bit が今日担当しました。 オープンpackage-update
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信