Skip to content

fix(setup): ship .typos.toml with the workspace scaffold - #856

Merged
c-vigo merged 2 commits into
release/0.4.0from
bugfix/855-ship-typos-config
Jul 4, 2026
Merged

c-vigo merged 2 commits into
release/0.4.0from
bugfix/855-ship-typos-config

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Forward-fix for the rc2 smoke-test failure (#855, diagnosis posted there). Strong convergence signal from rc2: the #853 .vig-os pin works (DEVCONTAINER_VERSION=0.4.0-rc2 in the deploy PR), the Lint job runs inside the rc2 image, the whole prek suite executes and the Tests job passes — the only remaining failure is the typos hook flagging scaffold-shipped content (Nd, unexcepted) that this repo excepts in .typos.toml but never shipped.

Fix: add .typos.toml to scripts/manifest.toml so sync-manifest ships it with the workspace template — the same SSoT mechanism as .yamllint/.pymarkdown.

Verification

  • TDD: new bats template test RED before (not ok 56), GREEN after the manifest entry + sync.
  • Shipped copy content-identical to the repo root config (sync-manifest keeps it so).
  • just precommit (full suite, all files): green, exit 0.
  • Changelog entry added to the open ## [0.4.0] - TBD section.

Refs: #855

c-vigo added 2 commits July 4, 2026 23:23
RED: the scaffold ships the typos prek hook but not the exception
config, so scaffold-shipped content (version-check.sh Nd duration
syntax, synced changelog "unexcepted" CVE-policy term) fails every
consumer lint out of the box — surfaced by the 0.4.0-rc2 smoke test.

Refs: #855
The scaffolded .pre-commit-config.yaml runs the typos prek hook, but
the exception register stayed repo-local, so consumers linted
scaffold-shipped content with zero exceptions and failed out of the
box: the 0.4.0-rc2 smoke-test deploy PR died on version-check.sh's Nd
duration placeholder and the synced changelog's "unexcepted" CVE-policy
term -- both excepted here in .typos.toml. Sync the file into the
template via scripts/manifest.toml (SSoT, same mechanism as .yamllint
and .pymarkdown).

Refs: #855
@c-vigo
c-vigo merged commit 3b188e4 into release/0.4.0 Jul 4, 2026
13 checks passed
@c-vigo
c-vigo deleted the bugfix/855-ship-typos-config branch July 4, 2026 21:38
c-vigo added a commit that referenced this pull request Jul 4, 2026
…#858)

## Summary

Forward-fix for the rc3 smoke-test failure
([#857](#857), diagnosis
posted there). rc3 convergence signal: consumer CI green inside the rc3
image, **deploy PR merged** (validating #853 + #856), downstream release
cycle started — and died at `Create draft PR to main` with `GraphQL:
Body is too long`.

It's the #810 bug shipped to consumers: #812 capped only this repo's own
`prepare-release.yml`; the scaffolded copy
(`assets/workspace/.github/workflows/prepare-release.yml`) still
interpolated the full changelog section uncapped, and the smoke-test
repo's CHANGELOG is seeded from our ~67k-char 0.4.0 section. This ports
the identical cap (65,000-char budget, line-boundary truncation, pointer
to the release branch's full `CHANGELOG.md`). `release-core.yml`
(shipped) has no PR-body write, so this is the only consumer-side site.

The deploy sync carries the fixed workflow to the smoke-test repo on the
next candidate (rc4), which should complete the downstream cycle.

## Verification

- Identical cap logic harness-verified against the real 0.4.0 section in
#830 (66,794 → 64,869 chars, line-boundary truncation; sub-threshold
passthrough byte-identical).
- YAML de-indentation of the new `HEADER` asserted via `yaml.safe_load`
(no indent leak).
- `just precommit` (full suite, all files): green, exit 0.
- Changelog entry added to the open `## [0.4.0] - TBD` section.

Refs: #857
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant