feat(portable): Phase 6.1 format v2 with strict v1 migration and job format; Phase 7 capability negotiation and extensions

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ДмитрийandClaude Sonnet 5.5 committed 2026-10-07 06:54:11 +05:00
1 parent f6006edfaf
commit 35a2d5dea7
35 files changed
+2936 -41

No files matched your search

+2 -1
View File
@@ -83,7 +83,8 @@ a payload over RA, a path argument, a remote caller of any kind.
<canonical JSON of the character>`, not zstd: the core has neither a JSON nor a zstd
dependency, and a small strict parser (`CoAPortableJson`: bounded depth/nodes/string size, integers only, duplicate and unknown
fields refused, UTF-8 checked) is easier to audit than a new dependency. The header carries `snapshot_sha256` of the exact bytes of the
second line; the file size is capped at 24 MiB before it is read. The Manager ships the character **without extensions** and without
second line; the header's first field is `job_format` (Phase 6.1: the core refuses a job whose format it does not read before it looks at
anything else); the file size is capped at 24 MiB before it is read. The Manager ships the character **without extensions** and without
settings the policy does not carry.
* **Writes.** Every row is written by a prepared `INSERT` (`CHAR_INS_PORTABLE_*`); the only string-built statements are the
`DELETE ... WHERE <fixed column> = <numeric guid>` that clear leftovers of a deleted character with the same guid.