@warpgogol/forge 2.19.0 → 2.21.0
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/README.md +13 -1
- package/README.uk.md +7 -1
- package/os/adr/adr.module.ts +2 -0
- package/os/compass/compass.module.ts +6 -0
- package/os/core/core.module.ts +17 -1
- package/os/naming/naming.module.ts +2 -0
- package/os/notes/notes.module.ts +4 -0
- package/os/plugin/plugin.module.ts +2 -0
- package/os/program/program.module.ts +2 -0
- package/os/rfc/acceptance.ts +1 -1
- package/os/rfc/rfc.module.ts +10 -0
- package/os/session/session.module.ts +2 -0
- package/os/spec/live-spec-merge.test.ts +76 -0
- package/os/spec/live-spec-merge.ts +14 -49
- package/os/spec/spec.module.ts +4 -0
- package/os/werkstatt/werkstatt.module.ts +2 -0
- package/os/workflow/workflow.module.ts +2 -0
- package/package.json +1 -1
- package/profiles/godot-csharp.yaml +4 -4
- package/profiles/typescript-turborepo.yaml +222 -0
- package/skills/meta/forge-bootstrap/SKILL.md +6 -6
- package/src/migration-adapters/git-utils.ts +4 -3
- package/src/onboarding/create.ts +19 -0
- package/src/onboarding/doctor.ts +37 -0
- package/src/tests/migration-adapters.test.ts +21 -0
- package/src/tests/profile-schema.test.ts +1 -1
- package/src/types/werkstatt-engine-shims.d.ts +99 -12
- package/src/types/werkstatt-shared-shims.d.ts +71 -0
- package/src/types.ts +4 -0
- package/dist/bin/cli.d.ts +0 -3
- package/dist/bin/cli.d.ts.map +0 -1
- package/dist/bin/cli.js +0 -291
- package/dist/bin/cli.js.map +0 -1
- package/dist/os/adr/adr.module.d.ts +0 -3
- package/dist/os/adr/adr.module.d.ts.map +0 -1
- package/dist/os/adr/adr.module.js +0 -146
- package/dist/os/adr/adr.module.js.map +0 -1
- package/dist/os/adr/frontmatter-io.d.ts +0 -12
- package/dist/os/adr/frontmatter-io.d.ts.map +0 -1
- package/dist/os/adr/frontmatter-io.js +0 -67
- package/dist/os/adr/frontmatter-io.js.map +0 -1
- package/dist/os/adr/handlers/archive.d.ts +0 -24
- package/dist/os/adr/handlers/archive.d.ts.map +0 -1
- package/dist/os/adr/handlers/archive.js +0 -194
- package/dist/os/adr/handlers/archive.js.map +0 -1
- package/dist/os/adr/handlers/implement-stamp.d.ts +0 -4
- package/dist/os/adr/handlers/implement-stamp.d.ts.map +0 -1
- package/dist/os/adr/handlers/implement-stamp.js +0 -264
- package/dist/os/adr/handlers/implement-stamp.js.map +0 -1
- package/dist/os/adr/handlers/list-create.d.ts +0 -5
- package/dist/os/adr/handlers/list-create.d.ts.map +0 -1
- package/dist/os/adr/handlers/list-create.js +0 -201
- package/dist/os/adr/handlers/list-create.js.map +0 -1
- package/dist/os/adr/handlers/validate.d.ts +0 -4
- package/dist/os/adr/handlers/validate.d.ts.map +0 -1
- package/dist/os/adr/handlers/validate.js +0 -279
- package/dist/os/adr/handlers/validate.js.map +0 -1
- package/dist/os/adr/index.d.ts +0 -8
- package/dist/os/adr/index.d.ts.map +0 -1
- package/dist/os/adr/index.js +0 -18
- package/dist/os/adr/index.js.map +0 -1
- package/dist/os/adr/types.d.ts +0 -76
- package/dist/os/adr/types.d.ts.map +0 -1
- package/dist/os/adr/types.js +0 -56
- package/dist/os/adr/types.js.map +0 -1
- package/dist/os/audit/audit.module.d.ts +0 -3
- package/dist/os/audit/audit.module.d.ts.map +0 -1
- package/dist/os/audit/audit.module.js +0 -45
- package/dist/os/audit/audit.module.js.map +0 -1
- package/dist/os/audit/frontmatter-io.d.ts +0 -12
- package/dist/os/audit/frontmatter-io.d.ts.map +0 -1
- package/dist/os/audit/frontmatter-io.js +0 -71
- package/dist/os/audit/frontmatter-io.js.map +0 -1
- package/dist/os/audit/handlers/archive.d.ts +0 -4
- package/dist/os/audit/handlers/archive.d.ts.map +0 -1
- package/dist/os/audit/handlers/archive.js +0 -207
- package/dist/os/audit/handlers/archive.js.map +0 -1
- package/dist/os/audit/index.d.ts +0 -6
- package/dist/os/audit/index.d.ts.map +0 -1
- package/dist/os/audit/index.js +0 -16
- package/dist/os/audit/index.js.map +0 -1
- package/dist/os/audit/types.d.ts +0 -12
- package/dist/os/audit/types.d.ts.map +0 -1
- package/dist/os/audit/types.js +0 -17
- package/dist/os/audit/types.js.map +0 -1
- package/dist/os/compass/compass.module.d.ts +0 -3
- package/dist/os/compass/compass.module.d.ts.map +0 -1
- package/dist/os/compass/compass.module.js +0 -183
- package/dist/os/compass/compass.module.js.map +0 -1
- package/dist/os/compass/handlers/compass-audit-handler.d.ts +0 -36
- package/dist/os/compass/handlers/compass-audit-handler.d.ts.map +0 -1
- package/dist/os/compass/handlers/compass-audit-handler.js +0 -260
- package/dist/os/compass/handlers/compass-audit-handler.js.map +0 -1
- package/dist/os/compass/handlers/compass-change-summary-handler.d.ts +0 -19
- package/dist/os/compass/handlers/compass-change-summary-handler.d.ts.map +0 -1
- package/dist/os/compass/handlers/compass-change-summary-handler.js +0 -222
- package/dist/os/compass/handlers/compass-change-summary-handler.js.map +0 -1
- package/dist/os/compass/handlers/compass-inventory-handler.d.ts +0 -28
- package/dist/os/compass/handlers/compass-inventory-handler.d.ts.map +0 -1
- package/dist/os/compass/handlers/compass-inventory-handler.js +0 -377
- package/dist/os/compass/handlers/compass-inventory-handler.js.map +0 -1
- package/dist/os/compass/handlers/compass-inventory.d.ts +0 -30
- package/dist/os/compass/handlers/compass-inventory.d.ts.map +0 -1
- package/dist/os/compass/handlers/compass-inventory.js +0 -462
- package/dist/os/compass/handlers/compass-inventory.js.map +0 -1
- package/dist/os/compass/handlers/git-revision.d.ts +0 -8
- package/dist/os/compass/handlers/git-revision.d.ts.map +0 -1
- package/dist/os/compass/handlers/git-revision.js +0 -99
- package/dist/os/compass/handlers/git-revision.js.map +0 -1
- package/dist/os/compass/handlers/resolve-scan-root.d.ts +0 -3
- package/dist/os/compass/handlers/resolve-scan-root.d.ts.map +0 -1
- package/dist/os/compass/handlers/resolve-scan-root.js +0 -57
- package/dist/os/compass/handlers/resolve-scan-root.js.map +0 -1
- package/dist/os/compass/index.d.ts +0 -8
- package/dist/os/compass/index.d.ts.map +0 -1
- package/dist/os/compass/index.js +0 -19
- package/dist/os/compass/index.js.map +0 -1
- package/dist/os/core/core.module.d.ts +0 -3
- package/dist/os/core/core.module.d.ts.map +0 -1
- package/dist/os/core/core.module.js +0 -836
- package/dist/os/core/core.module.js.map +0 -1
- package/dist/os/core/handlers/assets-check.d.ts +0 -19
- package/dist/os/core/handlers/assets-check.d.ts.map +0 -1
- package/dist/os/core/handlers/assets-check.js +0 -89
- package/dist/os/core/handlers/assets-check.js.map +0 -1
- package/dist/os/core/handlers/assets-helpers.d.ts +0 -28
- package/dist/os/core/handlers/assets-helpers.d.ts.map +0 -1
- package/dist/os/core/handlers/assets-helpers.js +0 -128
- package/dist/os/core/handlers/assets-helpers.js.map +0 -1
- package/dist/os/core/handlers/assets-list.d.ts +0 -9
- package/dist/os/core/handlers/assets-list.d.ts.map +0 -1
- package/dist/os/core/handlers/assets-list.js +0 -72
- package/dist/os/core/handlers/assets-list.js.map +0 -1
- package/dist/os/core/handlers/build.d.ts +0 -16
- package/dist/os/core/handlers/build.d.ts.map +0 -1
- package/dist/os/core/handlers/build.js +0 -123
- package/dist/os/core/handlers/build.js.map +0 -1
- package/dist/os/core/handlers/determinism-check.d.ts +0 -20
- package/dist/os/core/handlers/determinism-check.d.ts.map +0 -1
- package/dist/os/core/handlers/determinism-check.js +0 -289
- package/dist/os/core/handlers/determinism-check.js.map +0 -1
- package/dist/os/core/handlers/dev.d.ts +0 -10
- package/dist/os/core/handlers/dev.d.ts.map +0 -1
- package/dist/os/core/handlers/dev.js +0 -102
- package/dist/os/core/handlers/dev.js.map +0 -1
- package/dist/os/core/handlers/forge-autonomy-validate.d.ts +0 -18
- package/dist/os/core/handlers/forge-autonomy-validate.d.ts.map +0 -1
- package/dist/os/core/handlers/forge-autonomy-validate.js +0 -115
- package/dist/os/core/handlers/forge-autonomy-validate.js.map +0 -1
- package/dist/os/core/handlers/knowledge-compact.d.ts +0 -4
- package/dist/os/core/handlers/knowledge-compact.d.ts.map +0 -1
- package/dist/os/core/handlers/knowledge-compact.js +0 -204
- package/dist/os/core/handlers/knowledge-compact.js.map +0 -1
- package/dist/os/core/handlers/package-health.d.ts +0 -17
- package/dist/os/core/handlers/package-health.d.ts.map +0 -1
- package/dist/os/core/handlers/package-health.js +0 -196
- package/dist/os/core/handlers/package-health.js.map +0 -1
- package/dist/os/core/handlers/pinned-check.d.ts +0 -49
- package/dist/os/core/handlers/pinned-check.d.ts.map +0 -1
- package/dist/os/core/handlers/pinned-check.js +0 -159
- package/dist/os/core/handlers/pinned-check.js.map +0 -1
- package/dist/os/core/handlers/pinned-init.d.ts +0 -19
- package/dist/os/core/handlers/pinned-init.d.ts.map +0 -1
- package/dist/os/core/handlers/pinned-init.js +0 -283
- package/dist/os/core/handlers/pinned-init.js.map +0 -1
- package/dist/os/core/handlers/pinned-types.d.ts +0 -29
- package/dist/os/core/handlers/pinned-types.d.ts.map +0 -1
- package/dist/os/core/handlers/pinned-types.js +0 -16
- package/dist/os/core/handlers/pinned-types.js.map +0 -1
- package/dist/os/core/handlers/pinned-validate.d.ts +0 -4
- package/dist/os/core/handlers/pinned-validate.d.ts.map +0 -1
- package/dist/os/core/handlers/pinned-validate.js +0 -248
- package/dist/os/core/handlers/pinned-validate.js.map +0 -1
- package/dist/os/core/handlers/profile-resolve.d.ts +0 -13
- package/dist/os/core/handlers/profile-resolve.d.ts.map +0 -1
- package/dist/os/core/handlers/profile-resolve.js +0 -65
- package/dist/os/core/handlers/profile-resolve.js.map +0 -1
- package/dist/os/core/handlers/release-prepare.d.ts +0 -25
- package/dist/os/core/handlers/release-prepare.d.ts.map +0 -1
- package/dist/os/core/handlers/release-prepare.js +0 -228
- package/dist/os/core/handlers/release-prepare.js.map +0 -1
- package/dist/os/core/handlers/release-publish.d.ts +0 -13
- package/dist/os/core/handlers/release-publish.d.ts.map +0 -1
- package/dist/os/core/handlers/release-publish.js +0 -173
- package/dist/os/core/handlers/release-publish.js.map +0 -1
- package/dist/os/core/handlers/validate.d.ts +0 -26
- package/dist/os/core/handlers/validate.d.ts.map +0 -1
- package/dist/os/core/handlers/validate.js +0 -208
- package/dist/os/core/handlers/validate.js.map +0 -1
- package/dist/os/core/index.d.ts +0 -2
- package/dist/os/core/index.d.ts.map +0 -1
- package/dist/os/core/index.js +0 -13
- package/dist/os/core/index.js.map +0 -1
- package/dist/os/exploration/exploration.module.d.ts +0 -3
- package/dist/os/exploration/exploration.module.d.ts.map +0 -1
- package/dist/os/exploration/exploration.module.js +0 -83
- package/dist/os/exploration/exploration.module.js.map +0 -1
- package/dist/os/exploration/frontmatter-io.d.ts +0 -13
- package/dist/os/exploration/frontmatter-io.d.ts.map +0 -1
- package/dist/os/exploration/frontmatter-io.js +0 -61
- package/dist/os/exploration/frontmatter-io.js.map +0 -1
- package/dist/os/exploration/handlers/archive.d.ts +0 -4
- package/dist/os/exploration/handlers/archive.d.ts.map +0 -1
- package/dist/os/exploration/handlers/archive.js +0 -141
- package/dist/os/exploration/handlers/archive.js.map +0 -1
- package/dist/os/exploration/handlers/list.d.ts +0 -4
- package/dist/os/exploration/handlers/list.d.ts.map +0 -1
- package/dist/os/exploration/handlers/list.js +0 -64
- package/dist/os/exploration/handlers/list.js.map +0 -1
- package/dist/os/exploration/handlers/show.d.ts +0 -4
- package/dist/os/exploration/handlers/show.d.ts.map +0 -1
- package/dist/os/exploration/handlers/show.js +0 -97
- package/dist/os/exploration/handlers/show.js.map +0 -1
- package/dist/os/exploration/index.d.ts +0 -7
- package/dist/os/exploration/index.d.ts.map +0 -1
- package/dist/os/exploration/index.js +0 -17
- package/dist/os/exploration/index.js.map +0 -1
- package/dist/os/exploration/types.d.ts +0 -38
- package/dist/os/exploration/types.d.ts.map +0 -1
- package/dist/os/exploration/types.js +0 -23
- package/dist/os/exploration/types.js.map +0 -1
- package/dist/os/mission/handlers/archive.d.ts +0 -4
- package/dist/os/mission/handlers/archive.d.ts.map +0 -1
- package/dist/os/mission/handlers/archive.js +0 -356
- package/dist/os/mission/handlers/archive.js.map +0 -1
- package/dist/os/mission/index.d.ts +0 -2
- package/dist/os/mission/index.d.ts.map +0 -1
- package/dist/os/mission/index.js +0 -2
- package/dist/os/mission/index.js.map +0 -1
- package/dist/os/mission/mission.module.d.ts +0 -3
- package/dist/os/mission/mission.module.d.ts.map +0 -1
- package/dist/os/mission/mission.module.js +0 -45
- package/dist/os/mission/mission.module.js.map +0 -1
- package/dist/os/mission/types.d.ts +0 -23
- package/dist/os/mission/types.d.ts.map +0 -1
- package/dist/os/mission/types.js +0 -18
- package/dist/os/mission/types.js.map +0 -1
- package/dist/os/naming/index.d.ts +0 -3
- package/dist/os/naming/index.d.ts.map +0 -1
- package/dist/os/naming/index.js +0 -14
- package/dist/os/naming/index.js.map +0 -1
- package/dist/os/naming/naming-convention.d.ts +0 -25
- package/dist/os/naming/naming-convention.d.ts.map +0 -1
- package/dist/os/naming/naming-convention.js +0 -324
- package/dist/os/naming/naming-convention.js.map +0 -1
- package/dist/os/naming/naming.module.d.ts +0 -3
- package/dist/os/naming/naming.module.d.ts.map +0 -1
- package/dist/os/naming/naming.module.js +0 -34
- package/dist/os/naming/naming.module.js.map +0 -1
- package/dist/os/notes/index.d.ts +0 -2
- package/dist/os/notes/index.d.ts.map +0 -1
- package/dist/os/notes/index.js +0 -10
- package/dist/os/notes/index.js.map +0 -1
- package/dist/os/notes/notes.module.d.ts +0 -3
- package/dist/os/notes/notes.module.d.ts.map +0 -1
- package/dist/os/notes/notes.module.js +0 -84
- package/dist/os/notes/notes.module.js.map +0 -1
- package/dist/os/plan/frontmatter-io.d.ts +0 -12
- package/dist/os/plan/frontmatter-io.d.ts.map +0 -1
- package/dist/os/plan/frontmatter-io.js +0 -69
- package/dist/os/plan/frontmatter-io.js.map +0 -1
- package/dist/os/plan/handlers/archive.d.ts +0 -4
- package/dist/os/plan/handlers/archive.d.ts.map +0 -1
- package/dist/os/plan/handlers/archive.js +0 -206
- package/dist/os/plan/handlers/archive.js.map +0 -1
- package/dist/os/plan/index.d.ts +0 -6
- package/dist/os/plan/index.d.ts.map +0 -1
- package/dist/os/plan/index.js +0 -16
- package/dist/os/plan/index.js.map +0 -1
- package/dist/os/plan/plan.module.d.ts +0 -3
- package/dist/os/plan/plan.module.d.ts.map +0 -1
- package/dist/os/plan/plan.module.js +0 -45
- package/dist/os/plan/plan.module.js.map +0 -1
- package/dist/os/plan/types.d.ts +0 -12
- package/dist/os/plan/types.d.ts.map +0 -1
- package/dist/os/plan/types.js +0 -17
- package/dist/os/plan/types.js.map +0 -1
- package/dist/os/plugin/plugin.module.d.ts +0 -25
- package/dist/os/plugin/plugin.module.d.ts.map +0 -1
- package/dist/os/plugin/plugin.module.js +0 -208
- package/dist/os/plugin/plugin.module.js.map +0 -1
- package/dist/os/program/discovery.d.ts +0 -61
- package/dist/os/program/discovery.d.ts.map +0 -1
- package/dist/os/program/discovery.js +0 -236
- package/dist/os/program/discovery.js.map +0 -1
- package/dist/os/program/handlers/complete.d.ts +0 -12
- package/dist/os/program/handlers/complete.d.ts.map +0 -1
- package/dist/os/program/handlers/complete.js +0 -362
- package/dist/os/program/handlers/complete.js.map +0 -1
- package/dist/os/program/handlers/lease.d.ts +0 -13
- package/dist/os/program/handlers/lease.d.ts.map +0 -1
- package/dist/os/program/handlers/lease.js +0 -328
- package/dist/os/program/handlers/lease.js.map +0 -1
- package/dist/os/program/handlers/seal.d.ts +0 -12
- package/dist/os/program/handlers/seal.d.ts.map +0 -1
- package/dist/os/program/handlers/seal.js +0 -277
- package/dist/os/program/handlers/seal.js.map +0 -1
- package/dist/os/program/handlers/validate.d.ts +0 -14
- package/dist/os/program/handlers/validate.d.ts.map +0 -1
- package/dist/os/program/handlers/validate.js +0 -170
- package/dist/os/program/handlers/validate.js.map +0 -1
- package/dist/os/program/lease.d.ts +0 -39
- package/dist/os/program/lease.d.ts.map +0 -1
- package/dist/os/program/lease.js +0 -129
- package/dist/os/program/lease.js.map +0 -1
- package/dist/os/program/program.module.d.ts +0 -3
- package/dist/os/program/program.module.d.ts.map +0 -1
- package/dist/os/program/program.module.js +0 -202
- package/dist/os/program/program.module.js.map +0 -1
- package/dist/os/program/schemas.d.ts +0 -225
- package/dist/os/program/schemas.d.ts.map +0 -1
- package/dist/os/program/schemas.js +0 -174
- package/dist/os/program/schemas.js.map +0 -1
- package/dist/os/program/state.d.ts +0 -38
- package/dist/os/program/state.d.ts.map +0 -1
- package/dist/os/program/state.js +0 -189
- package/dist/os/program/state.js.map +0 -1
- package/dist/os/rfc/acceptance.d.ts +0 -15
- package/dist/os/rfc/acceptance.d.ts.map +0 -1
- package/dist/os/rfc/acceptance.js +0 -318
- package/dist/os/rfc/acceptance.js.map +0 -1
- package/dist/os/rfc/decision-log.d.ts +0 -6
- package/dist/os/rfc/decision-log.d.ts.map +0 -1
- package/dist/os/rfc/decision-log.js +0 -269
- package/dist/os/rfc/decision-log.js.map +0 -1
- package/dist/os/rfc/dna-trace.d.ts +0 -27
- package/dist/os/rfc/dna-trace.d.ts.map +0 -1
- package/dist/os/rfc/dna-trace.js +0 -214
- package/dist/os/rfc/dna-trace.js.map +0 -1
- package/dist/os/rfc/frontmatter-io.d.ts +0 -18
- package/dist/os/rfc/frontmatter-io.d.ts.map +0 -1
- package/dist/os/rfc/frontmatter-io.js +0 -110
- package/dist/os/rfc/frontmatter-io.js.map +0 -1
- package/dist/os/rfc/handlers/archive.d.ts +0 -25
- package/dist/os/rfc/handlers/archive.d.ts.map +0 -1
- package/dist/os/rfc/handlers/archive.js +0 -247
- package/dist/os/rfc/handlers/archive.js.map +0 -1
- package/dist/os/rfc/handlers/check.d.ts +0 -4
- package/dist/os/rfc/handlers/check.d.ts.map +0 -1
- package/dist/os/rfc/handlers/check.js +0 -203
- package/dist/os/rfc/handlers/check.js.map +0 -1
- package/dist/os/rfc/handlers/implement-stamp.d.ts +0 -4
- package/dist/os/rfc/handlers/implement-stamp.d.ts.map +0 -1
- package/dist/os/rfc/handlers/implement-stamp.js +0 -426
- package/dist/os/rfc/handlers/implement-stamp.js.map +0 -1
- package/dist/os/rfc/handlers/index-graph.d.ts +0 -13
- package/dist/os/rfc/handlers/index-graph.d.ts.map +0 -1
- package/dist/os/rfc/handlers/index-graph.js +0 -192
- package/dist/os/rfc/handlers/index-graph.js.map +0 -1
- package/dist/os/rfc/handlers/lifecycle.d.ts +0 -13
- package/dist/os/rfc/handlers/lifecycle.d.ts.map +0 -1
- package/dist/os/rfc/handlers/lifecycle.js +0 -155
- package/dist/os/rfc/handlers/lifecycle.js.map +0 -1
- package/dist/os/rfc/handlers/list-create.d.ts +0 -6
- package/dist/os/rfc/handlers/list-create.d.ts.map +0 -1
- package/dist/os/rfc/handlers/list-create.js +0 -260
- package/dist/os/rfc/handlers/list-create.js.map +0 -1
- package/dist/os/rfc/handlers/pipeline-status.d.ts +0 -26
- package/dist/os/rfc/handlers/pipeline-status.d.ts.map +0 -1
- package/dist/os/rfc/handlers/pipeline-status.js +0 -124
- package/dist/os/rfc/handlers/pipeline-status.js.map +0 -1
- package/dist/os/rfc/handlers/shared.d.ts +0 -22
- package/dist/os/rfc/handlers/shared.d.ts.map +0 -1
- package/dist/os/rfc/handlers/shared.js +0 -105
- package/dist/os/rfc/handlers/shared.js.map +0 -1
- package/dist/os/rfc/handlers/supersede-propose.d.ts +0 -4
- package/dist/os/rfc/handlers/supersede-propose.d.ts.map +0 -1
- package/dist/os/rfc/handlers/supersede-propose.js +0 -203
- package/dist/os/rfc/handlers/supersede-propose.js.map +0 -1
- package/dist/os/rfc/handlers/validate-rules.d.ts +0 -32
- package/dist/os/rfc/handlers/validate-rules.d.ts.map +0 -1
- package/dist/os/rfc/handlers/validate-rules.js +0 -590
- package/dist/os/rfc/handlers/validate-rules.js.map +0 -1
- package/dist/os/rfc/handlers/validate.d.ts +0 -4
- package/dist/os/rfc/handlers/validate.d.ts.map +0 -1
- package/dist/os/rfc/handlers/validate.js +0 -122
- package/dist/os/rfc/handlers/validate.js.map +0 -1
- package/dist/os/rfc/handlers.d.ts +0 -7
- package/dist/os/rfc/handlers.d.ts.map +0 -1
- package/dist/os/rfc/handlers.js +0 -19
- package/dist/os/rfc/handlers.js.map +0 -1
- package/dist/os/rfc/index.d.ts +0 -18
- package/dist/os/rfc/index.d.ts.map +0 -1
- package/dist/os/rfc/index.js +0 -24
- package/dist/os/rfc/index.js.map +0 -1
- package/dist/os/rfc/rfc.module.d.ts +0 -3
- package/dist/os/rfc/rfc.module.d.ts.map +0 -1
- package/dist/os/rfc/rfc.module.js +0 -367
- package/dist/os/rfc/rfc.module.js.map +0 -1
- package/dist/os/rfc/types.d.ts +0 -483
- package/dist/os/rfc/types.d.ts.map +0 -1
- package/dist/os/rfc/types.js +0 -100
- package/dist/os/rfc/types.js.map +0 -1
- package/dist/os/rfc/verification-evidence.d.ts +0 -8
- package/dist/os/rfc/verification-evidence.d.ts.map +0 -1
- package/dist/os/rfc/verification-evidence.js +0 -184
- package/dist/os/rfc/verification-evidence.js.map +0 -1
- package/dist/os/session/atif-parser.d.ts +0 -29
- package/dist/os/session/atif-parser.d.ts.map +0 -1
- package/dist/os/session/atif-parser.js +0 -140
- package/dist/os/session/atif-parser.js.map +0 -1
- package/dist/os/session/frontmatter-io.d.ts +0 -31
- package/dist/os/session/frontmatter-io.d.ts.map +0 -1
- package/dist/os/session/frontmatter-io.js +0 -146
- package/dist/os/session/frontmatter-io.js.map +0 -1
- package/dist/os/session/handlers/archive.d.ts +0 -4
- package/dist/os/session/handlers/archive.d.ts.map +0 -1
- package/dist/os/session/handlers/archive.js +0 -241
- package/dist/os/session/handlers/archive.js.map +0 -1
- package/dist/os/session/handlers/list.d.ts +0 -4
- package/dist/os/session/handlers/list.d.ts.map +0 -1
- package/dist/os/session/handlers/list.js +0 -147
- package/dist/os/session/handlers/list.js.map +0 -1
- package/dist/os/session/handlers/save.d.ts +0 -6
- package/dist/os/session/handlers/save.d.ts.map +0 -1
- package/dist/os/session/handlers/save.js +0 -297
- package/dist/os/session/handlers/save.js.map +0 -1
- package/dist/os/session/handlers/validate.d.ts +0 -4
- package/dist/os/session/handlers/validate.d.ts.map +0 -1
- package/dist/os/session/handlers/validate.js +0 -224
- package/dist/os/session/handlers/validate.js.map +0 -1
- package/dist/os/session/index.d.ts +0 -9
- package/dist/os/session/index.d.ts.map +0 -1
- package/dist/os/session/index.js +0 -20
- package/dist/os/session/index.js.map +0 -1
- package/dist/os/session/session.module.d.ts +0 -3
- package/dist/os/session/session.module.d.ts.map +0 -1
- package/dist/os/session/session.module.js +0 -116
- package/dist/os/session/session.module.js.map +0 -1
- package/dist/os/session/types.d.ts +0 -131
- package/dist/os/session/types.d.ts.map +0 -1
- package/dist/os/session/types.js +0 -59
- package/dist/os/session/types.js.map +0 -1
- package/dist/os/spec/live-spec-list.d.ts +0 -4
- package/dist/os/spec/live-spec-list.d.ts.map +0 -1
- package/dist/os/spec/live-spec-list.js +0 -72
- package/dist/os/spec/live-spec-list.js.map +0 -1
- package/dist/os/spec/live-spec-merge.d.ts +0 -4
- package/dist/os/spec/live-spec-merge.d.ts.map +0 -1
- package/dist/os/spec/live-spec-merge.js +0 -345
- package/dist/os/spec/live-spec-merge.js.map +0 -1
- package/dist/os/spec/live-spec-show.d.ts +0 -4
- package/dist/os/spec/live-spec-show.d.ts.map +0 -1
- package/dist/os/spec/live-spec-show.js +0 -105
- package/dist/os/spec/live-spec-show.js.map +0 -1
- package/dist/os/spec/live-spec-types.d.ts +0 -71
- package/dist/os/spec/live-spec-types.d.ts.map +0 -1
- package/dist/os/spec/live-spec-types.js +0 -14
- package/dist/os/spec/live-spec-types.js.map +0 -1
- package/dist/os/spec/live-spec-validate.d.ts +0 -4
- package/dist/os/spec/live-spec-validate.d.ts.map +0 -1
- package/dist/os/spec/live-spec-validate.js +0 -140
- package/dist/os/spec/live-spec-validate.js.map +0 -1
- package/dist/os/spec/spec-materialize.d.ts +0 -21
- package/dist/os/spec/spec-materialize.d.ts.map +0 -1
- package/dist/os/spec/spec-materialize.js +0 -342
- package/dist/os/spec/spec-materialize.js.map +0 -1
- package/dist/os/spec/spec-schema.d.ts +0 -126
- package/dist/os/spec/spec-schema.d.ts.map +0 -1
- package/dist/os/spec/spec-schema.js +0 -118
- package/dist/os/spec/spec-schema.js.map +0 -1
- package/dist/os/spec/spec-status.d.ts +0 -33
- package/dist/os/spec/spec-status.d.ts.map +0 -1
- package/dist/os/spec/spec-status.js +0 -228
- package/dist/os/spec/spec-status.js.map +0 -1
- package/dist/os/spec/spec-validate.d.ts +0 -4
- package/dist/os/spec/spec-validate.d.ts.map +0 -1
- package/dist/os/spec/spec-validate.js +0 -435
- package/dist/os/spec/spec-validate.js.map +0 -1
- package/dist/os/spec/spec.module.d.ts +0 -3
- package/dist/os/spec/spec.module.d.ts.map +0 -1
- package/dist/os/spec/spec.module.js +0 -120
- package/dist/os/spec/spec.module.js.map +0 -1
- package/dist/os/werkstatt/handlers/lock.d.ts +0 -10
- package/dist/os/werkstatt/handlers/lock.d.ts.map +0 -1
- package/dist/os/werkstatt/handlers/lock.js +0 -153
- package/dist/os/werkstatt/handlers/lock.js.map +0 -1
- package/dist/os/werkstatt/handlers/schema.d.ts +0 -33
- package/dist/os/werkstatt/handlers/schema.d.ts.map +0 -1
- package/dist/os/werkstatt/handlers/schema.js +0 -42
- package/dist/os/werkstatt/handlers/schema.js.map +0 -1
- package/dist/os/werkstatt/handlers/werkstatt-lock-recover.d.ts +0 -15
- package/dist/os/werkstatt/handlers/werkstatt-lock-recover.d.ts.map +0 -1
- package/dist/os/werkstatt/handlers/werkstatt-lock-recover.js +0 -152
- package/dist/os/werkstatt/handlers/werkstatt-lock-recover.js.map +0 -1
- package/dist/os/werkstatt/handlers/werkstatt-lock-status.d.ts +0 -18
- package/dist/os/werkstatt/handlers/werkstatt-lock-status.d.ts.map +0 -1
- package/dist/os/werkstatt/handlers/werkstatt-lock-status.js +0 -51
- package/dist/os/werkstatt/handlers/werkstatt-lock-status.js.map +0 -1
- package/dist/os/werkstatt/handlers/werkstatt-operation-validate.d.ts +0 -11
- package/dist/os/werkstatt/handlers/werkstatt-operation-validate.d.ts.map +0 -1
- package/dist/os/werkstatt/handlers/werkstatt-operation-validate.js +0 -79
- package/dist/os/werkstatt/handlers/werkstatt-operation-validate.js.map +0 -1
- package/dist/os/werkstatt/handlers/workspace-deps.d.ts +0 -12
- package/dist/os/werkstatt/handlers/workspace-deps.d.ts.map +0 -1
- package/dist/os/werkstatt/handlers/workspace-deps.js +0 -42
- package/dist/os/werkstatt/handlers/workspace-deps.js.map +0 -1
- package/dist/os/werkstatt/index.d.ts +0 -7
- package/dist/os/werkstatt/index.d.ts.map +0 -1
- package/dist/os/werkstatt/index.js +0 -18
- package/dist/os/werkstatt/index.js.map +0 -1
- package/dist/os/werkstatt/werkstatt.module.d.ts +0 -3
- package/dist/os/werkstatt/werkstatt.module.d.ts.map +0 -1
- package/dist/os/werkstatt/werkstatt.module.js +0 -59
- package/dist/os/werkstatt/werkstatt.module.js.map +0 -1
- package/dist/os/workflow/handlers.d.ts +0 -12
- package/dist/os/workflow/handlers.d.ts.map +0 -1
- package/dist/os/workflow/handlers.js +0 -262
- package/dist/os/workflow/handlers.js.map +0 -1
- package/dist/os/workflow/index.d.ts +0 -4
- package/dist/os/workflow/index.d.ts.map +0 -1
- package/dist/os/workflow/index.js +0 -18
- package/dist/os/workflow/index.js.map +0 -1
- package/dist/os/workflow/types.d.ts +0 -69
- package/dist/os/workflow/types.d.ts.map +0 -1
- package/dist/os/workflow/types.js +0 -23
- package/dist/os/workflow/types.js.map +0 -1
- package/dist/os/workflow/workflow.module.d.ts +0 -3
- package/dist/os/workflow/workflow.module.d.ts.map +0 -1
- package/dist/os/workflow/workflow.module.js +0 -49
- package/dist/os/workflow/workflow.module.js.map +0 -1
- package/dist/src/cli-output.d.ts +0 -5
- package/dist/src/cli-output.d.ts.map +0 -1
- package/dist/src/cli-output.js +0 -53
- package/dist/src/cli-output.js.map +0 -1
- package/dist/src/compass/contract-registry.d.ts +0 -7
- package/dist/src/compass/contract-registry.d.ts.map +0 -1
- package/dist/src/compass/contract-registry.js +0 -93
- package/dist/src/compass/contract-registry.js.map +0 -1
- package/dist/src/compass/types.d.ts +0 -28
- package/dist/src/compass/types.d.ts.map +0 -1
- package/dist/src/compass/types.js +0 -14
- package/dist/src/compass/types.js.map +0 -1
- package/dist/src/config/forge-config.d.ts +0 -242
- package/dist/src/config/forge-config.d.ts.map +0 -1
- package/dist/src/config/forge-config.js +0 -363
- package/dist/src/config/forge-config.js.map +0 -1
- package/dist/src/forge-module.d.ts +0 -17
- package/dist/src/forge-module.d.ts.map +0 -1
- package/dist/src/forge-module.js +0 -16
- package/dist/src/forge-module.js.map +0 -1
- package/dist/src/index.d.ts +0 -39
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js +0 -59
- package/dist/src/index.js.map +0 -1
- package/dist/src/knowledge/budgets.d.ts +0 -38
- package/dist/src/knowledge/budgets.d.ts.map +0 -1
- package/dist/src/knowledge/budgets.js +0 -157
- package/dist/src/knowledge/budgets.js.map +0 -1
- package/dist/src/knowledge/compact.d.ts +0 -47
- package/dist/src/knowledge/compact.d.ts.map +0 -1
- package/dist/src/knowledge/compact.js +0 -320
- package/dist/src/knowledge/compact.js.map +0 -1
- package/dist/src/knowledge/index.d.ts +0 -7
- package/dist/src/knowledge/index.d.ts.map +0 -1
- package/dist/src/knowledge/index.js +0 -19
- package/dist/src/knowledge/index.js.map +0 -1
- package/dist/src/knowledge/parse.d.ts +0 -3
- package/dist/src/knowledge/parse.d.ts.map +0 -1
- package/dist/src/knowledge/parse.js +0 -205
- package/dist/src/knowledge/parse.js.map +0 -1
- package/dist/src/knowledge/promote.d.ts +0 -37
- package/dist/src/knowledge/promote.d.ts.map +0 -1
- package/dist/src/knowledge/promote.js +0 -120
- package/dist/src/knowledge/promote.js.map +0 -1
- package/dist/src/knowledge/schema.d.ts +0 -61
- package/dist/src/knowledge/schema.d.ts.map +0 -1
- package/dist/src/knowledge/schema.js +0 -64
- package/dist/src/knowledge/schema.js.map +0 -1
- package/dist/src/knowledge/serialize.d.ts +0 -3
- package/dist/src/knowledge/serialize.d.ts.map +0 -1
- package/dist/src/knowledge/serialize.js +0 -67
- package/dist/src/knowledge/serialize.js.map +0 -1
- package/dist/src/migration-adapters/git-utils.d.ts +0 -3
- package/dist/src/migration-adapters/git-utils.d.ts.map +0 -1
- package/dist/src/migration-adapters/git-utils.js +0 -64
- package/dist/src/migration-adapters/git-utils.js.map +0 -1
- package/dist/src/migration-adapters/ignored-files.d.ts +0 -12
- package/dist/src/migration-adapters/ignored-files.d.ts.map +0 -1
- package/dist/src/migration-adapters/ignored-files.js +0 -190
- package/dist/src/migration-adapters/ignored-files.js.map +0 -1
- package/dist/src/migration-adapters/index.d.ts +0 -8
- package/dist/src/migration-adapters/index.d.ts.map +0 -1
- package/dist/src/migration-adapters/index.js +0 -17
- package/dist/src/migration-adapters/index.js.map +0 -1
- package/dist/src/migration-adapters/node-typescript-pnpm/index.d.ts +0 -3
- package/dist/src/migration-adapters/node-typescript-pnpm/index.d.ts.map +0 -1
- package/dist/src/migration-adapters/node-typescript-pnpm/index.js +0 -141
- package/dist/src/migration-adapters/node-typescript-pnpm/index.js.map +0 -1
- package/dist/src/migration-adapters/phaser-pnpm/index.d.ts +0 -3
- package/dist/src/migration-adapters/phaser-pnpm/index.d.ts.map +0 -1
- package/dist/src/migration-adapters/phaser-pnpm/index.js +0 -142
- package/dist/src/migration-adapters/phaser-pnpm/index.js.map +0 -1
- package/dist/src/migration-adapters/registry.d.ts +0 -6
- package/dist/src/migration-adapters/registry.d.ts.map +0 -1
- package/dist/src/migration-adapters/registry.js +0 -55
- package/dist/src/migration-adapters/registry.js.map +0 -1
- package/dist/src/migration-adapters/types.d.ts +0 -35
- package/dist/src/migration-adapters/types.d.ts.map +0 -1
- package/dist/src/migration-adapters/types.js +0 -31
- package/dist/src/migration-adapters/types.js.map +0 -1
- package/dist/src/onboarding/agents-generate.d.ts +0 -31
- package/dist/src/onboarding/agents-generate.d.ts.map +0 -1
- package/dist/src/onboarding/agents-generate.js +0 -372
- package/dist/src/onboarding/agents-generate.js.map +0 -1
- package/dist/src/onboarding/create.d.ts +0 -12
- package/dist/src/onboarding/create.d.ts.map +0 -1
- package/dist/src/onboarding/create.js +0 -389
- package/dist/src/onboarding/create.js.map +0 -1
- package/dist/src/onboarding/doctor.d.ts +0 -45
- package/dist/src/onboarding/doctor.d.ts.map +0 -1
- package/dist/src/onboarding/doctor.js +0 -1190
- package/dist/src/onboarding/doctor.js.map +0 -1
- package/dist/src/onboarding/init.d.ts +0 -36
- package/dist/src/onboarding/init.d.ts.map +0 -1
- package/dist/src/onboarding/init.js +0 -362
- package/dist/src/onboarding/init.js.map +0 -1
- package/dist/src/onboarding/invariant-engine.d.ts +0 -17
- package/dist/src/onboarding/invariant-engine.d.ts.map +0 -1
- package/dist/src/onboarding/invariant-engine.js +0 -416
- package/dist/src/onboarding/invariant-engine.js.map +0 -1
- package/dist/src/onboarding/memory-scaffold.d.ts +0 -18
- package/dist/src/onboarding/memory-scaffold.d.ts.map +0 -1
- package/dist/src/onboarding/memory-scaffold.js +0 -151
- package/dist/src/onboarding/memory-scaffold.js.map +0 -1
- package/dist/src/onboarding/nested-agents-generate.d.ts +0 -18
- package/dist/src/onboarding/nested-agents-generate.d.ts.map +0 -1
- package/dist/src/onboarding/nested-agents-generate.js +0 -69
- package/dist/src/onboarding/nested-agents-generate.js.map +0 -1
- package/dist/src/onboarding/nested-agents-templates.d.ts +0 -26
- package/dist/src/onboarding/nested-agents-templates.d.ts.map +0 -1
- package/dist/src/onboarding/nested-agents-templates.js +0 -178
- package/dist/src/onboarding/nested-agents-templates.js.map +0 -1
- package/dist/src/onboarding/profile-validate.d.ts +0 -13
- package/dist/src/onboarding/profile-validate.d.ts.map +0 -1
- package/dist/src/onboarding/profile-validate.js +0 -109
- package/dist/src/onboarding/profile-validate.js.map +0 -1
- package/dist/src/onboarding/scaffold-project.d.ts +0 -12
- package/dist/src/onboarding/scaffold-project.d.ts.map +0 -1
- package/dist/src/onboarding/scaffold-project.js +0 -264
- package/dist/src/onboarding/scaffold-project.js.map +0 -1
- package/dist/src/onboarding/scaffold.d.ts +0 -15
- package/dist/src/onboarding/scaffold.d.ts.map +0 -1
- package/dist/src/onboarding/scaffold.js +0 -121
- package/dist/src/onboarding/scaffold.js.map +0 -1
- package/dist/src/onboarding/upgrade.d.ts +0 -27
- package/dist/src/onboarding/upgrade.d.ts.map +0 -1
- package/dist/src/onboarding/upgrade.js +0 -453
- package/dist/src/onboarding/upgrade.js.map +0 -1
- package/dist/src/onboarding/workspace-discovery.d.ts +0 -11
- package/dist/src/onboarding/workspace-discovery.d.ts.map +0 -1
- package/dist/src/onboarding/workspace-discovery.js +0 -138
- package/dist/src/onboarding/workspace-discovery.js.map +0 -1
- package/dist/src/plugin/ForgePluginManifest.d.ts +0 -38
- package/dist/src/plugin/ForgePluginManifest.d.ts.map +0 -1
- package/dist/src/plugin/ForgePluginManifest.js +0 -52
- package/dist/src/plugin/ForgePluginManifest.js.map +0 -1
- package/dist/src/profiles/profile-schema.d.ts +0 -361
- package/dist/src/profiles/profile-schema.d.ts.map +0 -1
- package/dist/src/profiles/profile-schema.js +0 -208
- package/dist/src/profiles/profile-schema.js.map +0 -1
- package/dist/src/profiles/stack-profile.d.ts +0 -173
- package/dist/src/profiles/stack-profile.d.ts.map +0 -1
- package/dist/src/profiles/stack-profile.js +0 -148
- package/dist/src/profiles/stack-profile.js.map +0 -1
- package/dist/src/profiles/terminology-utils.d.ts +0 -8
- package/dist/src/profiles/terminology-utils.d.ts.map +0 -1
- package/dist/src/profiles/terminology-utils.js +0 -31
- package/dist/src/profiles/terminology-utils.js.map +0 -1
- package/dist/src/registry.d.ts +0 -38
- package/dist/src/registry.d.ts.map +0 -1
- package/dist/src/registry.js +0 -174
- package/dist/src/registry.js.map +0 -1
- package/dist/src/skill-schema.d.ts +0 -30
- package/dist/src/skill-schema.d.ts.map +0 -1
- package/dist/src/skill-schema.js +0 -34
- package/dist/src/skill-schema.js.map +0 -1
- package/dist/src/types.d.ts +0 -154
- package/dist/src/types.d.ts.map +0 -1
- package/dist/src/types.js +0 -17
- package/dist/src/types.js.map +0 -1
- package/dist/src/utils/fs-atomic.d.ts +0 -7
- package/dist/src/utils/fs-atomic.d.ts.map +0 -1
- package/dist/src/utils/fs-atomic.js +0 -81
- package/dist/src/utils/fs-atomic.js.map +0 -1
- package/dist/src/utils/fs-idempotent.d.ts +0 -2
- package/dist/src/utils/fs-idempotent.d.ts.map +0 -1
- package/dist/src/utils/fs-idempotent.js +0 -39
- package/dist/src/utils/fs-idempotent.js.map +0 -1
- package/dist/src/utils/fs-trash-sync.d.ts +0 -2
- package/dist/src/utils/fs-trash-sync.d.ts.map +0 -1
- package/dist/src/utils/fs-trash-sync.js +0 -34
- package/dist/src/utils/fs-trash-sync.js.map +0 -1
- package/dist/src/utils/fs-trash.d.ts +0 -2
- package/dist/src/utils/fs-trash.d.ts.map +0 -1
- package/dist/src/utils/fs-trash.js +0 -24
- package/dist/src/utils/fs-trash.js.map +0 -1
- package/dist/src/utils/fs.d.ts +0 -8
- package/dist/src/utils/fs.d.ts.map +0 -1
- package/dist/src/utils/fs.js +0 -60
- package/dist/src/utils/fs.js.map +0 -1
- package/dist/src/utils/generated-marker.d.ts +0 -21
- package/dist/src/utils/generated-marker.d.ts.map +0 -1
- package/dist/src/utils/generated-marker.js +0 -128
- package/dist/src/utils/generated-marker.js.map +0 -1
- package/dist/src/utils/hash.d.ts +0 -2
- package/dist/src/utils/hash.d.ts.map +0 -1
- package/dist/src/utils/hash.js +0 -18
- package/dist/src/utils/hash.js.map +0 -1
- package/dist/src/utils/index.d.ts +0 -9
- package/dist/src/utils/index.d.ts.map +0 -1
- package/dist/src/utils/index.js +0 -21
- package/dist/src/utils/index.js.map +0 -1
- package/dist/src/utils/string-utils.d.ts +0 -2
- package/dist/src/utils/string-utils.d.ts.map +0 -1
- package/dist/src/utils/string-utils.js +0 -19
- package/dist/src/utils/string-utils.js.map +0 -1
- package/dist/src/validators/note-frontmatter-validate.d.ts +0 -20
- package/dist/src/validators/note-frontmatter-validate.d.ts.map +0 -1
- package/dist/src/validators/note-frontmatter-validate.js +0 -117
- package/dist/src/validators/note-frontmatter-validate.js.map +0 -1
- package/dist/src/validators/note-link-validate.d.ts +0 -21
- package/dist/src/validators/note-link-validate.d.ts.map +0 -1
- package/dist/src/validators/note-link-validate.js +0 -121
- package/dist/src/validators/note-link-validate.js.map +0 -1
- package/dist/src/validators/note-orphan-detect.d.ts +0 -19
- package/dist/src/validators/note-orphan-detect.d.ts.map +0 -1
- package/dist/src/validators/note-orphan-detect.js +0 -123
- package/dist/src/validators/note-orphan-detect.js.map +0 -1
- package/dist/src/validators/port-validate.d.ts +0 -12
- package/dist/src/validators/port-validate.d.ts.map +0 -1
- package/dist/src/validators/port-validate.js +0 -78
- package/dist/src/validators/port-validate.js.map +0 -1
- package/dist/src/validators/skill-validate.d.ts +0 -29
- package/dist/src/validators/skill-validate.d.ts.map +0 -1
- package/dist/src/validators/skill-validate.js +0 -689
- package/dist/src/validators/skill-validate.js.map +0 -1
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
schema: forge/stack-profile@1
|
|
2
|
+
id: typescript-turborepo
|
|
3
|
+
displayName: TypeScript TurboRepo
|
|
4
|
+
detect:
|
|
5
|
+
anyOf:
|
|
6
|
+
- tsconfig.base.json
|
|
7
|
+
workspace:
|
|
8
|
+
dirs:
|
|
9
|
+
- docs
|
|
10
|
+
- scripts
|
|
11
|
+
- tools
|
|
12
|
+
- packages
|
|
13
|
+
files:
|
|
14
|
+
- path: .vscode/extensions.json
|
|
15
|
+
content: |
|
|
16
|
+
{
|
|
17
|
+
"recommendations": [
|
|
18
|
+
"dbaeumer.vscode-eslint",
|
|
19
|
+
"esbenp.prettier-vscode",
|
|
20
|
+
"github.vscode-github-actions",
|
|
21
|
+
"mechatroner.rainbow-csv"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
- path: .gitignore
|
|
25
|
+
content: |
|
|
26
|
+
node_modules
|
|
27
|
+
dist
|
|
28
|
+
.turbo
|
|
29
|
+
.cache
|
|
30
|
+
operator-profile.md
|
|
31
|
+
- path: package.json
|
|
32
|
+
content: |
|
|
33
|
+
{
|
|
34
|
+
"name": "__PROJECT_NAME__",
|
|
35
|
+
"version": "0.1.0",
|
|
36
|
+
"private": true,
|
|
37
|
+
"type": "module",
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=24 <25"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"clean": "node scripts/clean.mjs",
|
|
43
|
+
"format": "prettier --write .",
|
|
44
|
+
"format:check": "prettier --check .",
|
|
45
|
+
"test": "vitest run --passWithNoTests",
|
|
46
|
+
"upgrade-packages": "pnpm up"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
- path: pnpm-workspace.yaml
|
|
50
|
+
content: |
|
|
51
|
+
packages:
|
|
52
|
+
- packages/*
|
|
53
|
+
- path: scripts/clean.mjs
|
|
54
|
+
content: |
|
|
55
|
+
import { readdir, rm } from "node:fs/promises";
|
|
56
|
+
import { join } from "node:path";
|
|
57
|
+
import { fileURLToPath } from "node:url";
|
|
58
|
+
|
|
59
|
+
const TARGETS = new Set(["node_modules", ".turbo", "dist", ".cache"]);
|
|
60
|
+
|
|
61
|
+
const repoRoot = join(fileURLToPath(import.meta.url), "..", "..");
|
|
62
|
+
|
|
63
|
+
async function walk(dir, toDelete) {
|
|
64
|
+
const entries = await readdir(dir, { withFileTypes: true });
|
|
65
|
+
for (const entry of entries) {
|
|
66
|
+
if (!entry.isDirectory()) continue;
|
|
67
|
+
const name = entry.name;
|
|
68
|
+
const fullPath = join(dir, name);
|
|
69
|
+
if (TARGETS.has(name)) {
|
|
70
|
+
toDelete.push(fullPath);
|
|
71
|
+
continue;
|
|
72
|
+
}
|
|
73
|
+
await walk(fullPath, toDelete);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
const toDelete = [];
|
|
78
|
+
await walk(repoRoot, toDelete);
|
|
79
|
+
|
|
80
|
+
if (toDelete.length === 0) {
|
|
81
|
+
console.log("Nothing to clean.");
|
|
82
|
+
process.exit(0);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
await Promise.all(toDelete.map((p) => rm(p, { recursive: true, force: true })));
|
|
86
|
+
|
|
87
|
+
for (const p of toDelete) {
|
|
88
|
+
console.log("deleted", p.replace(repoRoot + "/", ""));
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
console.log(`Cleaned ${toDelete.length} directories.`)
|
|
92
|
+
- path: turbo.json
|
|
93
|
+
content: |
|
|
94
|
+
{
|
|
95
|
+
"$schema": "https://turbo.build/schema.json",
|
|
96
|
+
"tasks": {
|
|
97
|
+
"build:check": {},
|
|
98
|
+
"test": {},
|
|
99
|
+
"lint": {}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
- path: tsconfig.base.json
|
|
103
|
+
content: |
|
|
104
|
+
{
|
|
105
|
+
"compilerOptions": {
|
|
106
|
+
"target": "ES2022",
|
|
107
|
+
"module": "preserve",
|
|
108
|
+
"moduleResolution": "Bundler",
|
|
109
|
+
"strict": true,
|
|
110
|
+
"esModuleInterop": true,
|
|
111
|
+
"skipLibCheck": true,
|
|
112
|
+
"isolatedModules": true,
|
|
113
|
+
"forceConsistentCasingInFileNames": true,
|
|
114
|
+
"resolveJsonModule": true,
|
|
115
|
+
"noEmit": true,
|
|
116
|
+
"allowImportingTsExtensions": true,
|
|
117
|
+
"declaration": true,
|
|
118
|
+
"rewriteRelativeImportExtensions": true,
|
|
119
|
+
"types": ["node"]
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
- path: .npmrc
|
|
123
|
+
content: |
|
|
124
|
+
# @warpgogol scoped registry — replace YOUR_NPM_TOKEN with a valid npm read token
|
|
125
|
+
@warpgogol:registry=https://registry.npmjs.org/
|
|
126
|
+
//registry.npmjs.org/:_authToken=YOUR_NPM_TOKEN
|
|
127
|
+
dangerously-allow-all-builds=true
|
|
128
|
+
- path: eslint.config.js
|
|
129
|
+
content: |
|
|
130
|
+
export default [
|
|
131
|
+
{
|
|
132
|
+
rules: {},
|
|
133
|
+
},
|
|
134
|
+
];
|
|
135
|
+
- path: .prettierrc.mjs
|
|
136
|
+
content: |
|
|
137
|
+
export default {
|
|
138
|
+
"semi": true,
|
|
139
|
+
"singleQuote": false,
|
|
140
|
+
"trailingComma": "all",
|
|
141
|
+
"printWidth": 100,
|
|
142
|
+
"tabWidth": 2
|
|
143
|
+
};
|
|
144
|
+
- path: .gitattributes
|
|
145
|
+
content: |
|
|
146
|
+
# No LFS patterns for this stack
|
|
147
|
+
- path: tools/kernel.config.ts
|
|
148
|
+
content: |
|
|
149
|
+
import { defineKernelConfig } from "@warpgogol/werkstatt-engine/kernel/types";
|
|
150
|
+
|
|
151
|
+
export default defineKernelConfig({
|
|
152
|
+
name: "__PROJECT_NAME__",
|
|
153
|
+
description: "__PROJECT_NAME__ TypeScript TurboRepo workshop",
|
|
154
|
+
moduleLoaders: {
|
|
155
|
+
"forge-core": async () => (await import("@warpgogol/forge/os/core")).forgeCoreModule,
|
|
156
|
+
"forge-rfc": async () => (await import("@warpgogol/forge/os/rfc-module")).forgeRfcModule,
|
|
157
|
+
"forge-adr": async () => (await import("@warpgogol/forge/os/adr-module")).forgeAdrModule,
|
|
158
|
+
"forge-plan": async () => (await import("@warpgogol/forge/os/plan-module")).forgePlanModule,
|
|
159
|
+
"forge-audit": async () => (await import("@warpgogol/forge/os/audit-module")).forgeAuditModule,
|
|
160
|
+
"forge-compass": async () => (await import("@warpgogol/forge/os/compass")).forgeCompassModule,
|
|
161
|
+
"forge-naming": async () => (await import("@warpgogol/forge/os/naming-module")).forgeNamingModule,
|
|
162
|
+
"forge-workflow": async () => (await import("@warpgogol/forge/os/workflow-module")).forgeWorkflowModule,
|
|
163
|
+
"forge-session": async () => (await import("@warpgogol/forge/os/session-module")).forgeSessionModule,
|
|
164
|
+
"forge-mission": async () => (await import("@warpgogol/forge/os/mission-module")).forgeMissionModule,
|
|
165
|
+
"forge-spec": async () => (await import("@warpgogol/forge/os/spec-module")).forgeSpecModule,
|
|
166
|
+
"forge-exploration": async () => (await import("@warpgogol/forge/os/exploration")).forgeExplorationModule,
|
|
167
|
+
"forge-program": async () => (await import("@warpgogol/forge/os/program")).forgeProgramModule,
|
|
168
|
+
"forge-werkstatt": async () => (await import("@warpgogol/forge/os/werkstatt")).forgeWerkstattModule,
|
|
169
|
+
"typescript-checks": async () => (await import("@warpgogol/werkstatt-typescript/checks/module")).createTypescriptCheckModule(),
|
|
170
|
+
},
|
|
171
|
+
});
|
|
172
|
+
- path: .forge/pinned.yaml
|
|
173
|
+
content: |
|
|
174
|
+
# Pinned foundation files (DNA-62, RFC-0733)
|
|
175
|
+
entries:
|
|
176
|
+
- path: tools/kernel.config.ts
|
|
177
|
+
mode: protect
|
|
178
|
+
- path: forge.yaml
|
|
179
|
+
mode: protect
|
|
180
|
+
- path: pnpm-workspace.yaml
|
|
181
|
+
mode: protect
|
|
182
|
+
- path: turbo.json
|
|
183
|
+
mode: protect
|
|
184
|
+
- path: tsconfig.base.json
|
|
185
|
+
mode: protect
|
|
186
|
+
- path: README.md
|
|
187
|
+
content: |
|
|
188
|
+
# __PROJECT_NAME__
|
|
189
|
+
|
|
190
|
+
A TypeScript TurboRepo workshop powered by the Werkstatt engine.
|
|
191
|
+
|
|
192
|
+
## Prerequisites
|
|
193
|
+
|
|
194
|
+
- Node.js 24+
|
|
195
|
+
- pnpm 10+
|
|
196
|
+
|
|
197
|
+
## Setup
|
|
198
|
+
|
|
199
|
+
### 1. Configure npm token
|
|
200
|
+
|
|
201
|
+
Edit `.npmrc` and replace `YOUR_NPM_TOKEN` with a valid npm read token.
|
|
202
|
+
|
|
203
|
+
### 2. Install dependencies
|
|
204
|
+
|
|
205
|
+
```sh
|
|
206
|
+
pnpm install
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### 3. Verify the workshop
|
|
210
|
+
|
|
211
|
+
```sh
|
|
212
|
+
pnpm exec forge run forge.doctor
|
|
213
|
+
pnpm exec forge run forge.validate
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
## Stack
|
|
217
|
+
|
|
218
|
+
- Engine: @warpgogol/forge
|
|
219
|
+
- Plugin: @warpgogol/werkstatt-typescript
|
|
220
|
+
- Stack profile: typescript-turborepo
|
|
221
|
+
install:
|
|
222
|
+
- pnpm add -wD @warpgogol/forge @warpgogol/werkstatt-typescript @warpgogol/werkstatt-engine @warpgogol/werkstatt-shared prettier vitest typescript
|
|
@@ -136,7 +136,7 @@ Ask the operator:
|
|
|
136
136
|
1. **Stack** — ask what stack the project uses (TypeScript, Python, Rust, etc.). Write into `forge.yaml` `project.stack`.
|
|
137
137
|
2. **Package manager** — confirm or override `project.packageManager` in `forge.yaml`.
|
|
138
138
|
3. **Stack bindings** — fill `commands.typecheck`, `commands.test`, `commands.scopedBuild` in `forge.yaml`. Ask the operator for the exact commands (e.g. `tsc --noEmit`, `vitest`, `turbo run build`).
|
|
139
|
-
4. **Git init** —
|
|
139
|
+
4. **Git init** — `forge.create` already initializes git with `--initial-branch=main` programmatically. Verify `.git` exists in the project root. If it does, proceed. If not (e.g. `forge.create` failed to init git), run `git init --initial-branch=main` manually. Make an initial commit with all project files on the `main` branch.
|
|
140
140
|
|
|
141
141
|
#### Transplant (adapter-driven migration)
|
|
142
142
|
|
|
@@ -168,11 +168,11 @@ The transplant mode performs real code migration via a migration-adapter registr
|
|
|
168
168
|
|
|
169
169
|
If yes: the skill uses `git format-patch` (export all commits from source) + `git am` (apply them in the new project) to preserve history without copying the `.git` directory. If the source has many commits, warn that this may take a moment.
|
|
170
170
|
|
|
171
|
-
If no: the skill runs `git init` in the new project (clean repository, no history from source).
|
|
171
|
+
If no: the skill runs `git init --initial-branch=main` in the new project (clean repository, no history from source).
|
|
172
172
|
|
|
173
|
-
If git history transfer fails (complex history, submodules, replace objects): warn and continue with a clean `git init`.
|
|
173
|
+
If git history transfer fails (complex history, submodules, replace objects): warn and continue with a clean `git init --initial-branch=main`.
|
|
174
174
|
|
|
175
|
-
If the source project has no `.git` directory: skip the git history question and run `git init` directly.
|
|
175
|
+
If the source project has no `.git` directory: skip the git history question and run `git init --initial-branch=main` directly.
|
|
176
176
|
|
|
177
177
|
6. **Post-setup** — call `postSetup()`. The adapter initializes git (clean init or format-patch + git am based on operator's choice), updates `pnpm-workspace.yaml` (adds `apps/<appName>`), `turbo.json` (adds workspace to pipeline), runs the install command derived from `ref(forge.yaml project.packageManager)`. The skill captures bin-link ENOENT warnings from the install output — these are cosmetic and indicate that `dist/` does not exist yet (the project has not been built). If the install itself fails (exit code != 0), report the dependency resolution error in human language (in `aiLanguage`), skip build verification, and continue to the welcoming report. The operator can fix and re-run onboarding.
|
|
178
178
|
|
|
@@ -434,8 +434,8 @@ A short description after every onboarding, read from `forge-about.md`. The skil
|
|
|
434
434
|
- `doctor` is unavailable → skill skips auto-doctor and notes it in the report; operator can ask the agent to run it later.
|
|
435
435
|
- Auto-ADR creation fails → skill reports the error silently (in agent logs, not to operator), leaves the ADR file in place for the agent to fix, and continues to the welcoming report. The operator is never told about the ADR.
|
|
436
436
|
- Project analysis finds nothing recommendable (transplant) → skill skips recommendations and proceeds to the welcoming report with a direct invitation to start creating.
|
|
437
|
-
- Git history transfer fails → skill warns and continues with clean `git init`.
|
|
438
|
-
- Source project has no `.git` → skill skips the git history question and runs `git init` directly.
|
|
437
|
+
- Git history transfer fails → skill warns and continues with clean `git init --initial-branch=main`.
|
|
438
|
+
- Source project has no `.git` → skill skips the git history question and runs `git init --initial-branch=main` directly.
|
|
439
439
|
- Post-setup `pnpm install` fails → skill reports the error; the operator can fix and re-run `pnpm install` manually.
|
|
440
440
|
- Migration interrupted mid-copy (process crash, agent termination) → `migrate()` is idempotent: re-running skips files that already exist at the target with matching content. The operator can also delete `apps/<appName>/` and re-run for a clean migration.
|
|
441
441
|
- Concurrent execution (two agents running `forge-bootstrap` transplant on the same forge project simultaneously) → the skill does not lock `apps/<appName>/`; concurrent writes may conflict. The operator should not run two transplant operations on the same project in parallel.
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
<CHANGE_SUMMARY>
|
|
10
10
|
<item>RFC-0547: extract shared postSetup git logic from duplicated adapter implementations.</item>
|
|
11
11
|
<item>Replace fs.rmSync with trashSync for patch directory cleanup (trash bin for LLM-initiated deletions).</item>
|
|
12
|
+
<item>Use --initial-branch=main for all git init calls so new repos default to main instead of master.</item>
|
|
12
13
|
</CHANGE_SUMMARY>
|
|
13
14
|
*/
|
|
14
15
|
|
|
@@ -32,7 +33,7 @@ export function runPostSetup(
|
|
|
32
33
|
execFileSync("git", ["-C", sourceDir, "format-patch", "--all", "-o", patchDir], {
|
|
33
34
|
stdio: "pipe",
|
|
34
35
|
});
|
|
35
|
-
execFileSync("git", ["init"], { cwd: targetDir, stdio: "pipe" });
|
|
36
|
+
execFileSync("git", ["init", "--initial-branch=main"], { cwd: targetDir, stdio: "pipe" });
|
|
36
37
|
execFileSync("git", ["config", "user.email", "forge@warpgogol.dev"], {
|
|
37
38
|
cwd: targetDir,
|
|
38
39
|
stdio: "pipe",
|
|
@@ -60,12 +61,12 @@ export function runPostSetup(
|
|
|
60
61
|
`forge: git history transfer failed, falling back to clean git init: ${err instanceof Error ? err.message : String(err)}`,
|
|
61
62
|
);
|
|
62
63
|
if (!fs.existsSync(gitDir)) {
|
|
63
|
-
execFileSync("git", ["init"], { cwd: targetDir, stdio: "pipe" });
|
|
64
|
+
execFileSync("git", ["init", "--initial-branch=main"], { cwd: targetDir, stdio: "pipe" });
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
67
|
} else {
|
|
67
68
|
if (!fs.existsSync(gitDir)) {
|
|
68
|
-
execFileSync("git", ["init"], { cwd: targetDir, stdio: "pipe" });
|
|
69
|
+
execFileSync("git", ["init", "--initial-branch=main"], { cwd: targetDir, stdio: "pipe" });
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
72
|
}
|
package/src/onboarding/create.ts
CHANGED
|
@@ -17,11 +17,13 @@
|
|
|
17
17
|
<item>RFC-0643: pass profileId to runInit so forge.yaml gets a `profile` field.</item>
|
|
18
18
|
<item>RFC-0664: scaffold memory layer (.agents/memory/) after init.</item>
|
|
19
19
|
<item>RFC-0877: in-place mode only — --in-place flag required, no subdirectory creation, name derived from folder, strict empty-directory check (only .git/ tolerated).</item>
|
|
20
|
+
<item>Initialize git repo with --initial-branch=main if .git does not exist (hard guard for main branch default).</item>
|
|
20
21
|
</CHANGE_SUMMARY>
|
|
21
22
|
*/
|
|
22
23
|
|
|
23
24
|
import fs from "node:fs";
|
|
24
25
|
import path from "node:path";
|
|
26
|
+
import { execFileSync } from "node:child_process";
|
|
25
27
|
import { stringify as stringifyYaml } from "yaml";
|
|
26
28
|
import { runScaffoldProject } from "./scaffold-project.ts";
|
|
27
29
|
import { runInit, type InitResult, type InitDomainFields } from "./init.ts";
|
|
@@ -229,6 +231,23 @@ export async function runCreate(
|
|
|
229
231
|
};
|
|
230
232
|
}
|
|
231
233
|
|
|
234
|
+
// 6.5. Initialize git repo with main branch (if not already initialized)
|
|
235
|
+
// This is a hard guard — forge.create programmatically ensures main branch,
|
|
236
|
+
// so greenfield projects don't depend on the agent running git init correctly.
|
|
237
|
+
const gitDir = path.join(targetDir, ".git");
|
|
238
|
+
if (!fs.existsSync(gitDir)) {
|
|
239
|
+
try {
|
|
240
|
+
execFileSync("git", ["init", "--initial-branch=main"], { cwd: targetDir, stdio: "pipe" });
|
|
241
|
+
if (outputFormat === "pretty") {
|
|
242
|
+
logger.info("Initialized git repository with main branch");
|
|
243
|
+
}
|
|
244
|
+
} catch {
|
|
245
|
+
if (outputFormat === "pretty") {
|
|
246
|
+
logger.warn("Failed to initialize git repository — run 'git init --initial-branch=main' manually");
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
232
251
|
// 7. Resolve forge root
|
|
233
252
|
let forgeRoot: string;
|
|
234
253
|
if (context.forgeRoot) {
|
package/src/onboarding/doctor.ts
CHANGED
|
@@ -23,6 +23,7 @@ Checks for forge.yaml, AGENTS.md, PREFERENCES.md, .agents/skills/, docs/rfcs/,
|
|
|
23
23
|
<item>RFC-0664: added memory-layer health check (budget usage, gitignore coverage, daily-file leak risk).</item>
|
|
24
24
|
<item>RFC-0704: added independent-version-packages check — validates that paths in independentVersionPackages exist and contain package.json.</item>
|
|
25
25
|
<item>RFC-0941: added pack-manifests advisory check — validates forge.plugin.yaml existence and schema for each declared skill pack.</item>
|
|
26
|
+
<item>Added git-branch check — warns when current branch is 'master' instead of 'main'.</item>
|
|
26
27
|
</CHANGE_SUMMARY>
|
|
27
28
|
*/
|
|
28
29
|
|
|
@@ -1074,6 +1075,39 @@ function checkMemoryLayer(workspaceRoot: string): DoctorCheck {
|
|
|
1074
1075
|
};
|
|
1075
1076
|
}
|
|
1076
1077
|
|
|
1078
|
+
// ---------------------------------------------------------------------------
|
|
1079
|
+
// Git branch check — warn if current branch is 'master' instead of 'main'
|
|
1080
|
+
// ---------------------------------------------------------------------------
|
|
1081
|
+
|
|
1082
|
+
function checkGitBranch(workspaceRoot: string): DoctorCheck {
|
|
1083
|
+
const gitDir = join(workspaceRoot, ".git");
|
|
1084
|
+
if (!existsSync(gitDir)) {
|
|
1085
|
+
return { name: "git-branch", status: "pass", message: "No git repository — git branch check skipped" };
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
try {
|
|
1089
|
+
const branch = execSync("git branch --show-current", { cwd: workspaceRoot, stdio: "pipe", timeout: 5000 })
|
|
1090
|
+
.toString()
|
|
1091
|
+
.trim();
|
|
1092
|
+
|
|
1093
|
+
if (branch === "master") {
|
|
1094
|
+
return {
|
|
1095
|
+
name: "git-branch",
|
|
1096
|
+
status: "warn",
|
|
1097
|
+
message: "Current branch is 'master' — rename to 'main' with: git branch -m main",
|
|
1098
|
+
};
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
return {
|
|
1102
|
+
name: "git-branch",
|
|
1103
|
+
status: "pass",
|
|
1104
|
+
message: `Current branch: ${branch}`,
|
|
1105
|
+
};
|
|
1106
|
+
} catch {
|
|
1107
|
+
return { name: "git-branch", status: "pass", message: "Unable to determine git branch — check skipped" };
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1077
1111
|
// ---------------------------------------------------------------------------
|
|
1078
1112
|
// Prerequisite checks (profile-declared system dependencies)
|
|
1079
1113
|
// ---------------------------------------------------------------------------
|
|
@@ -1177,6 +1211,9 @@ export async function runDoctor(
|
|
|
1177
1211
|
: "docs/adrs/ directory not found — run 'forge create' to create ADR directory",
|
|
1178
1212
|
});
|
|
1179
1213
|
|
|
1214
|
+
// Check git branch is 'main' (not 'master')
|
|
1215
|
+
checks.push(checkGitBranch(workspaceRoot));
|
|
1216
|
+
|
|
1180
1217
|
// Check @warpgogol/* forbidden imports (autonomy guard)
|
|
1181
1218
|
let forgeRoot: string;
|
|
1182
1219
|
try {
|
|
@@ -293,6 +293,27 @@ test("migrate excludes .git directory from copy", async () => {
|
|
|
293
293
|
expect(existsSync(join(appDir, ".git"))).toBe(false);
|
|
294
294
|
});
|
|
295
295
|
|
|
296
|
+
test("postSetup creates main branch (not master) when gitHistory is false", async () => {
|
|
297
|
+
const sourceDir = join(tempDir, "source-main");
|
|
298
|
+
const targetDir = join(tempDir, "target-main");
|
|
299
|
+
|
|
300
|
+
await mkdir(sourceDir, { recursive: true });
|
|
301
|
+
await mkdir(targetDir, { recursive: true });
|
|
302
|
+
await writeFile(join(sourceDir, "package.json"), JSON.stringify({ name: "test-app" }));
|
|
303
|
+
await writeFile(join(sourceDir, "tsconfig.json"), "{}");
|
|
304
|
+
await writeFile(join(sourceDir, "pnpm-lock.yaml"), "");
|
|
305
|
+
|
|
306
|
+
const analysis = nodeTypescriptPnpmAdapter.analyze(sourceDir);
|
|
307
|
+
nodeTypescriptPnpmAdapter.postSetup(sourceDir, targetDir, analysis);
|
|
308
|
+
|
|
309
|
+
expect(existsSync(join(targetDir, ".git"))).toBe(true);
|
|
310
|
+
const { execSync } = await import("node:child_process");
|
|
311
|
+
const branch = execSync("git branch --show-current", { cwd: targetDir, stdio: "pipe" })
|
|
312
|
+
.toString()
|
|
313
|
+
.trim();
|
|
314
|
+
expect(branch).toBe("main");
|
|
315
|
+
});
|
|
316
|
+
|
|
296
317
|
test("postSetup runs git init when analysis.gitHistory is false", async () => {
|
|
297
318
|
const sourceDir = join(tempDir, "source");
|
|
298
319
|
const targetDir = join(tempDir, "target");
|
|
@@ -157,7 +157,7 @@ test("artifacts with missing required extensions field fails", () => {
|
|
|
157
157
|
|
|
158
158
|
test("all shipped profiles parse without changes", () => {
|
|
159
159
|
const profiles = listStackProfiles(FORGE_ROOT);
|
|
160
|
-
expect(profiles.length).toBe(
|
|
160
|
+
expect(profiles.length).toBe(5);
|
|
161
161
|
for (const profile of profiles) {
|
|
162
162
|
expect(profile.id).toBeDefined();
|
|
163
163
|
expect(profile.workspace.dirs.length).toBeGreaterThan(0);
|
|
@@ -18,6 +18,10 @@ declare module "@warpgogol/werkstatt-engine/os/werkstatt-commands-validate-modul
|
|
|
18
18
|
export const werkstattCommandsValidateModule: any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
declare module "@warpgogol/werkstatt-engine/os/werkstatt-e2e-module" {
|
|
22
|
+
export const werkstattE2eModule: any;
|
|
23
|
+
}
|
|
24
|
+
|
|
21
25
|
declare module "@warpgogol/werkstatt-engine/kernel" {
|
|
22
26
|
export function discoverSiteWorkspaces(...args: any[]): any;
|
|
23
27
|
export function loadKernelAppConfig(...args: any[]): any;
|
|
@@ -36,6 +40,7 @@ declare module "@warpgogol/werkstatt-engine/kernel" {
|
|
|
36
40
|
export const listRegisteredKernelPipelines: any;
|
|
37
41
|
export const loadAppRuntime: any;
|
|
38
42
|
export const executeKernelCommand: any;
|
|
43
|
+
export const executeRegisteredCommand: any;
|
|
39
44
|
export const executeKernelPipeline: any;
|
|
40
45
|
export const buildSchedule: any;
|
|
41
46
|
export const executeScheduledSteps: any;
|
|
@@ -61,6 +66,8 @@ declare module "@warpgogol/werkstatt-engine/kernel" {
|
|
|
61
66
|
export interface KernelNextStep {}
|
|
62
67
|
export interface KernelCommandResult {}
|
|
63
68
|
export interface CheckResult {}
|
|
69
|
+
export interface GeneratedArtifactSpec {}
|
|
70
|
+
export interface GeneratorOwnershipEntry {}
|
|
64
71
|
export interface KernelRuntimeContext {}
|
|
65
72
|
export interface KernelCommandDefinition {}
|
|
66
73
|
export interface KernelPipelineStep {}
|
|
@@ -200,6 +207,7 @@ declare module "@warpgogol/werkstatt-engine/kernel" {
|
|
|
200
207
|
export const parseNameOnlyOutput: any;
|
|
201
208
|
export const isExempt: any;
|
|
202
209
|
export const pipelineBudgetModule: any;
|
|
210
|
+
export const validatorInventoryModule: any;
|
|
203
211
|
export const changeImpactModule: any;
|
|
204
212
|
export const commandManifestModule: any;
|
|
205
213
|
export const gitmeshModule: any;
|
|
@@ -255,8 +263,7 @@ declare module "@warpgogol/werkstatt-engine/kernel/change-impact-module" {
|
|
|
255
263
|
}
|
|
256
264
|
|
|
257
265
|
declare module "@warpgogol/werkstatt-engine/kernel/cli" {
|
|
258
|
-
|
|
259
|
-
export = _;
|
|
266
|
+
export function main(...args: any[]): any;
|
|
260
267
|
}
|
|
261
268
|
|
|
262
269
|
declare module "@warpgogol/werkstatt-engine/kernel/commit-message" {
|
|
@@ -340,6 +347,10 @@ declare module "@warpgogol/werkstatt-engine/kernel/pipeline-budgets" {
|
|
|
340
347
|
export interface PipelineBudgetGenerateResult {}
|
|
341
348
|
}
|
|
342
349
|
|
|
350
|
+
declare module "@warpgogol/werkstatt-engine/kernel/validator-inventory" {
|
|
351
|
+
export const validatorInventoryModule: any;
|
|
352
|
+
}
|
|
353
|
+
|
|
343
354
|
declare module "@warpgogol/werkstatt-engine/kernel/semantic" {
|
|
344
355
|
export const semanticModule: any;
|
|
345
356
|
}
|
|
@@ -354,6 +365,7 @@ declare module "@warpgogol/werkstatt-engine/kernel/runtime" {
|
|
|
354
365
|
export const listRegisteredKernelPipelines: any;
|
|
355
366
|
export const loadAppRuntime: any;
|
|
356
367
|
export const executeKernelCommand: any;
|
|
368
|
+
export const executeRegisteredCommand: any;
|
|
357
369
|
export const executeKernelPipeline: any;
|
|
358
370
|
export const buildSchedule: any;
|
|
359
371
|
export const executeScheduledSteps: any;
|
|
@@ -382,6 +394,8 @@ declare module "@warpgogol/werkstatt-engine/kernel/types" {
|
|
|
382
394
|
export interface KernelNextStep {}
|
|
383
395
|
export interface KernelCommandResult {}
|
|
384
396
|
export interface CheckResult {}
|
|
397
|
+
export interface GeneratedArtifactSpec {}
|
|
398
|
+
export interface GeneratorOwnershipEntry {}
|
|
385
399
|
export interface KernelRuntimeContext {}
|
|
386
400
|
export interface KernelCommandDefinition {}
|
|
387
401
|
export interface KernelPipelineStep {}
|
|
@@ -459,6 +473,8 @@ declare module "@warpgogol/werkstatt-engine/mission" {
|
|
|
459
473
|
export const MissionListData: any;
|
|
460
474
|
export const runMissionMaterialize: any;
|
|
461
475
|
export const MissionMaterializeData: any;
|
|
476
|
+
export const runMissionMaterializeInternal: any;
|
|
477
|
+
export const MissionMaterializeInternalOptions: any;
|
|
462
478
|
export const runMissionValidate: any;
|
|
463
479
|
export const MissionValidateData: any;
|
|
464
480
|
export const runMissionBuild: any;
|
|
@@ -499,10 +515,17 @@ declare module "@warpgogol/werkstatt-engine/mission" {
|
|
|
499
515
|
export const runMaterializeConfigValidate: any;
|
|
500
516
|
export const runWorkpieceConfigPresenceCheck: any;
|
|
501
517
|
export const WorkpieceConfigPresenceResult: any;
|
|
518
|
+
export const runMissionResume: any;
|
|
519
|
+
export const MissionResumeData: any;
|
|
520
|
+
export const runMissionJournalShow: any;
|
|
521
|
+
export const MissionJournalShowData: any;
|
|
522
|
+
export const runMissionPreflight: any;
|
|
523
|
+
export const MissionPreflightInput: any;
|
|
524
|
+
export const PreflightCheckResult: any;
|
|
525
|
+
export const MissionPreflightData: any;
|
|
502
526
|
}
|
|
503
527
|
|
|
504
528
|
declare module "@warpgogol/werkstatt-engine/sternsystem" {
|
|
505
|
-
export function createSternsystemModule(...args: any[]): any;
|
|
506
529
|
export const runSternsystemRegister: any;
|
|
507
530
|
export const SternsystemRegisterData: any;
|
|
508
531
|
export const runSternsystemList: any;
|
|
@@ -519,6 +542,35 @@ declare module "@warpgogol/werkstatt-engine/sternsystem" {
|
|
|
519
542
|
export const SternsystemStatusData: any;
|
|
520
543
|
export const runSternsystemDiscover: any;
|
|
521
544
|
export const SternsystemDiscoverData: any;
|
|
545
|
+
export const runSternsystemPassportGenerate: any;
|
|
546
|
+
export const SternsystemPassportGenerateData: any;
|
|
547
|
+
export const runSternsystemPassportVerify: any;
|
|
548
|
+
export const SternsystemPassportVerifyData: any;
|
|
549
|
+
export const runSternsystemHandoverPrepare: any;
|
|
550
|
+
export const SternsystemHandoverPrepareData: any;
|
|
551
|
+
export const runSternsystemHandoverComplete: any;
|
|
552
|
+
export const SternsystemHandoverCompleteData: any;
|
|
553
|
+
export const runSternsystemHandoverCancel: any;
|
|
554
|
+
export const SternsystemHandoverCancelData: any;
|
|
555
|
+
export const buildPassportPayload: any;
|
|
556
|
+
export const signPassport: any;
|
|
557
|
+
export const verifyPassport: any;
|
|
558
|
+
export const derivePublicKey: any;
|
|
559
|
+
export const computePassportHash: any;
|
|
560
|
+
export const SitePassportV1: any;
|
|
561
|
+
export const SignedSitePassport: any;
|
|
562
|
+
export const computeAuthorizationHash: any;
|
|
563
|
+
export const signAuthorization: any;
|
|
564
|
+
export const verifyAuthorization: any;
|
|
565
|
+
export const resolveAuthorizationPath: any;
|
|
566
|
+
export const readAuthorization: any;
|
|
567
|
+
export const writeAuthorization: any;
|
|
568
|
+
export const removeAuthorization: any;
|
|
569
|
+
export const isAuthorizationExpired: any;
|
|
570
|
+
export const HandoverAuthorizationV1: any;
|
|
571
|
+
export const SignedHandoverAuthorization: any;
|
|
572
|
+
export const HandoverCompleteResult: any;
|
|
573
|
+
export const HandoverEventMetadata: any;
|
|
522
574
|
export const resolveCacheClonePath: any;
|
|
523
575
|
export const resolveWorkpiecePath: any;
|
|
524
576
|
export const readSystemConfig: any;
|
|
@@ -543,6 +595,9 @@ declare module "@warpgogol/werkstatt-engine/sternsystem" {
|
|
|
543
595
|
export const resolveMirrorPath: any;
|
|
544
596
|
export const MirrorResolution: any;
|
|
545
597
|
export const resolveMirrors: any;
|
|
598
|
+
export const readPassport: any;
|
|
599
|
+
export const writePassport: any;
|
|
600
|
+
export const resolvePassportPath: any;
|
|
546
601
|
}
|
|
547
602
|
|
|
548
603
|
declare module "@warpgogol/werkstatt-engine/bordbuch" {
|
|
@@ -616,6 +671,15 @@ declare module "@warpgogol/werkstatt-engine/release" {
|
|
|
616
671
|
export const runReleaseStateValidate: any;
|
|
617
672
|
export const ReleaseStateValidateData: any;
|
|
618
673
|
export const ReleaseStateCheck: any;
|
|
674
|
+
export const runBootSmokeCommand: any;
|
|
675
|
+
export const BootSmokeCommandData: any;
|
|
676
|
+
export const runBootSmoke: any;
|
|
677
|
+
export const BootSmokeResult: any;
|
|
678
|
+
export const BootSmokeRequestSpec: any;
|
|
679
|
+
export const BootSmokeRequestResult: any;
|
|
680
|
+
export const planBootSmokeRequests: any;
|
|
681
|
+
export const detectBootSmokeLanguages: any;
|
|
682
|
+
export const simulateBindings: any;
|
|
619
683
|
}
|
|
620
684
|
|
|
621
685
|
declare module "@warpgogol/werkstatt-engine/leitstand" {
|
|
@@ -721,15 +785,6 @@ declare module "@warpgogol/werkstatt-engine/handoff" {
|
|
|
721
785
|
export const hasPlatformScopeFiles: any;
|
|
722
786
|
export const extractTrailer: any;
|
|
723
787
|
export const hasTrailer: any;
|
|
724
|
-
export const createSternsystemModule: any;
|
|
725
|
-
export const runSternsystemRegister: any;
|
|
726
|
-
export const runSternsystemList: any;
|
|
727
|
-
export const runSternsystemValidate: any;
|
|
728
|
-
export const runSternsystemPin: any;
|
|
729
|
-
export const SternsystemRegisterData: any;
|
|
730
|
-
export const SternsystemListData: any;
|
|
731
|
-
export const SternsystemValidateData: any;
|
|
732
|
-
export const SternsystemPinData: any;
|
|
733
788
|
export const runWerkstattLockStatus: any;
|
|
734
789
|
export const WerkstattLockStatusData: any;
|
|
735
790
|
export const runWerkstattLockRecover: any;
|
|
@@ -809,6 +864,29 @@ declare module "@warpgogol/werkstatt-engine/leitstand-module" {
|
|
|
809
864
|
export function createLeitstandModule(...args: any[]): any;
|
|
810
865
|
}
|
|
811
866
|
|
|
867
|
+
declare module "@warpgogol/werkstatt-engine/fleet" {
|
|
868
|
+
export const runFleetSitesGenerate: any;
|
|
869
|
+
export const validateFleetSitesDrift: any;
|
|
870
|
+
export const FleetSiteRecord: any;
|
|
871
|
+
export const runFleetApply: any;
|
|
872
|
+
export const FleetApplyResult: any;
|
|
873
|
+
export const FleetApplyReportEntry: any;
|
|
874
|
+
export const registerOwnership: any;
|
|
875
|
+
export const verifyOwnership: any;
|
|
876
|
+
export const transferOwnership: any;
|
|
877
|
+
export const deriveInstanceId: any;
|
|
878
|
+
export const OwnershipError: any;
|
|
879
|
+
export const OwnershipClaim: any;
|
|
880
|
+
export const RegisterResult: any;
|
|
881
|
+
export const VerifyResult: any;
|
|
882
|
+
export const TransferResult: any;
|
|
883
|
+
export const createFleetModule: any;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
declare module "@warpgogol/werkstatt-engine/fleet-module" {
|
|
887
|
+
export function createFleetModule(...args: any[]): any;
|
|
888
|
+
}
|
|
889
|
+
|
|
812
890
|
declare module "@warpgogol/werkstatt-engine/subdomain-module" {
|
|
813
891
|
export function createSubdomainModule(...args: any[]): any;
|
|
814
892
|
}
|
|
@@ -845,6 +923,10 @@ declare module "@warpgogol/werkstatt-engine/nachweis-module" {
|
|
|
845
923
|
export function createNachweisModule(...args: any[]): any;
|
|
846
924
|
}
|
|
847
925
|
|
|
926
|
+
declare module "@warpgogol/werkstatt-engine/sichtpass-module" {
|
|
927
|
+
export function createSichtpassModule(...args: any[]): any;
|
|
928
|
+
}
|
|
929
|
+
|
|
848
930
|
declare module "@warpgogol/werkstatt-engine/signing" {
|
|
849
931
|
export const generateKeyPair: any;
|
|
850
932
|
export const getPublicKey: any;
|
|
@@ -976,6 +1058,7 @@ declare module "@warpgogol/werkstatt-engine/agent-gate" {
|
|
|
976
1058
|
declare module "@warpgogol/werkstatt-engine/agent-gate/astro" {
|
|
977
1059
|
export function createAgentMcpRoute(...args: any[]): any;
|
|
978
1060
|
export function createAgentActionRoute(...args: any[]): any;
|
|
1061
|
+
export function createAgentSearchRoute(...args: any[]): any;
|
|
979
1062
|
}
|
|
980
1063
|
|
|
981
1064
|
declare module "@warpgogol/werkstatt-engine/changelog" {
|
|
@@ -1087,6 +1170,10 @@ declare module "@warpgogol/werkstatt-engine/testing/e2e" {
|
|
|
1087
1170
|
export = _;
|
|
1088
1171
|
}
|
|
1089
1172
|
|
|
1173
|
+
declare module "@warpgogol/werkstatt-engine/e2e" {
|
|
1174
|
+
export const runColdE2e: any;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1090
1177
|
declare module "@warpgogol/werkstatt-engine/component-runtime/reflection" {
|
|
1091
1178
|
export function toReflectedState(...args: any[]): any;
|
|
1092
1179
|
export function createCapabilityCatalog(...args: any[]): any;
|