Skip to content

aws-samples/aidlc-discovery

v3.0.0MIT-0

AI-DLC Discovery: run Discovery in five phases, from customer feedback to a Discovery brief, with one skill per job.

Changelog

All notable changes to aidlc-discovery will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.


Unreleased


[3.0.0] — 2026-11-05

v3 replaces the interview workflow with a full Discovery process for AWS Quick Desktop. A team brings its customer feedback and leaves with a decision on what to build first, a clickable prototype, and a Discovery brief that a build, including AI-DLC, starts from.

Added

  • Five phases (Signals, Working Backwards, Prototype, Validate, Handoff), run by one entry skill, aidlc-discovery, that calls eleven job skills. Each job also works on its own.
  • scripts/build.py, which bundles the skills into one installable AWS Quick skill with a module per job. The release asset is that bundle.
  • Optional team Space support, so several people can follow Discovery and take it over.
  • Two synthetic samples (AnyCompany Air, with telemetry, and AnyCompany Health), facilitator material, reference runs, and a facilitator course.
  • Unit tests for the skills, the bundle, and the samples, and an end-to-end test harness.

Removed

  • Breaking: the Kiro and Claude Code bundles, the Node build (build.js), and the v1 rule set. The skill now targets AWS Quick Desktop only. Earlier releases remain available on the releases page.

2.0.1 — 2026-07-02 (pre-release)

Patch release. Fixes the AWS Quick installation.

Fixed

  • AWS Quick install fix. Some users installing from GitHub hit an "access to a private folder" error during AWS Quick setup. The skill now describes its bundled files (aidlc-common/, skills/, aidlc-discovery-rules/) relative to its own folder, matching how Quick resolves the install location. The install docs now use the supported desktop UI import flow (Agents & skills → Skills → + Create → Import from file), and the automated install prompt is pinned to v2.0.1 so users pull the corrected assets.

2.0.0 — 2026-06-02 (skill-based multiplatform rewrite · pre-release)

v2 repackages aidlc-discovery as an independent, skill-based, multiplatform tool. The interview method (question banks, Quick/Full depth, visual sketch) is reused from v1; the packaging and orchestration are new. AI-DLC is a consumer of the output, not its container.

Added

  • Skill-based architecture (agentskills.io): a discovery-orchestrator (setup) plus product-discovery, tech-discovery, open-questions, and visual-sketch skills, with shared aidlc-common/ (orchestrator protocol, conventions, deterministic process-checker.js).
  • Multiplatform via core + adapters + build.js → dist/<target>/: kiro (IDE/CLI), claude (Claude Code and Claude Cowork desktop), amazon-quick. All are Tier 1.
  • Parallel roles: PM ∥ tech lead in separate sessions, with single-writer state per role and a deterministic join barrier (process-checker.js) that consolidates open-questions and reconciles cross-role contradictions. Turns v1's Both-Sequential into Both-Parallel without races.
  • Two interaction modes: batch (file [Answer]:) and conversational (question-by-question in chat).
  • Self-contained bundles: build.js packages the v1 question banks into each target, so installs don't depend on fetching v1.

Changed

  • Install model: from "download release zip into .aidlc/" (v1) to "node build.js → copy dist/<target>/ into the platform's install dir" (v2), plus an automated install prompt per platform.

Removed

  • Language module: v2 drops explicit language detection/handling — the agent uses the user's language, like AI-DLC. Control tokens and control files stay in English.

Fixed

  • Batch information loss: reinstated v1's split between an active-batch buffer (*-questions.md) and an append-only *-answers-history.md, which the initial v2 scaffolding had omitted.

0.2.2 — 2026-06-02

Patch release. Trims the published package so it ships only what the installed .aidlc/aidlc-discovery/ needs.

Changed

  • Release packaging trimmed. The published zip (and therefore the installed .aidlc/aidlc-discovery/ package) now ships only the runtime rules (aidlc-discovery-rules/), user-facing reference docs (README.md, how-to-use.md, CHANGELOG.md), LICENSE, VERSION, and .source. Repo-governance files (install.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md) are no longer bundled — they are not needed inside the installed package. Updated the Manual install layout in install.md accordingly.

1.0.0 — 2026-06-02

First stable release. Promotes the 0.2.x line to a supported 1.0.0 major — same functionality, now versioned as v1.

Changed

  • The install prompt now pins to the v1.0.0 release instead of latest, so v1 installations stay on the v1 line as later majors ship.

0.2.1 — 2026-05-15

Bugfix follow-up to v0.2.0. Improves the UX of the AI-DLC handoff prompt so users can copy and paste it cleanly without dragging the banner or stale conditional headers along.

Fixed

  • Handoff prompt is now a separate, copy-clean code block. Previously, the completion banner and the "paste this into a fresh context:" instruction lived inside the same code block as the prompt, forcing the user to hand-select the prompt portion. The agent now prints the banner and a one-line instruction OUTSIDE any code fence, then opens its own fenced code block for the prompt content with no leading indentation. Selecting the entire fenced block now copies exactly what AI-DLC needs.
  • Stale "OPTIONAL inputs (only if Visual Sketch was approved...)" header no longer appears when the user skipped or discarded the Visual Sketch. The rule (aidlc-discovery-rules/aidlc-discovery-core-workflow.md §"Final Handoff") now uses an explicit INCLUDE_OPTIONAL boolean derived from the filesystem (checks Product-Definition/visual/user-journey.md AND Product-Definition/visual/mockups/*.html exist) and either includes the OPTIONAL block in full or omits it entirely. No orphan headers, no caveat text.
  • Handoff prompt body is now rendered in English even in non-English sessions. AI-DLC interoperability requires English file paths and section names; only the instructional line ("Copy the block below and paste it...") localises.

Changed

  • The Final Handoff stage in aidlc-discovery-core-workflow.md is rewritten as a 6-step rendering procedure (Steps 4a–4f) instead of a single template-with-caveats block. Each step has a single responsibility (banner / instruction / open fence / required block / conditional optional / closing line / close fence) and the rule states the rendering rules explicitly so agents do not need to interpret embedded conditionals.
  • how-to-use.md §"Final handoff" updated to match the new on-screen output, including a separate "what the user sees" block and "what the user copies" block.

0.2.0 — 2026-05-15

Second release. Adds an optional UI sketch stage, reorganises the output folder for clarity, and ships a self-describing handoff prompt for AI-DLC.

Added

  • Optional Visual Sketch stage (aidlc-discovery-rules/aidlc-discovery-rule-details/shared/visual-sketch.md) that runs after Open Questions Compilation and before the Final Handoff. Asks the user to opt in (default = skip), then a 5-question mini-interview (persona, depth, style, sample data, viewport), then delegates to the agent to generate a Mermaid user-journey.md and one self-contained HTML mockup per journey node under Product-Definition/visual/mockups/. Sidecar output — referenced from the AI-DLC handoff prompt but not required. Includes a strict validation pass (banner, primary-CTA-matches-edge, no fabricated features, self-contained HTML) and a three-option gate (Request Changes / Approve / Discard). Falls back to ASCII wireframes for agents without HTML write capability.
  • Self-describing AI-DLC handoff prompt at the end of the session. The Final Handoff now prints a paste-ready block that tells AI-DLC every file path AND what each file is for (Vision, Technical Environment, open questions, plus the optional user-journey and mockups). The OPTIONAL section is omitted automatically when Visual Sketch was skipped or discarded. Replaces the previous one-line "point AI-DLC at Product-Definition/" text.
  • Responsible AI notice in the README hero (GitHub [!IMPORTANT] callout) linking to the AWS Responsible AI Policy, aligned with the parent aidlc-workflows repository.

Changed

  • Product-Definition/ layout reorganised for clarity. Root now contains exactly: two control files (aidlc-discovery-state.md, audit.md), three final outputs (vision-document.md, technical-environment.md, open-questions.md), and the optional visual/ sidecar. All process artefacts (initial setup answers role-selection.md / project-type.md, per-batch question files, answer history for every role, and interview/visual/ for the visual mini-interview) now live under Product-Definition/interview/. The Visual Sketch output (visual/user-journey.md + visual/mockups/) stays at root because the AI-DLC handoff prompt references it directly.

Breaking

  • The Product-Definition/ layout change is not auto-migrated. v0.1.0 sessions continue to work but their file tree differs from the new layout. To adopt the new layout in an existing project, finish the in-flight session under v0.1.0 paths or move the relevant files into the new locations manually:
    • Product-Definition/role-selection.md → Product-Definition/interview/role-selection.md
    • Product-Definition/project-type.md → Product-Definition/interview/project-type.md
    • Product-Definition/business/ → Product-Definition/interview/business/
    • Product-Definition/technical/ → Product-Definition/interview/technical/
    • Product-Definition/visual/visual-questions.md and visual-answers-history.md → Product-Definition/interview/visual/
    • Product-Definition/visual/user-journey.md and mockups/ stay at Product-Definition/visual/

0.1.0 — 2026-04-28

First working version. All core stages and both role interviews are complete.

Added

Workflow structure

  • Entry point aidlc-discovery-rules/aidlc-discovery-core-workflow.md with PRIORITY override directive.
  • Seven workflow stages: Session Detection, Language Detection, Role Selection, Project Type Selection, Business Interview, Technical Interview, Open Questions Compilation, Final Handoff.
  • Conditional branching per role (Business / Technical / Both-sequential).
  • Per-question state tracking in aidlc-discovery-state.md; resume from any point.
  • Append-only audit.md with ISO-8601 timestamps on every interaction.
  • Batched writes (1 append to history + 1 state update + 1 audit entry per batch of 5–7 questions) to keep the loop snappy.
  • Two-option completion gates at the end of each role (Request Changes / Approve and Continue), with back-propagation when answers are corrected.

User experience

  • Plain-language project-type question ("Brand-new project" / "New feature on an existing product" / "Migration / modernisation") that maps internally to Greenfield / Brownfield / Hybrid without surfacing the jargon.
  • Follow-up for existing-system projects asking how the agent should access source material.
  • Depth selection at the start of each role: Quick pass (~10 min, core questions only) or Full interview (~25–35 min, every section).
  • Progress header on every batch: section N of M, progress bar, answered/total, minutes remaining.
  • Single-word trigger ready to advance; localised equivalents accepted (listo, pronto, prêt, 準備完了, 好了).
  • Table questions include a pre-filled example row plus an empty slot to reduce ambiguity.
  • Free-text questions render without fake multiple-choice wrappers.
  • Example-code questions (T26–T29) support three valid answer paths: paste a snippet, point to a file, or skip with a documented quality trade-off.
  • One-time "How to answer" block in the first batch of each role.

Language support

  • Automatic detection of the user's language in four tiers: explicit instruction, steering files (CLAUDE.md, .cursorrules, .kiro/steering/, AGENTS.md), invocation-prompt inference, English default.
  • One-time confirmation in the detected language before the interview starts.
  • User-facing content (banners, questions, gate messages, vision-document.md, technical-environment.md, open-questions.md) rendered in the user's language.
  • Control content (aidlc-discovery-state.md, audit.md, file names, internal identifiers, [Answer]: tag) stays in English for downstream AI-DLC interoperability.
  • Mid-session language change supported; previously rendered content is preserved verbatim for audit integrity.
  • Optional bilingual final render (vision-document.en.md alongside vision-document.md) for handoff to English-only teams.
  • Right-to-left language support (Arabic, Hebrew); diacritics preserved in user answers.

Validation and safety

  • Content-validation rules for markdown integrity, character escaping, answer validity, state-file integrity, audit-log append-only enforcement, and final-document completeness.
  • Cross-question consistency checks (e.g. HIPAA compliance requires encryption at rest and in transit; flagged if T21 and T18 disagree).
  • Ambiguity detection on user answers with follow-up questions appended to the same question file rather than modifying previous entries.
  • Open-questions collector scans completed interviews for declared uncertainties and AI-flagged ambiguities, producing a monotonically numbered open-questions.md for AI-DLC handoff.

Install and packaging

  • One-prompt AI-assisted installer (install.md) that downloads the latest release into .aidlc/aidlc-discovery/ in the user's project, writes the correct rules / steering file for the detected IDE (Claude Code, Kiro, Cursor, Cline, Amazon Q, Antigravity, Copilot, generic AGENTS.md), and adds .aidlc/ to .gitignore. Aligns with the AI-DLC official setup pattern.
  • Marker-based append for rules files (<!-- aidlc-discovery:begin --> / <!-- aidlc-discovery:end -->). First-time install adds the block; subsequent updates replace only the marked block, preserving any other content in CLAUDE.md, AGENTS.md, etc.
  • GitHub release packaging workflow (.github/workflows/release.yml) triggered on v*.*.* tags. Stages the shipped files, stamps VERSION and .source (repo / tag / commit / build time), verifies the CHANGELOG has a matching section, and publishes the zip as a release asset.
  • Natural-language invocation after install (start aidlc-discovery, inicia aidlc-discovery, prepare AI-DLC discovery) in addition to the universal fallback (Read .aidlc/aidlc-discovery/.../aidlc-discovery-core-workflow.md and execute).

Documentation

  • README.md with design principles, architecture, language-support policy, pre-loading-context pattern, and known limitations.
  • how-to-use.md with a full end-to-end OrderFlow walkthrough and five side-flows: resuming, changing an answer, handing off to AI-DLC, using another language, pre-loading context from files or MCP.
  • Inline prompt examples for pre-loading context from local files, Word documents, and MCP-connected sources (internal repos, wikis).
  • README section Install with pointer to install.md; install.md documents IDE-specific paths with experimental status flags.

Known limitations

  • No multi-user identity or session locking. Treat one Product-Definition/ folder as one session; coordinate handoffs out of band (e.g. a shared git branch).
  • No rule-governed extraction with source citations. Users can still ask their agent to read files, repos, or MCP endpoints before invoking the workflow (see Pre-loading context from files or MCP), but the structured pre-filled-analysis.md, automatic contradiction detection, and pre-ingestion secret scan are planned for a later release.
  • Depth Quick skips some sections entirely. Upgrade Quick → Full mid-session to unlock the skipped sections while preserving existing answers.
  • Example-code questions rely on user-provided context. For a brand-new project with no reference code, T26–T29 answers may be deferred with a documented quality trade-off.

Internal

  • 14 markdown rule files totalling ~2 900 lines under aidlc-discovery-rules/.
  • Directory structure: common/ (welcome, session-continuity, role-selection, question-format-guide, content-validation, audit-format, language-handling), shared/ (project-type, open-questions-collector), business/ (vision-interview, vision-completion), technical/ (tech-env-interview, tech-env-completion).