Skip to content

refactor(aidd-context): dedupe project-memory templates and lighten actions #346

Description

@blafourcade

Tracking issue for branch refactor/project-memory-dedup (commit 76a134b).

Problem

Project-memory generation restated the same fact across files (architecture vs codebase-map, integration's internal flow, stack libs): templates overlapped and the fill ran blind in parallel — the duplication Alex hit.

Change

  • One fact, one home; others reference it (not restate).
  • Templates: drop architecture Structure (codebase-map owns areas+entry), reframe integration to external services, scope api/navigation routes server vs client.
  • Actions/rules: 03 fill no longer blind in parallel; SKILL split into Memory rules / Action rules + "one fact, one file" (define-here, reference-elsewhere); 04 semantic dedup step; new references/memory-block.md; drop redundant capability-signals section.

Validation

Headless on three stacks (cli, kairos web/mobile, kairos existing): definition-level duplication gone, files stay self-contained, 0 cross-tier collisions on the existing bank.

Out of scope (separate)

  • Codex raw @ path resolution (depends on real distribution path).
  • integration capability gate firing without an external service.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions