spike(framework): assess offline reliability of tool documentation references

Đang mở
#1,235 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi

Hướng nghiên cứu

Start by inventorying external vendor-documentation URLs in the installed skills, beginning with plugins/aidd-context/skills/06-agent-generate/references/tool-paths.md, 04-skill-generate/references/tool-write.md and 08-hook-generate/references/tool-paths.md, and classify each as citation, optional verification or required runtime lookup. Then run representative generation flows with documentation domains unreachable and record what the agent does. Done means a written inventory, reproduction results, and a recommendation with any follow-up issues scoped separately.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problem

AIDD's tool-specific generation skills contain official documentation URLs for Kilo Code, Claude Code, Codex, OpenCode, Cursor, Copilot and other hosts. Source links are important for verifying platform contracts, but external documentation domains can be inaccessible in restricted enterprise networks.

Not every link creates a runtime dependency: many references already describe the contract locally. However, some instructions explicitly tell the agent to consult vendor documentation for information not recorded in the installed reference (for example, supported hook events). It is not yet established whether those workflows continue safely and reliably when the documentation cannot be reached.

This is a research spike, not a demonstrated product bug. The goal is to determine whether there is an actual offline-runtime gap and agree on an approach before proposing implementation changes.

Scope

  • Inventory external vendor-documentation links in the installed AIDD skills, references, agents and rules; classify each as a citation, optional verification or potentially required runtime lookup.
  • Trace representative generation flows for agents, skills, rules, commands/workflows and hooks across the supported hosts.
  • Run reproducible restricted-network scenarios where vendor documentation access is unavailable, distinguishing cases with a locally sufficient contract from those that require missing information.
  • Identify whether agents fail closed, invent unsupported facts, skip mandatory validation or block unnecessarily when a source is unavailable.
  • Propose a framework-wide convention for locally sufficient execution contracts, optional source verification, evidence freshness and explicit handling of unknown or unverified behavior.
  • Identify small follow-up implementation issues only where a reproducible gap exists, without requiring wholesale copies of vendor documentation.

Acceptance criteria

  • A documented inventory identifies external documentation lookups and their role (citation / optional / required) with file references.
  • Representative supported generation workflows are tested with documentation domains unreachable; reproduction steps and observed results are recorded.
  • The report distinguishes actual runtime dependencies from harmless source links and identifies the behavior when a required fact cannot be verified.
  • A proposed convention preserves official URLs, evidence provenance and verification dates while defining what must be available locally for reliable generation.
  • Any limitations, security considerations and maintenance trade-offs (including documentation drift) are documented.
  • The spike concludes with a clear recommendation and separately scoped follow-up issues, if warranted.

Prior art in this repo

  • #618 — source-backed, dated and auditable tool references. Its requirement to avoid guessing tool behavior must remain intact.
  • #1149 — deterministic framework-file validation; related, not a replacement for offline workflow testing.
  • PR #992 — Kilo-native generation; example references:
    • plugins/aidd-context/skills/06-agent-generate/references/tool-paths.md: local agent mapping plus official vendor links.
    • plugins/aidd-context/skills/04-skill-generate/references/tool-write.md: locally defined targets with sourced platform contracts.
    • plugins/aidd-context/skills/08-hook-generate/references/tool-paths.md: requests external documentation checks for some hook events.
  • aidd_docs/README.md describes local marketplace installation for offline use; this spike examines workflows after installation, not marketplace download.

Out of scope

  • Blocking or expanding PR #992 solely because it contains external documentation URLs.
  • Removing official sources or replacing evidence-backed claims with unsourced assumptions.
  • Vendoring entire provider documentation sites or introducing a live network requirement into every generation.
  • Implementing a fallback, caching system or large-scale refactor before the investigation establishes a concrete need.
Ngôn ngữ chính
TypeScript
Star
481
Fork
45
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
91

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ai-driven-dev/framework

Tất cả issue của ai-driven-dev/framework

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.