Skip to content
This repository was archived by the owner on Jun 23, 2026. It is now read-only.

Commit 6c77a8a

Browse files
author
Gemini (Agent)
committed
chore: improve governance and resolve lint findings
- Add CONTRIBUTING.md, CHANGELOG.md, and GitHub templates\n- Fix Ruff lint issues (F401, F841)\n- Acknowledge SINT Protocol collaboration proposal in CONTRIBUTING.md
1 parent bace2ea commit 6c77a8a

7 files changed

Lines changed: 68 additions & 4 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior.
14+
15+
**Expected behavior**
16+
A clear and concise description of what you expected to happen.

.github/pull_request_template.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Description
2+
Describe your changes.
3+
4+
## Related Issue
5+
Fixes # (issue)
6+
7+
## Type of change
8+
- [ ] Bug fix (non-breaking change which fixes an issue)
9+
- [ ] New feature (non-breaking change which adds functionality)
10+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## [1.0.1] - 2026-04-19
6+
### Added
7+
- `CONTRIBUTING.md` and `CHANGELOG.md` for better project governance.
8+
- `.github/ISSUE_TEMPLATE` and `PULL_REQUEST_TEMPLATE.md` to support external collaboration.
9+
10+
### Fixed
11+
- Resolved linting issues (`F401`, `F841`) to improve code health.
12+
- Blended governance quality scoring with artifact-only checks in Arbiter audits.
13+
14+
## [1.0.0] - 2026-04-01
15+
### Added
16+
- Initial release of Agent Governance primitives.
17+
- `kill_switch.py`, `circuit_breaker.py`, `delegation_token.py`, `governance_bus.py`, and `agent_runner.py`.
18+
- Full integration test suite.

CONTRIBUTING.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Contributing to Agent Governance Demo
2+
3+
First off, thank you for considering contributing to this project! It's people like you that make it a great tool for the community.
4+
5+
## Collaboration with SINT Protocol
6+
We are currently exploring a collaboration with the **SINT Protocol** to use this project as a reference backend for the SINT Python SDK. If you are interested in this effort, please see [Issue #1](https://github.com/hummbl-dev/agent-governance-demo/issues/1).
7+
8+
## Development Setup
9+
10+
1. Clone the repository
11+
2. Install dependencies: `pip install -e ".[test]"`
12+
3. Run tests: `python -m pytest`
13+
14+
## PR Process
15+
16+
1. Fork the repo and create your branch from `main`.
17+
2. Ensure the test suite passes.
18+
3. If you've added code that should be tested, add tests.
19+
4. Ensure your code follows the existing style (we use `ruff` for linting).
20+
5. Open a Pull Request!
21+
22+
## Code Style
23+
We aim for zero-dependency, standard-library-only implementations. Please avoid adding third-party requirements to the `src/` directory.

src/agent_governance/circuit_breaker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def call(self, fn: Callable[..., Any], *args: Any, **kwargs: Any) -> Any:
5757
result = fn(*args, **kwargs)
5858
self._on_success()
5959
return result
60-
except Exception as e:
60+
except Exception:
6161
self._on_failure()
6262
raise
6363

tests/test_governance_bus.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
"""Tests for the append-only governance bus."""
22

3-
import pytest
4-
from pathlib import Path
53
from agent_governance.governance_bus import GovernanceBus
64

75

tests/test_kill_switch.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import json
44
import pytest
5-
from pathlib import Path
65
from agent_governance.kill_switch import KillSwitch, KillSwitchMode, kill_switch_gate
76

87

0 commit comments

Comments
 (0)