Skip to content

chore(learning): ADR-014 knownFlags mechanism retired without ledger amendment #303

Description

@dean0x

Problem

ADR-014 ("knownFlags-snapshot mechanism") recorded an architectural decision about how the manifest stores feature flags. That mechanism was superseded by the FlagsRecord key-presence approach in PR #300 (feat/flags-typed-registry).

The decisions ledger still describes the retired mechanism, which misleads future developers consulting ADR-014.

Current Status

Implementation Constraint

This is a Learning-pipeline task, not a Code-agent edit:

  • decisions.md is a rendered artifact generated from .devflow/learning/decisions-ledger.jsonl
  • Direct edits to decisions.md are overwritten on the next Learning agent run
  • Only the Learning agent can amend or retire the ADR via the retire-anchor or assign-anchor ledger operations (per LLM-vs-plumbing principle)

Solution

Route this work through the Learning agent:

  1. Add an observation to the learning queue indicating that ADR-014 is stale
  2. The Learning agent should either:
    • Retire ADR-014 (if the old mechanism is fully obsolete and no longer applicable)
    • Amend ADR-014 (add a note explaining how FlagsRecord supersedes the old mechanism, and describe the new approach)
  3. Re-render decisions.md via the Learning agent's render-decisions operation

Acceptance Criteria

  • Learning agent reviewed ADR-014 against the new FlagsRecord mechanism
  • ADR-014 updated (amended or retired) to reflect current architecture
  • decisions.md re-rendered from the amended ledger
  • Future readers of decisions.md see the current mechanism, not the retired one
  • Decision recorded as a Learning agent amendment with timestamp

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech-debtTechnical debt items to address

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions