Skip to content
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: danielvm-git/bigpowers
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.91.0
Choose a base ref
...
head repository: danielvm-git/bigpowers
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.91.1
Choose a head ref
  • 3 commits
  • 46 files changed
  • 2 contributors

Commits on Nov 3, 2026

  1. fix(hooks): judge git argv instead of command substrings in guard-git (…

    …#194)
    
    * fix(hooks): judge git argv instead of command substrings in guard-git
    
    * docs(bugs): log #184 and two discovered guard-git defects
    
    * docs(bugs): log guard over-block on push prose
    
    * fix(hooks): compare the guard through evaluateBashCall
    
    The guard-git parity gate compared dangerousGitCommand() (the destructive-argv
    table) against the whole shell hook, so the protected-branch and Conventional
    Commits rules had no TS oracle at all. The fixture also asserted 'allow' for a
    push to protected main, and the harness inherited GIT_BIGPOWERS_LAND, which
    turns the protected-branch block off.
    
    - Export evaluateBashCall(), the pure function the tool_call handler decides
      with, and probe that instead of the argv table alone.
    - Split the force-with-lease fixture row: feature/x allows, main blocks on the
      protected-branch rule.
    - Strip GIT_BIGPOWERS_LAND from the harness environment so the verdict cannot
      depend on the developer's shell.
    
    Refs BUG-2026-11-03-guard-normalize-parity-vacuous.
    Fixes verification-gates red on run 41657748958.
    
    * chore(specs): record the audit and security review for the guard fix
    
    assert-epic-gate release requires a fresh specs/AUDIT_LATEST.md with a
    VERDICT line, and release-branch step 2a requires specs/security/REVIEW.md to
    match the branch diff. Both were absent/stale for this branch, so the release
    gate was red for reasons unrelated to the fix.
    
    - AUDIT_LATEST.md: full audit-code checklist, 2 stated waivers (evaluateBashCall
      length, omp-hooks.ts size — both pre-existing or judged clearer whole).
    - security/REVIEW.md: threat model for a shell-command deny-list, one documented
      medium residual (indirection bypass), no HIGH findings.
    
    Refs BUG-2026-11-03-guard-normalize-parity-vacuous.
    danielvm-git authored Nov 3, 2026
    Configuration menu
    Copy the full SHA
    9532372 View commit details
    Browse the repository at this point in the history
  2. fix(hooks): give each guard fixture row its own branch context (#196)

    The parity gate pinned the TS side to a feature branch (branchFor returned a
    constant) while the shell side read the checkout's real HEAD. Protected-branch
    rules answer differently on main, so the table could only pass off-branch: it
    was green on every PR and went red on the first push to main after the previous
    fix merged.
    
    - Fixture rows may state 'branch:'; the two commit rows are now the SAME command
      with opposite verdicts, one on a feature branch, one on main.
    - The probe takes [{command, branch}] so branchFor answers per row.
    - The harness creates a throwaway repo per distinct branch and runs the shell
      hook in it, so both sides are judged in the same context — no production env
      override (a pinned branch would be a bypass for real agents).
    - (d) adjacent assertions run in a feature repo for the same reason.
    
    Mutation-checked: removing the commit rule from the TS port fails (b) and (c).
    
    Refs BUG-2026-11-03-guard-normalize-branch-context.
    Fixes verification-gates red on main (run 41667688664).
    danielvm-git authored Nov 3, 2026
    Configuration menu
    Copy the full SHA
    5d379df View commit details
    Browse the repository at this point in the history
  3. chore(release): 2.91.1 [skip ci]

    ## [2.91.1](v2.91.0...v2.91.1) (2026-11-03)
    
    ### Bug Fixes
    
    * **hooks:** give each guard fixture row its own branch context ([#196](#196)) ([5d379df](5d379df))
    * **hooks:** judge git argv instead of command substrings in guard-git ([#194](#194)) ([9532372](9532372)), closes [#184](#184)
    semantic-release-bot committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    5b80911 View commit details
    Browse the repository at this point in the history
Loading