Enforce Genarrative play-type SOP and update docs

Rewrite Genarrative play-type integration guidance across .codex and .hermes to define a platform-level SOP: default to form/image workbench, unify single-image asset slots (CreativeImageInputPanel), standardize series-material sheet->cut->transparent->OSS pipeline, and forbid copying legacy chat/agent workflows as the default. Add decision-log entry freezing the SOP and a pitfalls note warning against direct reuse of old play tools. Update CONTEXT.md and docs/README.md, add a new PRD file, and apply related small server-side changes (module-auth, spacetime-client mappers and runtime) to align back-end code with the new contracts and flows.
This commit is contained in:
2026-05-20 12:12:00 +08:00
parent f370539a6f
commit 3931442249
123 changed files with 15514 additions and 3419 deletions

View File

@@ -474,11 +474,11 @@ function loadBaseSources(baseRef) {
}
function getChangedFiles(baseRef) {
const diffOutput = tryGit(['diff', '--name-only', baseRef, '--']) ?? '';
const diffOutput = tryGit(['diff', '--name-only', '-z', baseRef, '--']) ?? '';
const untrackedOutput =
tryGit(['ls-files', '--others', '--exclude-standard', moduleSrcRoot]) ?? '';
tryGit(['ls-files', '--others', '--exclude-standard', '-z', moduleSrcRoot]) ?? '';
return new Set(
[...diffOutput.split(/\r?\n/u), ...untrackedOutput.split(/\r?\n/u)]
[...diffOutput.split(/\u0000/u), ...untrackedOutput.split(/\u0000/u)]
.map(normalizePath)
.filter(Boolean),
);