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 — fix(plugin-catalog): re-pin provenance-gate to 0.1.3 by simin-yuan · Pull Request #144339 · NousResearch/hermes-agent

Conversation

@simin-yuan

@simin-yuan simin-yuan commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Bumps provenance-gate to 0.1.3 (d8ded75deef198694639d8653c1834a26f3b0372).

Three patterns in claims.py backtracked quadratically. All three are fixed, and each one has a
timing test that runs in a subprocess with a hard timeout.

  • _KEY_VALUE and _TRAILING_PAREN — a long run of whitespace with no separator made them retry
    from every offset; 1 MiB of spaces took 0.67 s and "a" + 1 MiB + "b" did not finish in 30 s.
    Fixed in 0.1.1 with possessive quantifiers (Hermes requires Python >= 3.11); both finish in
    under 5 ms now.
  • _ZH_BRACKETED — six <opener>[^<closer>]*<closer> alternatives with an unbounded middle run, so
    input made only of opening brackets made every start position scan to the end of the string. 40k
    characters took 0.79 s and 160,000 characters took about 12 s. Bounded in 0.1.2; 40k now
    takes 0.008 s.

The only call site passes a slice of at most 120 characters (_WINDOW), so the input that reaches
the gate is unaffected by the third fix: 200,000 random strings of up to 120 characters give
identical results before and after.

0.1.3 adds the timing test for _ZH_BRACKETED and changes no pattern.

Related Issue

No issue. The defects and their fixes live in the plugin repository
(simin-yuan/hermes-provenance-gate, tag v0.1.3); the catalog only needs the pin moved.

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)

Changes Made

  • plugin-catalog/provenance-gate.yaml: sha 8813469d… → d8ded75d…, version 0.1.0 → 0.1.3.
    Nothing else in the file changes.

How to Test

  1. python scripts/validate_plugin_catalog.py plugin-catalog/provenance-gate.yaml → OK: 1 file(s) valid
  2. python scripts/check
  3. In the plugin repository at v0.1.3: python -m pytest tests/test_performance.py -q →
    23 passed in 12.7 s. The same test file run against v0.1.1 fails all three bracket cases
    (160,000 characters took about 12 s).

Checklist

Code

  • I've read the Contributing Guide
  • My commit messages follow Conventional Commits
  • I searched for existing PRs to make sure this isn't a duplicate
  • My PR contains only changes related to this fix (one file, two lines)
  • I've run pytest tests/ -q and all tests pass — N/A: catalog data only, no Python in this repository is touched
  • python scripts/check passes (the blocking lint and code-health checks CI runs)
  • I've added tests for my changes — N/A for a pin; the regression tests ship in the plugin repository
  • I've tested on my platform: Windows 11

Documentation & Housekeeping

  • I've updated relevant documentation — N/A
  • I've updated cli-config.yaml.example if I added/changed config keys — N/A
  • I've updated CONTRIBUTING.md or AGENTS.md if I changed architecture or workflows — N/A
  • I've considered cross-platform impact — N/A (YAML pin)
  • I've updated tool descriptions/schemas if I changed tool behavior — N/A

Sorry, something went wrong.

Uh oh!

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

All reactions
@simin-yuan
feat(plugin-catalog): pin provenance-gate to 0.1.3
dcf034c
0.1.1 fixed two patterns in claims.py that backtracked quadratically on long
runs of whitespace. A later pass over every pattern in the plugin found a
third one, _ZH_BRACKETED, which is unchanged since 0.1.0: input made only of
opening brackets made every start position scan to the end of the string.
0.1.2 bounded those runs; 0.1.3 adds the timing test for it.

The only call site passes a slice of at most 120 characters, so the input that
reaches the gate is unaffected: 200,000 random strings of up to 120 characters
give identical results before and after the change.

Two lines: sha and version.
@simin-yuan
simin-yuan requested a review from a team as a code owner October 25, 2026 07:40
@simin-yuan simin-yuan mentioned this pull request Oct 25, 2026
feat(plugin-catalog): add skill-lineage #142381
Merged
@alt-glitch alt-glitch added cause/upstream A cause outside Hermes that Hermes cannot fully fix: a model provider's outage, policy change, rate comp/plugins Plugin system and bundled plugins P2 Medium — degraded but workaround exists type/bug Something isn't working labels Oct 25, 2026
@teknium1 teknium1 added the ci-reviewed applied to manually approve dangerous changes label Oct 25, 2026
@teknium1
teknium1 merged commit 8bef764 into NousResearch:main Oct 25, 2026
44 checks passed

Uh oh!

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

cause/upstream A cause outside Hermes that Hermes cannot fully fix: a model provider's outage, policy change, rate ci-reviewed applied to manually approve dangerous changes comp/plugins Plugin system and bundled plugins P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

3 participants

@simin-yuan @alt-glitch @teknium1
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.