Handoff: NEXUS Worktree Split Plan
Where Things Are
- repo:
NEXUS-EMERGING - current state:
11tracked modified paths8951untracked paths- dominant dirty area:
NEXUS-EventStore/with8945changed or new paths- secondary dirty area:
- docs-site bootstrap and docs-structure work under
docs/, plusmkdocs.ymlandrequirements-docs.txt
This note splits the current dirty tree into intentional workstreams so later cleanup and commits can happen deliberately instead of as one mixed bundle.
Workstream 1: EventStore Import / Projection Batch
Scope
NEXUS-EventStore/events/: about8702new pathsNEXUS-EventStore/imports/: about205new pathsNEXUS-EventStore/projections/: about36changed or new pathsNEXUS-EventStore/snapshots/: new content presentNEXUS-EventStore/work-batches/: new content present- one tracked projection file is also modified:
NEXUS-EventStore/projections/conversations/019d1a55-9f2f-7283-a6ef-fb48cb23bf6f.toml
What Completion Looks Like
- confirm this was an intentional ingestion/import run, not accidental local churn
- verify the new
imports/,events/,projections/,snapshots/, andwork-batches/belong to the same durable batch - decide whether the changed tracked projection should ride with this batch
- if the batch is valid, commit it as one explicit EventStore checkpoint
- if the batch is scratch or partial, move it out of the repo worktree instead of leaving it mixed into docs work
Risks
- this is append-only historical material, so corrections should be additive
- partial staging here is risky unless the batch boundaries are truly understood
- this workstream should stay isolated from docs-site and doctrine commits
Workstream 2: Docs-Site Bootstrap
Scope
Untracked docs-site files:
mkdocs.ymlrequirements-docs.txtrepo-overview.mdhow-to/preview-docs-site.mddecisions/README.mddocs/assets/stylesheets/light-matrix.css
Tracked files already moving in the same direction:
.gitignoreindex.mdhow-to/README.mdresearch/README.mdcortex-repo-memory-protocol.mdagent-readme.md
What Completion Looks Like
- create the local virtualenv described in
how-to/preview-docs-site.md - install
requirements-docs.txt - run
mkdocs serveormkdocs build - confirm the docs site nav works and the new overview pages resolve
- commit the docs-site bootstrap as its own workstream
Risks
agent-readme.mdis shared with a separate doctrine update, so hunk staging may be needed if the commits should stay split- avoid bundling docs-site bootstrap with EventStore history
Workstream 3: Branch Naming / Workflow Preference
Scope
What Completion Looks Like
- confirm the preferred branch naming rule is:
- describe the workstream itself
- avoid agent-qualified prefixes unless they add real meaning
- make sure examples and push instructions align with that rule
- commit this as a small doctrine/workflow update
Risks
- easy to accidentally bury this inside the docs-site bootstrap unless staged intentionally
Workstream 4: Command / Event / View Presentation Rule
Scope
The local upstream doctrine edits now in flight are:
The intended rule is:
- do not flatten modeling into a fixed linear
COMMAND -> EVENT -> VIEWtriplet - present command slices as producing event fact(s)
- present view slices as consuming prior event fact(s)
- allow the consumed event to be earlier than the immediately previous slice
- allow multiple views to consume the same prior event
What Completion Looks Like
- commit these guidance edits as a small doctrine/AI-instruction update
- keep this separate from EventStore history
- decide whether this should be staged as its own small commit or ride with the docs-site bootstrap if hunk separation becomes too costly
Risks
agent-readme.mdoverlaps the docs-site bootstrap edits, so this may require hunk staging if the commit boundary must stay pure
Suggested Commit Order
Recommended order if all of this is kept:
- branch naming / workflow preference
- command/event/view presentation rule
- docs-site bootstrap
- EventStore import / projection batch
Why this order:
- the first three are small, understandable doc/doctrine commits
- the EventStore batch is by far the largest and deserves a dedicated checkpoint after the smaller noise is removed
Alternative safe order:
- docs/doctrine commits first
- verify the EventStore batch separately
- commit EventStore batch last as its own historical checkpoint
Immediate Next Likely Step
- decide whether the EventStore batch is intentional and should be preserved now
- if not handling EventStore first, isolate and commit the small docs/doctrine workstreams before returning to the batch
Read Next
how-to/preview-docs-site.mdagent-readme.mdinteraction-concern-lines-contexts-and-lenses.mddecisions/0008-branch-topology-by-workstream.mdNEXUS-EventStore/imports/NEXUS-EventStore/work-batches/