Skip to content

hopefully final prep for release - #163

Merged
aspiers merged 3 commits into
mainfrom
release
Mar 3, 2026
Merged

hopefully final prep for release#163
aspiers merged 3 commits into
mainfrom
release

Conversation

@aspiers

@aspiers aspiers commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • New Features

    • Integrated Beads, an AI-native issue tracker embedded in the repository, with Git hook support for workflow automation.
  • Documentation

    • Added Beads README with quick-start commands and core concepts.
    • Updated AGENTS.md with Beads integration guide and AI agent workflow documentation.
  • Chores

    • Added configuration and metadata files for Beads setup.
    • Updated .gitignore with database artifact exclusions.

Copilot AI review requested due to automatic review settings March 3, 2026 19:25
@changeset-bot

changeset-bot Bot commented Mar 3, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 77a51a7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets
Name Type
@hypercerts-org/lexicon Patch

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Mar 3, 2026

Copy link
Copy Markdown

Caution

Review failed

Pull request was closed or merged during review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between eb25a14 and 77a51a7.

📒 Files selected for processing (12)
  • .beads/.gitignore
  • .beads/README.md
  • .beads/config.yaml
  • .beads/hooks/post-checkout
  • .beads/hooks/post-merge
  • .beads/hooks/pre-commit
  • .beads/hooks/pre-push
  • .beads/hooks/prepare-commit-msg
  • .beads/interactions.jsonl
  • .beads/metadata.json
  • .gitignore
  • AGENTS.md
✅ Files skipped from review due to trivial changes (1)
  • AGENTS.md
🚧 Files skipped from review as they are similar to previous changes (8)
  • .beads/hooks/post-merge
  • .beads/.gitignore
  • .beads/config.yaml
  • .beads/hooks/prepare-commit-msg
  • .gitignore
  • .beads/hooks/pre-push
  • .beads/hooks/post-checkout
  • .beads/hooks/pre-commit

📝 Walkthrough

Walkthrough

This change introduces Beads, a Git-native issue tracker system, to the repository. Configuration files, git hooks, metadata, and documentation establish the Beads infrastructure for managing issues directly within the codebase using JSON and Git-based storage.

Changes

Cohort / File(s) Summary
Beads Core Infrastructure
.beads/config.yaml, .beads/metadata.json, .beads/README.md
Added Beads configuration with settings (issue prefix "lex", daemon behavior, sync options), metadata for Dolt backend, and comprehensive documentation covering purpose, quick-start commands, and setup instructions.
Git Hooks Integration
.beads/hooks/post-checkout, .beads/hooks/post-merge, .beads/hooks/pre-commit, .beads/hooks/pre-push, .beads/hooks/prepare-commit-msg
Added five git hook wrapper scripts following a consistent pattern: check for bd CLI availability, set BD_GIT_HOOK=1 environment variable, delegate to Beads hook handler, and propagate exit codes.
Gitignore Patterns
.beads/.gitignore, .gitignore
Added ignore patterns for Dolt-related artifacts (.dolt/, *.db) and per-machine sync state in root .gitignore, plus comprehensive patterns in .beads/.gitignore for Dolt runtime files, ephemeral stores, and legacy database files.
Documentation
AGENTS.md
Added Beads integration documentation block detailing CLI commands (bd create, list, show, update, sync), issue types, priorities, AI agent workflow, auto-sync behavior, and session completion steps with mandatory push operations.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 Beads are woven into git's embrace,
Issues nested in a special place,
Hooks now dance at every stage,
Dolt awaits upon the page,
AI tracks each task with grace!

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Lexicons Styleguide Compliance ⚠️ Warning The pull request includes 22 lexicon files with 6 undocumented style guide violations: 2 definitions lack required descriptions and 4 strongRef properties lack proper lexicon type documentation. Add missing descriptions to contributor and item definitions, and update four StrongRef properties to explicitly document expected lexicon types per style guide requirements.
Title check ❓ Inconclusive The title is vague and generic, using the non-descriptive phrase 'hopefully final prep for release' which does not clearly convey what specific changes are being made in the changeset. Replace with a more specific title that describes the main changes, such as 'Add Beads issue tracker integration and configuration' or 'Set up Beads AI-native issue tracking system'.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Lexicon Documentation Sync ✅ Passed PR changes only include .beads integration files, .gitignore updates, and AGENTS.md modifications—no changes to lexicons, README.md, ERD.puml, or SCHEMAS.md.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the project’s ERD diagrams and adds bd (Beads) repo-level integration/docs for issue tracking, including gitignore and Beads configuration/artifacts as part of “final prep for release”.

Changes:

  • Update ERD.svg and ERD-with-fields.svg to reflect the latest entity model (new entities/relationships/fields shown).
  • Add Beads workflow documentation to AGENTS.md and commit Beads repo scaffolding under .beads/ (config, hooks, readme, metadata).
  • Expand .gitignore to ignore Dolt/DB artifacts created by Beads initialization.

Reviewed changes

Copilot reviewed 12 out of 23 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
ERD.svg Updated ERD diagram export (layout/entities/relationships).
ERD-with-fields.svg Updated ERD-with-fields diagram export (fields + relationships).
AGENTS.md Adds Beads issue-tracking section + “Landing the Plane” workflow.
.gitignore Ignores Dolt/DB artifacts (.dolt/, *.db).
.beads/metadata.json Beads backend metadata (Dolt server mode, DB name).
.beads/config.yaml Beads repo configuration (issue prefix, comments on sync branch, etc.).
.beads/hooks/* Adds Beads-managed hook scripts that delegate to bd hooks run ....
.beads/README.md Adds Beads usage overview/quickstart within repo.
.beads/.gitignore Adds Beads-local ignore rules (SQLite/Dolt runtime artifacts).
.beads/backup/* Commits Beads backup/config/state artifacts generated during init/backup.
.beads/interactions.jsonl Adds an (currently empty) interactions log file under .beads/.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .beads/config.yaml
Comment thread AGENTS.md
Comment thread AGENTS.md
Comment thread .beads/.gitignore
Comment thread .beads/backup/backup_state.json Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (1)
.gitignore (1)

9-11: Consider narrowing the *.db ignore scope.

Line 11 ignores all .db files repo-wide, which can accidentally hide intentional fixtures or migration artifacts outside Beads.

Proposed adjustment
 # Dolt database files (added by bd init)
 .dolt/
-*.db
+.beads/**/*.db
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.gitignore around lines 9 - 11, The repo-wide "*.db" ignore is too broad;
keep the .dolt/ ignore but narrow the "*.db" rule to only target the Beads DB
files (replace "*.db" with a directory-scoped glob for the Beads DB files)
and/or add explicit whitelist negations for intentional fixtures/migrations (for
example add negation patterns to un-ignore fixtures/migration DB files) so only
the intended DB artifacts are ignored while preserving other .db files.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.beads/README.md:
- Around line 62-71: Replace the curl install line that uses "-sSL" with "-fsSL"
so curl will fail on HTTP errors (update the installation command shown as the
curl pipe to bash), and add a brief security note after the install snippet
advising users to inspect the script before running or to use an alternative
installation method (e.g., package manager or manual download) for those who
prefer to review the script first.

In `@AGENTS.md`:
- Around line 297-299: The examples for the bd CLI in the AGENTS.md snippet use
unescaped shell metacharacters (e.g., the placeholder token "bug|feature|task"
and "0-4") that will be interpreted by shells as pipe and glob/range — update
the examples in the "bd create" lines to use safe placeholders or quoting (e.g.,
replace bug|feature|task with a clearly non-shell token like
<type:bug|feature|task> or "bug|feature|task", and make numeric range examples
explicit like "<priority:0-4>" or "0-4" in quotes) so that copying them into a
shell does not execute unintended operators; ensure you update both example
lines containing bd create and preserve the same semantics for the -t and -p
flags (refer to the shown bd create CLI usage).

---

Nitpick comments:
In @.gitignore:
- Around line 9-11: The repo-wide "*.db" ignore is too broad; keep the .dolt/
ignore but narrow the "*.db" rule to only target the Beads DB files (replace
"*.db" with a directory-scoped glob for the Beads DB files) and/or add explicit
whitelist negations for intentional fixtures/migrations (for example add
negation patterns to un-ignore fixtures/migration DB files) so only the intended
DB artifacts are ignored while preserving other .db files.

ℹ️ Review info

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 86713e9 and eb25a14.

⛔ Files ignored due to path filters (4)
  • ERD-with-fields.png is excluded by !**/*.png
  • ERD-with-fields.svg is excluded by !**/*.svg
  • ERD.png is excluded by !**/*.png
  • ERD.svg is excluded by !**/*.svg
📒 Files selected for processing (19)
  • .beads/.gitignore
  • .beads/README.md
  • .beads/backup/backup_state.json
  • .beads/backup/comments.jsonl
  • .beads/backup/config.jsonl
  • .beads/backup/dependencies.jsonl
  • .beads/backup/events.jsonl
  • .beads/backup/issues.jsonl
  • .beads/backup/labels.jsonl
  • .beads/config.yaml
  • .beads/hooks/post-checkout
  • .beads/hooks/post-merge
  • .beads/hooks/pre-commit
  • .beads/hooks/pre-push
  • .beads/hooks/prepare-commit-msg
  • .beads/interactions.jsonl
  • .beads/metadata.json
  • .gitignore
  • AGENTS.md

Comment thread .beads/README.md
Comment thread AGENTS.md
@aspiers
aspiers merged commit 4c0f7ed into main Mar 3, 2026
5 of 6 checks passed
@aspiers
aspiers deleted the release branch March 3, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants