Files
Profa 2253d05618 feat: flatten project structure — archive v2, promote v3 to root
Remove the nested v3/ subdirectory by moving all active source code,
tests, configs, and assets directly to the project root. Archive v2/
(dead code, 847MB) to v2-archive.tar.gz.

Key changes:
- Move v3/src/ → src/, v3/tests/ → tests/, v3/packages/ → packages/
- Move v3/tsconfig.json, v3/vitest.config.ts to root
- Merge v3/package.json into root package.json (ESM, scripts, deps, exports)
- Merge v3/scripts/ into scripts/, v3/implementation/ into docs/implementation/
- Update all CI workflows to remove "cd v3 &&" and v3/ path prefixes
- Fix all init installer path resolution (3-level-up → 2-level-up)
- Fix hooks to use "node ./dist/cli/bundle.js" instead of bare "aqe"
- Update settings.json ADR/DDD directories to docs/implementation/
- Fix helper scripts (statusline, adr-compliance, ddd-tracker, guidance-hooks)
- Update 58 agent definitions: aqe/v3/ → aqe/ memory namespaces
- Update 15 guidance shards: v3/src/ → src/ path references
- Fix sync interfaces: remove v3/ and v2/ path references
- Fix test path calculations (process.cwd() + '..' no longer needed)
- Fix flaky perf test threshold (500ms → 1000ms for CI environments)
- Fix complexity-analyzer test to match ADR-051 keyword-based eligibility

Build passes, 17,901 tests pass, CLI and MCP bundles verified.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 11:35:41 +00:00

4.1 KiB

ADR-{ID}: {Title}

Field Value
Decision ID ADR-{ID}
Status Proposed
Date {YYYY-MM-DD}
Author {Author Name}
Review Cadence 6 months

WH(Y) Decision Statement

In the context of {describe the functional context - what system, component, or capability this decision affects},

facing {describe the non-functional concern - the challenge, constraint, or quality attribute driving this decision},

we decided for {state the decision clearly - the specific technology, pattern, approach, or standard chosen},

and neglected {list alternatives considered but rejected - include brief reason if helpful},

to achieve {list expected benefits - the quality attributes or capabilities gained},

accepting that {acknowledge trade-offs - costs, risks, limitations, or technical debt introduced}.


Context

{Provide 2-3 paragraphs of background. Focus on:

  • What problem or opportunity triggered this decision?
  • What constraints or requirements shape the solution space?
  • What prior decisions or existing architecture influences this choice?

Do NOT include implementation details, code examples, or configuration here.}


Options Considered

Option 1: {Selected Option Name} (Selected)

{Brief description of the approach}

Pros:

  • {Benefit 1}
  • {Benefit 2}

Cons:

  • {Limitation 1}
  • {Limitation 2}

Option 2: {Alternative Name} (Rejected)

{Brief description of the approach}

Why rejected: {1-2 sentences explaining why this wasn't chosen}

Option 3: {Another Alternative} (Rejected)

{Brief description}

Why rejected: {1-2 sentences}


Dependencies

Relationship ADR ID Title Notes
Depends On ADR-{xxx} {Title} {Why this dependency exists}
Relates To ADR-{xxx} {Title} {How they relate}
Part Of MADR-{xxx} {Title} {Parent initiative}

References

Ref ID Title Type Location
SPEC-{ID}-A {Primary Spec Title} Technical Spec specs/SPEC-{ID}-A-{slug}.md
SPEC-{ID}-B {Secondary Spec Title} Implementation Guide specs/SPEC-{ID}-B-{slug}.md

Governance

Review Board Date Outcome Next Review
{Team/Board Name} {YYYY-MM-DD} Proposed {YYYY-MM-DD}

Status History

Status Date Notes
Proposed {YYYY-MM-DD} Initial creation

Definition of Done Checklist

Before requesting approval, verify:

Core (ECADR)

  • E - Evidence: Approach validated (PoC, prior art, or expert input)
  • C - Criteria: At least 2 options compared systematically
  • A - Agreement: Relevant stakeholders consulted
  • D - Documentation: WH(Y) statement complete, ADR published
  • R - Review: Review cadence set, owner assigned

Extended

  • Dp - Dependencies: All relationships documented with typed relationships
  • Rf - References: Implementation details in SPEC files, all links valid
  • M - Master: Linked to Master ADR if part of larger initiative