Skip to content

fix(rsr): migrate AffineScript bot directives - #189

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/affinescript-bot-directives-117
Aug 24, 2026
Merged

fix(rsr): migrate AffineScript bot directives#189
hyperpolymath merged 1 commit into
mainfrom
fix/affinescript-bot-directives-117

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

  • rename the three AffineScript satellite .machine_readable/agent_instructions directories to the accepted bot_directives name
  • preserve all nine A2ML payloads byte-for-byte and update the three README descriptions
  • add a scoped validator for migrated satellite batches and wire it into validate-rsr
  • include a self-test that plants a legacy directory and proves the validator rejects it

Validation

  • bash -n hooks/validate-bot-directives.sh
  • shellcheck hooks/validate-bot-directives.sh
  • bash hooks/validate-bot-directives.sh --self-test
  • just validate-bot-directives
  • hooks/validate-spdx.sh
  • git diff --check
  • no agent_instructions directory or reference remains under affinescript-ecosystem
  • all nine moved A2ML files match their pre-rename Git blobs byte-for-byte

Baseline note

The new bot-directives validation passes. The broader just validate-rsr recipe subsequently reports five paths absent from current main: SECURITY.md, CONTRIBUTING.md, and the must/trust/dust nested contractile files. This PR does not alter those paths and does not claim that pre-existing baseline is green.

Refs #117.

@hyperpolymath
hyperpolymath merged commit ad70b70 into main Aug 24, 2026
18 of 21 checks passed
@gitar-bot

gitar-bot Bot commented Aug 24, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

@hyperpolymath
hyperpolymath deleted the fix/affinescript-bot-directives-117 branch August 24, 2026 10:44
@hyperpolymath

Copy link
Copy Markdown
Owner Author

CI triage (2026-08-24)

The migration-specific validation is green. The three failing checks reproduce against unchanged baseline inputs and are outside this PR diff:

  • Validate A2ML manifests: the sole failure is audits/assail-classifications.a2ml line 1 (Missing required identity field). The validator scanned all 3,857 manifests, including the moved bot-directives manifests.
  • Validate Hypatia Baseline: .hypatia-baseline.json entries 0–9 have tracking_issue values that do not match the current owner/repo#N schema.
  • gitleaks: setup aborts before scanning because .gitleaks.toml extends .gitleaks-estate.toml, but the reusable workflow does not stage that estate file. No secret finding was reported.

Confirmed with git diff origin/main...HEAD that .hypatia-baseline.json, audits/assail-classifications.a2ml, .gitleaks.toml, and .github/workflows/ are unchanged by this PR. The remaining 20 checks pass.

hyperpolymath added a commit that referenced this pull request Aug 24, 2026
## Summary

Restore the three validation workflows that were red on `main` after
#189:

- give `audits/assail-classifications.a2ml` the identity, version, and
SPDX metadata required by the repository A2ML validator
- replace all ten invalid Hypatia `/issues/pending` placeholders with
the existing standards campaign `#111`
- re-pin the reusable secret scanner to standards commit `5b5dab9f`,
which stages the estate baseline, asserts it is non-empty, passes the
selected config explicitly to gitleaks, and covers the AsciiDoc blind
spot
- add a planted-negative Dogfood control proving an empty A2ML document
is rejected for the expected identity error

## Validation

- full A2ML horizon: 3,857 files scanned, 0 errors (316 existing
non-strict warnings)
- targeted audit validation: 1 file, 0 errors, 0 warnings
- planted empty A2ML fixture: rejected as expected
- planted invalid Hypatia `tracking_issue`: rejected; all ten repaired
entries accepted by the required `owner/repo#N` shape
- local gitleaks repository scan using the staged estate baseline:
passed
- planted redacted gitleaks canary: detected and rejected
- `jq empty .hypatia-baseline.json`
- `hooks/validate-spdx.sh`
- `just validate-bot-directives`
- `git diff --check`

## Scope

This PR repairs the existing repository baselines and workflow
integration only. It does not include the remaining issue #117 satellite
renames or alter the substantive suppression entries.
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