You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: block Vale tooling paths from main + mirror spec dev-only narrative (#69)
## Summary
Repositions the Vale prose-check stack (`styles/`, `.vale.ini`,
`scripts/prose-check.sh`) as dev-only contributor
tooling, mirroring `agentnative-spec` PR #45 (ed066b6). This is the
evergreen half: workflow guard, doc reference
updates, and dev-direct exception note. The actual file deletions on
`main` happen in a follow-up performed directly
on the `release/v0.5.0` branch so that one release cycle removes the
files from `main`; from then on the workflow
guard keeps them out.
Bundles two small release-doc polish items that surfaced during the same
review pass: a guarded-path leak-check entry
in `RELEASES-PREFLIGHT.md`, and a version-neutral rename of `CLAUDE.md`
§ "Scorecard v0.5 Fields" to § "Scorecard
JSON fields" so the heading stops aging out as schema versions move.
## Changelog
### Changed
- `.github/workflows/guard-main-docs.yml`: pass `extra_paths:
'styles/,.vale.ini,scripts/prose-check.sh'` to the
reusable guard workflow. Future PRs to `main` that add or modify those
paths fail the check. Mirrors the path values
used by `agentnative-spec`.
- `BRAND.md`: refreshed verbatim from `agentnative-spec` to pick up the
"narrative is authoritative for both the why
and the what" reframing and the `(dev-only)` annotation on the
Vale-rule-pack column of the Channel-artifacts table.
As a vendored mirror, BRAND.md should match the spec word for word.
- `PRODUCT.md`: Inheritance and Register sections retune to
"authoritative voice contract" framing; explicitly names
the rule pack as dev-only tooling that does not ship to `main`. Removes
the dead `styles/brand/README.md` /
`styles/brand/*.yml` / `styles/config/vocabularies/cli/` links.
- `AGENTS.md`: rewrites the "Voice and prose rules" section to drop the
`scripts/prose-check.sh` invocation example
and the rule-pack vendoring prose; mirrors the spec's AGENTS.md
voice-contract paragraph.
- `scripts/SYNCS.md`: drops the `sync-prose-tooling.sh` row from the
upstream sync table, the matching mermaid arrow,
and the Reference section entry.
- `RELEASES.md`: prose-scrubbing intro no longer promises a future
vendoring; explicitly names the spec checkout as
the Vale config source.
- `CLAUDE.md`: § "Scorecard v0.5 Fields" renamed to § "Scorecard JSON
fields"; the cross-link in
`RELEASES-PREFLIGHT.md` updates to match.
### Added
- `RELEASES.md` gains a `### Dev-direct exception` subsection under
Daily development, mirroring the spec's same
insertion point and content. Names the two path categories (engineering
docs and prose-check stack) that may be
committed directly to `dev` without a feature branch.
- `RELEASES-PREFLIGHT.md` gains a "Release mechanics sanity" item that
runs the same guarded-path leak check
`RELEASES.md` step 4 runs, so operators catch leaks before the release
PR opens. Points at the new
`RELEASES.md` § Cherry-pick conflicts on guarded paths subsection for
resolution.
## Type of Change
- [x] `ci`: CI/CD configuration changes
## Related Issues/Stories
- Story: n/a
- Issue: n/a
- Architecture: Mirrors `agentnative-spec` PR #45 (ed066b6)
"feat(prose-check): move stack to dev-only". The spec's
follow-up release PR (#46, 20b9deb) performed the corresponding file
deletions on `main`; this repo's equivalent
deletions happen on `release/v0.5.0` after this PR merges.
- Related PRs: agentnative-spec#45, agentnative-spec#46
## Testing
- [x] All tests passing
**Test Summary:**
- `cargo test`: 793 passed, 2 ignored.
- `cargo build`: clean.
- `bash scripts/prose-check.sh --vale-only` on dev: stack still present,
runs as expected.
## Files Modified
**Modified:**
- `.github/workflows/guard-main-docs.yml`
- `AGENTS.md`, `BRAND.md`, `CLAUDE.md`, `PRODUCT.md`, `RELEASES.md`,
`RELEASES-PREFLIGHT.md`, `scripts/SYNCS.md`
**Created:**
- None.
**Renamed:**
- None.
**Deleted:**
- None on this branch. The actual prose-check stack deletions
(`.vale.ini`, `styles/`, `scripts/prose-check.sh`, plus
the orphaned helpers `scripts/sync-prose-tooling.sh`,
`scripts/test-prose-check.mjs`,
`scripts/generate-pack-readme.mjs`) ship on the release branch.
## Breaking Changes
- [x] No breaking changes
## Deployment Notes
- [x] No special deployment steps required
0 commit comments