Create Worktree
Register a git worktree for a session. Call after git worktree add.
eb2e44f8 — when the caller also supplies base_sha + base_branch, this additionally persists an IMMUTABLE base manifest for the worktree (repo identity, base branch, base SHA, owning sprint item), returned under the manifest key. That manifest is what meridian.worktree_merge_guard.validate_worktree_merge checks against later, before a merge/completion is allowed to proceed. Omitting base_sha/base_branch skips manifest creation entirely — backward compatible with callers that only register session/branch/path; no retroactive validation is imposed on worktrees that never opted in.
post/projects/{project_id}/worktrees
Request
- Base URL: https://usemeridian.us (the document declares no server; this is the origin it was published from)
- URL: https://usemeridian.us/projects/{project_id}/worktrees
- Auth: none declared
Path parameters
project_idstring required
Request body
Response
Successful Response
object required