3.7 KiB
3.7 KiB
| id | ticket | title | status | created | decisions | tags | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| PLN-0001 | world-editor-journey-spec | World Editor / Journey V1 Spec | done | 2026-06-19 |
|
|
Briefing
Write the canonical English specification for the World Editor / Journey V1 contract accepted in DEC-0001. This plan produces documentation only. It does not implement Unity code.
Source Decisions
DEC-0001: World Editor / Journey V1.
Target
Create or update the canonical spec location used by this repository with an English spec covering:
WorldLayoutSOas editor authoring data.JGraphSOas runtime Journey data.JStage,JEndpoint,JEndpointSocket,JEndpointAnchor,JEndpointLift, andJConnection.- World tile/layer defaults and configurability.
- Commit/publication boundary.
- Validation error and warning rules.
- V1 exclusions.
Scope
- Inspect the repository for the canonical spec/docs location before editing.
- Add an English World Editor / Journey V1 spec if none exists.
- If a relevant spec already exists, update it instead of creating a parallel source of truth.
- Link the spec back to
DEC-0001. - Document that runtime Journey code lives outside
Assets/Scripts/Editor. - Document that Stage bake remains owned by the Stage Editor.
Out Of Scope
- C# implementation.
- Unity Editor UI implementation.
- Stage Editor changes.
- Loading hints, concrete requirements, deep Stage marker sync, and editor unification.
Execution Plan
-
Locate canonical docs/specs.
- Use
rg --filesto find existingspec,docs, or design contract files. - Target the existing canonical location if present.
- If no canonical spec location exists, create a minimal
specs/or repository-approved equivalent only after confirming repo convention from nearby files.
- Use
-
Draft the V1 spec.
- Add sections for authoring model, runtime model, endpoint model, connection model, commit flow, validation, and exclusions.
- Use normative language:
MUST,MUST NOT,SHALL,SHOULD, andMAY. - Keep the spec in English.
-
Define V1 data contracts in prose.
WorldLayoutSO: defaultworldTileSize = 24m, defaultworldLayerHeight = 24m, stages, occupied tiles, authoring endpoints, and editor metadata.JGraphSO:sourceWorldLayoutId,publishedAt,schemaVersion, optionalcontentHash,JStage[],JEndpoint[], andJConnection[].JStage: logical runtime stage record, not scene generation data.
-
Define validation levels.
- Errors block commit.
- Warnings do not block commit.
- Required endpoint without connection is an error.
- Optional endpoint without connection is a warning.
-
Document non-goals.
- No loading hints in V1.
- No concrete requirements in V1.
- No Stage scene generation from World Editor commit.
- No automatic World Editor to Stage Editor integration in V1.
Acceptance Criteria
- The spec is in English.
- The spec references
DEC-0001. - The spec names
WorldLayoutSOandJGraphSO. - The spec states that Journey elements use prefix
J, and Journey ScriptableObjects use suffixSO. - The spec states that World Editor commit publishes only logical Journey data.
- The spec states that runtime MUST consume
JGraphSO, notWorldLayoutSOorStageDefinition.
Validation
- Review the spec against every invariant in
DEC-0001. - Search the spec for residual Portuguese text before finalizing.
- Confirm no duplicate contradictory spec was created.
- No automated tests are required for this plan.
Risks
- The repository may not yet have a canonical specs directory.
- If spec location is unclear, stop before creating a new documentation tree and ask for direction.
- Over-documenting future features could accidentally make them V1 commitments.