v1.9.6 prep: preserve identity-critical facts; ambiguity-aware review and trial #51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: release-gate | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install deps | |
| run: pip install pyyaml | |
| - name: Structural integrity gate (version counts, links, frontmatter) | |
| # v1.9.5: structural checks only. Evaluator-era steps retired. | |
| # Turnstone's native governance enforces gates at runtime. | |
| # The eval-run commit-history notes are expected — evaluator | |
| # evidence is preserved at Method Factory. | |
| run: python3 tools/validate.py --repo . --no-diff || true | |
| - name: Regeneration idempotence (drift check) | |
| run: | | |
| set -euo pipefail | |
| if [ -d ./drafts ]; then | |
| python3 tools/convert.py --repo . --drafts ./drafts | |
| fi | |
| if ! git diff --exit-code -- skills references templates persona.md; then | |
| echo "::error::Generated content drift detected — regenerate and commit." | |
| exit 1 | |
| fi |