GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Comparing v0.2.1...v0.2.2 · majorcontext/keep

Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: majorcontext/keep
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading

Uh oh!

There was an error while loading. Please reload this page.

base: v0.2.1
Loading
Loading
...
head repository: majorcontext/keep
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading

Uh oh!

There was an error while loading. Please reload this page.

compare: v0.2.2
Loading
Loading
  • 5 commits
  • 10 files changed
  • 2 contributors

Commits on Mar 26, 2026

  1. chore: add Claude Code hooks for formatting, linting, and safety

    Three hooks adopted from the Moat project:
    
    - PostToolUse (Edit|Write): runs gofmt on .go files after every edit
    - PreToolUse (Bash): blocks direct pushes to main and force pushes
    - PreToolUse (Bash): runs golangci-lint before commits
    
    Each hook has bats tests. Also fixes errcheck lint violations in
    keep_test.go that the new lint hook caught.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    @dpup @claude
    dpup and claude committed Mar 26, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for 56d881f
    • Browse repository at this point
    Copy the full SHA
    56d881f View commit details
    Browse the repository at this point in the history
  2. feat(engine): add ValidateRuleBytes and RuleSet builder

    ValidateRuleBytes([]byte) validates a Keep rule file from raw YAML
    without compiling an engine. Checks YAML structure, field validation,
    and CEL expression compilation. Moat uses this at `moat run` time to
    fail early on invalid rules before container startup.
    
    RuleSet is a programmatic builder for constructing allow/deny policies
    without generating YAML:
    
        rs := keep.NewRuleSet("tools", "enforce")
        rs.Allow("Read", "Glob", "Grep")
        rs.Deny("Bash", "Edit", "Write")
        engine, err := rs.Compile()
    
    Deny takes precedence over Allow for overlapping entries. When an
    allowlist is present, unlisted operations are denied. All options
    (WithMode, WithAuditHook) work with Compile.
    
    Also exposes context.operation in the CEL environment so when clauses
    can reference the operation name. This is a backward-compatible
    addition (DynType context map).
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    @dpup @claude
    dpup and claude committed Mar 26, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for 904f572
    • Browse repository at this point
    Copy the full SHA
    904f572 View commit details
    Browse the repository at this point in the history
  3. feat(cel): expose context.operation in CEL environment

    Adds the call operation name to the CEL context map so when clauses
    can reference it as context.operation. This is a backward-compatible
    addition — the context variable is DynType so new fields are available
    without schema changes.
    
    Used internally by the RuleSet builder to implement allowlist semantics
    via a catch-all deny with when: "!(context.operation in ['op1', 'op2'])".
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    @dpup @claude
    dpup and claude committed Mar 26, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for f3bb492
    • Browse repository at this point
    Copy the full SHA
    f3bb492 View commit details
    Browse the repository at this point in the history
  4. docs: add Moat embedding API response document

    Response for the Moat coding agent covering the full embedding API:
    LoadFromBytes, ValidateRuleBytes, RuleSet builder, WithMode, WithAuditHook.
    Explains design decisions, integration patterns, and what we didn't do.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    @dpup @claude
    dpup and claude committed Mar 26, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for 646e93a
    • Browse repository at this point
    Copy the full SHA
    646e93a View commit details
    Browse the repository at this point in the history
  5. docs: remove moat embedding response from repo

    This document is for external handoff, not part of the codebase.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    @dpup @claude
    dpup and claude committed Mar 26, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for 9c94e07
    • Browse repository at this point
    Copy the full SHA
    9c94e07 View commit details
    Browse the repository at this point in the history
Loading

This comparison is taking too long to generate.

Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.

You can try running this command locally to see the comparison on your machine:
git diff v0.2.1...v0.2.2

Uh oh!

There was an error while loading. Please reload this page.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.