Current Rephrased repo workflow¶
Source-of-truth workflow note for the Rephrased setup. Daily work is on Perforce now.
Source of truth¶
Daily team work happens on the USC Perforce (Helix Core) depot:
- Perforce server:
ssl:perforce.sca.usc.edu:1666 - Workspace/client:
GL_Main_PC(project under.../GL_Main_PC/261_833_8025/) - UE project:
Rephrased.uproject - Canonical wiki path in the depot:
Rephrased Wiki/ - Canonical MCP toolkit path in the depot:
tools/rephrased-mcp/
Git/GitHub is legacy reference only. The
Rephrased-Games/Rephrased-Gamegit repo is where the project came from and where the live wiki still builds from (below), but new feature work, branches, commits, and pull requests are retired. Do not start work in git.
Team setup policy¶
Everyone installs the local toolchain once:
- Unreal Engine 5.8
- Visual Studio 2026 Community, stable channel
- Repo-root
.vsconfigimported in Visual Studio Installer - P4V (Helix Visual Client) and/or the
p4command-line client, logged in tossl:perforce.sca.usc.edu:1666as your USC Perforce user
No one needs VS Code unless they personally want it for a coding agent or editor. Designers and artists do not open Visual Studio day to day; it is installed so Unreal has the C++ compiler toolchain when the build script needs it.
Daily workflow¶
- Get latest —
p4 sync(P4V Get Latest Revision, or MCPsync_latest). Sync before checking anything out. - Run
[OpenAfterPull]Build_Project.bat(once per day, or after a code sync). - Start a task — MCP
start_taskopens a described pending changelist; set it as your current changelist in the editor. - Work — the editor checks out files as you edit (exclusive lock on binary
.uasset/.umap). - Review —
convention_check→ compile →request_review(optionallyp4 shelve) → PIE. - Submit — MCP
submitor P4V submit, after review passes.
Use [OpenAfterPull]Build_Project.bat -check for setup diagnostics. Prefer -check, not /check.
Submit discipline¶
Standard workflow is sync → check out → review → submit. There are no branches or pull requests.
- Exclusive checkout on binary assets is the safety model: checking out a
.uasset/.umaplocks it so no one else edits it concurrently. Keep checkouts short and changelists small. - Review is a shelved changelist through the review gate plus a human — the Perforce equivalent of a PR.
- Submit-time enforcement (auto-rejecting a bad submit) is a server-side Perforce trigger and needs a USC Perforce admin; until then, discipline is manual + the review gate.
- Set
p4 set P4IGNORE=.p4ignoreso the depot's ignore rules keepBinaries/,Intermediate/,Saved/, and DDC out of submits. The server typemap already locks binary asset types (binary+l).
See Perforce workflow for the full week-one guide.
MCP state¶
Rephrased MCP lives in the depot at tools/rephrased-mcp/.
Expected tools:
onboardingsync_lateststart_taskconvention_checkrequest_reviewsubmitwiki_querydevlog
MCP is useful, but it is not the first setup blocker. Perforce access, UE 5.8, VS 2026, and the build script come first. The review key and local config must never be submitted.
First meeting priority¶
- Confirm USC Perforce access; log in to
GL_Main_PCin P4V /p4. - Install UE 5.8 and VS 2026 with
.vsconfig. p4 syncthe project.- Run
[OpenAfterPull]Build_Project.bat -check. - Run the bat normally and open LV_2ndPlayable.
- Set up Rephrased MCP after project launch works.
Live wiki hosting¶
The live wiki is the built form of Rephrased Wiki/. Perforce is the source of truth:
- Documentation is edited and submitted in Perforce.
- A scheduled sync publishes the submitted snapshot to
Rephrased-Games/Rephrased-Gameonmainthrough a squash-merged pull request. - The Cloudflare Pages project
rephrased-org-wikibuildsmainwithpython -m mkdocs build --strictand serves it athttps://rephrased-org-wiki.pages.dev/.
Open or unsubmitted workspace edits are not published; only submitted revisions are. Source/, Content/, and Config/ stay in Perforce and are not mirrored.
- Build config:
mkdocs.ymlat the repo root withdocs_dir: Rephrased Wiki; dependencies inrequirements-docs.txt. - Standalone outward mirrors (reference copies):
Rephrased-Games/Rephrased-Wiki,Rephrased-Games/Rephrased-agent-toolkit.
Change history¶
- 2026-09-17 — Gabriel Li — Documented the current publishing flow: submitted Perforce documentation is mirrored to GitHub
mainand deployed by Cloudflare Pages. -
2026-09-05 — Gabriel Li — Rewrote daily workflow for Perforce (sync/checkout/review/submit, exclusive locking, changelists). Source of truth is the USC Helix Core depot
GL_Main_PC. MCP tool list updated to the Perforce set. -
2026-09-05 — Gabriel Li — Updated sandbox references to PreProShowcase (
Content/Rephrased/Levels/Prepro/) after the content reorganization (PR #19). -
2026-08-27 - Gabriel Li - Added MCP
create_branchand local hook branch guardrails; GitHub protection remains the server-side follow-up. - 2026-08-26 - Gabriel Li - Added Cloudflare live wiki deployment source note after org migration.
- 2026-08-26 - Gabriel Li - Created after org migration, VS-once workflow decision, standalone repo bootstrap/sync, and first-meeting readiness work.