[Feature]: Let a project declare optional components absent by choice, so fw doctor stays green and readable
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Shell
- Star
- 16
- Fork
- 6
- Merge trung bình
- 6 giờ 24 phút
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DimitriGeelen/agentic-engineering-framework
-
area:cli bug severity:low status:fixed-on-bleeding-edge triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
DimitriGeelen/agentic-engineering-framework#100 · 5 bình luận ·
-
area:cli bug severity:medium status:fixed-on-bleeding-edge triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
DimitriGeelen/agentic-engineering-framework#97 · 5 bình luận ·
-
area:context bug severity:low status:fixed-on-bleeding-edge triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
DimitriGeelen/agentic-engineering-framework#96 · 5 bình luận ·
-
area:docs bug severity:medium status:in-progress triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
DimitriGeelen/agentic-engineering-framework#95 · 4 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Tất cả issue của DimitriGeelen/agentic-engineering-framework
Issue tương tự
-
Python Volcengine provider returns failures instead of raising themCó thể đã có người làm @Ricardo-M-L đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
agent-infra/sandbox#248 ·
-
chore priority:low size:S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
celo-org/celopedia-skills#98 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Git for Windows shouldn't be locked on their `.windows.1` versionsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởgit windows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jenkins-infra/packer-images#3179 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ready-for-pr
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
kunchenguid/firstmate#7679 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Security: Vulnerable PHP version (CVE-2026-109618 / CVE-2026-109619) in current Docker imagesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
MISP/misp-docker#478 ·
Maintainer thường phản hồi trong vòng 1 ngày