RECOMMENDED / BOOTSTRAPInstall the verified repository helper
curl -fsSLo forge-apt.sh https://github.com/NetCore-Technologies/FORGE/releases/latest/download/forge-apt.sh +less forge-apt.sh +bash forge-apt.sh
diff --git a/.github/workflows/apt-repository-candidate.yml b/.github/workflows/apt-repository-candidate.yml index 4b59c9ce..759d9963 100644 --- a/.github/workflows/apt-repository-candidate.yml +++ b/.github/workflows/apt-repository-candidate.yml @@ -46,6 +46,7 @@ jobs: printf '%s' "$FORGE_APT_SIGNING_PRIVATE_KEY" | gpg --batch --import bash scripts/build-apt-repo.sh dist dist/apt gpg --batch --armor --export "$FORGE_APT_SIGNING_KEY_ID" > dist/apt/forge-archive-keyring.asc + gpg --batch --export "$FORGE_APT_SIGNING_KEY_ID" > dist/apt/forge-archive-keyring.gpg (cd dist && find apt -type f ! -name SHA256SUMS -print0 | sort -z | xargs -0 sha256sum > apt/SHA256SUMS) (cd dist && sha256sum forge_*.deb >> apt/SHA256SUMS) (cd dist && sha256sum --check apt/SHA256SUMS) diff --git a/.github/workflows/codeql-inventory.yml b/.github/workflows/codeql-inventory.yml new file mode 100644 index 00000000..13b4d850 --- /dev/null +++ b/.github/workflows/codeql-inventory.yml @@ -0,0 +1,35 @@ +name: CodeQL finding inventory + +on: + push: + branches: [latest/development] + workflow_dispatch: + +permissions: + contents: read + +jobs: + inventory: + name: CodeQL security and quality inventory + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + with: + node-version: 24 + cache: npm + - run: npm ci + - name: Initialize CodeQL for all repository source languages + uses: github/codeql-action/init@915412ff23e8b7659517e607487dbeae018f2934 # v4 + with: + languages: javascript, actions, python + queries: security-and-quality + - name: Analyze without changing GitHub alert state + uses: github/codeql-action/analyze@915412ff23e8b7659517e607487dbeae018f2934 # v4 + with: + output: ../codeql-results + upload: never + - name: Print every finding with rule, severity, location and fingerprint + run: node scripts/codeql-report.mjs diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 2d2ef0fb..306b03d2 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -25,6 +25,10 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} env: + FORGE_RELEASE_TAG: ${{ github.event_name == 'workflow_dispatch' && inputs.release_tag || '' }} + FORGE_RELEASE_SOURCE_SHA: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_sha || '' }} + FORGE_RELEASE_SIGNING_PUBLIC_KEY: ${{ vars.FORGE_RELEASE_SIGNING_PUBLIC_KEY }} + FORGE_RELEASE_SIGNING_FINGERPRINT: ${{ vars.FORGE_RELEASE_SIGNING_FINGERPRINT }} FORGE_RELEASE_TAG: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_branch || inputs.release_tag }} FORGE_WORKFLOW_RUN_HEAD_SHA: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_sha || '' }} FORGE_RELEASE_SIGNING_PUBLIC_KEY: ${{ vars.FORGE_RELEASE_SIGNING_PUBLIC_KEY }} @@ -36,6 +40,7 @@ jobs: # The signed release tag is parsed as data; no scripts from it are executed. - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: + ref: main fetch-depth: 0 - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: @@ -47,10 +52,33 @@ jobs: set -euo pipefail git fetch --no-tags origin +refs/heads/main:refs/remotes/origin/main git fetch --tags origin + if [[ -n "$FORGE_RELEASE_SOURCE_SHA" ]]; then + [[ "$FORGE_RELEASE_SOURCE_SHA" =~ ^[a-f0-9]{40}$ ]] || { + echo "::error::The completed release workflow supplied an invalid source commit." >&2 + exit 1 + } + source_commit="$(git rev-parse --verify "${FORGE_RELEASE_SOURCE_SHA}^{commit}")" + mapfile -t release_tags < <(git tag --points-at "$source_commit" --list 'v*') + if (( ${#release_tags[@]} != 1 )); then + echo "::error::The release source commit must have exactly one version tag." >&2 + exit 1 + fi + FORGE_RELEASE_TAG="${release_tags[0]}" + printf 'FORGE_RELEASE_TAG=%s\n' "$FORGE_RELEASE_TAG" >> "$GITHUB_ENV" + fi [[ "$FORGE_RELEASE_TAG" =~ ^v(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?(\+[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?$ ]] || { echo "::error::APT deployment requires an exact semantic-version release tag." >&2 exit 1 } + release_commit="$(git rev-parse --verify "refs/tags/$FORGE_RELEASE_TAG^{commit}")" + if [[ -n "$FORGE_RELEASE_SOURCE_SHA" && "$release_commit" != "$FORGE_RELEASE_SOURCE_SHA" ]]; then + echo "::error::The published version tag does not identify the completed release workflow commit." >&2 + exit 1 + fi + git merge-base --is-ancestor "$release_commit" refs/remotes/origin/main || { + echo "::error::The release commit is not an ancestor of trusted main." >&2 + exit 1 + } test -n "$FORGE_RELEASE_SIGNING_PUBLIC_KEY" test -n "$FORGE_RELEASE_SIGNING_FINGERPRINT" if [[ -n "$FORGE_WORKFLOW_RUN_HEAD_SHA" ]]; then @@ -107,6 +135,8 @@ jobs: env: FORGE_APT_SIGNING_PRIVATE_KEY: ${{ secrets.FORGE_APT_SIGNING_PRIVATE_KEY }} FORGE_APT_SIGNING_PASSPHRASE: ${{ secrets.FORGE_APT_SIGNING_PASSPHRASE }} + FORGE_APT_SIGNING_KEY_ID: ${{ vars.FORGE_APT_SIGNING_KEY_ID }} + FORGE_APT_KEY_FINGERPRINT: ${{ vars.FORGE_APT_KEY_FINGERPRINT }} shell: bash run: | set -euo pipefail @@ -122,11 +152,12 @@ jobs: [[ "$actual" == "$expected" ]] || { echo "::error::APT secret does not match the pinned archive fingerprint." >&2; exit 1; } bash scripts/build-apt-repo.sh "$RUNNER_TEMP/forge-release-assets" "$GITHUB_WORKSPACE/Website/apt" gpg --batch --armor --export "$FORGE_APT_SIGNING_KEY_ID" > "$GITHUB_WORKSPACE/Website/apt/forge-archive-keyring.asc" - exported="$(gpg --batch --show-keys --with-colons "$GITHUB_WORKSPACE/Website/apt/forge-archive-keyring.asc" | awk -F: '$1 == "fpr" { print toupper($10); exit }')" + gpg --batch --export "$FORGE_APT_SIGNING_KEY_ID" > "$GITHUB_WORKSPACE/Website/apt/forge-archive-keyring.gpg" + exported="$(gpg --batch --show-keys --with-colons "$GITHUB_WORKSPACE/Website/apt/forge-archive-keyring.gpg" | awk -F: '$1 == "fpr" { print toupper($10); exit }')" [[ "$exported" == "$expected" ]] || { echo "::error::Exported APT archive key fingerprint mismatch." >&2; exit 1; } gpg --batch --verify "$GITHUB_WORKSPACE/Website/apt/dists/stable/Release.gpg" "$GITHUB_WORKSPACE/Website/apt/dists/stable/Release" gpg --batch --verify "$GITHUB_WORKSPACE/Website/apt/dists/stable/InRelease" - key_sha256="$(sha256sum "$GITHUB_WORKSPACE/Website/apt/forge-archive-keyring.asc" | awk '{print $1}')" + key_sha256="$(sha256sum "$GITHUB_WORKSPACE/Website/apt/forge-archive-keyring.gpg" | awk '{print $1}')" node - "$FORGE_RELEASE_TAG" "$key_sha256" "$expected" <<'NODE' const fs = require('node:fs'); const [versionTag, keySha256, keyFingerprint] = process.argv.slice(2); @@ -135,7 +166,7 @@ jobs: status: 'active', releaseTag: versionTag, repository: 'https://netcore-technologies.github.io/FORGE/apt', - keyUrl: 'https://netcore-technologies.github.io/FORGE/apt/forge-archive-keyring.asc', + keyUrl: 'https://netcore-technologies.github.io/FORGE/apt/forge-archive-keyring.gpg', keySha256, keyFingerprint, suite: 'stable', @@ -212,6 +243,6 @@ jobs: echo "- Release: $FORGE_RELEASE_TAG" echo "- Repository: https://netcore-technologies.github.io/FORGE/apt" echo "- APT key fingerprint: $FORGE_APT_KEY_FINGERPRINT" - echo "- APT key SHA-256: $(sha256sum Website/apt/forge-archive-keyring.asc | awk '{print $1}')" + echo "- APT key SHA-256: $(sha256sum Website/apt/forge-archive-keyring.gpg | awk '{print $1}')" echo "- Metadata: https://netcore-technologies.github.io/FORGE/apt/key-info.json" } >> "$GITHUB_STEP_SUMMARY" diff --git a/.github/workflows/release-assets.yml b/.github/workflows/release-assets.yml index 1b149c57..db18646f 100644 --- a/.github/workflows/release-assets.yml +++ b/.github/workflows/release-assets.yml @@ -143,6 +143,7 @@ jobs: install -m 0755 scripts/install.sh release-assets/forge-install.sh install -m 0644 scripts/install.ps1 release-assets/forge-install.ps1 install -m 0755 scripts/install-apt.sh release-assets/forge-install-apt.sh + install -m 0755 installers/apt.sh release-assets/forge-apt.sh install -m 0644 docs/INSTALLATION.md release-assets/INSTALLATION.md install -m 0644 support/keys/forge-release-signing-public-key.asc release-assets/forge-release-signing-public-key.asc node scripts/pin-release-installers.js release-assets "$FORGE_RELEASE_TAG" @@ -216,7 +217,7 @@ jobs: expected="$(printf '%s' "$FORGE_RELEASE_SIGNING_FINGERPRINT" | tr -d '[:space:]' | tr '[:lower:]' '[:upper:]')" [[ "$expected" =~ ^([A-F0-9]{40}|[A-F0-9]{64})$ ]] cd release-assets - files=(forge_*.deb forge-install.sh forge-install.ps1 forge-install-apt.sh INSTALLATION.md forge-release-signing-public-key.asc) + files=(forge_*.deb forge-install.sh forge-install.ps1 forge-install-apt.sh forge-apt.sh INSTALLATION.md forge-release-signing-public-key.asc) for file in "${files[@]}"; do test -f "$file" done diff --git a/Website/apt/key-info.json b/Website/apt/key-info.json index a4a147f4..f8bdd0f1 100644 --- a/Website/apt/key-info.json +++ b/Website/apt/key-info.json @@ -3,5 +3,5 @@ "status": "not-yet-published", "message": "The public APT archive is not active until a signed release and APT deployment pass all release gates.", "repository": "https://netcore-technologies.github.io/FORGE/apt", - "keyUrl": "https://netcore-technologies.github.io/FORGE/apt/forge-archive-keyring.asc" + "keyUrl": "https://netcore-technologies.github.io/FORGE/apt/forge-archive-keyring.gpg" } diff --git a/Website/cli.html b/Website/cli.html index c76c6367..e8103cbe 100644 --- a/Website/cli.html +++ b/Website/cli.html @@ -1,4 +1,4 @@ -
A dependency-free Node.js CLI for local project checks, default-deny tool policy, webhook signature validation and execution history.
The npm package is configured, but the public registry release is pending publisher credentials and the first release run.
git clone https://github.com/NetCore-Technologies/FORGE.git
+CLI · FORGE Skip to content
FORGEDEVELOPER WORKBENCH
The FORGE CLI / 02Real commands. Real workflows.
A dependency-free Node.js CLI for local project checks, default-deny tool policy, webhook signature validation and execution history.
- NODE.JS 22.14+
- ES MODULES
- ZERO RUNTIME DEPS
- INSTALL FROM SOURCE
Install from sourceTry the current CLI.
The npm package is configured, but the public registry release is pending publisher credentials and the first release run.
git clone https://github.com/NetCore-Technologies/FORGE.git
cd FORGE
npm install
npm link
diff --git a/Website/downloads.html b/Website/downloads.html
new file mode 100644
index 00000000..dafb799f
--- /dev/null
+++ b/Website/downloads.html
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+Downloads · FORGE
+
+
+Skip to content
+
+
+FORGE / RELEASE DOWNLOADSEvery release.
Every verified asset.
+Browse actual files attached to official FORGE GitHub releases. The catalogue never invents desktop packages, checksums or versions.
+LATEST RELEASECHECKING RELEASESSHA-256 / SIGNATURES
+
+01 / RELEASE ASSETSChoose your package.
Inspect what you install.
Linux, macOS and Windows packages, source archives, Debian packages, checksums, signatures and provenance appear only when actually published.
+
+Loading official release assets…
+02 / LINUX PACKAGE REPOSITORYSigned APT.
Scoped trust.
The public archive stays fail-closed until its key, package indexes and signed Release metadata are deployed through the protected workflow.
+RECOMMENDED / BOOTSTRAPInstall the verified repository helper
curl -fsSLo forge-apt.sh https://github.com/NetCore-Technologies/FORGE/releases/latest/download/forge-apt.sh
+less forge-apt.sh
+bash forge-apt.sh
+MANUAL / BINARY KEYRINGUse the scoped signed-by key
Run only after APT metadata reports an active archive and its fingerprint has been checked independently.
curl -fsSLo /tmp/forge-archive-keyring.gpg https://netcore-technologies.github.io/FORGE/apt/forge-archive-keyring.gpg
+gpg --show-keys --with-fingerprint /tmp/forge-archive-keyring.gpg
+sudo install -Dm0644 /tmp/forge-archive-keyring.gpg /usr/share/keyrings/forge-archive-keyring.gpg
+echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/forge-archive-keyring.gpg] https://netcore-technologies.github.io/FORGE/apt stable main' | sudo tee /etc/apt/sources.list.d/forge.list
+sudo apt update
+sudo apt install forge
+The Debian package requires Node.js 22.14.0 or later. Repository activation remains protected by release signing and publishing checks.
+03 / VERIFY BEFORE INSTALLTrust the bytes.
Then run FORGE.
Verify detached OpenPGP signatures and signed checksum manifests against the independently published release-signing fingerprint.
gpg --import forge-release-signing-public-key.asc
+gpg --fingerprint
+gpg --verify SHA256SUMS.asc SHA256SUMS
+sha256sum --check SHA256SUMS
+gpg --verify SHA256SUMS-extra.asc SHA256SUMS-extra
+sha256sum --check SHA256SUMS-extra
+
diff --git a/Website/downloads.js b/Website/downloads.js
new file mode 100644
index 00000000..044ccb0d
--- /dev/null
+++ b/Website/downloads.js
@@ -0,0 +1,125 @@
+(() => {
+ 'use strict';
+ const endpoint = 'https://api.github.com/repos/NetCore-Technologies/FORGE/releases/latest';
+ const el = {
+ version: document.getElementById('downloads-version'), date: document.getElementById('downloads-date'),
+ status: document.getElementById('downloads-status'), count: document.getElementById('downloads-count'),
+ assets: document.getElementById('downloads-assets'), filter: document.getElementById('downloads-filter'),
+ search: document.getElementById('downloads-search'), refresh: document.getElementById('downloads-refresh'),
+ };
+ let assets = [];
+ let digests = new Map();
+ const classify = (name) => {
+ if (/SHA256SUMS|\.(asc|sig|spdx\.json|intoto\.json)$/i.test(name) || /provenance|attestation|sbom/i.test(name)) return 'Integrity';
+ if (/windows|win32|\.exe$|\.msi$|\.ps1$|\.bat$/i.test(name)) return 'Windows';
+ if (/macos|darwin|\.dmg$|\.pkg$/i.test(name)) return 'macOS';
+ if (/linux|\.deb$|\.appimage$/i.test(name) || /forge-(install-apt|apt)\.sh$/i.test(name)) return 'Linux';
+ if (/\.tgz$|\.tar\.gz$|\.zip$/i.test(name)) return 'Portable';
+ return 'Other';
+ };
+ const sizeText = (size) => {
+ if (!Number.isFinite(size) || size < 0) return 'Size unavailable';
+ if (!size) return '0 bytes';
+ const unit = Math.min(Math.floor(Math.log(size) / Math.log(1024)), 3);
+ return (size / (1024 ** unit)).toFixed(unit ? 1 : 0) + ' ' + ['B','KB','MB','GB'][unit];
+ };
+ const node = (tag, cls, value) => {
+ const item = document.createElement(tag);
+ if (cls) item.className = cls;
+ item.textContent = value;
+ return item;
+ };
+ const readManifests = async (items) => {
+ await Promise.all(items.filter((asset) => /^SHA256SUMS(?:-extra)?$/.test(asset.name)).map(async (asset) => {
+ try {
+ const response = await fetch(asset.browser_download_url, { cache: 'no-store' });
+ if (!response.ok) return;
+ for (const line of (await response.text()).split(/\r?\n/)) {
+ const match = line.match(/^([a-f0-9]{64})\s+\*?(.+?)\s*$/i);
+ if (match) digests.set(match[2], match[1].toLowerCase());
+ }
+ } catch { /* Fall back to GitHub's per-asset digest. */ }
+ }));
+ };
+ const cardFor = (asset) => {
+ const category = classify(asset.name);
+ const card = node('article', 'download-card', '');
+ card.dataset.category = category;
+ const header = document.createElement('div');
+ header.className = 'download-card__header';
+ header.append(node('span', 'tag', category), node('span', 'download-card__size', sizeText(asset.size)));
+ const updated = asset.updated_at ? new Date(asset.updated_at) : null;
+ const meta = node('p', 'download-card__meta',
+ updated && !Number.isNaN(updated.valueOf()) ? 'Updated ' + updated.toLocaleString() : 'Official release asset');
+ const digestFromApi = typeof asset.digest === 'string' && /^sha256:[a-f0-9]{64}$/i.test(asset.digest)
+ ? asset.digest.slice(7).toLowerCase() : null;
+ const digest = digestFromApi || digests.get(asset.name);
+ const digestRow = document.createElement('div');
+ digestRow.className = 'download-card__digest';
+ digestRow.append(node('code', '', digest ? 'SHA-256 ' + digest : 'Digest unavailable'));
+ if (digest) {
+ const copy = node('button', 'download-copy', 'Copy digest');
+ copy.type = 'button';
+ copy.addEventListener('click', async () => {
+ try { await navigator.clipboard.writeText(digest); copy.textContent = 'Copied'; }
+ catch { copy.textContent = 'Copy unavailable'; }
+ });
+ digestRow.append(copy);
+ }
+ const link = node('a', 'button primary download-card__link', 'Download asset ↗');
+ link.href = asset.browser_download_url;
+ link.target = '_blank';
+ link.rel = 'noopener noreferrer';
+ card.append(header, node('h3', 'download-card__name', asset.name), meta, digestRow, link);
+ return card;
+ };
+ const render = () => {
+ const filter = el.filter.value;
+ const query = el.search.value.trim().toLowerCase();
+ const matches = assets.filter((asset) =>
+ (filter === 'all' || classify(asset.name) === filter) && (!query || asset.name.toLowerCase().includes(query)));
+ el.assets.replaceChildren();
+ if (!matches.length) el.assets.append(node('p', 'download-empty',
+ assets.length ? 'No published assets match this filter.' : 'No downloadable assets are attached to this release.'));
+ else for (const asset of matches) el.assets.append(cardFor(asset));
+ el.count.textContent = 'Showing ' + matches.length + ' of ' + assets.length + ' published assets.';
+ };
+ const load = async () => {
+ el.refresh.disabled = true;
+ el.status.textContent = 'Checking the official GitHub Releases API…';
+ try {
+ const response = await fetch(endpoint, { headers: { Accept: 'application/vnd.github+json' }, cache: 'no-store' });
+ if (response.status === 404) {
+ el.version.textContent = 'NO PUBLISHED RELEASE';
+ el.date.textContent = 'SOURCE INSTALL AVAILABLE';
+ el.status.textContent = 'No release has been published yet. This catalogue will populate when one is available.';
+ assets = [];
+ render();
+ return;
+ }
+ if (!response.ok) throw new Error('GitHub returned HTTP ' + response.status + '.');
+ const release = await response.json();
+ assets = Array.isArray(release.assets) ? release.assets : [];
+ digests = new Map();
+ await readManifests(assets);
+ el.version.textContent = release.tag_name || release.name || 'LATEST RELEASE';
+ const published = release.published_at ? new Date(release.published_at) : null;
+ el.date.textContent = published && !Number.isNaN(published.valueOf())
+ ? 'PUBLISHED ' + published.toLocaleDateString() : 'PUBLISHED RELEASE';
+ el.status.textContent = (release.name || release.tag_name || 'Latest release') + ' · '
+ + assets.length + ' actual asset(s) · ' + (release.prerelease ? 'pre-release' : 'release');
+ render();
+ } catch (error) {
+ el.status.textContent = 'Could not load releases: ' + (error instanceof Error ? error.message : 'Unknown error')
+ + ' Open the official GitHub Releases page to inspect downloads.';
+ el.assets.replaceChildren();
+ const link = node('a', 'text-link', 'Open FORGE releases ↗');
+ link.href = 'https://github.com/NetCore-Technologies/FORGE/releases';
+ el.assets.append(link);
+ } finally { el.refresh.disabled = false; }
+ };
+ el.filter.addEventListener('change', render);
+ el.search.addEventListener('input', render);
+ el.refresh.addEventListener('click', load);
+ load();
+})();
diff --git a/Website/index.html b/Website/index.html
index 900b776b..e94789df 100644
--- a/Website/index.html
+++ b/Website/index.html
@@ -1 +1 @@
-FORGE — Developer Workbench Skip to content
FORGEDEVELOPER WORKBENCH
Open source · NetCore TechnologiesMake good work happen.
A local-first developer workbench for the work around software. Verify projects, make tool access explicit, validate webhook signatures and keep a trail of what happened.
- NODE.JS 22.14+
- ZERO RUNTIME DEPENDENCIES
- MIT LICENSE
SCROLL TO EXPLORE ↓01 / The workbenchOne place for the work around code.
Less tool sprawl. More signal. FORGE starts with workflows you can run locally today, then grows around the same project and evidence model.
01 — VERIFYRun real project checks
Discover and execute the lint, typecheck, test and build scripts already defined in a project.
See the platform →02 — GUARDMake access explicit
Evaluate tool identifiers against a local default-deny policy. Explicit deny rules always win.
See the platform →03 — TRACEKeep useful evidence
Record concise local outcomes and inspect recent verification, policy and webhook events.
See the platform → 02 / Built for your machineLocal-first. No black boxes.
The current command-line workflows need no hosted service, account or remote inference endpoint. Your configuration and event records live inside the project you choose.
forge · terminal # initialise a workspaceforge init✓ local workspace created# inspect the environmentforge doctor✓ Node.js · Git · project config# inspect recent evidenceforge trace list --limit 5✓ local events loaded
By the numbersSmall surface. Clear limits.
0CLI workflows0runtime dependencies0webhook payload limit0telemetry endpoints 03 / The principlesForged for clear decisions.
01Local by default
Current workflows run on your machine without a required hosted control plane.
02Safe defaults
Tool policy starts at deny. Access is explicit and denials take precedence.
03Evidence over guesses
Commands produce inspectable outcomes and bounded local records.
Build in the openMake the work work better.
Try the CLI, inspect the implementation and help shape what comes next.
\ No newline at end of file
+FORGE — Developer Workbench Skip to content
FORGEDEVELOPER WORKBENCH
Open source · NetCore TechnologiesMake good work happen.
A local-first developer workbench for the work around software. Verify projects, make tool access explicit, validate webhook signatures and keep a trail of what happened.
- NODE.JS 22.14+
- ZERO RUNTIME DEPENDENCIES
- MIT LICENSE
SCROLL TO EXPLORE ↓01 / The workbenchOne place for the work around code.
Less tool sprawl. More signal. FORGE starts with workflows you can run locally today, then grows around the same project and evidence model.
01 — VERIFYRun real project checks
Discover and execute the lint, typecheck, test and build scripts already defined in a project.
See the platform →02 — GUARDMake access explicit
Evaluate tool identifiers against a local default-deny policy. Explicit deny rules always win.
See the platform →03 — TRACEKeep useful evidence
Record concise local outcomes and inspect recent verification, policy and webhook events.
See the platform → 02 / Built for your machineLocal-first. No black boxes.
The current command-line workflows need no hosted service, account or remote inference endpoint. Your configuration and event records live inside the project you choose.
forge · terminal # initialise a workspaceforge init✓ local workspace created# inspect the environmentforge doctor✓ Node.js · Git · project config# inspect recent evidenceforge trace list --limit 5✓ local events loaded
By the numbersSmall surface. Clear limits.
0CLI workflows0runtime dependencies0webhook payload limit0telemetry endpoints 03 / The principlesForged for clear decisions.
01Local by default
Current workflows run on your machine without a required hosted control plane.
02Safe defaults
Tool policy starts at deny. Access is explicit and denials take precedence.
03Evidence over guesses
Commands produce inspectable outcomes and bounded local records.
Build in the openMake the work work better.
Try the CLI, inspect the implementation and help shape what comes next.
\ No newline at end of file
diff --git a/Website/install.html b/Website/install.html
index 119e18ec..0835ee79 100644
--- a/Website/install.html
+++ b/Website/install.html
@@ -19,7 +19,7 @@
Skip to content
@@ -69,6 +69,12 @@ One command.
Your environment.
gpg --verify forge_@@FORGE_RELEASE_VERSION@@_all.deb.asc forge_@@FORGE_RELEASE_VERSION@@_all.deb
sudo apt install ./forge_@@FORGE_RELEASE_VERSION@@_all.deb
MANUAL / BINARY KEYRINGUse only after APT metadata reports an active archive and you have independently checked the full fingerprint.
curl -fsSLo /tmp/forge-archive-keyring.gpg https://netcore-technologies.github.io/FORGE/apt/forge-archive-keyring.gpg +gpg --show-keys --with-fingerprint /tmp/forge-archive-keyring.gpg +sudo install -Dm0644 /tmp/forge-archive-keyring.gpg /usr/share/keyrings/forge-archive-keyring.gpg +echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/forge-archive-keyring.gpg] https://netcore-technologies.github.io/FORGE/apt stable main' | sudo tee /etc/apt/sources.list.d/forge.list +sudo apt update +sudo apt install forge
The public APT endpoint becomes installable only after the signed archive key, key fingerprint, key checksum and InRelease metadata are published. Never replace these pins with unverified values or use apt-key.
FORGE is architecture-independent JavaScript. The POSIX installer supports Apple Silicon and Intel macOS with Git, npm and Node.js 22.14 or later.
No DMG is produced: FORGE is a terminal CLI and does not bundle a macOS application or Node runtime.
curl --fail --location --proto '=https' --tlsv1.2 \ diff --git a/Website/platform.html b/Website/platform.html index 11d7eaa5..dbed50ad 100644 --- a/Website/platform.html +++ b/Website/platform.html @@ -1 +1 @@ -Platform · FORGE Skip to contentFORGEDEVELOPER WORKBENCH
\ No newline at end of file + The platform / 01Focused tools. Shared foundations.
FORGE brings everyday engineering workflows together through one CLI, a local project model and a consistent evidence format. The current release is CLI-first; the visual control centre and team services remain planned work.
- CLI FOUNDATION · IN SOURCE
- LOCAL-FIRST
- OPEN SOURCE
Current capabilitiesUseful workflows. Already executable.
AVAILABLEVERIFY Project verification
Run discovered npm, pnpm, Yarn or Bun scripts for lint, typecheck, test and build. Each result is recorded locally.
AVAILABLEGUARD Tool policy
Manage explicit allow/deny rules with default-deny semantics and deny-overrides behaviour.
AVAILABLETRACE Execution evidence
Review recent verification, webhook validation and guard-decision events in JSONL format.
AVAILABLEHOOKS Webhook signatures
Verify raw payload bytes using HMAC-SHA256 and constant-time digest comparison.
AVAILABLEINSPECT Repository readiness
Audit open-source readiness without executing project scripts or making network calls.
PLANNEDCONTROL CENTRE Project interface
A visual workspace for projects, check results, policy management and run history.
PLANNEDEXTENSIONS Integration framework
Documented extension contracts for CI, Git providers, MCP clients and community adapters.
The designOne project. A shared context.
Commands share a local configuration directory, policy file and concise event history. New capabilities should extend those foundations instead of creating another disconnected dashboard.
Developer / CIFORGE CLI + local projectVERIFYGUARDHOOKSLocal evidence · .forge/Platform · FORGE Skip to contentFORGEDEVELOPER WORKBENCH
\ No newline at end of file diff --git a/Website/roadmap-data.json b/Website/roadmap-data.json index fc6eca90..04d453b8 100644 --- a/Website/roadmap-data.json +++ b/Website/roadmap-data.json @@ -1,7 +1,7 @@ { "schemaVersion": 1, "totalFeatures": 1000, - "completedFeatures": 94, + "completedFeatures": 107, "domains": [ { "number": 1, @@ -526,42 +526,42 @@ }, { "id": 102, - "complete": false, + "complete": true, "title": "JavaScript runtime test adapter" }, { "id": 103, - "complete": false, + "complete": true, "title": "ESLint configuration discovery" }, { "id": 104, - "complete": false, + "complete": true, "title": "Prettier formatting adapter" }, { "id": 105, - "complete": false, + "complete": true, "title": "Biome lint and format adapter" }, { "id": 106, - "complete": false, + "complete": true, "title": "Vitest test adapter" }, { "id": 107, - "complete": false, + "complete": true, "title": "Jest test adapter" }, { "id": 108, - "complete": false, + "complete": true, "title": "Playwright test adapter" }, { "id": 109, - "complete": false, + "complete": true, "title": "Cypress test adapter" }, { @@ -571,17 +571,17 @@ }, { "id": 111, - "complete": false, + "complete": true, "title": "pnpm workspace adapter" }, { "id": 112, - "complete": false, + "complete": true, "title": "Yarn workspace adapter" }, { "id": 113, - "complete": false, + "complete": true, "title": "Bun workspace adapter" }, { @@ -596,12 +596,12 @@ }, { "id": 116, - "complete": false, + "complete": true, "title": "Ruff lint adapter" }, { "id": 117, - "complete": false, + "complete": true, "title": "Mypy type-check adapter" }, { diff --git a/Website/styles.css b/Website/styles.css index 96acda1f..0f394ae5 100644 --- a/Website/styles.css +++ b/Website/styles.css @@ -211,3 +211,23 @@ main{animation:enter .7s ease both} .roadmap-cta{justify-content:center;margin:1.5rem 0 0} @media(max-width:920px){.roadmap-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.roadmap-reset{width:100%}.roadmap-feature-list{grid-template-columns:1fr}} @media(max-width:600px){.roadmap-toolbar{grid-template-columns:minmax(0,1fr);padding:.9rem}.roadmap-domain-summary{align-items:flex-start;gap:.8rem;padding:1rem}.roadmap-domain-meter{grid-template-columns:1fr;gap:.35rem;min-width:110px;text-align:right}.roadmap-domain-meter progress{order:2}.roadmap-domain-progress{white-space:normal}.roadmap-domain-visible{display:none}.roadmap-feature-list{padding:0 .65rem .65rem}.roadmap-feature{grid-template-columns:4.2rem minmax(0,1fr);gap:.4rem}.roadmap-feature-status{grid-column:2}.roadmap-resultbar{align-items:flex-start;flex-direction:column;gap:.2rem}.roadmap-cta{flex-direction:column}} + + +/* FORGE release downloads catalogue */ +.download-toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:24px 0} +.download-control{display:grid;gap:8px;min-width:210px;color:#9aa9aa;font-size:.82rem} +.download-control input,.download-control select{width:100%;min-height:46px;padding:10px 13px;border:1px solid rgba(145,170,165,.22);border-radius:12px;background:rgba(255,255,255,.035);color:inherit;font:inherit} +.download-control option{background:#101719;color:#fff} +.download-status{padding:16px 18px;border:1px solid rgba(145,170,165,.22);border-radius:14px;color:#aebbbc;background:rgba(255,255,255,.025)} +.download-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:15px;margin-top:18px} +.download-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:20px;border:1px solid rgba(145,170,165,.22);border-radius:18px;background:rgba(255,255,255,.025)} +.download-card__header{display:flex;justify-content:space-between;align-items:center;gap:12px} +.download-card__size,.download-card__meta{color:#9aa9aa;font-size:.8rem} +.download-card__name{margin:0;overflow-wrap:anywhere;font-size:1rem;line-height:1.45} +.download-card__meta{margin:0} +.download-card__digest{display:flex;align-items:start;gap:9px;justify-content:space-between;padding:10px;background:rgba(0,0,0,.16);border:1px solid rgba(145,170,165,.18);border-radius:10px} +.download-card__digest code{min-width:0;overflow-wrap:anywhere;color:#aebbbc;font-size:.7rem;line-height:1.5} +.download-copy{flex:0 0 auto;border:0;background:transparent;color:#8ee2c4;font:inherit;font-size:.75rem;cursor:pointer} +.download-card__link{align-self:flex-start;margin-top:auto} +.download-empty{grid-column:1/-1;padding:28px;border:1px dashed rgba(145,170,165,.3);border-radius:16px;color:#aebbbc;text-align:center} +@media(max-width:640px){.download-toolbar{align-items:stretch}.download-control{width:100%;min-width:0}.download-card{padding:16px}} diff --git a/docs/APT_ACTIVATION.md b/docs/APT_ACTIVATION.md index ec86bab7..0b929c83 100644 --- a/docs/APT_ACTIVATION.md +++ b/docs/APT_ACTIVATION.md @@ -73,7 +73,7 @@ After the Deploy website and signed APT repository workflow completes successful curl -fsSL https://netcore-technologies.github.io/FORGE/apt/key-info.json ~~~ -Proceed only when the returned metadata has status active, a release tag, a 64-character key SHA-256 and the expected full key fingerprint. The installer independently verifies the downloaded public key against both pins before it writes the APT source. +Proceed only when the returned metadata has status active, a release tag, a 64-character key SHA-256 and the expected full key fingerprint. The installer independently verifies the downloaded binary keyring against both pins before it writes the APT source. ~~~bash sudo apt update diff --git a/docs/CLI.md b/docs/CLI.md index d4eb51cf..9d9a2f9c 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -18,8 +18,10 @@ The npm package is not yet published. Do not rely on a global registry install u | --- | --- | | `forge --help` | Show help | | `forge --version` | Show version | +| `forge update [--check] [--yes] [--json]` | Check or apply updates using the detected APT, npm, channel installer or source-checkout route | | `forge init [directory]` | Initialise local configuration and event history | | `forge doctor [--json]` | Inspect Node.js, Git, Python, Go, Rust, Docker and local FORGE configuration | +| `forge languages [directory] [--json]` | Report source-language percentages, file/byte totals and each supported verification adapter's available checks | | `forge roadmap [--search TEXT] [--status all|complete|planned] [--domain 1..20] [--limit N] [--json]` | Search and filter the canonical 1,000-feature roadmap | | `forge backends [directory] [--profile quick|standard|release] [--json]` | Show detected project backends and the exact checks each profile will execute | | `forge profiles list [directory]` | List saved execution profiles for a workspace | @@ -56,6 +58,126 @@ The npm package is not yet published. Do not rely on a global registry install u See [Installation](INSTALLATION.md) for the Unix, Windows and Debian candidate workflows. +## Bun workspace verification + +FORGE detects Bun workspaces declared in `package.json#workspaces` and selected by `packageManager` or a Bun lockfile. Root scripts run with `bun run The platform / 01Focused tools. Shared foundations.
FORGE brings everyday engineering workflows together through one CLI, a local project model and a consistent evidence format. The current release is CLI-first; the visual control centre and team services remain planned work.
- CLI FOUNDATION · IN SOURCE
- LOCAL-FIRST
- OPEN SOURCE
Current capabilitiesUseful workflows. Already executable.
AVAILABLEVERIFY Project verification
Run discovered npm, pnpm, Yarn or Bun scripts for lint, typecheck, test and build. Each result is recorded locally.
AVAILABLEGUARD Tool policy
Manage explicit allow/deny rules with default-deny semantics and deny-overrides behaviour.
AVAILABLETRACE Execution evidence
Review recent verification, webhook validation and guard-decision events in JSONL format.
AVAILABLEHOOKS Webhook signatures
Verify raw payload bytes using HMAC-SHA256 and constant-time digest comparison.
AVAILABLEINSPECT Repository readiness
Audit open-source readiness without executing project scripts or making network calls.
PLANNEDCONTROL CENTRE Project interface
A visual workspace for projects, check results, policy management and run history.
PLANNEDEXTENSIONS Integration framework
Documented extension contracts for CI, Git providers, MCP clients and community adapters.
The designOne project. A shared context.
Commands share a local configuration directory, policy file and concise event history. New capabilities should extend those foundations instead of creating another disconnected dashboard.
Developer / CIFORGE CLI + local projectVERIFYGUARDHOOKSLocal evidence · .forge/