Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .changeset/ci-audit-coverage.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@link-foundation/example-package-name': patch
'@link-foundation/code-evolution': patch
---

Syntax-check every tracked JavaScript file and scan shipped examples with CodeQL. Record pinned npm and Deno install-script decisions, install native fixture dependencies in every runtime test leg, and remove the artifact, desktop and Pages dependency deprecations with tested compatibility adapters instead of warning suppressions.
2 changes: 1 addition & 1 deletion .changeset/ci-infrastructure-resilience.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@link-foundation/example-package-name': patch
'@link-foundation/code-evolution': patch
---

Make CI survive GitHub infrastructure failures:
Expand Down
7 changes: 7 additions & 0 deletions .changeset/extract-code-evolution.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@link-foundation/code-evolution': minor
---

Extract the bounded Git evolution engine from Code Quality with its existing
JSON contract, a standalone CLI, typed library exports, reproducible consumer
checks, and a browser report explorer.
2 changes: 1 addition & 1 deletion .changeset/fix-repository-audits-and-test-coverage.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@link-foundation/example-package-name': patch
'@link-foundation/code-evolution': patch
---

Run repository-wide workflow audits on all relevant inputs, report unavailable tests with explicit reasons, and exercise fixture coverage under parallel Deno testing. Give npm propagation a 25.5-minute verification window, keep runtime-owned lockfiles quiet, validate lock/config/install-script policies, and avoid duplicate publish output.
2 changes: 1 addition & 1 deletion .changeset/javascript-first-rust-integration.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@link-foundation/example-package-name': major
'@link-foundation/code-evolution': major
---

Require the reusable JavaScript-first gate's boolean `rust-template-applied`
Expand Down
2 changes: 1 addition & 1 deletion .changeset/quiet-safe-release-gates.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@link-foundation/example-package-name': patch
'@link-foundation/code-evolution': patch
---

Harden CI evidence scanning, syntax triggers, tool verification and cache writes. Reject oversized npm tarballs before publishing and stop retrying permanent E413 refusals.
2 changes: 1 addition & 1 deletion .changeset/release-and-ci-integrity.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@link-foundation/example-package-name': patch
'@link-foundation/code-evolution': patch
---

Retry transient release push failures without changing validated code; attest release metadata and publication recovery, repair preview container tooling, update vulnerable transitive dependencies, and reject incomplete audit, link, and CodeQL evidence.
2 changes: 1 addition & 1 deletion .changeset/release-formatter-exact-moves.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@link-foundation/example-package-name': patch
'@link-foundation/code-evolution': patch
---

Pin Changesets release formatting to Prettier and validate versioning on pull requests without publishing credentials. Reject unchanged moves of pending changesets while accepting new replacement fragments, and check both paths of code moves.
2 changes: 1 addition & 1 deletion .changeset/reliable-template-ci-helpers.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@link-foundation/example-package-name': patch
'@link-foundation/code-evolution': patch
---

Fix secrets-scan ordering, optional workflow directories, reproducible release dependency loading, Windows Git hook installation and shell line endings, and transient Web Archive lookup handling.
2 changes: 1 addition & 1 deletion .changeset/reliable-template-pipelines.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@link-foundation/example-package-name': patch
'@link-foundation/code-evolution': patch
---

Make release, preview, security and workflow checks report failures accurately;
Expand Down
2 changes: 1 addition & 1 deletion .changeset/repair-release-security-evidence.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@link-foundation/example-package-name': patch
'@link-foundation/code-evolution': patch
---

Require complete release and security evidence, retry transient artifact transport failures, preserve lockfile dependency graphs during versioning, and keep archived examples outside maintained checks and release metadata.
2 changes: 1 addition & 1 deletion .changeset/repository-pipeline-repairs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@link-foundation/example-package-name': patch
'@link-foundation/code-evolution': patch
---

Make version and changeset validation fail on unavailable Git comparisons, verify npm trusted publishing with a package-specific OIDC exchange, repair release badge detection and commit quoting, and recover missing GitHub releases without another version bump. Correct process survivor reporting, remove a busy-looping test fixture, pin CI scanners and hosted runner images, and exclude experimental and example code from CodeQL.
2 changes: 1 addition & 1 deletion .changeset/tidy-checks-hooks-links.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@link-foundation/example-package-name': patch
'@link-foundation/code-evolution': patch
---

Cancel superseded read-only checks on main while preserving serialized writers, reject Husky installation errors with stale hook configuration, and retry checksum-verified lychee downloads without weakening broken-link checks.
2 changes: 1 addition & 1 deletion .changeset/transient-links-bun-pin.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@link-foundation/example-package-name': patch
'@link-foundation/code-evolution': patch
---

Retry transient HTTP link failures with bounded backoff and authenticated GitHub contents fallback, and pin the Bun CI runtime to the supported 1.x line. Refresh vulnerable development dependencies so pipeline security checks can pass.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,20 @@ jobs:
- name: Check code duplication
run: npm run check:duplication

- name: Check out the pinned Code Quality consumer
uses: actions/checkout@v7
with:
repository: link-foundation/code-quality
ref: e0e2e03d8e78fee2119e6d272ebee4aef2505682
path: .code-quality-contract
sparse-checkout: |
bin
src
persist-credentials: false

- name: Verify packed evolution engine in Code Quality
run: node examples/code-quality-consumer/verify.mjs .code-quality-contract

# Test matrix: 3 runtimes (Node.js, Bun, Deno) x 3 OS (Ubuntu, macOS, Windows)
# IMPORTANT: Tests must validate the ACTUAL merge result, not a stale merge preview.
# See docs/case-studies/issue-23 for why this is critical.
Expand Down
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
# js-ai-driven-development-pipeline-template
# Code Evolution

A comprehensive template for AI-driven JavaScript/TypeScript development with full CI/CD pipeline support.
Analyze Git history at the file, function and class level. Code Evolution tracks identity changes, counts repeated structural edits and links findings to their commits and source paths.

This repository publishes the real test package
`@link-foundation/example-package-name` so the template release pipeline is
validated end to end with npm trusted publishing.
```bash
npm ci
node bin/code-evolution.js /path/to/repository --max-commits 25 --output report.json
```

The typed library entry point is `@link-foundation/code-evolution/evolution`. The report viewer includes a reproducible five-commit example and accepts local JSON reports. [Library, CLI and demo guide](docs/evolution.md), [demo screenshot](docs/screenshots/code-evolution.png), [extraction case study](docs/case-studies/issue-1/README.md)

## Development infrastructure

This project inherits the JavaScript AI-driven development template and its CI/CD tooling. The template's calculator examples remain available for pipeline verification.

## Features

Expand Down Expand Up @@ -294,7 +301,7 @@ Add regex patterns to `.lycheeignore` to exclude URLs from checks (e.g., local d

After creating a repository from this template, update the package name in:

1. `package.json`: replace `"@link-foundation/example-package-name"` with your package name
1. `package.json`: replace `"@link-foundation/code-evolution"` with your package name
2. `.changeset/config.json`: Package references

Release scripts derive the package name from `package.json` at runtime, so no
Expand Down
Loading
Loading