dotbrain 0.3.5__tar.gz → 0.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. {dotbrain-0.3.5 → dotbrain-0.4.0}/PKG-INFO +1 -1
  2. {dotbrain-0.3.5 → dotbrain-0.4.0}/docs/cli-reference.md +4 -0
  3. {dotbrain-0.3.5 → dotbrain-0.4.0}/pyproject.toml +1 -1
  4. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/__init__.py +1 -1
  5. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/templates/brain/DOTBRAIN.md +2 -0
  6. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/updater.py +13 -2
  7. {dotbrain-0.3.5 → dotbrain-0.4.0}/.gitignore +0 -0
  8. {dotbrain-0.3.5 → dotbrain-0.4.0}/LICENSE +0 -0
  9. {dotbrain-0.3.5 → dotbrain-0.4.0}/README.md +0 -0
  10. {dotbrain-0.3.5 → dotbrain-0.4.0}/docs/README.md +0 -0
  11. {dotbrain-0.3.5 → dotbrain-0.4.0}/docs/architecture.md +0 -0
  12. {dotbrain-0.3.5 → dotbrain-0.4.0}/docs/beads-backend.md +0 -0
  13. {dotbrain-0.3.5 → dotbrain-0.4.0}/docs/configuration.md +0 -0
  14. {dotbrain-0.3.5 → dotbrain-0.4.0}/docs/getting-started.md +0 -0
  15. {dotbrain-0.3.5 → dotbrain-0.4.0}/docs/glossary.md +0 -0
  16. {dotbrain-0.3.5 → dotbrain-0.4.0}/docs/skills.md +0 -0
  17. {dotbrain-0.3.5 → dotbrain-0.4.0}/docs/wiring.md +0 -0
  18. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/_cli_reference.py +0 -0
  19. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/adopter_repos.py +0 -0
  20. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/beads.py +0 -0
  21. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/bootstrap.py +0 -0
  22. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/brainspaces.py +0 -0
  23. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/cli.py +0 -0
  24. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/config.py +0 -0
  25. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/doctor.py +0 -0
  26. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/hooks.py +0 -0
  27. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/migrate.py +0 -0
  28. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/paths.py +0 -0
  29. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resource_loader.py +0 -0
  30. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/__init__.py +0 -0
  31. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/agents/claude/implementer.md +0 -0
  32. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/agents/claude/investigator.md +0 -0
  33. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/agents/claude/reviewer.md +0 -0
  34. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/agents/claude/verifier.md +0 -0
  35. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/agents/codex/implementer.toml +0 -0
  36. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/agents/codex/investigator.toml +0 -0
  37. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/agents/codex/reviewer.toml +0 -0
  38. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/agents/codex/verifier.toml +0 -0
  39. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/config.yaml +0 -0
  40. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/core.yaml +0 -0
  41. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/templates/brain/AGENTS.md +0 -0
  42. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/templates/brain/adr/README.md +0 -0
  43. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/templates/brain/designs/README.md +0 -0
  44. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/templates/brain/docs/README.md +0 -0
  45. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/templates/brain/project.yaml +0 -0
  46. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/resources/templates/gitignore +0 -0
  47. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/skills.py +0 -0
  48. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/subagents.py +0 -0
  49. {dotbrain-0.3.5 → dotbrain-0.4.0}/src/dotbrain/workflows.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: dotbrain
3
- Version: 0.3.5
3
+ Version: 0.4.0
4
4
  Summary: Wires project Brainspaces and skills into coding agents.
5
5
  Project-URL: Homepage, https://github.com/arminzou/dotbrain
6
6
  Project-URL: Repository, https://github.com/arminzou/dotbrain
@@ -61,6 +61,8 @@ Reference for the public `dotbrain` CLI.
61
61
  │ --scope TEXT global | project | all [default: all] │
62
62
  │ --project TEXT Limit project linking to a single Brainspace by │
63
63
  │ name. │
64
+ │ --repo TEXT Checkout to link into (e.g. a linked worktree). │
65
+ │ Requires --project and project scope. │
64
66
  │ --help -h Show this message and exit. │
65
67
  └──────────────────────────────────────────────────────────────────────────────┘
66
68
  ```
@@ -307,6 +309,8 @@ Reference for the public `dotbrain` CLI.
307
309
  │ --target TEXT claude-code | codex | all [default: all] │
308
310
  │ --scope TEXT global | project | all [default: all] │
309
311
  │ --project TEXT limit project scope to one Brainspace by name │
312
+ │ --repo TEXT Checkout to link into (e.g. a linked worktree). │
313
+ │ Requires --project and project scope. │
310
314
  │ --help -h Show this message and exit. │
311
315
  └──────────────────────────────────────────────────────────────────────────────┘
312
316
  ```
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dotbrain"
3
- version = "0.3.5"
3
+ version = "0.4.0"
4
4
  description = "Wires project Brainspaces and skills into coding agents."
5
5
  requires-python = ">=3.11"
6
6
  license = "MIT"
@@ -4,4 +4,4 @@ A testable Python CLI for wiring repos into Brainspaces, seeding Brains, and
4
4
  managing skills. Exposes the workflow commands plus pure path/contract helpers.
5
5
  """
6
6
 
7
- __version__ = "0.3.5"
7
+ __version__ = "0.4.0"
@@ -60,6 +60,8 @@ drives it:
60
60
  available provider/auth, draft-PR authorization, and an explicit `GO` — authorizes only the
61
61
  agreed push of its dedicated branch and creation of a draft PR. Merge, deploy, publish,
62
62
  dependency changes, and every other outward action end the loop and go to the human.
63
+ - A review gate is human-owned at close: an agent records the review's closeout and leaves the bead
64
+ open, never closing its own review. Closing is the human's, or `close-design`'s terminal transition.
63
65
  - Automation-handoff / agent-driven loop work runs on a dedicated branch, never directly on
64
66
  `main`; manual turn-by-turn work needs no branch — it is reviewed as it happens.
65
67
  - Beads are the state; the active design doc is the spec. State says where you are, the spec says
@@ -51,9 +51,20 @@ def _is_windows() -> bool:
51
51
 
52
52
 
53
53
  def _defer_install(command: list[str]) -> None:
54
- """Run after this Windows launcher releases its executable lock."""
54
+ """Run detached, after this Windows launcher releases its executable lock.
55
+
56
+ The child must not share this process's console: otherwise its output and
57
+ lifetime bleed into the caller's shell, and the prompt looks hung until the
58
+ install finishes.
59
+ """
60
+ script = f"ping -n 2 127.0.0.1 >NUL & {subprocess.list2cmdline(command)}"
55
61
  subprocess.Popen(
56
- ["cmd", "/c", f"ping -n 2 127.0.0.1 >NUL & {subprocess.list2cmdline(command)}"],
62
+ ["cmd", "/c", script],
63
+ stdin=subprocess.DEVNULL,
64
+ stdout=subprocess.DEVNULL,
65
+ stderr=subprocess.DEVNULL,
66
+ creationflags=getattr(subprocess, "DETACHED_PROCESS", 0)
67
+ | getattr(subprocess, "CREATE_NEW_PROCESS_GROUP", 0),
57
68
  )
58
69
 
59
70
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes