v0.1.3: encoding remediation - restore 11 core files to clean UTF-8 + add check:encoding-health guard

This commit is contained in:
octopus
2026-09-16 13:13:18 +08:00
parent 445940ea63
commit 4518f41fd4
14 changed files with 437 additions and 341 deletions
+3 -2
View File
@@ -8,7 +8,7 @@ the corpus internally consistent and publish-ready.
The corpus does not assume any specific forge (GitHub / Gitea / GitLab),
ticketing, or CI system. System-specific behavior lives behind an explicit
adapter contract (`core/adapters/`), so the same core can be adopted by any
octopus instance or any other agent platform with its own adapters.
octopus instance 鈥?or any other agent platform 鈥?with its own adapters.
## Layout
@@ -20,7 +20,7 @@ octopus instance — or any other agent platform — with its own adapters.
| `core/templates/` | Artifact templates (DAG, iteration docs) |
| `core/schemas/` | JSON schemas under the public namespace `https://eightarms.net/octopus-workflow/schemas/` |
| `core/adapters/` | Adapter contract: terminology SSOT + Gitea reference implementation |
| `core/CORE-MANIFEST.json` | Registry of core↔instance mappings and sync semantics (verbatim / verbatimDir / rewritten / split / core-only) |
| `core/CORE-MANIFEST.json` | Registry of core鈫攊nstance mappings and sync semantics (verbatim / verbatimDir / rewritten / split / core-only) |
| `examples/` | Organization-agnostic narrative essays referencing the core |
| `guards/` | Standalone drift guards (bun + node stdlib only) |
@@ -32,6 +32,7 @@ Runnable inside this repo with [bun](https://bun.sh), no install step needed:
bun run check:core-cohesion # corpus structural invariants
bun run check:core-p1 # publish-readiness neutrality (no org-internal links)
bun run delink:core -- --check # no replaceable org-internal refs remain
bun run check:encoding-health # core/ text is clean UTF-8 (no GBK mojibake)
```
The instance-side guards (`check-core-parity`, `check-schema-ids`,