Phase 4 — docs + onboarding for standalone-as-SSOT #1599

Open
opened 2026-05-20 09:21:32 +00:00 by core-be · 0 comments
Member

Follow-up task to the standalone-as-SSOT migration (CTO-GO 2026-05-20).

Pre-conditions

  • Phase 1 (migration PR) merged on standalone
  • Phase 2 (0.2.0 published) complete
  • Phase 3 (monorepo cleanup) at least started, ideally complete

Tasks

1. README in standalone repo — contribution guide + release process

Standalone README was already updated in Phase 1 to declare it as canonical editable source. Round trip:

  • Inline contribution guide (clone, branch, PR target, review pattern)
  • Release process (version bump → tag → publish workflow → cascade)
  • Local development quickstart (run tests, build wheel, smoke-install)
  • Contract with monorepo (what the wheel exposes, what monorepo consumes)

2. README in monorepo workspace-server/ — link to standalone

molecule-core/workspace-server/README.md (or create if missing):

  • One-liner: Python runtime lives in molecule-ai-workspace-runtime, this server hosts Go workspace-management code
  • Link to standalone repo
  • For runtime work, send PRs to standalone

3. CONTRIBUTING.md in both

Standalone has a 1-KB CONTRIBUTING.md already. Audit it post-migration:

  • Reviewer/persona patterns (core-be / core-qa / core-devops)
  • 2-eye gate, persona-token model
  • Sec-fix flow (mention the 2 standalone fixes that monorepo dropped — do not let it happen again)

Monorepo CONTRIBUTING.md: add a section noting which dirs are still monorepo-edit (Go workspace-server, CP, BE, etc.) vs which go to standalone (any Python runtime change).

4. Update mol_* helper docs

~/.molecule-ai/AGENTS.md and related:

  • mol_clone — verify it can reach standalone (should — same Gitea org)
  • Any docs that reference the old monorepo workspace/ → publish-mirror arrangement need updating

5. Update the orchestrator playbook entries

Memory files in ~/.claude/projects/-Users-hongming/memory/:

  • New file: reference_standalone_as_ssot_runtime_repo.md — canonical doc for the new SSOT location, contract, drift-watch SOP
  • Cross-link from feedback_no_single_source_of_truth

6. Drift-watch SOP

The migration was needed because bidirectional drift accumulated silently. To prevent recurrence:

  • Weekly automated diff: standalone main vs PyPI latest vs workspace-template image runtime version
  • Alert if any > 7 days out of sync
  • Reviewer checklist line: "Have you verified this change does not need a companion in monorepo workspace-server?"

References

/cc core-devops

Follow-up task to the standalone-as-SSOT migration (CTO-GO 2026-05-20). ## Pre-conditions - Phase 1 (migration PR) merged on standalone - Phase 2 (0.2.0 published) complete - Phase 3 (monorepo cleanup) at least started, ideally complete ## Tasks ### 1. README in standalone repo — contribution guide + release process Standalone README was already updated in Phase 1 to declare it as canonical editable source. Round trip: - Inline contribution guide (clone, branch, PR target, review pattern) - Release process (version bump → tag → publish workflow → cascade) - Local development quickstart (run tests, build wheel, smoke-install) - Contract with monorepo (what the wheel exposes, what monorepo consumes) ### 2. README in monorepo workspace-server/ — link to standalone `molecule-core/workspace-server/README.md` (or create if missing): - One-liner: Python runtime lives in molecule-ai-workspace-runtime, this server hosts Go workspace-management code - Link to standalone repo - For runtime work, send PRs to standalone ### 3. CONTRIBUTING.md in both Standalone has a 1-KB CONTRIBUTING.md already. Audit it post-migration: - Reviewer/persona patterns (core-be / core-qa / core-devops) - 2-eye gate, persona-token model - Sec-fix flow (mention the 2 standalone fixes that monorepo dropped — do not let it happen again) Monorepo CONTRIBUTING.md: add a section noting which dirs are still monorepo-edit (Go workspace-server, CP, BE, etc.) vs which go to standalone (any Python runtime change). ### 4. Update mol_* helper docs `~/.molecule-ai/AGENTS.md` and related: - `mol_clone` — verify it can reach standalone (should — same Gitea org) - Any docs that reference the old `monorepo workspace/ → publish-mirror` arrangement need updating ### 5. Update the orchestrator playbook entries Memory files in `~/.claude/projects/-Users-hongming/memory/`: - New file: `reference_standalone_as_ssot_runtime_repo.md` — canonical doc for the new SSOT location, contract, drift-watch SOP - Cross-link from `feedback_no_single_source_of_truth` ### 6. Drift-watch SOP The migration was needed because bidirectional drift accumulated silently. To prevent recurrence: - Weekly automated diff: standalone main vs PyPI latest vs workspace-template image runtime version - Alert if any > 7 days out of sync - Reviewer checklist line: "Have you verified this change does not need a companion in monorepo workspace-server?" ## References - Parent migration PR: https://git.moleculesai.app/molecule-ai/molecule-ai-workspace-runtime/pulls/19 - Phase 3 task: #1598 /cc core-devops
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#1599