Skip to content

chore: update vendor/l3dg3rr submodule to ledgrrr (rebranded upstream)#373

Merged
elasticdotventures merged 6 commits into
mainfrom
chore/update-ledgrrr-submodule-url
May 4, 2026
Merged

chore: update vendor/l3dg3rr submodule to ledgrrr (rebranded upstream)#373
elasticdotventures merged 6 commits into
mainfrom
chore/update-ledgrrr-submodule-url

Conversation

@elasticdotventures

Copy link
Copy Markdown
Owner

Upstream repo at https://github.com/PromptExecution/ledgrrr (formerly l3dg3rr).

…, violation persistence

- Guard violation counter with JSONL persistence (~/.b00t/guard-violations.jsonl)
- 🦨→💩 escalation: Warn→Block when violation_count >= repeat_threshold
- check_guards() auto-persists violations on every match
- K0mmand3rStage guards: pattern = { stage = "pre_parse" } in hive-guards.hive.toml
- parser_stages wired into KmdLine::parse() at 7 phases
- b00t-ast CLI binary: b00t-ast dir <path> [--format json|mcp|counts]
- b00t-py: guard_check, emoji_lookup, register_stage_guard bindings
- KmdLine fields made pub for serde serialization
- Schema datums moved to _b00t_/schema/ (uppercase convention)
- k0mmand3r crate edition 2024, clean lints
- Rust 2024: #![allow]→removed, set_var unsafe wrappers
- b00t_env_backend.py promoted from DESIGN to working Python backend
- Hermes backend symlinked: just hermes-backend-enable
…ite patch

Vendor submodule pointing to PromptExecution/hermes-agent-b00t on
feat/pre-tool-rewrite-hook branch. Contains the get_pre_tool_call_directives()
patch required for b00t guard interposition via Hermes plugin hooks.

Upstream PR: NousResearch/hermes-agent#19305
Internal PR: PromptExecution/hermes-agent-b00t#1
…ventional commits

New hive guards block or warn before git commands reach the shell:
- BLOCK: git checkout main/master — use feature branches
- BLOCK: git push origin main — use PRs instead
- BLOCK: git merge main — use gh pr merge
- WARN: git checkout -b without type/ — use feat/fix/chore/ prefix
- WARN: git commit -m without colon — use Conventional Commits format
- Registered regex_match(cmd, pattern) on Rhai engine in hive.rs
  for future guard pattern matching
- Added 5 SCM guards to hive-guards.hive.toml:
  BLOCK: git checkout main/master, git push origin main, git merge main
  WARN: branch without type/ prefix, commit without conventional format
- All guards use simple cmd.contains() — readable, no escaping hell
- Submodule URL: https://github.com/PromptExecution/l3dg3rr → git@github.com:PromptExecution/ledgrrr
- Submodule pointer: 1ed3b3d → 2168595 (includes PR #80, dashboard-generated-panels-51-rebased)
- Remote changed from HTTPS to SSH for consistent auth
Copilot AI review requested due to automatic review settings May 4, 2026 04:22
@elasticdotventures elasticdotventures merged commit 12af9e7 into main May 4, 2026
5 of 6 checks passed
@elasticdotventures elasticdotventures deleted the chore/update-ledgrrr-submodule-url branch May 4, 2026 04:22

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

Updates the vendored vendor/l3dg3rr submodule configuration to point at the rebranded upstream PromptExecution/ledgrrr, plus minor documentation/config hygiene edits.

Changes:

  • Update .gitmodules to use the new upstream URL for vendor/l3dg3rr (and add a new submodule stanza).
  • Edit _b00t_/learn/rust.md content/metadata.
  • Remove a trailing whitespace-only line from _b00t_/hive-guards.hive.toml.

Reviewed changes

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

File Description
_b00t_/learn/rust.md Documentation updates (currently includes an unresolved merge-conflict marker and a duplicated metadata line).
_b00t_/hive-guards.hive.toml Trims a stray whitespace-only line at EOF.
.gitmodules Points vendor/l3dg3rr at git@github.com:PromptExecution/ledgrrr.git and adds a vendor/hermes-agent-b00t stanza (currently incomplete).

Comment thread _b00t_/learn/rust.md

---
access-control: Implement trust zones and peer permissions as Zanzibar-style relation tuples (user:node relation:can_access object:resource), not ad-hoc enum match. OpenFGA/Auth0 FGA provide existing Rust SDKs. Relation tuples compose naturally across trust zones: zone becomes an object attribute. Use existing std::net types (IpAddr::is_loopback(), is_private()) + url::Host (already in tree) instead of hand-rolled string IP parsing.
<<<<<<< HEAD
Comment thread _b00t_/learn/rust.md

---
Naming is deployment: The l3dg3rr→ledgerr-mcp→ledg3rr→ledgrrr polyseme maps to proto→linux→cloud→windows. A single codebase with platform-suffix builds prevents fork drift. Use the trait system to abstract platform differences (systemd vs docker for WSL, stdio vs gRPC for cloud).
complexity: 6
Comment thread .gitmodules
path = vendor/l3dg3rr
url = https://github.com/PromptExecution/l3dg3rr.git
url = git@github.com:PromptExecution/ledgrrr.git
[submodule "vendor/hermes-agent-b00t"]
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