Commit 120fd28
Repo potential assessment: fix identity, purge template residue, green the governance CI (#41)
## Summary
bofj-kitt was scaffolded from the RSR template on 2026-03-16 and never
given its own identity. It carried **three contradictory identities**
(README/manifests said "pseudoscript"; Justfile/STATE said
"rsr-template-repo"; only `CLADE.a2ml` said "bofj-kitt"), ~88 files of
unfilled `{{TOKEN}}` placeholders, a vendored 4.9 MB copy of an
unrelated project (AffineScript, headless + AGPL-in-an-MPL-repo), and
governance CI that failed deterministically on several of its own estate
rules.
This PR brings the repo to an **honest baseline** (roadmap milestone
**M0**): one truthful identity everywhere, governance CI that passes its
own rules, and a committed assessment + M0–M5 roadmap. It adopts the
purpose from the GitHub description — **Shared Developer Environment
Extension Kit (the "SuperChainsaw") for the BoJ (Box of Justice)
server**. **No product code is written in this pass**; the kit is
specified as future work.
Full findings and rationale:
`docs/reports/audit/repo-assessment-2026-07-16.adoc`.
## Changes
- **Removed** the vendored `affinescript/` subtree (608 files, 4.9 MB)
and the uninstantiated `src/interface/` template ABI/FFI (the FFI never
compiled — it held literal `{{project}}` tokens as identifiers) plus
template-only test/bench/validation harnesses and the invalid `e2e.yml`.
- **Identity rewrite** to `bofj-kitt` across README,
`0-AI-MANIFEST.a2ml`, `STATE.a2ml`/`6a2/{STATE,ECOSYSTEM,META}.a2ml`,
`Justfile`, contractiles, `TOPOLOGY.adoc`, `ROADMAP.adoc`,
`TEST-NEEDS.adoc`, `EXPLAINME.adoc`, and onboarding docs. ADRs recorded
for the three decisions.
- **estate-rules green**: fixed root-shape allowlist (allow
`README.md`/`CONTRIBUTING.md`/`SECURITY.md`/`LICENSES/`; removed root
`.adoc` duplicates that have canonical copies under `docs/`); converted
the one `.md` under `docs/` to `.adoc`; scrubbed banned-language
references from ~30 template files.
- **openssf-compliance green**: filled the token-scanned manifests;
removed the 406-line unfilled `.github/SECURITY.md` in favour of the
real root `SECURITY.md`; filled `.envrc`, `.well-known/*`,
`FUNDING.yml`, `settings.yml`, `READINESS.adoc` header.
- **CI repairs**: fixed `dogfood-gate.yml` (was **invalid YAML** —
embedded Python fell out of its `run:` block); pointed `rhodibot.yml`'s
dead `workflow_run` trigger at the real workflow name; fixed
`crg-grade`/`crg-badge` to read `docs/status/READINESS.adoc`; retargeted
`codeql.yml` from `javascript-typescript` (gone) to `actions`.
- **Added** `docs/reports/audit/repo-assessment-2026-07-16.adoc` and an
M0–M5 roadmap.
## RSR Quality Checklist
### Required
- [ ] Tests pass (`just test` or equivalent) — no product tests yet
(pre-alpha); governance workflow/aspect checks unaffected
- [x] Code is formatted
- [x] Linter is clean (no new warnings or errors)
- [x] No banned language patterns — the pass **removes** the repo's
banned-language FFI
- [x] No `unsafe` blocks without `// SAFETY:` comments
- [x] No banned functions (`believe_me`, `unsafeCoerce`, `Obj.magic`,
`Admitted`, `sorry`)
- [x] SPDX license headers present on all new/modified source files
- [x] No secrets, credentials, or `.env` files included
### As Applicable
- [x] `.machine_readable/STATE.a2ml` updated (project state changed)
- [x] `.machine_readable/ECOSYSTEM.a2ml` updated (integrations changed)
- [x] `.machine_readable/META.a2ml` updated (ADRs added)
- [x] Documentation updated for user-facing changes (README, EXPLAINME,
onboarding)
- [x] `TOPOLOGY` updated (architecture rewritten for the kit)
- [ ] `CHANGELOG` or release notes updated — deferred to M1
- [x] New dependencies reviewed — none added
## Testing
Ran the estate gates locally against the tracked tree (CI-accurate):
- `scripts/check-root-shape.sh` — PASS (the only working-tree offender
is the gitignored, CI-absent `.claude/`)
- `scripts/check-no-md-in-docs.sh` — PASS
- `scripts/check-no-vlang.sh` — PASS on all tracked files (remaining
hits are confined to the gitignored `.claude/settings.local.json`)
- OpenSSF placeholder scan reproduced over its exact file list — 0
tokens; `.github/SECURITY.md` absent
- All 17 workflows parse and declare `jobs:` (PyYAML)
- `just crg-grade` reads `X` from `READINESS.adoc` (not the fallback)
- No `pseudoscript` identity residue in tracked files
## Screenshots
n/a
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01Xw37JPAVjBDvAKdBRGRqMx
---
_Generated by [Claude
Code](https://claude.ai/code/session_01Xw37JPAVjBDvAKdBRGRqMx)_
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent f0ec06d commit 120fd28
721 files changed
Lines changed: 649 additions & 96544 deletions
File tree
- .github
- workflows
- .machine_readable
- 6a2
- agent_instructions
- ai
- anchors
- configs
- contractiles
- bust
- must
- integrations
- policies
- scripts/maintenance
- .well-known
- affinescript
- .build
- .claude
- .github
- ISSUE_TEMPLATE
- workflows
- .machine_readable
- 6a2
- agent_instructions
- anchors
- contractiles
- adjust
- dust
- intend
- must
- trust
- integrations
- .well-known
- groove
- LICENSES
- SPARK-experiment
- bench
- conformance
- invalid
- valid
- distributions/rattlescript
- examples
- src
- docs
- .well-known
- academic
- formal-verification
- solo-core
- mathematical-foundations
- mechanized
- agda
- coq
- lean
- proofs
- tropical-session-types
- white-papers
- alib
- governance
- guides
- frontier-programming-practices
- lessons
- warmup
- history
- specs
- standards
- tutorial
- editors
- tree-sitter-affinescript
- queries
- vscode
- src
- syntaxes
- examples
- lessons
- ffi/zig
- src
- test
- hooks
- js
- lib
- packages
- affine-js
- affine-res
- src
- affine-ts
- runtime
- src
- site
- stdlib
- tests
- borrow
- codegen
- conformance
- arithmetic
- collection
- comparison
- conditional
- logical
- string
- effects
- modules
- parser
- types
- test
- e2e/fixtures
- golden
- tools
- affine-doc
- assets
- src
- affine-pkg
- src
- affinescript-dap
- src
- affinescript-lsp
- src
- wiki
- compiler
- language-reference
- stdlib
- testing
- tooling
- tutorials
- benches
- build
- just
- container
- docs
- architecture
- developer
- governance
- onboarding
- practice
- proposals
- reports
- audit
- status
- scripts
- src/interface
- Abi
- build/ttc/2025081600/Abi
- ffi
- src
- test
- generated
- abi
- tests
- e2e
- fuzz
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
0 commit comments