feat(aidd-context): project memory points to the UI system instead of duplicating it

Đang mở
#1,123 1 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ó
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
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
developer-experience

Hướng nghiên cứu

Start with 01-system/references/authority.md and the 02-project-memory skills and templates, then compare their ownership rules with the aidd-ui skills and the Project Memory model in #801. Define the refresh and handover behavior for both plugin states, and name the aidd-context action that handles stale-memory reports. Done means the acceptance criteria are met and the plugin docs agree; coordinate with the open #801 and draft PR #708.

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

Mô tả

Problem

PR #708 makes aidd-ui read project memory and never write it, with code winning over memory when they differ (01-system/references/authority.md). The other half is on the aidd-context side and is not specified: what the memory holds about UI once the plugin is installed.

Today a project's UI knowledge can live in two places: the memory that 02-project-memory builds, and the UI system and feature contracts that aidd-ui maintains. When both describe the same design, they diverge and the model reads the stale one. The plugin reports memory drift "for a separate Context-owned refresh", but no skill owns that refresh yet.

Raised in a community lab on the plugin: if the UI plugin is installed, memory should point to it instead of duplicating it; if it is not, memory should still create a minimal UI artefact rather than leave a gap.

Scope
  • Define what project memory holds about UI when aidd-ui is installed: a pointer to the active UI system, not a copy of its decisions.
  • Define what 02-project-memory produces when aidd-ui is absent: a minimal UI artefact, and how it hands over when the plugin is installed later.
  • Give the memory-drift signal from aidd-ui an owner and a refresh path in aidd-context.
  • Update the plugin docs so the two ownership statements agree.
Acceptance criteria
  • With aidd-ui installed, a memory refresh writes a pointer to the active UI system and no copy of its decisions.
  • Without aidd-ui, a memory refresh writes a minimal UI artefact, and installing the plugin later replaces it by a pointer without losing information.
  • A stale-memory report from aidd-ui leads to one named aidd-context action.
  • No skill writes the same UI fact in both places.
  • aidd-ui still never writes memory.
Prior art in this repo
  • PR #708 (draft): 01-system/references/authority.md and the "never modify project memory" rule in every aidd-ui skill.
  • #801 (open): documents the Project Memory model and lifecycle; this issue must stay consistent with it.
  • #732 (merged): reshaped the memory bank to its own templates.
Out of scope
  • Writing memory from aidd-ui: it stays read-only by design.
  • Renaming the aidd-ui skills or artefact files (design, adapt, the system file name): a review change on PR #708.
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.