Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Tamper-evident gate log + resource-budget gate kind

Open
#33 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
devtools, security

Research direction

Start by inspecting .chock/log/gate-events.jsonl and how the existing gate kinds record and evaluate decisions. The issue proposes both a tamper-evident hash chain and a rate_limit gate, with the latter relying on the former; done means both capabilities are implemented and the budget gate can enforce an operation count within a time window.

Written by the indexing model from the issue text.

Description

roadmap

Two related upgrades to the evidence-and-limits story

1. Hash-chain the gate event log. .chock/log/gate-events.jsonl records every gate decision, but nothing makes it tamper-evident — an entry can be edited or deleted silently. Chaining each entry to the hash of the previous one (and periodically anchoring the head hash in a commit) turns the log into auditable evidence at near-zero cost. This closes the repudiation gap the threat-intel baseline tracks: the mechanism exists, the auditable claim about it does not.

2. A resource-budget gate kind. The baseline's resource-overload threat (runaway loops, cost blowups) is currently marked not-expressible: no gate kind can say 'no more than N of this operation per hour'. A declarative rate_limit gate kind (op pattern + count + window, evaluated against the hash-chained log above — which is what makes the counter trustworthy) would make circuit-breakers a policy an adopter can install rather than infrastructure they must build.

The two compose: the budget gate is only as honest as the log it counts, which is why the chain comes first.

Dominant language
Python
Stars
8
Forks
1
Avg merge
2h 48m
Merged PRs (30d)
114

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from open-coder-ai/chock

All issues in open-coder-ai/chock

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.