6 Commits
Author SHA1 Message Date
james.maesandCodex d8cea35cdf fix(template): require actual bootstrap workflow checks
Match standalone check names, require the packaging gate only for the template source, and cover both actual generated variants. Propagate file-by-file full-rule PowerShell analysis without suppressing errors.

Refs KofTwentyTwo/AppKit#7, KofTwentyTwo/AppKit#10, KofTwentyTwo/AppKit#26

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <james@kof22.com>
2026-10-10 18:10:31 -05:00
james.maesandCodex 34d7543a3c fix(template): block releases until signing is configured
Require explicit owned-file signing and verified protected-environment variables before generated application release gates. Document repository-bound OIDC, publisher verification, builder rollout and final artifact checks; keep source template publication separate.

Validation: 40 script tests in source and each actual packed-template variant, changed-file PowerShell analysis, source/generated workflow syntax and security checks, Markdown lint and hooks. Configuration validation is not evidence of Azure access or a successful signed artifact.

Refs: KofTwentyTwo/AppKit#12, KofTwentyTwo/AppKit#20

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <james@kof22.com>
2026-10-10 16:58:08 -05:00
james.maesandCodex 90af2f75df test(template): exercise installed channels and reject altered payloads
Add a real Windows installation/update probe with offline GitHub transport, isolated package IDs, guarded uninstall, UI restart checks and a required CI job. Keep XAML publish resources, locked runtime and CLI publishing dependencies, and direct Velopack startup. Compare every original payload file in both package formats before installation.

Validation: 30 Pester tests, changed PowerShell file analysis and all hooks pass. Prior fresh run demonstrated stable/dev upgrades, restart and 19 UI checks; subsequent byte audits rejected changed dependencies. Complete byte-verified and hosted runs remain pending under AppKit #22.

Refs: KofTwentyTwo/AppKit#3, KofTwentyTwo/AppKit#10, KofTwentyTwo/AppKit#11, KofTwentyTwo/AppKit#20, KofTwentyTwo/AppKit#21, KofTwentyTwo/AppKit#22

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <james@kof22.com>
2026-10-10 15:56:25 -05:00
james.maesandCodex 53eecfc8d5 feat(template): generate optional stable distribution candidates
Generate Scoop and Chocolatey manifests for final CLI or GUI portable archives,
with strict stable versions, archive identity/path checks and actual-byte SHA256.
Add opt-in release jobs that verify checksums/provenance and pack candidates for
review without publishing feeds. Keep package-manager and Velopack update modes
clear and fail on unsupported CLI selections in GUI-only projects.

Use the pinned winget client's supported environment token instead of argv and
fail when a configured integration lacks its environment secret.

Validation: 24 combined Pester tests, PowerShell lint, workflow/security/docs
lint and hooks. Seven distribution tests include the generated installer/shim
behavior. Both presets match provenance-verified gclo 1.0.1 archives and Scoop's
schema. Pack/install/generate proves custom identities in both template variants.
Live feed publishing and disposable install/upgrade proof remain pending.

Refs: KofTwentyTwo/AppKit#19, KofTwentyTwo/AppKit#20
Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <james@kof22.com>
2026-10-10 15:07:44 -05:00
james.maes 3dd5adf89d feat(template): provide reviewed GitHub repository setup
Generate an offline setup plan, require successful current bootstrap PR checks
before applying settings, bind contexts to GitHub Actions, and validate readback.
Preserve conflicting existing protections and stop instead of replacing them.
Propagate the tested human-acknowledged review gate and locked JavaScript tooling
to generated apps, including custom owner replacement and CodeQL coverage.

Exclude node_modules and worktree metadata from template packages. Document
owner bootstrap, least-privilege settings and the remaining live proof.

Validation: 13 setup and four coverage Pester tests, seven review Node tests,
PowerShell analysis, ESLint, workflow/security/documentation lint. npm verifies
83 signatures and 20 attestations. Actual packed CLI/no-CLI variants generate
correct owners and reviewers and pass locked restores and zero-warning builds.
Live repository provisioning requires authorized creation/push and hosted CI.

Refs: KofTwentyTwo/AppKit#10, KofTwentyTwo/AppKit#13,
KofTwentyTwo/AppKit#7, KofTwentyTwo/AppKit#9, KofTwentyTwo/AppKit#20
Co-Authored-By: Codex (GPT-6) <noreply@openai.com>

Signed-off-by: James Maes <james@kof22.com>
2026-10-10 14:55:05 -05:00
james.maes a5cbc98cd7 ci(template): verify packaged apps and prepare NuGet releases
Separate the template repository NuGet release from generated apps' Velopack
releases. Pack and install the actual template in CI, then verify renamed
CLI and no-CLI apps. Include a package readme and locked build graph.

Pin all workflow variants to standards 0.1.2, rerun quality and security gates
before release, install pinned hooks, and add PowerShell lint and tested
coverage gates. Document initial restore and repository-specific setup.

Validation: both packaged variants build and format successfully, 54 unit
and 14 UI tests pass sequentially, and core/CLI coverage is 100%. Four Pester
tests, PowerShell analysis, workflow lint, and pre-commit checks pass.
Repository publication and the template NuGet policy remain pending.

Refs: KofTwentyTwo/AppKit#4, KofTwentyTwo/AppKit#6,
KofTwentyTwo/AppKit#7, KofTwentyTwo/AppKit#8,
KofTwentyTwo/AppKit#9, KofTwentyTwo/AppKit#20
Co-Authored-By: Codex (GPT-6) <noreply@openai.com>

Signed-off-by: James Maes <james@kof22.com>
2026-10-10 12:50:51 -05:00