barony 0.5.1__py3-none-any.whl

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 (75) hide show
  1. baron/__init__.py +10 -0
  2. baron/cli.py +751 -0
  3. baron/clock.py +40 -0
  4. baron/data/capability-rules.v1.yaml +150 -0
  5. baron/data/templates/collab-repo/.github/workflows/lock-guard.yml +80 -0
  6. baron/data/templates/collab-repo/BOOTSTRAP-ADMIN.md +121 -0
  7. baron/data/templates/collab-repo/BOOTSTRAP.md +156 -0
  8. baron/data/templates/collab-repo/CLAUDE.md +36 -0
  9. baron/data/templates/collab-repo/CONVENTIONS.md +146 -0
  10. baron/data/templates/collab-repo/COORDINATION.md +201 -0
  11. baron/data/templates/collab-repo/ORCHESTRATE.md +87 -0
  12. baron/data/templates/collab-repo/PARTICIPATE.md +46 -0
  13. baron/data/templates/collab-repo/QUICKSTART.md +48 -0
  14. baron/data/templates/collab-repo/README.md +27 -0
  15. baron/data/templates/collab-repo/START.md +44 -0
  16. baron/data/templates/collab-repo/_failover-cron-sections/cloud-routine.md +23 -0
  17. baron/data/templates/collab-repo/_failover-cron-sections/gh-actions-cron.md +34 -0
  18. baron/data/templates/collab-repo/_failover-cron-sections/launchd-cron.md +28 -0
  19. baron/data/templates/collab-repo/_failover-cron-sections/systemd-timer.md +33 -0
  20. baron/data/templates/collab-repo/_handoff/README.md +38 -0
  21. baron/data/templates/collab-repo/_handoff/{{DATE}}-bootstrap-to-librarian-genesis.md +38 -0
  22. baron/data/templates/collab-repo/adapters/claude/HYDRATE.md +286 -0
  23. baron/data/templates/collab-repo/adapters/code-puppy/HYDRATE.md +251 -0
  24. baron/data/templates/collab-repo/adapters/generic/HYDRATE.md +181 -0
  25. baron/data/templates/collab-repo/adapters/pydantic-ai/HYDRATE.md +176 -0
  26. baron/data/templates/collab-repo/agents/__AUTONOMOUS_CRON__/AGENT.md +83 -0
  27. baron/data/templates/collab-repo/agents/__AUTONOMOUS_CRON__/persona.yaml +45 -0
  28. baron/data/templates/collab-repo/agents/__AUTONOMOUS_EVENT__/AGENT.md +88 -0
  29. baron/data/templates/collab-repo/agents/__AUTONOMOUS_EVENT__/persona.yaml +43 -0
  30. baron/data/templates/collab-repo/agents/__DEV__/AGENT.md +117 -0
  31. baron/data/templates/collab-repo/agents/__DEV__/persona.yaml +42 -0
  32. baron/data/templates/collab-repo/agents/__MERGER__/AGENT.md +49 -0
  33. baron/data/templates/collab-repo/agents/__MERGER__/persona.yaml +49 -0
  34. baron/data/templates/collab-repo/agents/__REVIEWER__/AGENT.md +49 -0
  35. baron/data/templates/collab-repo/agents/__REVIEWER__/persona.yaml +50 -0
  36. baron/data/templates/collab-repo/agents/librarian/AGENT.md +138 -0
  37. baron/data/templates/collab-repo/agents/librarian/FAILOVER.md +104 -0
  38. baron/data/templates/collab-repo/agents/librarian/persona.yaml +47 -0
  39. baron/data/templates/collab-repo/decisions/README.md +56 -0
  40. baron/data/templates/collab-repo/findings/README.md +32 -0
  41. baron/data/templates/collab-repo/manifest.example.yaml +41 -0
  42. baron/data/templates/collab-repo/wiki/README.md +30 -0
  43. baron/data/templates/collab-repo/wiki/index.md +26 -0
  44. baron/data/templates/collab-repo/wiki/log.md +7 -0
  45. baron/data/templates/collab-repo/workspace-template/AGENTS.md +32 -0
  46. baron/data/templates/collab-repo/workspace-template/CLAUDE.md +30 -0
  47. baron/data/templates/collab-repo/workspace-template/setup.sh +280 -0
  48. baron/data/templates/references/capability-rules.md +52 -0
  49. baron/data/templates/references/capability-vocab.v1.md +101 -0
  50. baron/data/templates/references/manifest.schema.md +128 -0
  51. baron/data/templates/references/persona.schema.md +132 -0
  52. baron/forge/__init__.py +38 -0
  53. baron/forge/base.py +64 -0
  54. baron/forge/github.py +107 -0
  55. baron/frontmatter.py +53 -0
  56. baron/gitutil.py +117 -0
  57. baron/guard.py +573 -0
  58. baron/handoff.py +161 -0
  59. baron/indexer.py +111 -0
  60. baron/ledger.py +120 -0
  61. baron/lock.py +184 -0
  62. baron/rules.py +160 -0
  63. baron/runtimes/__init__.py +54 -0
  64. baron/runtimes/pydantic_ai.py +365 -0
  65. baron/scaffold.py +742 -0
  66. baron/schemas.py +179 -0
  67. baron/status.py +319 -0
  68. baron/templates.py +36 -0
  69. baron/validate.py +268 -0
  70. baron/waivers.py +148 -0
  71. baron/worktree.py +194 -0
  72. barony-0.5.1.dist-info/METADATA +382 -0
  73. barony-0.5.1.dist-info/RECORD +75 -0
  74. barony-0.5.1.dist-info/WHEEL +4 -0
  75. barony-0.5.1.dist-info/entry_points.txt +5 -0
baron/__init__.py ADDED
@@ -0,0 +1,10 @@
1
+ """baron — the Barony collab-repo CLI (Phase 2: conventions -> mechanisms).
2
+
3
+ Design principle (ADR-003): the markdown/git substrate IS the database. baron is a
4
+ disciplined reader/writer over the same human-legible files the personas use
5
+ (manifest.yaml, persona.yaml, findings/index.md, decisions/index.md, _handoff/*.md,
6
+ wiki/status.md). It never introduces another store, and every file it writes stays
7
+ fully human/agent-legible.
8
+ """
9
+
10
+ __version__ = "0.4.0"