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

@@ -595,7 +595,18 @@ impl SpacetimeClient {
let procedure_inputs = events
.into_iter()
.map(crate::module_bindings::RuntimeTrackingEventInput::from)
.map(|event| crate::module_bindings::RuntimeTrackingEventInput {
event_id: event.event_id,
event_key: event.event_key,
scope_kind: map_runtime_tracking_scope_kind(event.scope_kind),
scope_id: event.scope_id,
user_id: event.user_id,
owner_user_id: event.owner_user_id,
profile_id: event.profile_id,
module_key: event.module_key,
metadata_json: event.metadata_json,
occurred_at_micros: event.occurred_at_micros,
})
.collect::<Vec<_>>();
self.call_after_connect(