@warpgogol/forge 9.6.2 → 9.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/CONTRIBUTING.md +19 -25
- package/README.md +2 -2
- package/README.uk.md +2 -2
- package/dist/src/migration-adapters/ignored-files.d.ts +14 -0
- package/dist/src/migration-adapters/ignored-files.d.ts.map +1 -1
- package/dist/src/migration-adapters/ignored-files.js +62 -0
- package/dist/src/migration-adapters/ignored-files.js.map +1 -1
- package/dist/src/migration-adapters/index.d.ts +3 -3
- package/dist/src/migration-adapters/index.d.ts.map +1 -1
- package/dist/src/migration-adapters/index.js +2 -2
- package/dist/src/migration-adapters/index.js.map +1 -1
- package/dist/src/migration-adapters/node-typescript-pnpm/index.d.ts.map +1 -1
- package/dist/src/migration-adapters/node-typescript-pnpm/index.js +9 -7
- package/dist/src/migration-adapters/node-typescript-pnpm/index.js.map +1 -1
- package/dist/src/migration-adapters/phaser-pnpm/index.d.ts.map +1 -1
- package/dist/src/migration-adapters/phaser-pnpm/index.js +9 -7
- package/dist/src/migration-adapters/phaser-pnpm/index.js.map +1 -1
- package/dist/src/migration-adapters/types.d.ts +19 -1
- package/dist/src/migration-adapters/types.d.ts.map +1 -1
- package/dist/src/migration-adapters/types.js +19 -0
- package/dist/src/migration-adapters/types.js.map +1 -1
- package/docs/concepts/why-forge.md +1 -1
- package/docs/evidence/release-9.6.2.md +31 -0
- package/docs/grants/devin-startups.md +25 -0
- package/docs/guides/existing-project.md +5 -5
- package/docs/integrations/devin.md +14 -0
- package/docs/reference/cli.md +2 -2
- package/docs/reference/forge-yaml.md +1 -1
- package/package.json +3 -2
- package/skills/meta/forge-bootstrap/SKILL.md +18 -12
- package/src/migration-adapters/ignored-files.ts +64 -0
- package/src/migration-adapters/index.ts +19 -3
- package/src/migration-adapters/node-typescript-pnpm/index.ts +21 -5
- package/src/migration-adapters/phaser-pnpm/index.ts +21 -5
- package/src/migration-adapters/types.ts +36 -1
- package/src/tests/migration-adapters.test.ts +73 -5
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,34 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
6
6
|
|
|
7
7
|
For the full commit history, see the [GitHub releases page](https://github.com/syrokomskyi/forge/releases).
|
|
8
8
|
|
|
9
|
+
## [9.6.3] — 2026-11-14
|
|
10
|
+
|
|
11
|
+
_External-review hardening: secrets can no longer land in a target project before the operator approves them, the published tarball is smoke-gated, and docs claims now match what the code and workflows actually do._
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **Migration secrets contract (P0)** — `migrate()` previously copied every file on disk, including `.env`/ignored files, BEFORE the operator chose which categories to transfer; a refusal was cosmetic. The adapter now computes a blocked set (`collectMigrationBlockedPaths` = git-ignored paths ∪ secret-pattern files) and skips everything not on the operator's `allowedPaths` — secrets are opt-in in code, not by convention. Applies to both `node-typescript-pnpm` and `phaser-pnpm` adapters.
|
|
16
|
+
- **Tarball smoke test (P0)** — `test-fixtures/node24-consumer/smoke.mjs` hard-failed on a `1.0.0` version literal and was never wired into release flow; it now builds first, checks the packed version against `package.json`, exercises `--version` plus a programmatic `import()`, and runs as `prepublishOnly` so `npm publish` cannot ship a broken tarball.
|
|
17
|
+
- **Release evidence claim (P0)** — the "One task. One contract." section referenced v9.6.1 although the section itself first shipped in 9.6.2; it now cites 9.6.2 and links `docs/evidence/release-9.6.2.md`, a stage-by-stage trail (commit gate → integrate → cut → extract → CI → publish → provenance → registry) that separates what the artifacts prove from what they don't.
|
|
18
|
+
- **CONTRIBUTING.md vs AGENTS.md contradiction (P0)** — CONTRIBUTING told visitors not to open PRs while AGENTS.md welcomed them. CONTRIBUTING now documents the actual model: issues and PRs are accepted here, and a maintainer ports approved patches into the upstream monorepo with credit.
|
|
19
|
+
- **RTK global side-effects (P1)** — `forge-bootstrap` installed RTK as a mandatory step and ran `rtk init -g` against the operator's global AI-assistant settings. RTK is now an optional post-setup step requiring explicit consent; `existing-project.md` states the "nothing outside the project directory" boundary honestly.
|
|
20
|
+
- **Node version wording (P1)** — docs said "Node.js 24+" while `engines` is `>=24 <25`; docs now say Node.js 24.x.
|
|
21
|
+
- **Transplant wording (P1)** — `existing-project.md` claimed files are "moved"; the adapter copies (source tree untouched), so the guide says so.
|
|
22
|
+
- **why-forge.md overclaim (P1)** — "ensuring that development follows engineering discipline" overstated the verification model; scoped to "mechanical checks and contracts that enforce" it.
|
|
23
|
+
- **`cli.md` dead link (P2)** — pointed at `docs/command-manifest.generated.yaml`, which is monorepo-internal and absent from the published repo.
|
|
24
|
+
- **`forge-yaml.md` stale example (P2)** — `syncedVersion: 4.1.6` replaced by a current, commented example.
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- **`docs/evidence/release-9.6.2.md`** — the verifiable release trail and its honest limits.
|
|
29
|
+
- **`docs/grants/devin-startups.md`** — public grant proposal brief: problem, solution, traction, milestones, metrics, and explicit limits.
|
|
30
|
+
- **Devin reference-experiment protocol** in `docs/integrations/devin.md` — a planned, reproducible violation-detection scenario, marked as planned rather than claimed as done.
|
|
31
|
+
- **`MigrateOptions`, `discoverSensitiveFiles`, `collectMigrationBlockedPaths`, `isPathExcluded`, `normalizeRelPath`** in `src/migration-adapters/`.
|
|
32
|
+
|
|
33
|
+
### Removed
|
|
34
|
+
|
|
35
|
+
- **`packages/forge/.github/workflows/ci.yml`** — a stale package-level workflow superseded by the generated standalone CI; its soft-fail steps (`|| true` on lint/test, `--ignore-scripts` on publish) would have become live if the generated workflow were ever disabled.
|
|
36
|
+
|
|
9
37
|
## [9.6.2] — 2026-11-14
|
|
10
38
|
|
|
11
39
|
_Documentation conformance pass — counts synced to the real registry, the programmatic API rewritten against the verified surface, new integration and verification docs._
|
package/CONTRIBUTING.md
CHANGED
|
@@ -1,36 +1,30 @@
|
|
|
1
1
|
# Contributing to @warpgogol/forge
|
|
2
2
|
|
|
3
|
-
Forge
|
|
3
|
+
Forge's canonical source lives in a private monorepo; this repository is the published standalone form, regenerated on every release. Contributions still flow through here:
|
|
4
|
+
|
|
5
|
+
- **Issues** — open them here. Bug reports, docs inconsistencies, and feature requests are all welcome.
|
|
6
|
+
- **Pull requests** — open them here. A maintainer reviews the patch, ports it into the upstream monorepo, and it ships back to this repo in the next release — you're credited in the commit message and release notes.
|
|
7
|
+
- **Direct edits to this repo** — small, self-contained fixes (typos, docs, examples) may be merged here directly if they don't conflict with the generated tree; the upstream port happens on the next export regardless.
|
|
8
|
+
|
|
9
|
+
## What a good patch looks like
|
|
10
|
+
|
|
11
|
+
- Keep changes small and typed (`pnpm run typecheck`, `pnpm run lint`, `pnpm test` must pass).
|
|
12
|
+
- `src/` is portable — no `@warpgogol/*` imports; helpers accept `io?: WorkspaceIO` as an optional type-only parameter.
|
|
13
|
+
- Skills live in `skills/` (canonical source) — never edit `.agents/skills/` twins.
|
|
14
|
+
- New commands are registered in `src/command-modules.ts` `loadForgeCommandModules()` — a module not listed there is unreachable via `forge <cmd>`.
|
|
4
15
|
|
|
5
16
|
## Development setup
|
|
6
17
|
|
|
7
18
|
```sh
|
|
8
|
-
git clone https://github.com/syrokomskyi/
|
|
9
|
-
cd
|
|
19
|
+
git clone https://github.com/syrokomskyi/forge.git
|
|
20
|
+
cd forge
|
|
10
21
|
pnpm install
|
|
22
|
+
pnpm run build
|
|
23
|
+
pnpm test
|
|
11
24
|
```
|
|
12
25
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
- `packages/forge/src/` — portable core (no `@warpgogol/*` imports)
|
|
16
|
-
- `packages/forge/os/` — ForgeModule registrations and command handlers
|
|
17
|
-
- `packages/forge/bin/` — CLI entrypoint
|
|
18
|
-
- `packages/forge/skills/` — skill definitions
|
|
19
|
-
- `packages/forge/profiles/` — stack profiles
|
|
20
|
-
|
|
21
|
-
## Making changes
|
|
22
|
-
|
|
23
|
-
1. Create an RFC for architectural changes (`forge rfc.create`)
|
|
24
|
-
2. Implement the change
|
|
25
|
-
3. Add or update tests
|
|
26
|
-
4. Run `pnpm exec forge doctor` and `pnpm exec forge rfc.validate`
|
|
27
|
-
5. Run `pnpm run build:check` for type checking
|
|
28
|
-
6. Commit via `ecosystem.commit`
|
|
29
|
-
|
|
30
|
-
## Publishing
|
|
31
|
-
|
|
32
|
-
Publishing is automated via `repo-extract` + GitHub Actions CI. See [docs/maintainers/publishing.md](docs/maintainers/publishing.md).
|
|
26
|
+
Requires Node.js 24.x (`engines` declares `>=24 <25`) and pnpm.
|
|
33
27
|
|
|
34
|
-
##
|
|
28
|
+
## Security
|
|
35
29
|
|
|
36
|
-
|
|
30
|
+
See [SECURITY.md](SECURITY.md) — report vulnerabilities privately, not in public issues.
|
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ Install https://npmjs.com/package/@warpgogol/forge in this folder and set up my
|
|
|
67
67
|
|
|
68
68
|
Replace `[describe your project]` with your idea — a game, a library, a knowledge base, anything. The AI agent installs Forge, scaffolds the project, and — for profiles that ship a runnable surface — sets up a live preview. From there on, you just talk: describe what you want, and the agent builds it. No programming, no terminal, no commands.
|
|
69
69
|
|
|
70
|
-
This workflow requires an agent with filesystem and command-execution access, a compatible environment (Node.js 24
|
|
70
|
+
This workflow requires an agent with filesystem and command-execution access, a compatible environment (Node.js 24.x, pnpm), and permission to install dependencies.
|
|
71
71
|
|
|
72
72
|
### After the prompt completes — the Bootstrap skill
|
|
73
73
|
|
|
@@ -286,7 +286,7 @@ Methodology, a worked example, and limitations: [docs/reference/fleet-measuremen
|
|
|
286
286
|
|
|
287
287
|
### One task. One contract. One verified result.
|
|
288
288
|
|
|
289
|
-
This README is the case study. Version 9.6.
|
|
289
|
+
This README is the case study. Version 9.6.2 — including this file — was authored end-to-end by an AI agent under operator direction: the agent rewrote the README, Forge's own commit gate ran scoped checks, the integration gate ran the heavyweight suite, and CI ran lint/typecheck/build/test before `npm publish --provenance`. Every transition produced a verifiable artifact — [release v9.6.2](https://github.com/syrokomskyi/forge/releases/tag/v9.6.2) · [CI runs](https://github.com/syrokomskyi/forge/actions) · [evidence trail](docs/evidence/release-9.6.2.md).
|
|
290
290
|
|
|
291
291
|
---
|
|
292
292
|
|
package/README.uk.md
CHANGED
|
@@ -67,7 +67,7 @@ Install https://npmjs.com/package/@warpgogol/forge in this folder and set up my
|
|
|
67
67
|
|
|
68
68
|
Замініть `[describe your project]` своєю ідеєю — гра, бібліотека, база знань, будь-що. ШІ-агент встановить Forge, створить структуру проєкту і — для профілів із запускаємою поверхнею — налаштує попередній перегляд працюючого застосунку. Далі ви просто говорите: описуєте, що хочете, і агент будує. Без програмування, без терміналу, без команд.
|
|
69
69
|
|
|
70
|
-
Цей робочий процес потребує агента з доступом до файлової системи та виконання команд, сумісного середовища (Node.js 24
|
|
70
|
+
Цей робочий процес потребує агента з доступом до файлової системи та виконання команд, сумісного середовища (Node.js 24.x, pnpm) і дозволу на встановлення залежностей.
|
|
71
71
|
|
|
72
72
|
### Після завершення промпту — Bootstrap skill
|
|
73
73
|
|
|
@@ -286,7 +286,7 @@ pnpm exec forge codebase.measure --json
|
|
|
286
286
|
|
|
287
287
|
### Одна задача. Один контракт. Один перевірений результат.
|
|
288
288
|
|
|
289
|
-
Цей README і є тематичним дослідженням. Версію 9.6.
|
|
289
|
+
Цей README і є тематичним дослідженням. Версію 9.6.2 — включно з цим файлом — написано наскрізь ШІ-агентом під керівництвом оператора: агент переписав README, власний гейт коміту Forge виконав скоуплені перевірки, інтеграційний гейт запустив важкий набір тестів, а CI виконав lint/typecheck/build/test перед `npm publish --provenance`. Кожен перехід дав артефакт, який можна перевірити — [реліз v9.6.2](https://github.com/syrokomskyi/forge/releases/tag/v9.6.2) · [запуски CI](https://github.com/syrokomskyi/forge/actions) · [слід доказів](docs/evidence/release-9.6.2.md).
|
|
290
290
|
|
|
291
291
|
---
|
|
292
292
|
|
|
@@ -9,4 +9,18 @@ export interface IgnoredFileCategory {
|
|
|
9
9
|
}
|
|
10
10
|
export declare function discoverIgnoredFiles(sourceDir: string): IgnoredFileCategory[];
|
|
11
11
|
export declare function formatSize(bytes: number): string;
|
|
12
|
+
/**
|
|
13
|
+
* Walk the source tree and return repo-relative file paths matching the
|
|
14
|
+
* configuration/secrets matchers — `.env*`, `*.key`, `*.pem`, certificates,
|
|
15
|
+
* `.envrc`. Works without git metadata, so it is the safety net for sources
|
|
16
|
+
* where `discoverIgnoredFiles()` returns nothing (no `.git`). Build-artifact
|
|
17
|
+
* directories (`excludePatterns`) and forge-protected paths are not scanned.
|
|
18
|
+
*/
|
|
19
|
+
export declare function discoverSensitiveFiles(sourceDir: string, excludePatterns: readonly string[]): string[];
|
|
20
|
+
/**
|
|
21
|
+
* The paths `migrate()` must skip: every git-ignored path plus every
|
|
22
|
+
* secret-looking file, minus the operator's explicit allowlist. Secrets are
|
|
23
|
+
* therefore excluded by default — they transfer only when the operator opts in.
|
|
24
|
+
*/
|
|
25
|
+
export declare function collectMigrationBlockedPaths(sourceDir: string, allowedPaths?: readonly string[]): Set<string>;
|
|
12
26
|
//# sourceMappingURL=ignored-files.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ignored-files.d.ts","sourceRoot":"","sources":["../../../src/migration-adapters/ignored-files.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ignored-files.d.ts","sourceRoot":"","sources":["../../../src/migration-adapters/ignored-files.ts"],"names":[],"mappings":"AAuBA,MAAM,MAAM,qBAAqB,GAAG,QAAQ,GAAG,MAAM,GAAG,eAAe,GAAG,OAAO,GAAG,OAAO,CAAC;AAE5F,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,qBAAqB,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;CACnB;AAsID,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,mBAAmB,EAAE,CAqD7E;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAKhD;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,MAAM,EACjB,eAAe,EAAE,SAAS,MAAM,EAAE,GACjC,MAAM,EAAE,CAuBV;AAMD;;;;GAIG;AACH,wBAAgB,4BAA4B,CAC1C,SAAS,EAAE,MAAM,EACjB,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,GAC/B,GAAG,CAAC,MAAM,CAAC,CAcb"}
|
|
@@ -18,6 +18,7 @@ Sweep batch 4: 73 Compass headers on headerless engine files (certification, com
|
|
|
18
18
|
import * as fs from "../utils/sync-fs.js";
|
|
19
19
|
import path from "node:path";
|
|
20
20
|
import { execFileSync } from "../utils/sync-fs.js";
|
|
21
|
+
import { DEFAULT_EXCLUDE_PATTERNS, normalizeRelPath, isPathExcluded } from "./types.js";
|
|
21
22
|
const CONFIG_MATCHERS = [
|
|
22
23
|
(p) => p === ".env" || p.startsWith(".env."),
|
|
23
24
|
(p) => p.endsWith(".key") || p.endsWith(".pem") || p.endsWith(".crt"),
|
|
@@ -192,4 +193,65 @@ export function formatSize(bytes) {
|
|
|
192
193
|
return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
|
|
193
194
|
return `${(bytes / (1024 * 1024 * 1024)).toFixed(1)} GB`;
|
|
194
195
|
}
|
|
196
|
+
/**
|
|
197
|
+
* Walk the source tree and return repo-relative file paths matching the
|
|
198
|
+
* configuration/secrets matchers — `.env*`, `*.key`, `*.pem`, certificates,
|
|
199
|
+
* `.envrc`. Works without git metadata, so it is the safety net for sources
|
|
200
|
+
* where `discoverIgnoredFiles()` returns nothing (no `.git`). Build-artifact
|
|
201
|
+
* directories (`excludePatterns`) and forge-protected paths are not scanned.
|
|
202
|
+
*/
|
|
203
|
+
export function discoverSensitiveFiles(sourceDir, excludePatterns) {
|
|
204
|
+
const hits = [];
|
|
205
|
+
const walk = (dir) => {
|
|
206
|
+
let entries;
|
|
207
|
+
try {
|
|
208
|
+
entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
209
|
+
}
|
|
210
|
+
catch {
|
|
211
|
+
return;
|
|
212
|
+
}
|
|
213
|
+
for (const entry of entries) {
|
|
214
|
+
const fullPath = path.join(dir, entry.name);
|
|
215
|
+
const relPath = normalizeRelPath(path.relative(sourceDir, fullPath));
|
|
216
|
+
if (entry.isDirectory()) {
|
|
217
|
+
if (excludePatterns.some((p) => entry.name === p))
|
|
218
|
+
continue;
|
|
219
|
+
if (isForgeProtectedDir(relPath))
|
|
220
|
+
continue;
|
|
221
|
+
walk(fullPath);
|
|
222
|
+
}
|
|
223
|
+
else if (entry.isFile()) {
|
|
224
|
+
if (CONFIG_MATCHERS.some((m) => m(relPath)))
|
|
225
|
+
hits.push(relPath);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
walk(sourceDir);
|
|
230
|
+
return hits;
|
|
231
|
+
}
|
|
232
|
+
function isForgeProtectedDir(relPath) {
|
|
233
|
+
return relPath === ".agents" || relPath === "docs/rfcs" || relPath === "docs/adrs";
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* The paths `migrate()` must skip: every git-ignored path plus every
|
|
237
|
+
* secret-looking file, minus the operator's explicit allowlist. Secrets are
|
|
238
|
+
* therefore excluded by default — they transfer only when the operator opts in.
|
|
239
|
+
*/
|
|
240
|
+
export function collectMigrationBlockedPaths(sourceDir, allowedPaths) {
|
|
241
|
+
const allowed = new Set((allowedPaths ?? []).map(normalizeRelPath));
|
|
242
|
+
const blocked = new Set();
|
|
243
|
+
const consider = (relPath) => {
|
|
244
|
+
const normalized = normalizeRelPath(relPath);
|
|
245
|
+
if (!isPathExcluded(normalized, allowed))
|
|
246
|
+
blocked.add(normalized);
|
|
247
|
+
};
|
|
248
|
+
for (const cat of discoverIgnoredFiles(sourceDir)) {
|
|
249
|
+
for (const p of cat.paths)
|
|
250
|
+
consider(p);
|
|
251
|
+
}
|
|
252
|
+
for (const p of discoverSensitiveFiles(sourceDir, DEFAULT_EXCLUDE_PATTERNS)) {
|
|
253
|
+
consider(p);
|
|
254
|
+
}
|
|
255
|
+
return blocked;
|
|
256
|
+
}
|
|
195
257
|
//# sourceMappingURL=ignored-files.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ignored-files.js","sourceRoot":"","sources":["../../../src/migration-adapters/ignored-files.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;EAgBE;AAEF,OAAO,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC1C,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"ignored-files.js","sourceRoot":"","sources":["../../../src/migration-adapters/ignored-files.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;EAgBE;AAEF,OAAO,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC1C,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAoBxF,MAAM,eAAe,GAA+B;IAClD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,MAAM,IAAI,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;IAC5C,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC;IACrE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,SAAS,IAAI,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IAChD,CAAC,CAAC,EAAE,EAAE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,CAAC;IACH,CAAC,CAAC;IACF,IAAI,CAAC,SAAS,CAAC,CAAC;IAChB,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAS,mBAAmB,CAAC,OAAe;IAC1C,OAAO,OAAO,KAAK,SAAS,IAAI,OAAO,KAAK,WAAW,IAAI,OAAO,KAAK,WAAW,CAAC;AACrF,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,4BAA4B,CAC1C,SAAiB,EACjB,YAAgC;IAEhC,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACpE,MAAM,OAAO,GAAG,IAAI,GAAG,EAAU,CAAC;IAClC,MAAM,QAAQ,GAAG,CAAC,OAAe,EAAQ,EAAE;QACzC,MAAM,UAAU,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;QAC7C,IAAI,CAAC,cAAc,CAAC,UAAU,EAAE,OAAO,CAAC;YAAE,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpE,CAAC,CAAC;IACF,KAAK,MAAM,GAAG,IAAI,oBAAoB,CAAC,SAAS,CAAC,EAAE,CAAC;QAClD,KAAK,MAAM,CAAC,IAAI,GAAG,CAAC,KAAK;YAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;IACzC,CAAC;IACD,KAAK,MAAM,CAAC,IAAI,sBAAsB,CAAC,SAAS,EAAE,wBAAwB,CAAC,EAAE,CAAC;QAC5E,QAAQ,CAAC,CAAC,CAAC,CAAC;IACd,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export type { MigrationAdapter, AdapterAnalysis, MigrationResult, Conflict } from "./types.ts";
|
|
2
|
-
export { FORGE_PROTECTED_PATHS, DEFAULT_EXCLUDE_PATTERNS } from "./types.ts";
|
|
1
|
+
export type { MigrationAdapter, AdapterAnalysis, MigrationResult, Conflict, MigrateOptions, } from "./types.ts";
|
|
2
|
+
export { FORGE_PROTECTED_PATHS, DEFAULT_EXCLUDE_PATTERNS, normalizeRelPath, isPathExcluded, } from "./types.ts";
|
|
3
3
|
export { nodeTypescriptPnpmAdapter } from "./node-typescript-pnpm/index.ts";
|
|
4
4
|
export { phaserPnpmAdapter } from "./phaser-pnpm/index.ts";
|
|
5
5
|
export { getAdapters, detectAdapter, detectAdapters } from "./registry.ts";
|
|
6
|
-
export { discoverIgnoredFiles, formatSize } from "./ignored-files.ts";
|
|
6
|
+
export { discoverIgnoredFiles, discoverSensitiveFiles, collectMigrationBlockedPaths, formatSize, } from "./ignored-files.ts";
|
|
7
7
|
export type { IgnoredFileCategory, IgnoredFileCategoryId } from "./ignored-files.ts";
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/migration-adapters/index.ts"],"names":[],"mappings":"AAeA,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/migration-adapters/index.ts"],"names":[],"mappings":"AAeA,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,QAAQ,EACR,cAAc,GACf,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,cAAc,GACf,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,4BAA4B,EAC5B,UAAU,GACX,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
Sweep batch 2: real KEY_DECISIONS on 10 files, expanded purposes (CONTRACT-02/PURPOSE-02), headers on mission/index + gen-upstreams, sanitizeItemText in summary.record (literal Compass tags corrupted history), excludedPaths for wrangler types, test-fixtures testPattern. forge+services now 0 diagnostics under --mode error.</item>
|
|
13
13
|
</CHANGE_SUMMARY>
|
|
14
14
|
*/
|
|
15
|
-
export { FORGE_PROTECTED_PATHS, DEFAULT_EXCLUDE_PATTERNS } from "./types.js";
|
|
15
|
+
export { FORGE_PROTECTED_PATHS, DEFAULT_EXCLUDE_PATTERNS, normalizeRelPath, isPathExcluded, } from "./types.js";
|
|
16
16
|
export { nodeTypescriptPnpmAdapter } from "./node-typescript-pnpm/index.js";
|
|
17
17
|
export { phaserPnpmAdapter } from "./phaser-pnpm/index.js";
|
|
18
18
|
export { getAdapters, detectAdapter, detectAdapters } from "./registry.js";
|
|
19
|
-
export { discoverIgnoredFiles, formatSize } from "./ignored-files.js";
|
|
19
|
+
export { discoverIgnoredFiles, discoverSensitiveFiles, collectMigrationBlockedPaths, formatSize, } from "./ignored-files.js";
|
|
20
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/migration-adapters/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;EAaE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/migration-adapters/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;EAaE;AAUF,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,cAAc,GACf,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,4BAA4B,EAC5B,UAAU,GACX,MAAM,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/migration-adapters/node-typescript-pnpm/index.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/migration-adapters/node-typescript-pnpm/index.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EACV,gBAAgB,EAKjB,MAAM,aAAa,CAAC;AAsBrB,eAAO,MAAM,yBAAyB,EAAE,gBA8FvC,CAAC"}
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
*/
|
|
15
15
|
import * as fs from "../../utils/sync-fs.js";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import { FORGE_PROTECTED_PATHS, DEFAULT_EXCLUDE_PATTERNS } from "../types.js";
|
|
17
|
+
import { FORGE_PROTECTED_PATHS, DEFAULT_EXCLUDE_PATTERNS, isPathExcluded } from "../types.js";
|
|
18
|
+
import { collectMigrationBlockedPaths } from "../ignored-files.js";
|
|
18
19
|
import { runPostSetup } from "../git-utils.js";
|
|
19
20
|
function readPackageJson(sourceDir) {
|
|
20
21
|
const pkgPath = path.join(sourceDir, "package.json");
|
|
@@ -60,12 +61,13 @@ export const nodeTypescriptPnpmAdapter = {
|
|
|
60
61
|
gitHistory: fs.existsSync(path.join(sourceDir, ".git")),
|
|
61
62
|
};
|
|
62
63
|
},
|
|
63
|
-
migrate(sourceDir, targetDir, analysis) {
|
|
64
|
+
migrate(sourceDir, targetDir, analysis, options) {
|
|
64
65
|
const destDir = path.join(targetDir, analysis.placement, analysis.appName);
|
|
65
66
|
const filesCopied = [];
|
|
66
67
|
const filesSkipped = [];
|
|
67
68
|
const conflicts = [];
|
|
68
|
-
|
|
69
|
+
const blockedPaths = collectMigrationBlockedPaths(sourceDir, options?.allowedPaths);
|
|
70
|
+
copyDirectory(sourceDir, destDir, sourceDir, analysis.excludePatterns, blockedPaths, filesCopied, filesSkipped, conflicts);
|
|
69
71
|
let workspaceUpdated = false;
|
|
70
72
|
const workspacePath = path.join(targetDir, "pnpm-workspace.yaml");
|
|
71
73
|
if (fs.existsSync(workspacePath)) {
|
|
@@ -104,7 +106,7 @@ function isExcluded(relPath, patterns) {
|
|
|
104
106
|
const parts = relPath.split(path.sep);
|
|
105
107
|
return patterns.some((p) => parts.includes(p));
|
|
106
108
|
}
|
|
107
|
-
function copyDirectory(src, dest, rootSrc, excludePatterns, filesCopied, filesSkipped, conflicts) {
|
|
109
|
+
function copyDirectory(src, dest, rootSrc, excludePatterns, blockedPaths, filesCopied, filesSkipped, conflicts) {
|
|
108
110
|
if (!fs.existsSync(dest)) {
|
|
109
111
|
fs.mkdirSync(dest, { recursive: true });
|
|
110
112
|
}
|
|
@@ -116,14 +118,14 @@ function copyDirectory(src, dest, rootSrc, excludePatterns, filesCopied, filesSk
|
|
|
116
118
|
// the reported filesCopied/filesSkipped lists are platform-stable.
|
|
117
119
|
const relPath = path.relative(rootSrc, srcPath).replace(/\\/g, "/");
|
|
118
120
|
if (entry.isDirectory()) {
|
|
119
|
-
if (isExcluded(relPath, excludePatterns))
|
|
121
|
+
if (isExcluded(relPath, excludePatterns) || isPathExcluded(relPath, blockedPaths))
|
|
120
122
|
continue;
|
|
121
|
-
copyDirectory(srcPath, destPath, rootSrc, excludePatterns, filesCopied, filesSkipped, conflicts);
|
|
123
|
+
copyDirectory(srcPath, destPath, rootSrc, excludePatterns, blockedPaths, filesCopied, filesSkipped, conflicts);
|
|
122
124
|
}
|
|
123
125
|
else if (entry.isFile()) {
|
|
124
126
|
if (isExcluded(relPath, excludePatterns))
|
|
125
127
|
continue;
|
|
126
|
-
if (isForgeProtected(relPath)) {
|
|
128
|
+
if (isForgeProtected(relPath) || isPathExcluded(relPath, blockedPaths)) {
|
|
127
129
|
filesSkipped.push(relPath);
|
|
128
130
|
continue;
|
|
129
131
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/migration-adapters/node-typescript-pnpm/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;EAaE;AAEF,OAAO,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC7C,OAAO,IAAI,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/migration-adapters/node-typescript-pnpm/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;EAaE;AAEF,OAAO,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC7C,OAAO,IAAI,MAAM,WAAW,CAAC;AAQ7B,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC9F,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAS/C,SAAS,eAAe,CAAC,SAAiB;IACxC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC;IACrD,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC;QAAE,OAAO,IAAI,CAAC;IACzC,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,CAAgB,CAAC;IACrE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAqB;IACzD,EAAE,EAAE,sBAAsB;IAE1B,MAAM,CAAC,SAAiB;QACtB,MAAM,cAAc,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,cAAc,CAAC,CAA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,MAAM,EAAE,EAAE,CAAC;YAC1B,IAAI,UAAU,CAAC,OAAO,EAAE,eAAe,CAAC;gBAAE,SAAS;YAEnD,IAAI,gBAAgB,CAAC,OAAO,CAAC,IAAI,cAAc,CAAC,OAAO,EAAE,YAAY,CAAC,EAAE,CAAC;gBACvE,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;gBAC3B,SAAS;YACX,CAAC;YAED,IAAI,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC5B,SAAS,CAAC,IAAI,CAAC;oBACb,IAAI,EAAE,OAAO;oBACb,YAAY,EAAE,IAAI;oBAClB,WAAW,EAAE,IAAI;oBACjB,UAAU,EAAE,aAAa;iBAC1B,CAAC,CAAC;YACL,CAAC;YAED,EAAE,CAAC,YAAY,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YACnC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/migration-adapters/phaser-pnpm/index.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/migration-adapters/phaser-pnpm/index.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EACV,gBAAgB,EAKjB,MAAM,aAAa,CAAC;AAsBrB,eAAO,MAAM,iBAAiB,EAAE,gBA8F/B,CAAC"}
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
*/
|
|
15
15
|
import * as fs from "../../utils/sync-fs.js";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import { FORGE_PROTECTED_PATHS, DEFAULT_EXCLUDE_PATTERNS } from "../types.js";
|
|
17
|
+
import { FORGE_PROTECTED_PATHS, DEFAULT_EXCLUDE_PATTERNS, isPathExcluded } from "../types.js";
|
|
18
|
+
import { collectMigrationBlockedPaths } from "../ignored-files.js";
|
|
18
19
|
import { runPostSetup } from "../git-utils.js";
|
|
19
20
|
function readPackageJson(sourceDir) {
|
|
20
21
|
const pkgPath = path.join(sourceDir, "package.json");
|
|
@@ -61,12 +62,13 @@ export const phaserPnpmAdapter = {
|
|
|
61
62
|
gitHistory: fs.existsSync(path.join(sourceDir, ".git")),
|
|
62
63
|
};
|
|
63
64
|
},
|
|
64
|
-
migrate(sourceDir, targetDir, analysis) {
|
|
65
|
+
migrate(sourceDir, targetDir, analysis, options) {
|
|
65
66
|
const destDir = path.join(targetDir, analysis.placement, analysis.appName);
|
|
66
67
|
const filesCopied = [];
|
|
67
68
|
const filesSkipped = [];
|
|
68
69
|
const conflicts = [];
|
|
69
|
-
|
|
70
|
+
const blockedPaths = collectMigrationBlockedPaths(sourceDir, options?.allowedPaths);
|
|
71
|
+
copyDirectory(sourceDir, destDir, sourceDir, analysis.excludePatterns, blockedPaths, filesCopied, filesSkipped, conflicts);
|
|
70
72
|
let workspaceUpdated = false;
|
|
71
73
|
const workspacePath = path.join(targetDir, "pnpm-workspace.yaml");
|
|
72
74
|
if (fs.existsSync(workspacePath)) {
|
|
@@ -105,7 +107,7 @@ function isExcluded(relPath, patterns) {
|
|
|
105
107
|
const parts = relPath.split(path.sep);
|
|
106
108
|
return patterns.some((p) => parts.includes(p));
|
|
107
109
|
}
|
|
108
|
-
function copyDirectory(src, dest, rootSrc, excludePatterns, filesCopied, filesSkipped, conflicts) {
|
|
110
|
+
function copyDirectory(src, dest, rootSrc, excludePatterns, blockedPaths, filesCopied, filesSkipped, conflicts) {
|
|
109
111
|
if (!fs.existsSync(dest)) {
|
|
110
112
|
fs.mkdirSync(dest, { recursive: true });
|
|
111
113
|
}
|
|
@@ -117,14 +119,14 @@ function copyDirectory(src, dest, rootSrc, excludePatterns, filesCopied, filesSk
|
|
|
117
119
|
// the reported filesCopied/filesSkipped lists are platform-stable.
|
|
118
120
|
const relPath = path.relative(rootSrc, srcPath).replace(/\\/g, "/");
|
|
119
121
|
if (entry.isDirectory()) {
|
|
120
|
-
if (isExcluded(relPath, excludePatterns))
|
|
122
|
+
if (isExcluded(relPath, excludePatterns) || isPathExcluded(relPath, blockedPaths))
|
|
121
123
|
continue;
|
|
122
|
-
copyDirectory(srcPath, destPath, rootSrc, excludePatterns, filesCopied, filesSkipped, conflicts);
|
|
124
|
+
copyDirectory(srcPath, destPath, rootSrc, excludePatterns, blockedPaths, filesCopied, filesSkipped, conflicts);
|
|
123
125
|
}
|
|
124
126
|
else if (entry.isFile()) {
|
|
125
127
|
if (isExcluded(relPath, excludePatterns))
|
|
126
128
|
continue;
|
|
127
|
-
if (isForgeProtected(relPath)) {
|
|
129
|
+
if (isForgeProtected(relPath) || isPathExcluded(relPath, blockedPaths)) {
|
|
128
130
|
filesSkipped.push(relPath);
|
|
129
131
|
continue;
|
|
130
132
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/migration-adapters/phaser-pnpm/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;EAaE;AAEF,OAAO,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC7C,OAAO,IAAI,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/migration-adapters/phaser-pnpm/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;EAaE;AAEF,OAAO,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC7C,OAAO,IAAI,MAAM,WAAW,CAAC;AAQ7B,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC9F,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAS/C,SAAS,eAAe,CAAC,SAAiB;IACxC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI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AG,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QAEpE,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE,CAAC;YACxB,IAAI,UAAU,CAAC,OAAO,EAAE,eAAe,CAAC,IAAI,cAAc,CAAC,OAAO,EAAE,YAAY,CAAC;gBAAE,SAAS;YAC5F,aAAa,CACX,OAAO,EACP,QAAQ,EACR,OAAO,EACP,eAAe,EACf,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,SAAS,CACV,CAAC;QACJ,CAAC;aAAM,IAAI,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC;YAC1B,IAAI,UAAU,CAAC,OAAO,EAAE,eAAe,CAAC;gBAAE,SAAS;YAEnD,IAAI,gBAAgB,CAAC,OAAO,CAAC,IAAI,cAAc,CAAC,OAAO,EAAE,YAAY,CAAC,EAAE,CAAC;gBACvE,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;gBAC3B,SAAS;YACX,CAAC;YAED,IAAI,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC5B,SAAS,CAAC,IAAI,CAAC;oBACb,IAAI,EAAE,OAAO;oBACb,YAAY,EAAE,IAAI;oBAClB,WAAW,EAAE,IAAI;oBACjB,UAAU,EAAE,aAAa;iBAC1B,CAAC,CAAC;YACL,CAAC;YAED,EAAE,CAAC,YAAY,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YACnC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -2,9 +2,19 @@ export interface MigrationAdapter {
|
|
|
2
2
|
id: string;
|
|
3
3
|
detect(sourceDir: string): boolean;
|
|
4
4
|
analyze(sourceDir: string): AdapterAnalysis;
|
|
5
|
-
migrate(sourceDir: string, targetDir: string, analysis: AdapterAnalysis): MigrationResult;
|
|
5
|
+
migrate(sourceDir: string, targetDir: string, analysis: AdapterAnalysis, options?: MigrateOptions): MigrationResult;
|
|
6
6
|
postSetup(sourceDir: string, targetDir: string, analysis: AdapterAnalysis): void;
|
|
7
7
|
}
|
|
8
|
+
export interface MigrateOptions {
|
|
9
|
+
/**
|
|
10
|
+
* Repo-relative paths the operator explicitly approved for transfer —
|
|
11
|
+
* the union of `paths` from the `discoverIgnoredFiles()` categories the
|
|
12
|
+
* operator selected (plus `discoverSensitiveFiles()` hits they opted into).
|
|
13
|
+
* Every git-ignored or secret-looking path NOT on this list is skipped:
|
|
14
|
+
* secrets are excluded by default unless the operator explicitly allows them.
|
|
15
|
+
*/
|
|
16
|
+
allowedPaths?: readonly string[];
|
|
17
|
+
}
|
|
8
18
|
export interface AdapterAnalysis {
|
|
9
19
|
stack: string[];
|
|
10
20
|
packageManager: string;
|
|
@@ -32,4 +42,12 @@ export interface Conflict {
|
|
|
32
42
|
}
|
|
33
43
|
export declare const FORGE_PROTECTED_PATHS: readonly ["forge.yaml", ".agents", "docs/rfcs", "docs/adrs", "PREFERENCES.md"];
|
|
34
44
|
export declare const DEFAULT_EXCLUDE_PATTERNS: readonly ["node_modules", "dist", ".next", ".cache", ".turbo", ".git"];
|
|
45
|
+
/** Canonical logical repo-relative path: forward slashes, no `./`, no trailing `/`. */
|
|
46
|
+
export declare function normalizeRelPath(p: string): string;
|
|
47
|
+
/**
|
|
48
|
+
* Repo-relative paths are logical (forward slashes, no leading `./`, no
|
|
49
|
+
* trailing `/`). An entry `dir` excludes `dir` itself and everything under
|
|
50
|
+
* `dir/`.
|
|
51
|
+
*/
|
|
52
|
+
export declare function isPathExcluded(relPath: string, excluded: ReadonlySet<string>): boolean;
|
|
35
53
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/migration-adapters/types.ts"],"names":[],"mappings":"AAoBA,MAAM,WAAW,gBAAgB;IAC/B,EAA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AAE,QAAQ,EAAE,CAAC;IACtB,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,YAAY,GAAG,aAAa,CAAC;CAC1C;AAED,eAAO,MAAM,qBAAqB,gFAMxB,CAAC;AAEX,eAAO,MAAM,wBAAwB,wEAO3B,CAAC;AAEX,uFAAuF;AACvF,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAElD;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,OAAO,CAOtF"}
|
|
@@ -32,4 +32,23 @@ export const DEFAULT_EXCLUDE_PATTERNS = [
|
|
|
32
32
|
".turbo",
|
|
33
33
|
".git",
|
|
34
34
|
];
|
|
35
|
+
/** Canonical logical repo-relative path: forward slashes, no `./`, no trailing `/`. */
|
|
36
|
+
export function normalizeRelPath(p) {
|
|
37
|
+
return p.replace(/\\/g, "/").replace(/^\.\//, "").replace(/\/+$/, "");
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Repo-relative paths are logical (forward slashes, no leading `./`, no
|
|
41
|
+
* trailing `/`). An entry `dir` excludes `dir` itself and everything under
|
|
42
|
+
* `dir/`.
|
|
43
|
+
*/
|
|
44
|
+
export function isPathExcluded(relPath, excluded) {
|
|
45
|
+
if (excluded.size === 0)
|
|
46
|
+
return false;
|
|
47
|
+
const normalized = normalizeRelPath(relPath);
|
|
48
|
+
for (const entry of excluded) {
|
|
49
|
+
if (normalized === entry || normalized.startsWith(entry + "/"))
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
35
54
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/migration-adapters/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;EAkBE;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/migration-adapters/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;EAkBE;AAsDF,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,YAAY;IACZ,SAAS;IACT,WAAW;IACX,WAAW;IACX,gBAAgB;CACR,CAAC;AAEX,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,cAAc;IACd,MAAM;IACN,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,MAAM;CACE,CAAC;AAEX,uFAAuF;AACvF,MAAM,UAAU,gBAAgB,CAAC,CAAS;IACxC,OAAO,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AACxE,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,cAAc,CAAC,OAAe,EAAE,QAA6B;IAC3E,IAAI,QAAQ,CAAC,IAAI,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IACtC,MAAM,UAAU,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAC7C,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE,CAAC;QAC7B,IAAI,UAAU,KAAK,KAAK,IAAI,UAAU,CAAC,UAAU,CAAC,KAAK,GAAG,GAAG,CAAC;YAAE,OAAO,IAAI,CAAC;IAC9E,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -12,7 +12,7 @@ Forge keeps AI-assisted development under engineering control. Project rules, ar
|
|
|
12
12
|
|
|
13
13
|
**Agents can change. Models can change. IDEs can change. Engineering rules stay with the project.**
|
|
14
14
|
|
|
15
|
-
Forge is not another AI model or coding agent. It is the project control layer that sits between any AI agent and your repository,
|
|
15
|
+
Forge is not another AI model or coding agent. It is the project control layer that sits between any AI agent and your repository, giving the project mechanical checks and contracts that enforce engineering discipline regardless of which tool you use.
|
|
16
16
|
|
|
17
17
|
## How it works
|
|
18
18
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Release evidence — @warpgogol/forge 9.6.2
|
|
2
|
+
|
|
3
|
+
What was verified, where the artifacts live, and what this evidence does and does not prove. All links point at public artifacts in [syrokomskyi/forge](https://github.com/syrokomskyi/forge) and the npm registry.
|
|
4
|
+
|
|
5
|
+
## Pipeline trail
|
|
6
|
+
|
|
7
|
+
| Stage | Artifact | What it proves |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| Authoring | commits on `develop` in the upstream monorepo, squashed into the export commit | the change set exists and has authorship history |
|
|
10
|
+
| Commit gate | scoped lint / typecheck / tests run by `ecosystem.commit` per changed file | the touched files passed their package gates before integrating |
|
|
11
|
+
| Integration gate | `flow.integrate` run — heavyweight suite (build, tests, correctness, registry integrity) | the merge met the platform bar, not just the package bar |
|
|
12
|
+
| Release cut | `flow.cut` produced repo tag `v6.464.2` and package tag `forge@9.6.2` | version bump was machine-derived, not hand-edited |
|
|
13
|
+
| Push + extract | `flow.push` → export repo `syrokomskyi/forge` | the public tree is machine-generated, not hand-maintained |
|
|
14
|
+
| Public CI | [GitHub Actions run for the release commit](https://github.com/syrokomskyi/forge/actions) — `ci` job: install, build, lint, typecheck, vitest | the published code compiles, lints, types and tests green in a clean environment |
|
|
15
|
+
| Publish | [publish job](https://github.com/syrokomskyi/forge/actions) — `npm publish --provenance --access public` → `+ @warpgogol/forge@9.6.2` | the registry artifact was produced by CI from the tagged commit, not from a workstation |
|
|
16
|
+
| Provenance | Sigstore transparency log entry for the publish (linked from the job log) | third-party attestation binds the artifact to the workflow run |
|
|
17
|
+
| Registry | [`@warpgogol/forge` on npm](https://www.npmjs.com/package/@warpgogol/forge) — the `latest` dist-tag serves `9.6.2` | the artifact is publicly installable |
|
|
18
|
+
|
|
19
|
+
## What this proves — and what it does not
|
|
20
|
+
|
|
21
|
+
Proves: every transition (author → gate → integrate → release → extract → CI → publish) produced a verifiable artifact, and the npm tarball was built by CI from the tagged commit.
|
|
22
|
+
|
|
23
|
+
Does not prove: that a specific human or a specific AI agent authored any particular line. "Authored by an AI agent" is a process claim about the upstream session — the public evidence shows the gates and outputs, not the keystrokes.
|
|
24
|
+
|
|
25
|
+
## How to spot-check
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
npm view @warpgogol/forge@9.6.2 dist.tarball # tarball URL + integrity hash
|
|
29
|
+
npm view @warpgogol/forge version # should print 9.6.2
|
|
30
|
+
gh run list --repo syrokomskyi/forge --limit 5 # latest green CI + publish jobs
|
|
31
|
+
```
|