{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "awslabs-aidlc-workflows--build-and-test-aidlc-harness-packages",
 "repo": "awslabs/aidlc-workflows",
 "repo_url": "https://github.com/awslabs/aidlc-workflows",
 "repo_slug": "awslabs-aidlc-workflows",
 "title": "Build and test AI-DLC harness packages from source",
 "page_title": "How to build and test AI-DLC harness packages from source with Aidlc Workflows",
 "summary": "Use the repo's Bun scripts to regenerate harness packages from core, check that output is deterministic, and run smoke, unit and integration tests before a change.",
 "who": "A contributor or platform engineer customising AI-DLC stages, agents or rules for their company.",
 "problem": "Hand editing generated files breaks on the next release, and changes to one harness can silently drift from the others.",
 "outcome": "Packages rebuilt from core, a determinism check that fails on drift, and test results you can attach to a pull request.",
 "steps": [
  "Clone the repo and run `bun install --frozen-lockfile`",
  "Make your change in core/ or harness/ only, never in the generated dist output, since that is overwritten",
  "Generate packages with `bun scripts/package.ts`",
  "Run the determinism guard: `bun scripts/package.ts --check`",
  "Run tests: `bun tests/run-tests.ts --ci`",
  "Before a release run `bun tests/run-tests.ts --release`"
 ],
 "agent_prompt": "In my clone of awslabs/aidlc-workflows, change <stage or rule> in core/, regenerate packages, run the determinism check and the CI tests, and summarise any failures with the file that caused each.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Advanced",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "Building from source needs Bun, unlike the native install.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "macOS, Linux, WSL or Windows PowerShell",
  "A supported coding agent"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/awslabs-aidlc-workflows/build-and-test-aidlc-harness-packages/",
 "md": "https://dedupedai.com/use-cases/awslabs-aidlc-workflows/build-and-test-aidlc-harness-packages/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/awslabs-aidlc-workflows--build-and-test-aidlc-harness-packages.json",
 "api_version": "v1"
}
