gramps-web-toolkit 0.2.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 (196) hide show
  1. gramps_web_toolkit-0.2.0/.agents/skills/beads/SKILL.md +80 -0
  2. gramps_web_toolkit-0.2.0/.agents/skills/beads/agents/openai.yaml +4 -0
  3. gramps_web_toolkit-0.2.0/.beads/.gitignore +82 -0
  4. gramps_web_toolkit-0.2.0/.beads/README.md +81 -0
  5. gramps_web_toolkit-0.2.0/.beads/config.yaml +69 -0
  6. gramps_web_toolkit-0.2.0/.beads/hooks/commit-msg +32 -0
  7. gramps_web_toolkit-0.2.0/.beads/hooks/post-checkout +33 -0
  8. gramps_web_toolkit-0.2.0/.beads/hooks/post-merge +33 -0
  9. gramps_web_toolkit-0.2.0/.beads/hooks/pre-commit +33 -0
  10. gramps_web_toolkit-0.2.0/.beads/hooks/pre-push +33 -0
  11. gramps_web_toolkit-0.2.0/.beads/hooks/prepare-commit-msg +33 -0
  12. gramps_web_toolkit-0.2.0/.beads/metadata.json +7 -0
  13. gramps_web_toolkit-0.2.0/.claude/settings.json +15 -0
  14. gramps_web_toolkit-0.2.0/.coderabbit.yaml +35 -0
  15. gramps_web_toolkit-0.2.0/.codex/config.toml +2 -0
  16. gramps_web_toolkit-0.2.0/.codex/hooks.json +51 -0
  17. gramps_web_toolkit-0.2.0/.github/FUNDING.yml +4 -0
  18. gramps_web_toolkit-0.2.0/.github/ISSUE_TEMPLATE/bug.yml +40 -0
  19. gramps_web_toolkit-0.2.0/.github/ISSUE_TEMPLATE/capability.yml +38 -0
  20. gramps_web_toolkit-0.2.0/.github/ISSUE_TEMPLATE/config.yml +8 -0
  21. gramps_web_toolkit-0.2.0/.github/dependabot.yml +39 -0
  22. gramps_web_toolkit-0.2.0/.github/pull_request_template.md +22 -0
  23. gramps_web_toolkit-0.2.0/.github/scripts/check_wheel.sh +32 -0
  24. gramps_web_toolkit-0.2.0/.github/scripts/run_tests.py +178 -0
  25. gramps_web_toolkit-0.2.0/.github/workflows/ci.yml +63 -0
  26. gramps_web_toolkit-0.2.0/.github/workflows/docs.yml +96 -0
  27. gramps_web_toolkit-0.2.0/.github/workflows/release.yml +136 -0
  28. gramps_web_toolkit-0.2.0/.github/workflows/stale.yml +25 -0
  29. gramps_web_toolkit-0.2.0/.gitignore +21 -0
  30. gramps_web_toolkit-0.2.0/AGENTS.md +63 -0
  31. gramps_web_toolkit-0.2.0/CHANGELOG.md +59 -0
  32. gramps_web_toolkit-0.2.0/CLAUDE.md +1 -0
  33. gramps_web_toolkit-0.2.0/CONTRIBUTING.md +50 -0
  34. gramps_web_toolkit-0.2.0/LICENSE +675 -0
  35. gramps_web_toolkit-0.2.0/PKG-INFO +89 -0
  36. gramps_web_toolkit-0.2.0/README.md +68 -0
  37. gramps_web_toolkit-0.2.0/SECURITY.md +13 -0
  38. gramps_web_toolkit-0.2.0/apply/.gitignore +2 -0
  39. gramps_web_toolkit-0.2.0/apply/bench/run.py +50 -0
  40. gramps_web_toolkit-0.2.0/apply/bench/synth.py +153 -0
  41. gramps_web_toolkit-0.2.0/apply/conftest.py +1 -0
  42. gramps_web_toolkit-0.2.0/apply/gwt_apply/__init__.py +15 -0
  43. gramps_web_toolkit-0.2.0/apply/gwt_apply/__main__.py +3 -0
  44. gramps_web_toolkit-0.2.0/apply/gwt_apply/cli.py +391 -0
  45. gramps_web_toolkit-0.2.0/apply/gwt_apply/client.py +515 -0
  46. gramps_web_toolkit-0.2.0/apply/gwt_apply/dates.py +131 -0
  47. gramps_web_toolkit-0.2.0/apply/gwt_apply/dupes.py +250 -0
  48. gramps_web_toolkit-0.2.0/apply/gwt_apply/lock.py +138 -0
  49. gramps_web_toolkit-0.2.0/apply/gwt_apply/ops.py +1851 -0
  50. gramps_web_toolkit-0.2.0/apply/gwt_apply/revert.py +394 -0
  51. gramps_web_toolkit-0.2.0/apply/gwt_apply/snapshot.py +122 -0
  52. gramps_web_toolkit-0.2.0/apply/mutants.txt +67 -0
  53. gramps_web_toolkit-0.2.0/apply/tests/fake_api.py +226 -0
  54. gramps_web_toolkit-0.2.0/apply/tests/test_apply.py +3276 -0
  55. gramps_web_toolkit-0.2.0/check/ci-extra.sh +4 -0
  56. gramps_web_toolkit-0.2.0/check/conftest.py +1 -0
  57. gramps_web_toolkit-0.2.0/check/gwt-check +5 -0
  58. gramps_web_toolkit-0.2.0/check/gwt_check/__init__.py +15 -0
  59. gramps_web_toolkit-0.2.0/check/gwt_check/__main__.py +3 -0
  60. gramps_web_toolkit-0.2.0/check/gwt_check/checks.py +780 -0
  61. gramps_web_toolkit-0.2.0/check/gwt_check/cli.py +441 -0
  62. gramps_web_toolkit-0.2.0/check/gwt_check/client.py +235 -0
  63. gramps_web_toolkit-0.2.0/check/gwt_check/compare.py +105 -0
  64. gramps_web_toolkit-0.2.0/check/gwt_check/dates.py +117 -0
  65. gramps_web_toolkit-0.2.0/check/gwt_check/fill.py +117 -0
  66. gramps_web_toolkit-0.2.0/check/gwt_check/repos.py +56 -0
  67. gramps_web_toolkit-0.2.0/check/gwt_check/selftest.py +601 -0
  68. gramps_web_toolkit-0.2.0/check/gwt_check/tree.py +183 -0
  69. gramps_web_toolkit-0.2.0/check/tests/test_check.py +1237 -0
  70. gramps_web_toolkit-0.2.0/check/tests/test_dates.py +368 -0
  71. gramps_web_toolkit-0.2.0/check/tests/test_fill.py +190 -0
  72. gramps_web_toolkit-0.2.0/core/gwt_core/__init__.py +4 -0
  73. gramps_web_toolkit-0.2.0/core/gwt_core/cli.py +64 -0
  74. gramps_web_toolkit-0.2.0/core/gwt_core/version.py +39 -0
  75. gramps_web_toolkit-0.2.0/core/test_gwt_core.py +86 -0
  76. gramps_web_toolkit-0.2.0/docs/agent-loop.md +114 -0
  77. gramps_web_toolkit-0.2.0/docs/apply.md +386 -0
  78. gramps_web_toolkit-0.2.0/docs/check.md +192 -0
  79. gramps_web_toolkit-0.2.0/docs/development.md +57 -0
  80. gramps_web_toolkit-0.2.0/docs/fetch.md +126 -0
  81. gramps_web_toolkit-0.2.0/docs/fscache.md +84 -0
  82. gramps_web_toolkit-0.2.0/docs/gate.md +103 -0
  83. gramps_web_toolkit-0.2.0/docs/getting-started.md +108 -0
  84. gramps_web_toolkit-0.2.0/docs/hard-won.md +358 -0
  85. gramps_web_toolkit-0.2.0/docs/images/banner.svg +1 -0
  86. gramps_web_toolkit-0.2.0/docs/images/icon.svg +1 -0
  87. gramps_web_toolkit-0.2.0/docs/images/logo.svg +1 -0
  88. gramps_web_toolkit-0.2.0/docs/images/social-preview.png +0 -0
  89. gramps_web_toolkit-0.2.0/docs/import-excel.md +47 -0
  90. gramps_web_toolkit-0.2.0/docs/index.md +88 -0
  91. gramps_web_toolkit-0.2.0/docs/leads.md +78 -0
  92. gramps_web_toolkit-0.2.0/docs/ledger.md +117 -0
  93. gramps_web_toolkit-0.2.0/docs/myheritage.md +193 -0
  94. gramps_web_toolkit-0.2.0/docs/ocr-bench.md +106 -0
  95. gramps_web_toolkit-0.2.0/docs/pipeline.md +167 -0
  96. gramps_web_toolkit-0.2.0/docs/queue.md +71 -0
  97. gramps_web_toolkit-0.2.0/docs/rank.md +77 -0
  98. gramps_web_toolkit-0.2.0/docs/rawstore.md +76 -0
  99. gramps_web_toolkit-0.2.0/docs/read.md +163 -0
  100. gramps_web_toolkit-0.2.0/docs/requirements-docs.txt +1 -0
  101. gramps_web_toolkit-0.2.0/docs/spanish-poller.md +95 -0
  102. gramps_web_toolkit-0.2.0/docs/stylesheets/theme.css +68 -0
  103. gramps_web_toolkit-0.2.0/examples/README.md +31 -0
  104. gramps_web_toolkit-0.2.0/examples/changes-fixed.jsonl +8 -0
  105. gramps_web_toolkit-0.2.0/examples/changes.jsonl +9 -0
  106. gramps_web_toolkit-0.2.0/examples/demo.sh +47 -0
  107. gramps_web_toolkit-0.2.0/examples/make_example.py +110 -0
  108. gramps_web_toolkit-0.2.0/examples/tree.json.gz +0 -0
  109. gramps_web_toolkit-0.2.0/fetch/conftest.py +1 -0
  110. gramps_web_toolkit-0.2.0/fetch/gwt-fetch +5 -0
  111. gramps_web_toolkit-0.2.0/fetch/gwt_fetch/__init__.py +2 -0
  112. gramps_web_toolkit-0.2.0/fetch/gwt_fetch/__main__.py +5 -0
  113. gramps_web_toolkit-0.2.0/fetch/gwt_fetch/cli.py +77 -0
  114. gramps_web_toolkit-0.2.0/fetch/gwt_fetch/digibib.py +76 -0
  115. gramps_web_toolkit-0.2.0/fetch/gwt_fetch/europeana.py +74 -0
  116. gramps_web_toolkit-0.2.0/fetch/gwt_fetch/gazeta.py +133 -0
  117. gramps_web_toolkit-0.2.0/fetch/gwt_fetch/geo.py +51 -0
  118. gramps_web_toolkit-0.2.0/fetch/gwt_fetch/iiif.py +170 -0
  119. gramps_web_toolkit-0.2.0/fetch/gwt_fetch/net.py +71 -0
  120. gramps_web_toolkit-0.2.0/fetch/gwt_fetch/store.py +93 -0
  121. gramps_web_toolkit-0.2.0/fetch/tests/test_fetch.py +320 -0
  122. gramps_web_toolkit-0.2.0/fscache/gwt-fscache +5 -0
  123. gramps_web_toolkit-0.2.0/fscache/gwt_fscache.py +200 -0
  124. gramps_web_toolkit-0.2.0/fscache/test_gwt_fscache.py +177 -0
  125. gramps_web_toolkit-0.2.0/gate/gwt-gate +5 -0
  126. gramps_web_toolkit-0.2.0/gate/gwt_gate.py +234 -0
  127. gramps_web_toolkit-0.2.0/gate/test_gwt_gate.py +244 -0
  128. gramps_web_toolkit-0.2.0/importxl/gwt-import-excel +5 -0
  129. gramps_web_toolkit-0.2.0/importxl/gwt_import_excel.py +540 -0
  130. gramps_web_toolkit-0.2.0/importxl/test_end_to_end.py +129 -0
  131. gramps_web_toolkit-0.2.0/importxl/test_gwt_import_excel.py +510 -0
  132. gramps_web_toolkit-0.2.0/leads/gwt-leads +5 -0
  133. gramps_web_toolkit-0.2.0/leads/gwt_leads.py +469 -0
  134. gramps_web_toolkit-0.2.0/leads/test_gwt_leads.py +530 -0
  135. gramps_web_toolkit-0.2.0/ledger/gwt-ledger +5 -0
  136. gramps_web_toolkit-0.2.0/ledger/gwt_ledger.py +237 -0
  137. gramps_web_toolkit-0.2.0/ledger/test_gwt_ledger.py +316 -0
  138. gramps_web_toolkit-0.2.0/mkdocs.yml +153 -0
  139. gramps_web_toolkit-0.2.0/myheritage/fixtures/catalog.html +6 -0
  140. gramps_web_toolkit-0.2.0/myheritage/fixtures/graphql_basic.json +228 -0
  141. gramps_web_toolkit-0.2.0/myheritage/fixtures/graphql_oldnews.json +98 -0
  142. gramps_web_toolkit-0.2.0/myheritage/fixtures/graphql_paid.json +93 -0
  143. gramps_web_toolkit-0.2.0/myheritage/fixtures/imperva.html +1 -0
  144. gramps_web_toolkit-0.2.0/myheritage/fixtures/imperva_es.html +1 -0
  145. gramps_web_toolkit-0.2.0/myheritage/fixtures/lockout_es.html +1 -0
  146. gramps_web_toolkit-0.2.0/myheritage/fixtures/login_wall.html +1 -0
  147. gramps_web_toolkit-0.2.0/myheritage/fixtures/matches_es.txt +18 -0
  148. gramps_web_toolkit-0.2.0/myheritage/fixtures/paywall_final_url.txt +1 -0
  149. gramps_web_toolkit-0.2.0/myheritage/fixtures/record_en.html +25 -0
  150. gramps_web_toolkit-0.2.0/myheritage/fixtures/record_es.html +27 -0
  151. gramps_web_toolkit-0.2.0/myheritage/fixtures/record_es.txt +24 -0
  152. gramps_web_toolkit-0.2.0/myheritage/fixtures/tiny.jpg +0 -0
  153. gramps_web_toolkit-0.2.0/myheritage/fixtures/tiny.png +0 -0
  154. gramps_web_toolkit-0.2.0/myheritage/gwt-mh +434 -0
  155. gramps_web_toolkit-0.2.0/myheritage/gwt_mh.py +875 -0
  156. gramps_web_toolkit-0.2.0/myheritage/gwt_mh_browser.py +299 -0
  157. gramps_web_toolkit-0.2.0/myheritage/test_gwt_mh.py +869 -0
  158. gramps_web_toolkit-0.2.0/ocr-bench/engines/_common.py +107 -0
  159. gramps_web_toolkit-0.2.0/ocr-bench/engines/doctr_ocr.py +32 -0
  160. gramps_web_toolkit-0.2.0/ocr-bench/engines/kraken_htr.py +39 -0
  161. gramps_web_toolkit-0.2.0/ocr-bench/engines/llm_cli.sh +28 -0
  162. gramps_web_toolkit-0.2.0/ocr-bench/engines/paddle_ocr.py +20 -0
  163. gramps_web_toolkit-0.2.0/ocr-bench/engines/surya_ocr.py +32 -0
  164. gramps_web_toolkit-0.2.0/ocr-bench/engines/tesseract.py +18 -0
  165. gramps_web_toolkit-0.2.0/ocr-bench/engines/trocr.py +55 -0
  166. gramps_web_toolkit-0.2.0/ocr-bench/run.sh +42 -0
  167. gramps_web_toolkit-0.2.0/ocr-bench/samples/.gitignore +2 -0
  168. gramps_web_toolkit-0.2.0/ocr-bench/samples/fetch.sh +22 -0
  169. gramps_web_toolkit-0.2.0/ocr-bench/samples/ref/gaceta-1885-01-01-p3.txt +10 -0
  170. gramps_web_toolkit-0.2.0/ocr-bench/samples/ref/murillo-1618-bautismo.txt +8 -0
  171. gramps_web_toolkit-0.2.0/ocr-bench/score.py +220 -0
  172. gramps_web_toolkit-0.2.0/ocr-bench/setup.sh +70 -0
  173. gramps_web_toolkit-0.2.0/ocr-bench/stage.py +30 -0
  174. gramps_web_toolkit-0.2.0/pyproject.toml +73 -0
  175. gramps_web_toolkit-0.2.0/queue/gwt-queue +5 -0
  176. gramps_web_toolkit-0.2.0/queue/gwt_queue.py +523 -0
  177. gramps_web_toolkit-0.2.0/queue/test_gwt_queue.py +552 -0
  178. gramps_web_toolkit-0.2.0/rank/gwt-rank +5 -0
  179. gramps_web_toolkit-0.2.0/rank/gwt_rank.py +438 -0
  180. gramps_web_toolkit-0.2.0/rank/test_gwt_rank.py +302 -0
  181. gramps_web_toolkit-0.2.0/rawstore/gwt-rawstore +5 -0
  182. gramps_web_toolkit-0.2.0/rawstore/gwt_rawstore.py +447 -0
  183. gramps_web_toolkit-0.2.0/rawstore/pre-commit +3 -0
  184. gramps_web_toolkit-0.2.0/rawstore/test_gwt_rawstore.py +275 -0
  185. gramps_web_toolkit-0.2.0/read/fixtures/pares-record.html +51 -0
  186. gramps_web_toolkit-0.2.0/read/fixtures/pares-search.html +40 -0
  187. gramps_web_toolkit-0.2.0/read/gwt-read +5 -0
  188. gramps_web_toolkit-0.2.0/read/gwt_pares.py +123 -0
  189. gramps_web_toolkit-0.2.0/read/gwt_read.py +324 -0
  190. gramps_web_toolkit-0.2.0/read/gwt_reader.py +287 -0
  191. gramps_web_toolkit-0.2.0/read/test_gwt_pares.py +179 -0
  192. gramps_web_toolkit-0.2.0/read/test_gwt_read.py +344 -0
  193. gramps_web_toolkit-0.2.0/spanish-poller/gwt-spanish-poller +4 -0
  194. gramps_web_toolkit-0.2.0/spanish-poller/gwt_spanish_poller.js +697 -0
  195. gramps_web_toolkit-0.2.0/spanish-poller/package.json +10 -0
  196. gramps_web_toolkit-0.2.0/spanish-poller/test/spanish-poller.test.js +92 -0
@@ -0,0 +1,80 @@
1
+ ---
2
+ name: beads
3
+ description: Use when working in a repository that uses bd or Beads for durable project task tracking, issue dependencies, blocker management, multi-session handoff, or shared work memory. Trigger when the user asks to find ready work, claim or close tasks, create follow-up work, inspect blockers, recover project context, or choose between local planning and persistent project tracking.
4
+ ---
5
+
6
+ # Beads
7
+
8
+ Use Beads as the shared project task system. Local plans, scratch files, and personal memories are useful, but they are not the durable source of truth for project work.
9
+
10
+ ## First Step
11
+
12
+ Run:
13
+
14
+ ```bash
15
+ bd prime
16
+ ```
17
+
18
+ If that prints nothing, check whether the repository has an active Beads workspace:
19
+
20
+ ```bash
21
+ bd where
22
+ ```
23
+
24
+ ## Preferred Route
25
+
26
+ Use the `bd` CLI when shell access is available. It is the most compact and direct Beads interface.
27
+
28
+ ## Core CLI Workflow
29
+
30
+ 1. Find work:
31
+
32
+ ```bash
33
+ bd ready
34
+ bd list --status=open
35
+ bd list --status=in_progress
36
+ ```
37
+
38
+ 2. Inspect before editing:
39
+
40
+ ```bash
41
+ bd show <id>
42
+ ```
43
+
44
+ 3. Claim work atomically:
45
+
46
+ ```bash
47
+ bd update <id> --claim
48
+ ```
49
+
50
+ 4. Create durable follow-up work when implementation reveals new tasks:
51
+
52
+ ```bash
53
+ bd create "Short title" --description="Why this exists and what needs to be done" --type=task --priority=2
54
+ ```
55
+
56
+ 5. Close completed work:
57
+
58
+ ```bash
59
+ bd close <id> --reason="Completed"
60
+ ```
61
+
62
+ ## What Belongs In Beads
63
+
64
+ Use Beads for:
65
+
66
+ - shared project tasks
67
+ - blockers and dependencies
68
+ - discovered follow-up work
69
+ - work that must survive thread reset, compaction, or handoff
70
+ - status that another person or agent should be able to resume
71
+
72
+ Use agent-local planning tools only for the current turn's execution checklist. Do not treat them as shared project state.
73
+
74
+ ## Rules
75
+
76
+ - Do not create markdown TODO files as the source of truth when Beads is available.
77
+ - Do not use `bd edit`; it opens an interactive editor. Use `bd update` flags instead.
78
+ - Prefer `--json` when parsing `bd` output programmatically.
79
+ - If hooks are installed, `bd prime` may already be injected. Run it manually when context is missing.
80
+ - Do not auto-close or mutate tasks unless the work is actually complete.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Beads"
3
+ short_description: "Project task tracking with bd"
4
+ default_prompt: "Use $beads to inspect ready work and manage durable project tasks."
@@ -0,0 +1,82 @@
1
+ # Dolt database (managed by Dolt, not git)
2
+ dolt/
3
+ embeddeddolt/
4
+ proxieddb/
5
+
6
+ # Runtime files
7
+ bd.sock
8
+ bd.sock.startlock
9
+ sync-state.json
10
+ last-touched
11
+ .exclusive-lock
12
+
13
+ # Daemon runtime (lock, log, pid)
14
+ daemon.*
15
+
16
+ # Push state (runtime, per-machine)
17
+ push-state.json
18
+
19
+ # Lock files (various runtime locks)
20
+ *.lock
21
+
22
+ # Credential key (encryption key for federation peer auth — never commit)
23
+ .beads-credential-key
24
+
25
+ # Local version tracking (prevents upgrade notification spam after git ops)
26
+ .local_version
27
+
28
+ proxied_server_client_info.json
29
+
30
+ # Worktree redirect file (contains relative path to main repo's .beads/)
31
+ # Must not be committed as paths would be wrong in other clones
32
+ redirect
33
+
34
+ # Sync state (local-only, per-machine)
35
+ # These files are machine-specific and should not be shared across clones
36
+ .sync.lock
37
+ export-state/
38
+ export-state.json
39
+ last_pull
40
+
41
+ # Ephemeral store (SQLite - wisps/molecules, intentionally not versioned)
42
+ ephemeral.sqlite3
43
+ ephemeral.sqlite3-journal
44
+ ephemeral.sqlite3-wal
45
+ ephemeral.sqlite3-shm
46
+
47
+ # Dolt server management (auto-started by bd)
48
+ dolt-server.pid
49
+ dolt-server.log
50
+ dolt-server.lock
51
+ dolt-server.port
52
+ dolt-server.activity
53
+
54
+ # Debug-mode pprof artifacts (written when dolt.debug: true in config.yaml)
55
+ dolt-pprof/
56
+
57
+ # Corrupt backup directories (created by bd doctor --fix recovery)
58
+ *.corrupt.backup/
59
+
60
+ # Backup data (auto-exported JSONL, local-only)
61
+ backup/
62
+
63
+ # Per-project environment file (Dolt connection config, GH#2520)
64
+ .env
65
+
66
+ # Legacy files (from pre-Dolt versions)
67
+ *.db
68
+ *.db?*
69
+ *.db-journal
70
+ *.db-wal
71
+ *.db-shm
72
+ db.sqlite
73
+ bd.db
74
+ # NOTE: Do NOT add negation patterns here.
75
+ # They would override fork protection in .git/info/exclude.
76
+ # Config files (metadata.json, config.yaml) are tracked by git by default
77
+ # since no pattern above ignores them.
78
+
79
+ # Bead data lives in the Dolt tracker only
80
+ issues.jsonl
81
+ interactions.jsonl
82
+ events.jsonl
@@ -0,0 +1,81 @@
1
+ # Beads - AI-Native Issue Tracking
2
+
3
+ Welcome to Beads! This repository uses **Beads** for issue tracking - a modern, AI-native tool designed to live directly in your codebase alongside your code.
4
+
5
+ ## What is Beads?
6
+
7
+ Beads is issue tracking that lives in your repo, making it perfect for AI coding agents and developers who want their issues close to their code. No web UI required - everything works through the CLI and integrates seamlessly with git.
8
+
9
+ **Learn more:** [github.com/steveyegge/beads](https://github.com/steveyegge/beads)
10
+
11
+ ## Quick Start
12
+
13
+ ### Essential Commands
14
+
15
+ ```bash
16
+ # Create new issues
17
+ bd create "Add user authentication"
18
+
19
+ # View all issues
20
+ bd list
21
+
22
+ # View issue details
23
+ bd show <issue-id>
24
+
25
+ # Update issue status
26
+ bd update <issue-id> --claim
27
+ bd update <issue-id> --status done
28
+
29
+ # Sync with Dolt remote
30
+ bd dolt push
31
+ ```
32
+
33
+ ### Working with Issues
34
+
35
+ Issues in Beads are:
36
+ - **Git-native**: Stored in Dolt database with version control and branching
37
+ - **AI-friendly**: CLI-first design works perfectly with AI coding agents
38
+ - **Branch-aware**: Issues can follow your branch workflow
39
+ - **Sync-ready**: Uses Dolt remotes for backup and team sharing
40
+
41
+ ## Why Beads?
42
+
43
+ ✨ **AI-Native Design**
44
+ - Built specifically for AI-assisted development workflows
45
+ - CLI-first interface works seamlessly with AI coding agents
46
+ - No context switching to web UIs
47
+
48
+ 🚀 **Developer Focused**
49
+ - Issues live in your repo, right next to your code
50
+ - Works offline, syncs when you push
51
+ - Fast, lightweight, and stays out of your way
52
+
53
+ 🔧 **Git Integration**
54
+ - Dolt-native sync via bd dolt push / bd dolt pull
55
+ - Branch-aware issue tracking
56
+ - Dolt-native three-way merge resolution
57
+
58
+ ## Get Started with Beads
59
+
60
+ Try Beads in your own projects:
61
+
62
+ ```bash
63
+ # Install Beads
64
+ curl -sSL https://raw.githubusercontent.com/steveyegge/beads/main/scripts/install.sh | bash
65
+
66
+ # Initialize in your repo
67
+ bd init
68
+
69
+ # Create your first issue
70
+ bd create "Try out Beads"
71
+ ```
72
+
73
+ ## Learn More
74
+
75
+ - **Documentation**: [github.com/steveyegge/beads/docs](https://github.com/steveyegge/beads/tree/main/docs)
76
+ - **Quick Start Guide**: Run `bd quickstart`
77
+ - **Examples**: [github.com/steveyegge/beads/examples](https://github.com/steveyegge/beads/tree/main/examples)
78
+
79
+ ---
80
+
81
+ *Beads: Issue tracking that moves at the speed of thought* ⚡
@@ -0,0 +1,69 @@
1
+ # Beads Configuration File
2
+ # This file configures default behavior for all bd commands in this repository
3
+ # All settings can also be set via environment variables (BD_* prefix)
4
+ # or overridden with command-line flags
5
+
6
+ # Issue prefix for this repository (used by bd init)
7
+ # If not set, bd init will auto-detect from directory name
8
+ # Example: issue-prefix: "myproject" creates issues like "myproject-1", "myproject-2", etc.
9
+ # issue-prefix: ""
10
+
11
+ # Use no-db mode: JSONL-only, no Dolt database
12
+ # When true, .beads/issues.jsonl is the only local store
13
+ # no-db: false
14
+
15
+ # Enable JSON output by default
16
+ # json: false
17
+
18
+ # Feedback title formatting for mutating commands (create/update/close/dep/edit)
19
+ # 0 = hide titles, N > 0 = truncate to N characters
20
+ # output:
21
+ # title-length: 255
22
+
23
+ # Default actor for audit trails (overridden by BEADS_ACTOR or --actor)
24
+ # actor: ""
25
+
26
+ # Export events (audit trail) to .beads/events.jsonl on each flush/sync
27
+ # When enabled, new events are appended incrementally using a high-water mark.
28
+ # Use 'bd export --events' to trigger manually regardless of this setting.
29
+ # events-export: false
30
+
31
+ # Multi-repo configuration (experimental - bd-307)
32
+ # Allows hydrating from multiple repositories and routing writes to the correct database
33
+ # repos:
34
+ # primary: "." # Primary repo (where this database lives)
35
+ # additional: # Additional repos to hydrate from (read-only)
36
+ # - ~/beads-planning # Personal planning repo
37
+ # - ~/work-planning # Work planning repo
38
+
39
+ # Dolt-native backup (periodic backup for off-machine recovery)
40
+ # This is full database backup only. Cross-machine sync uses Dolt remotes.
41
+ # backup:
42
+ # enabled: false # Disable auto-backup entirely
43
+ # interval: 15m # Minimum time between auto-backups
44
+ # git-push: false # Disable git push (backup locally only)
45
+ # git-repo: "" # Separate git repo for backups (default: project repo)
46
+
47
+ # Optional JSONL auto-export for viewers, interchange, and issue-level migration.
48
+ # Disabled by default; enable only when an integration needs fresh .beads/issues.jsonl.
49
+ # Use relative paths under .beads/ for JSONL import/export filenames.
50
+ # export:
51
+ # auto: false
52
+ # path: issues.jsonl
53
+ # interval: 60s
54
+ # git-add: false
55
+ # import:
56
+ # path: issues.jsonl
57
+
58
+ # Integration settings (access with 'bd config get/set')
59
+ # Non-secret keys (stored in the database):
60
+ # - jira.url, jira.project
61
+ # - linear.team_id
62
+ # - github.org, github.repo
63
+ #
64
+ # Secret keys (stored in this file but prefer env vars to avoid git exposure):
65
+ # - linear.api_key → use LINEAR_API_KEY env var instead
66
+ # - github.token → use GITHUB_TOKEN env var instead
67
+
68
+ sync.remote: "git+ssh://git@beads-tracker/giteaer/gramps-web-toolkit-beads.git"
69
+ dolt.auto-commit: "on"
@@ -0,0 +1,32 @@
1
+ #!/usr/bin/env sh
2
+ # Every commit in this repository has one author. Clones that point
3
+ # core.hooksPath at .beads/hooks skip the machine-wide git hooks, so this
4
+ # hook does the one job those had here: it removes Co-Authored-By trailer
5
+ # lines from the commit message. A mention inside a sentence is kept.
6
+ #
7
+ # A message without such a line is never touched. Otherwise the cleaned
8
+ # text goes to a fresh file from mktemp, is compared with a second run,
9
+ # and is renamed over the message only when every step worked; on any
10
+ # failure the message stays as it was and the commit stops.
11
+ msg="$1"
12
+ [ -f "$msg" ] || exit 0
13
+ case $msg in -*) msg="./$msg" ;; esac
14
+ found=0
15
+ LC_ALL=C grep -q -i '^[[:space:]]*co-authored-by:' "$msg" || found=$?
16
+ case $found in
17
+ 0) ;;
18
+ 1) exit 0 ;;
19
+ *) echo "commit-msg: cannot read $msg" >&2; exit 1 ;;
20
+ esac
21
+ clean() {
22
+ LC_ALL=C awk 'tolower($0) !~ /^[ \t\r\f\v]*co-authored-by:/ { line[++n] = $0 }
23
+ END { while (n > 0 && line[n] ~ /^[ \t\r\f\v]*$/) n--
24
+ for (i = 1; i <= n; i++) print line[i] }' < "$msg"
25
+ }
26
+ tmp=$(mktemp "$msg.XXXXXX") || { echo "commit-msg: cannot create a temporary file beside $msg" >&2; exit 1; }
27
+ trap 'rm -f "$tmp"' EXIT
28
+ trap 'exit 1' HUP INT TERM
29
+ clean > "$tmp" && clean | cmp -s - "$tmp" || { echo "commit-msg: cannot rewrite $msg" >&2; exit 1; }
30
+ trap '' HUP INT TERM
31
+ mv -f "$tmp" "$msg" || { echo "commit-msg: cannot replace $msg" >&2; exit 1; }
32
+ exit 0
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env sh
2
+ # --- BEGIN BEADS INTEGRATION v1.2.2 ---
3
+ # This section is managed by beads. Do not remove these markers.
4
+ if command -v bd >/dev/null 2>&1; then
5
+ export BD_GIT_HOOK=1
6
+ _bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
7
+ _bd_used_perl=0
8
+ if command -v timeout >/dev/null 2>&1; then
9
+ timeout "$_bd_timeout" bd hooks run post-checkout "$@"
10
+ _bd_exit=$?
11
+ elif command -v gtimeout >/dev/null 2>&1; then
12
+ gtimeout "$_bd_timeout" bd hooks run post-checkout "$@"
13
+ _bd_exit=$?
14
+ elif command -v perl >/dev/null 2>&1; then
15
+ _bd_used_perl=1
16
+ perl -e 'alarm shift; exec @ARGV' "$_bd_timeout" bd hooks run post-checkout "$@"
17
+ _bd_exit=$?
18
+ else
19
+ echo >&2 "beads: hook 'post-checkout' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT"
20
+ bd hooks run post-checkout "$@"
21
+ _bd_exit=$?
22
+ fi
23
+ if [ $_bd_exit -eq 124 ] || { [ $_bd_used_perl -eq 1 ] && [ $_bd_exit -eq 142 ]; }; then
24
+ echo >&2 "beads: hook 'post-checkout' timed out after ${_bd_timeout}s — continuing without beads"
25
+ _bd_exit=0
26
+ fi
27
+ if [ $_bd_exit -eq 3 ]; then
28
+ echo >&2 "beads: database not initialized — skipping hook 'post-checkout'"
29
+ _bd_exit=0
30
+ fi
31
+ if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
32
+ fi
33
+ # --- END BEADS INTEGRATION v1.2.2 ---
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env sh
2
+ # --- BEGIN BEADS INTEGRATION v1.2.2 ---
3
+ # This section is managed by beads. Do not remove these markers.
4
+ if command -v bd >/dev/null 2>&1; then
5
+ export BD_GIT_HOOK=1
6
+ _bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
7
+ _bd_used_perl=0
8
+ if command -v timeout >/dev/null 2>&1; then
9
+ timeout "$_bd_timeout" bd hooks run post-merge "$@"
10
+ _bd_exit=$?
11
+ elif command -v gtimeout >/dev/null 2>&1; then
12
+ gtimeout "$_bd_timeout" bd hooks run post-merge "$@"
13
+ _bd_exit=$?
14
+ elif command -v perl >/dev/null 2>&1; then
15
+ _bd_used_perl=1
16
+ perl -e 'alarm shift; exec @ARGV' "$_bd_timeout" bd hooks run post-merge "$@"
17
+ _bd_exit=$?
18
+ else
19
+ echo >&2 "beads: hook 'post-merge' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT"
20
+ bd hooks run post-merge "$@"
21
+ _bd_exit=$?
22
+ fi
23
+ if [ $_bd_exit -eq 124 ] || { [ $_bd_used_perl -eq 1 ] && [ $_bd_exit -eq 142 ]; }; then
24
+ echo >&2 "beads: hook 'post-merge' timed out after ${_bd_timeout}s — continuing without beads"
25
+ _bd_exit=0
26
+ fi
27
+ if [ $_bd_exit -eq 3 ]; then
28
+ echo >&2 "beads: database not initialized — skipping hook 'post-merge'"
29
+ _bd_exit=0
30
+ fi
31
+ if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
32
+ fi
33
+ # --- END BEADS INTEGRATION v1.2.2 ---
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env sh
2
+ # --- BEGIN BEADS INTEGRATION v1.2.2 ---
3
+ # This section is managed by beads. Do not remove these markers.
4
+ if command -v bd >/dev/null 2>&1; then
5
+ export BD_GIT_HOOK=1
6
+ _bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
7
+ _bd_used_perl=0
8
+ if command -v timeout >/dev/null 2>&1; then
9
+ timeout "$_bd_timeout" bd hooks run pre-commit "$@"
10
+ _bd_exit=$?
11
+ elif command -v gtimeout >/dev/null 2>&1; then
12
+ gtimeout "$_bd_timeout" bd hooks run pre-commit "$@"
13
+ _bd_exit=$?
14
+ elif command -v perl >/dev/null 2>&1; then
15
+ _bd_used_perl=1
16
+ perl -e 'alarm shift; exec @ARGV' "$_bd_timeout" bd hooks run pre-commit "$@"
17
+ _bd_exit=$?
18
+ else
19
+ echo >&2 "beads: hook 'pre-commit' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT"
20
+ bd hooks run pre-commit "$@"
21
+ _bd_exit=$?
22
+ fi
23
+ if [ $_bd_exit -eq 124 ] || { [ $_bd_used_perl -eq 1 ] && [ $_bd_exit -eq 142 ]; }; then
24
+ echo >&2 "beads: hook 'pre-commit' timed out after ${_bd_timeout}s — continuing without beads"
25
+ _bd_exit=0
26
+ fi
27
+ if [ $_bd_exit -eq 3 ]; then
28
+ echo >&2 "beads: database not initialized — skipping hook 'pre-commit'"
29
+ _bd_exit=0
30
+ fi
31
+ if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
32
+ fi
33
+ # --- END BEADS INTEGRATION v1.2.2 ---
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env sh
2
+ # --- BEGIN BEADS INTEGRATION v1.2.2 ---
3
+ # This section is managed by beads. Do not remove these markers.
4
+ if command -v bd >/dev/null 2>&1; then
5
+ export BD_GIT_HOOK=1
6
+ _bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
7
+ _bd_used_perl=0
8
+ if command -v timeout >/dev/null 2>&1; then
9
+ timeout "$_bd_timeout" bd hooks run pre-push "$@"
10
+ _bd_exit=$?
11
+ elif command -v gtimeout >/dev/null 2>&1; then
12
+ gtimeout "$_bd_timeout" bd hooks run pre-push "$@"
13
+ _bd_exit=$?
14
+ elif command -v perl >/dev/null 2>&1; then
15
+ _bd_used_perl=1
16
+ perl -e 'alarm shift; exec @ARGV' "$_bd_timeout" bd hooks run pre-push "$@"
17
+ _bd_exit=$?
18
+ else
19
+ echo >&2 "beads: hook 'pre-push' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT"
20
+ bd hooks run pre-push "$@"
21
+ _bd_exit=$?
22
+ fi
23
+ if [ $_bd_exit -eq 124 ] || { [ $_bd_used_perl -eq 1 ] && [ $_bd_exit -eq 142 ]; }; then
24
+ echo >&2 "beads: hook 'pre-push' timed out after ${_bd_timeout}s — continuing without beads"
25
+ _bd_exit=0
26
+ fi
27
+ if [ $_bd_exit -eq 3 ]; then
28
+ echo >&2 "beads: database not initialized — skipping hook 'pre-push'"
29
+ _bd_exit=0
30
+ fi
31
+ if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
32
+ fi
33
+ # --- END BEADS INTEGRATION v1.2.2 ---
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env sh
2
+ # --- BEGIN BEADS INTEGRATION v1.2.2 ---
3
+ # This section is managed by beads. Do not remove these markers.
4
+ if command -v bd >/dev/null 2>&1; then
5
+ export BD_GIT_HOOK=1
6
+ _bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
7
+ _bd_used_perl=0
8
+ if command -v timeout >/dev/null 2>&1; then
9
+ timeout "$_bd_timeout" bd hooks run prepare-commit-msg "$@"
10
+ _bd_exit=$?
11
+ elif command -v gtimeout >/dev/null 2>&1; then
12
+ gtimeout "$_bd_timeout" bd hooks run prepare-commit-msg "$@"
13
+ _bd_exit=$?
14
+ elif command -v perl >/dev/null 2>&1; then
15
+ _bd_used_perl=1
16
+ perl -e 'alarm shift; exec @ARGV' "$_bd_timeout" bd hooks run prepare-commit-msg "$@"
17
+ _bd_exit=$?
18
+ else
19
+ echo >&2 "beads: hook 'prepare-commit-msg' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT"
20
+ bd hooks run prepare-commit-msg "$@"
21
+ _bd_exit=$?
22
+ fi
23
+ if [ $_bd_exit -eq 124 ] || { [ $_bd_used_perl -eq 1 ] && [ $_bd_exit -eq 142 ]; }; then
24
+ echo >&2 "beads: hook 'prepare-commit-msg' timed out after ${_bd_timeout}s — continuing without beads"
25
+ _bd_exit=0
26
+ fi
27
+ if [ $_bd_exit -eq 3 ]; then
28
+ echo >&2 "beads: database not initialized — skipping hook 'prepare-commit-msg'"
29
+ _bd_exit=0
30
+ fi
31
+ if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
32
+ fi
33
+ # --- END BEADS INTEGRATION v1.2.2 ---
@@ -0,0 +1,7 @@
1
+ {
2
+ "database": "dolt",
3
+ "backend": "dolt",
4
+ "dolt_mode": "embedded",
5
+ "dolt_database": "gwt",
6
+ "project_id": "311d72e1-df83-4752-8ffd-20f16e11e7d6"
7
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "hooks": {
3
+ "SessionStart": [
4
+ {
5
+ "hooks": [
6
+ {
7
+ "command": "bd prime --hook-json",
8
+ "type": "command"
9
+ }
10
+ ],
11
+ "matcher": ""
12
+ }
13
+ ]
14
+ }
15
+ }
@@ -0,0 +1,35 @@
1
+ language: en
2
+ reviews:
3
+ profile: assertive
4
+ request_changes_workflow: false
5
+ high_level_summary: true
6
+ poem: false
7
+ review_status: true
8
+ auto_review:
9
+ enabled: true
10
+ drafts: false
11
+ path_filters:
12
+ - "**/*.py"
13
+ - "**/*.js"
14
+ - "**/*.sh"
15
+ - "**/*.md"
16
+ - "**/*.toml"
17
+ - "**/*.json"
18
+ - ".github/**"
19
+ - "fetch/gwt-fetch"
20
+ - "ledger/gwt-ledger"
21
+ - "fscache/gwt-fscache"
22
+ - "rawstore/gwt-rawstore"
23
+ - "spanish-poller/gwt-spanish-poller"
24
+ path_instructions:
25
+ - path: "apply/**"
26
+ instructions: >-
27
+ gwt-apply reads the tree before every write and stays dry-run unless --apply is passed.
28
+ Every reference is resolved to a handle before a write; a Gramps ID never goes into a body.
29
+ - path: "spanish-poller/**"
30
+ instructions: >-
31
+ The Spanish poller only reads: it never accepts or rejects a DEHú notification and never submits
32
+ anything to the sede. Certificate passwords and personal data never reach a log line.
33
+ - path: "**/test*/**"
34
+ instructions: >-
35
+ Test data is invented: no real names, case numbers, tree ids, hosts or accounts.
@@ -0,0 +1,2 @@
1
+ [features]
2
+ hooks = true
@@ -0,0 +1,51 @@
1
+ {
2
+ "hooks": {
3
+ "PostCompact": [
4
+ {
5
+ "hooks": [
6
+ {
7
+ "command": "bd codex-hook PostCompact",
8
+ "statusMessage": "Scheduling Beads context refresh",
9
+ "type": "command"
10
+ }
11
+ ],
12
+ "matcher": "manual|auto"
13
+ }
14
+ ],
15
+ "PreCompact": [
16
+ {
17
+ "hooks": [
18
+ {
19
+ "command": "bd codex-hook PreCompact",
20
+ "statusMessage": "Checking Beads context",
21
+ "type": "command"
22
+ }
23
+ ],
24
+ "matcher": "manual|auto"
25
+ }
26
+ ],
27
+ "SessionStart": [
28
+ {
29
+ "hooks": [
30
+ {
31
+ "command": "bd codex-hook SessionStart",
32
+ "statusMessage": "Loading Beads context",
33
+ "type": "command"
34
+ }
35
+ ],
36
+ "matcher": "startup|resume|clear"
37
+ }
38
+ ],
39
+ "UserPromptSubmit": [
40
+ {
41
+ "hooks": [
42
+ {
43
+ "command": "bd codex-hook UserPromptSubmit",
44
+ "statusMessage": "Refreshing Beads context",
45
+ "type": "command"
46
+ }
47
+ ]
48
+ }
49
+ ]
50
+ }
51
+ }
@@ -0,0 +1,4 @@
1
+ github: geiserx
2
+ patreon: geiser
3
+ buy_me_a_coffee: geiser
4
+ thanks_dev: u/gh/geiserx