From 384278c438c2131c6c4d3e015cddb304ac466b7f Mon Sep 17 00:00:00 2001 From: Lesk <15115614+Gamebreack@users.noreply.github.com> Date: Sun, 29 Nov 2026 06:25:16 -0300 Subject: [PATCH 01/10] Release v0.1.0: README with diagram and sample, changelog, map status --- AGENTS.md | 2 +- CHANGELOG.md | 19 +++++++------ README.md | 75 +++++++++++++++++++++++++++++++++++++++++++++++----- flow-map.md | 4 +-- 4 files changed, 83 insertions(+), 17 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 0f836fc..3994063 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,6 +1,6 @@ # Abacus — repo rules -This repo holds the `progress-display` Agent Skill (ending status messages with a progress block: a header bar plus a ✓ ● ○ checklist) and a standard-library validator for it. The skill is written but not released yet. +This repo holds the `progress-display` Agent Skill (ending status messages with a progress block: a header bar plus a ✓ ● ○ checklist) and a standard-library validator for it. First release: v0.1.0. ## Hard rules diff --git a/CHANGELOG.md b/CHANGELOG.md index a7ad680..e310ae5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,15 @@ All notable changes to this project are documented here. The format follows [Kee ## [Unreleased] +## [0.1.0] - 2026-11-29 + +First release. + ### Added -- Repository scaffold. -- The `progress-display` skill: when to end a status message with a progress block, the header and checklist format, bar math, and the short-reply case. -- Validator content check `bars`: every example header bar in SKILL.md is 20 cells and matches its done/total and percent, with tests that prove it fails. - -### Changed -- README links to the skill instead of copying its format. -- The `bars` check covers SKILL.md only and rejects a nonzero done count with a zero total, or done above total. -- `flow-map.md` stamp points at the commit that contains the skill. +- **The `progress-display` skill:** ends each status message during multi-step work with a progress block: a header with a 20-cell bar, percent and current state, then a checklist of every item. +- **Validator content check `bars`:** every example header bar in the skill is 20 cells, rounds halves up, and matches its done/total and percent; `0/0` is the only zero-total form. +- **Repository tooling:** standard-library validator (frontmatter, links and the content check) with tests, pre-commit and push hooks (secret scan, `.env` and home-path guards, doc line limits), and a SHA-pinned CI workflow. +- **Docs:** README with a diagram and a sample, `flow-map.md`, CONTRIBUTING, SECURITY and issue and pull request templates. + +[Unreleased]: https://github.com/Gamebreack/Abacus/compare/v0.1.0...HEAD +[0.1.0]: https://github.com/Gamebreack/Abacus/releases/tag/v0.1.0 diff --git a/README.md b/README.md index bc30c65..82e2495 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,83 @@ # Abacus — progress blocks for status messages -Abacus holds `progress-display`, an optional Agent Skill: it makes an agent end its status messages with a progress block, so you always see where the whole job stands. +[![Latest release](https://img.shields.io/github/v/release/Gamebreack/Abacus)](https://github.com/Gamebreack/Abacus/releases) +[![License: MIT](https://img.shields.io/github/license/Gamebreack/Abacus)](LICENSE) +[![Validate](https://github.com/Gamebreack/Abacus/actions/workflows/validate.yml/badge.svg)](https://github.com/Gamebreack/Abacus/actions/workflows/validate.yml) -> **Status: skill written, not released.** `skills/progress-display/SKILL.md` holds the rules. It is not yet wired into `mao-setup`, and nothing here is tagged or released. +Abacus holds `progress-display`, an optional Agent Skill for long, multi-step agent work, where it is easy to lose track of where the whole job stands. The agent ends every status message with a small progress block, so one glance at the bottom of the message tells you how far along things are and what is still open. -## What it does +## What you get -It ends each status message with a block: a header line with a 20-cell bar, then one checklist line per item. The exact format, bar math and short-reply case live in one place, [`skills/progress-display/SKILL.md`](skills/progress-display/SKILL.md); the path through them is drawn in [flow-map.md](flow-map.md). +- **The whole job at a glance**: the full work list, not just the step the agent is on right now. +- **Always in the same place**: the block closes every status message, including ones that ask a question or need your approval. +- **Honest progress**: the block mirrors the real state of the work, so it does not drift or overstate. +- **A stable list**: items keep their order from turn to turn, and changes to the list are called out. +- **Not a tracker**: it never replaces your backlog, issue tracker or plan. +- **Portable**: plain Markdown instructions. No runner, no adapters, no required host, model or service. + +## What it looks like + +A status message opens with the bottom line, then ends with the block. Sample output; the exact format and bar math live in the skill: [SKILL.md](skills/progress-display/SKILL.md#2-format). + +``` +4/7 steps [███████████░░░░░░░░░] 57% · Verifying + ✓ Back up the existing files + ✓ Update the configuration + ✓ Rename the old modules + ✓ Update the docs + ● Run the checks + ○ Record the changes + ○ Open the pull request +``` + +## How it works + +The full flow, checked against the skill: [flow-map.md](flow-map.md). + +```mermaid +%%{init: {"theme":"base","themeVariables":{"fontFamily":"system-ui, -apple-system, Segoe UI, sans-serif","fontSize":"15px","primaryTextColor":"#1b221e","lineColor":"#8a968f","clusterBkg":"transparent","clusterBorder":"#b7c0ba","titleColor":"#5d6962","edgeLabelBackground":"#ffffff"},"flowchart":{"curve":"basis","nodeSpacing":22,"rankSpacing":30,"padding":14,"htmlLabels":true}}}%% +flowchart LR + M["Status message
during multi-step work"] + B["Bottom line
short, comes first"] + H["Header bar
done out of total"] + C["Checklist
every item in the list"] + U["Updated every turn
mirrors the real state"] + + M --> B + B --> H + H --> C + C --> U + %% 5: optional + U -.->|"next message"| M + + classDef p1 fill:#dbe8f6,stroke:#4a7fb5,color:#1b221e + classDef p2 fill:#fbefd2,stroke:#c3962c,color:#1b221e + classDef p3 fill:#d8eee2,stroke:#3f8f68,color:#1b221e + classDef p4 fill:#e7def4,stroke:#7a5aa6,color:#1b221e + class M,B p1 + class H,C p2 + class U p3 + linkStyle 4 stroke:#8a968f,stroke-width:1.5px,stroke-dasharray:2 3 +``` ## Install -The skill follows the [Agent Skills](https://agentskills.io) format: a folder with a `SKILL.md`. Manual install: copy `skills/progress-display/` into the skills folder your agent harness reads. +The skill follows the [Agent Skills](https://agentskills.io) format: a folder with a `SKILL.md`. Put `skills/progress-display/` wherever your host discovers skills, or give `SKILL.md` to an agent directly. + +```bash +git clone https://github.com/Gamebreack/Abacus.git +# then copy or symlink Abacus/skills/progress-display into your host's skills directory +``` ### With MAO -Planned: [multi-agent-orchestration](https://github.com/Gamebreack/multi-agent-orchestration) (MAO) `mao-setup` will offer the skill as an optional y/N install, like its other optional skills. This is not wired into `mao-setup` yet. +[multi-agent-orchestration](https://github.com/Gamebreack/multi-agent-orchestration) (MAO) `mao-setup` offers the skill as an optional y/N install, like its other optional skills, once [PR #17](https://github.com/Gamebreack/multi-agent-orchestration/pull/17) there is merged. Until then, copy it by hand as above. + +It pairs well with `session-modes` ([Janus](https://github.com/Gamebreack/Janus)) and `item-report` ([Herald](https://github.com/Gamebreack/Herald)), but needs neither. + +## Status + +v0.1.0 is the first release. See [CHANGELOG.md](CHANGELOG.md). ## Repository layout diff --git a/flow-map.md b/flow-map.md index 6c9ef2d..55088f1 100644 --- a/flow-map.md +++ b/flow-map.md @@ -4,7 +4,7 @@ The path through the `progress-display` skill, from A (agent has a status to sen Renders on GitHub and claude.ai; VS Code needs a Mermaid extension. -> **Status:** reviewed by a fresh agent; not rendered. Every stage below exists in `skills/progress-display/SKILL.md`. There is no code to run: the skill is instructions the agent follows. Nothing is released, and the skill is not wired into `mao-setup`. +> **Status:** reviewed by a fresh agent; not rendered. Every stage below exists in `skills/progress-display/SKILL.md`. There is no code to run: the skill is instructions the agent follows. First release: v0.1.0. `mao-setup` offers it as an optional skill once that change lands in MAO; until then, installing it is a manual copy. > Lines: solid = exists · red dashed or red band = missing · dotted = optional or read-only · "no code yet" (or "not described") box = missing stage · grey = outside the target · light grey dashed box = side path ## 1. What happens @@ -104,4 +104,4 @@ sequenceDiagram When the flow changes, the map changes in the same PR. -Updated 2026-11-29 · Abacus feature/b01-write-skill 0c04c89 +Updated 2026-11-29 · Abacus main d97cdba From c8898a5ad3ca3ef4fb963cf1fa9bf7dd87242fa8 Mon Sep 17 00:00:00 2001 From: Lesk <15115614+Gamebreack@users.noreply.github.com> Date: Sun, 29 Nov 2026 06:29:34 -0300 Subject: [PATCH 02/10] Release v0.1.0: panel fixes (security policy, README structure, CI credentials) --- .github/workflows/validate.yml | 2 ++ CHANGELOG.md | 2 +- README.md | 12 ++++++------ SECURITY.md | 6 +++++- flow-map.md | 2 +- 5 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 2218e68..4db07e0 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -12,6 +12,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0 + with: + persist-credentials: false - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: python-version: "3.12" diff --git a/CHANGELOG.md b/CHANGELOG.md index e310ae5..a98c648 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ First release. - **The `progress-display` skill:** ends each status message during multi-step work with a progress block: a header with a 20-cell bar, percent and current state, then a checklist of every item. - **Validator content check `bars`:** every example header bar in the skill is 20 cells, rounds halves up, and matches its done/total and percent; `0/0` is the only zero-total form. - **Repository tooling:** standard-library validator (frontmatter, links and the content check) with tests, pre-commit and push hooks (secret scan, `.env` and home-path guards, doc line limits), and a SHA-pinned CI workflow. -- **Docs:** README with a diagram and a sample, `flow-map.md`, CONTRIBUTING, SECURITY and issue and pull request templates. +- **Docs:** README with a diagram and a sample, `flow-map.md`, CONTRIBUTING, SECURITY, the MIT LICENSE, and issue and pull request templates. [Unreleased]: https://github.com/Gamebreack/Abacus/compare/v0.1.0...HEAD [0.1.0]: https://github.com/Gamebreack/Abacus/releases/tag/v0.1.0 diff --git a/README.md b/README.md index 82e2495..226a7d2 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,14 @@ [![License: MIT](https://img.shields.io/github/license/Gamebreack/Abacus)](LICENSE) [![Validate](https://github.com/Gamebreack/Abacus/actions/workflows/validate.yml/badge.svg)](https://github.com/Gamebreack/Abacus/actions/workflows/validate.yml) -Abacus holds `progress-display`, an optional Agent Skill for long, multi-step agent work, where it is easy to lose track of where the whole job stands. The agent ends every status message with a small progress block, so one glance at the bottom of the message tells you how far along things are and what is still open. +Abacus holds `progress-display`, an optional Agent Skill for long, multi-step agent work, where it is easy to lose track of where the whole job stands. During multi-step work the agent ends every status message with a small progress block, so one glance at the bottom of the message tells you how far along things are and what is still open. + +> **Status:** v0.1.0 is the first release. See [CHANGELOG.md](CHANGELOG.md). ## What you get - **The whole job at a glance**: the full work list, not just the step the agent is on right now. -- **Always in the same place**: the block closes every status message, including ones that ask a question or need your approval. +- **Always in the same place**: during multi-step work the block closes every status message, including ones that ask a question or need your approval. - **Honest progress**: the block mirrors the real state of the work, so it does not drift or overstate. - **A stable list**: items keep their order from turn to turn, and changes to the list are called out. - **Not a tracker**: it never replaces your backlog, issue tracker or plan. @@ -53,7 +55,6 @@ flowchart LR classDef p1 fill:#dbe8f6,stroke:#4a7fb5,color:#1b221e classDef p2 fill:#fbefd2,stroke:#c3962c,color:#1b221e classDef p3 fill:#d8eee2,stroke:#3f8f68,color:#1b221e - classDef p4 fill:#e7def4,stroke:#7a5aa6,color:#1b221e class M,B p1 class H,C p2 class U p3 @@ -73,11 +74,10 @@ git clone https://github.com/Gamebreack/Abacus.git [multi-agent-orchestration](https://github.com/Gamebreack/multi-agent-orchestration) (MAO) `mao-setup` offers the skill as an optional y/N install, like its other optional skills, once [PR #17](https://github.com/Gamebreack/multi-agent-orchestration/pull/17) there is merged. Until then, copy it by hand as above. -It pairs well with `session-modes` ([Janus](https://github.com/Gamebreack/Janus)) and `item-report` ([Herald](https://github.com/Gamebreack/Herald)), but needs neither. +## Works well with -## Status +It pairs well with `session-modes` ([Janus](https://github.com/Gamebreack/Janus)) and `item-report` ([Herald](https://github.com/Gamebreack/Herald)), but needs neither. -v0.1.0 is the first release. See [CHANGELOG.md](CHANGELOG.md). ## Repository layout diff --git a/SECURITY.md b/SECURITY.md index e51f68d..01b816d 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,7 +2,11 @@ ## Supported versions -Nothing is released yet. Once a release exists, only the latest minor release receives fixes. +| Version | Supported | +|---|---| +| 0.1.x | yes | + +Only the latest minor release receives fixes. ## Reporting a vulnerability diff --git a/flow-map.md b/flow-map.md index 55088f1..22cadf5 100644 --- a/flow-map.md +++ b/flow-map.md @@ -4,7 +4,7 @@ The path through the `progress-display` skill, from A (agent has a status to sen Renders on GitHub and claude.ai; VS Code needs a Mermaid extension. -> **Status:** reviewed by a fresh agent; not rendered. Every stage below exists in `skills/progress-display/SKILL.md`. There is no code to run: the skill is instructions the agent follows. First release: v0.1.0. `mao-setup` offers it as an optional skill once that change lands in MAO; until then, installing it is a manual copy. +> **Status:** reviewed by a fresh agent; not rendered. Every stage below exists in `skills/progress-display/SKILL.md`. First release: v0.1.0. `mao-setup` offers it as an optional skill once that change lands in MAO; until then, installing it is a manual copy. > Lines: solid = exists · red dashed or red band = missing · dotted = optional or read-only · "no code yet" (or "not described") box = missing stage · grey = outside the target · light grey dashed box = side path ## 1. What happens From b96400c86f58b67042846f051f9818148fe2fd5b Mon Sep 17 00:00:00 2001 From: Lesk <15115614+Gamebreack@users.noreply.github.com> Date: Sun, 29 Nov 2026 06:30:26 -0300 Subject: [PATCH 03/10] Release v0.1.0: install pins the release tag; sample keeps question numbers --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 226a7d2..b39a976 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ flowchart LR The skill follows the [Agent Skills](https://agentskills.io) format: a folder with a `SKILL.md`. Put `skills/progress-display/` wherever your host discovers skills, or give `SKILL.md` to an agent directly. ```bash -git clone https://github.com/Gamebreack/Abacus.git +git clone --branch v0.1.0 --depth 1 https://github.com/Gamebreack/Abacus.git # then copy or symlink Abacus/skills/progress-display into your host's skills directory ``` From dfcb8f57cd5760fdc66cfd63df3705afa00ee72e Mon Sep 17 00:00:00 2001 From: Lesk <15115614+Gamebreack@users.noreply.github.com> Date: Sun, 29 Nov 2026 06:31:04 -0300 Subject: [PATCH 04/10] Release v0.1.0: README spacing and diagram label --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index b39a976..55c6f33 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,6 @@ git clone --branch v0.1.0 --depth 1 https://github.com/Gamebreack/Abacus.git It pairs well with `session-modes` ([Janus](https://github.com/Gamebreack/Janus)) and `item-report` ([Herald](https://github.com/Gamebreack/Herald)), but needs neither. - ## Repository layout | Path | What | From a32135c6317971e14448967866247ad5606c8ab3 Mon Sep 17 00:00:00 2001 From: Lesk <15115614+Gamebreack@users.noreply.github.com> Date: Sun, 29 Nov 2026 08:37:25 -0300 Subject: [PATCH 05/10] Release v0.1.0: validator checks the README sample bar --- CHANGELOG.md | 2 +- README.md | 2 +- scripts/validate.py | 16 ++++++++++++---- tests/test_content.py | 16 ++++++++++++++++ 4 files changed, 30 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a98c648..3ae56ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ First release. ### Added - **The `progress-display` skill:** ends each status message during multi-step work with a progress block: a header with a 20-cell bar, percent and current state, then a checklist of every item. -- **Validator content check `bars`:** every example header bar in the skill is 20 cells, rounds halves up, and matches its done/total and percent; `0/0` is the only zero-total form. +- **Validator content check `bars`:** every example header bar in the skill and the README sample is 20 cells, rounds halves up, and matches its done/total and percent; `0/0` is the only zero-total form. - **Repository tooling:** standard-library validator (frontmatter, links and the content check) with tests, pre-commit and push hooks (secret scan, `.env` and home-path guards, doc line limits), and a SHA-pinned CI workflow. - **Docs:** README with a diagram and a sample, `flow-map.md`, CONTRIBUTING, SECURITY, the MIT LICENSE, and issue and pull request templates. diff --git a/README.md b/README.md index 55c6f33..31c513f 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Abacus holds `progress-display`, an optional Agent Skill for long, multi-step ag ## What it looks like -A status message opens with the bottom line, then ends with the block. Sample output; the exact format and bar math live in the skill: [SKILL.md](skills/progress-display/SKILL.md#2-format). +A status message opens with the bottom line, then ends with the block. Sample output; the exact format and bar math live in the skill, and the validator checks this sample against them: [SKILL.md](skills/progress-display/SKILL.md#2-format). ``` 4/7 steps [███████████░░░░░░░░░] 57% · Verifying diff --git a/scripts/validate.py b/scripts/validate.py index 74dd454..06a5285 100644 --- a/scripts/validate.py +++ b/scripts/validate.py @@ -5,7 +5,7 @@ frontmatter SKILL.md has a name equal to its folder and a description; values are strict YAML (a plain scalar may not contain ": " or start with an indicator character). links every relative Markdown link in tracked files resolves. - bars every example header bar in SKILL.md is 20 cells and matches its done/total and percent. + bars every example header bar (SKILL.md, README.md) is 20 cells and matches its done/total and percent. Usage: python3 scripts/validate.py [--root PATH] Exit status is 0 when every check passes, 1 otherwise. @@ -135,6 +135,8 @@ def check_links(root: Path) -> list[str]: return errors BAR_RE = re.compile(r"(\d+)/(\d+) \S+ \[([^\]]*)\] (\d+)%") +CANDIDATE_RE = re.compile(r"^\s*\d+/\d+ \S+ \[", re.M) +BAR_FILES = (SKILL, Path("README.md")) def half_up(done: int, total: int, scale: int) -> int: @@ -142,12 +144,18 @@ def half_up(done: int, total: int, scale: int) -> int: def check_bars(root: Path) -> list[str]: - """Every example header bar is 20 cells and matches its done/total and percent.""" + """Every example header bar (SKILL.md and README.md samples) is 20 cells and matches its + done/total and percent; SKILL.md must have one; a header-like line that does not parse fails.""" errors = [] - for rel in (SKILL,): - bars = BAR_RE.findall(read(root, rel)) + for rel in BAR_FILES: + if not (root / rel).is_file(): + continue + text = read(root, rel) + bars = BAR_RE.findall(text) if rel == SKILL and not bars: errors.append(f"{rel}: no example header bar found") + if len(CANDIDATE_RE.findall(text)) != len(bars): + errors.append(f"{rel}: a header-like line does not match the bar format") for done_s, total_s, bar, pct_s in bars: done, total, pct = int(done_s), int(total_s), int(pct_s) where = f"{rel}: {done}/{total}" diff --git a/tests/test_content.py b/tests/test_content.py index 9870ffc..a92b2b6 100644 --- a/tests/test_content.py +++ b/tests/test_content.py @@ -76,3 +76,19 @@ def test_zero_total_passes(self): def test_done_over_total_fails(self): self.edit(SKILL, self.BAR, "7/6 steps [" + "\u2588" * 20 + "] 100%") self.assertReports(validate.check_bars, "exceeds total") + + README = validate.Path("README.md") + + def readme_bar(self): + text = (self.root / self.README).read_text(encoding="utf-8") + return validate.BAR_RE.search(text).group(0) + + def test_readme_sample_drift_fails(self): + bar = self.readme_bar() + self.edit(self.README, bar, bar.replace("57%", "58%")) + self.assertReports(validate.check_bars, "README.md") + + def test_readme_malformed_header_fails(self): + bar = self.readme_bar() + self.edit(self.README, bar, bar.replace(" 57%", " 57")) + self.assertReports(validate.check_bars, "header-like line") From 59d853d1c89e59bd31e18a46cdcb389372d056a8 Mon Sep 17 00:00:00 2001 From: Lesk <15115614+Gamebreack@users.noreply.github.com> Date: Sun, 29 Nov 2026 14:23:38 -0300 Subject: [PATCH 06/10] Release v0.1.0: validator requires the README sample bar --- CHANGELOG.md | 2 +- scripts/validate.py | 5 +++-- tests/test_content.py | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ae56ee..19f7803 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ First release. ### Added - **The `progress-display` skill:** ends each status message during multi-step work with a progress block: a header with a 20-cell bar, percent and current state, then a checklist of every item. -- **Validator content check `bars`:** every example header bar in the skill and the README sample is 20 cells, rounds halves up, and matches its done/total and percent; `0/0` is the only zero-total form. +- **Validator content check `bars`:** the skill and the README each carry an example header bar, and every one is 20 cells, rounds halves up, and matches its done/total and percent; `0/0` is the only zero-total form. - **Repository tooling:** standard-library validator (frontmatter, links and the content check) with tests, pre-commit and push hooks (secret scan, `.env` and home-path guards, doc line limits), and a SHA-pinned CI workflow. - **Docs:** README with a diagram and a sample, `flow-map.md`, CONTRIBUTING, SECURITY, the MIT LICENSE, and issue and pull request templates. diff --git a/scripts/validate.py b/scripts/validate.py index 06a5285..98fc79e 100644 --- a/scripts/validate.py +++ b/scripts/validate.py @@ -145,14 +145,15 @@ def half_up(done: int, total: int, scale: int) -> int: def check_bars(root: Path) -> list[str]: """Every example header bar (SKILL.md and README.md samples) is 20 cells and matches its - done/total and percent; SKILL.md must have one; a header-like line that does not parse fails.""" + done/total and percent; each file must have one; a header-like line that does not parse fails.""" errors = [] for rel in BAR_FILES: if not (root / rel).is_file(): + errors.append(f"{rel}: missing; it must hold an example header bar") continue text = read(root, rel) bars = BAR_RE.findall(text) - if rel == SKILL and not bars: + if not bars: errors.append(f"{rel}: no example header bar found") if len(CANDIDATE_RE.findall(text)) != len(bars): errors.append(f"{rel}: a header-like line does not match the bar format") diff --git a/tests/test_content.py b/tests/test_content.py index a92b2b6..008fe23 100644 --- a/tests/test_content.py +++ b/tests/test_content.py @@ -92,3 +92,7 @@ def test_readme_malformed_header_fails(self): bar = self.readme_bar() self.edit(self.README, bar, bar.replace(" 57%", " 57")) self.assertReports(validate.check_bars, "header-like line") + + def test_readme_sample_removed_fails(self): + self.edit(self.README, self.readme_bar(), "Sample removed.") + self.assertReports(validate.check_bars, "README.md: no example header bar found") From 428c1dc2ba98a59a09d431757ee006088ed85cbc Mon Sep 17 00:00:00 2001 From: Lesk <15115614+Gamebreack@users.noreply.github.com> Date: Sun, 29 Nov 2026 14:29:15 -0300 Subject: [PATCH 07/10] Release v0.1.0: bars check covers the full header, including the state --- CHANGELOG.md | 2 +- scripts/validate.py | 2 +- tests/test_content.py | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19f7803..f4a649c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ First release. ### Added - **The `progress-display` skill:** ends each status message during multi-step work with a progress block: a header with a 20-cell bar, percent and current state, then a checklist of every item. -- **Validator content check `bars`:** the skill and the README each carry an example header bar, and every one is 20 cells, rounds halves up, and matches its done/total and percent; `0/0` is the only zero-total form. +- **Validator content check `bars`:** the skill and the README each carry an example header bar, and every one is 20 cells, rounds halves up, matches its done/total and percent, and ends with a state after ` · `; `0/0` is the only zero-total form. - **Repository tooling:** standard-library validator (frontmatter, links and the content check) with tests, pre-commit and push hooks (secret scan, `.env` and home-path guards, doc line limits), and a SHA-pinned CI workflow. - **Docs:** README with a diagram and a sample, `flow-map.md`, CONTRIBUTING, SECURITY, the MIT LICENSE, and issue and pull request templates. diff --git a/scripts/validate.py b/scripts/validate.py index 98fc79e..2383859 100644 --- a/scripts/validate.py +++ b/scripts/validate.py @@ -134,7 +134,7 @@ def check_links(root: Path) -> list[str]: errors.append(f"{rel}: broken link {target}") return errors -BAR_RE = re.compile(r"(\d+)/(\d+) \S+ \[([^\]]*)\] (\d+)%") +BAR_RE = re.compile(r"(\d+)/(\d+) \S+ \[([^\]]*)\] (\d+)% \u00b7 \S") CANDIDATE_RE = re.compile(r"^\s*\d+/\d+ \S+ \[", re.M) BAR_FILES = (SKILL, Path("README.md")) diff --git a/tests/test_content.py b/tests/test_content.py index 008fe23..6c09a91 100644 --- a/tests/test_content.py +++ b/tests/test_content.py @@ -86,7 +86,7 @@ def readme_bar(self): def test_readme_sample_drift_fails(self): bar = self.readme_bar() self.edit(self.README, bar, bar.replace("57%", "58%")) - self.assertReports(validate.check_bars, "README.md") + self.assertReports(validate.check_bars, "README.md: 4/7: expected 57%") def test_readme_malformed_header_fails(self): bar = self.readme_bar() @@ -96,3 +96,9 @@ def test_readme_malformed_header_fails(self): def test_readme_sample_removed_fails(self): self.edit(self.README, self.readme_bar(), "Sample removed.") self.assertReports(validate.check_bars, "README.md: no example header bar found") + + def test_missing_state_suffix_fails(self): + text = (self.root / self.README).read_text(encoding="utf-8") + line = next(l for l in text.splitlines() if validate.BAR_RE.search(l)) + self.edit(self.README, line, line[: line.index("%") + 1]) + self.assertReports(validate.check_bars, "header-like line") From a4c0cefdd81d57beef3a607de9e54a5b2dcbf2a8 Mon Sep 17 00:00:00 2001 From: Lesk <15115614+Gamebreack@users.noreply.github.com> Date: Sun, 29 Nov 2026 14:42:02 -0300 Subject: [PATCH 08/10] Release v0.1.0: contributor and security docs with quick start, diagram, tables and checklists --- .github/ISSUE_TEMPLATE/bug.md | 6 +- .github/ISSUE_TEMPLATE/idea.md | 2 + .github/pull_request_template.md | 4 +- AGENTS.md | 2 +- CHANGELOG.md | 8 +-- CONTRIBUTING.md | 103 +++++++++++++++++++++++-------- SECURITY.md | 28 +++++++-- 7 files changed, 112 insertions(+), 41 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index 8b30509..30b7211 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -7,8 +7,10 @@ labels: "" **What was run** -**Host and version** - +**Host** (name and version) + +**Abacus version** + **Expected** diff --git a/.github/ISSUE_TEMPLATE/idea.md b/.github/ISSUE_TEMPLATE/idea.md index 94c7c35..ac6b3f3 100644 --- a/.github/ISSUE_TEMPLATE/idea.md +++ b/.github/ISSUE_TEMPLATE/idea.md @@ -5,8 +5,10 @@ labels: "" --- **Problem** + **Proposed change** + --- diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 0bf3013..c636377 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -9,6 +9,4 @@ ## Checklist - [ ] Follows the rules in AGENTS.md -- [ ] `CHANGELOG.md` entry under `[Unreleased]`, or not user-facing -- [ ] `flow-map.md` updated if the flow changed -- [ ] `python3 scripts/validate.py` and `python3 -m unittest discover -s tests` pass +- [ ] The pre-PR checklist in CONTRIBUTING.md is done diff --git a/AGENTS.md b/AGENTS.md index 3994063..36a112d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -5,7 +5,7 @@ This repo holds the `progress-display` Agent Skill (ending status messages with ## Hard rules - No commits, pushes, tags, releases or remote changes without explicit operator authorization. Workers never commit or push. Before committing, run the pre-commit hooks; never use `--no-verify`. -- Feature branches merge into a single development branch (`dev`); only `dev` is pushed and PRed to `main`. +- Maintainers: feature branches merge into a single development branch (`dev`); only `dev` is pushed and PRed to `main`. Outside contributors open the PR from a fork. - The skill under `skills/progress-display/` stays host-agnostic: no host, harness, agent-type, model or provider names, and no runner or adapter. - The skill name stays lowercase `progress-display` (Agent Skills naming). The project and repository are called Abacus. - One home per fact: link instead of copying. diff --git a/CHANGELOG.md b/CHANGELOG.md index f4a649c..4787415 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -All notable changes to this project are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html); see CONTRIBUTING.md (Releasing). +All notable changes to this project are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html); see [CONTRIBUTING.md](CONTRIBUTING.md) (Releasing). ## [Unreleased] @@ -10,9 +10,9 @@ First release. ### Added - **The `progress-display` skill:** ends each status message during multi-step work with a progress block: a header with a 20-cell bar, percent and current state, then a checklist of every item. -- **Validator content check `bars`:** the skill and the README each carry an example header bar, and every one is 20 cells, rounds halves up, matches its done/total and percent, and ends with a state after ` · `; `0/0` is the only zero-total form. -- **Repository tooling:** standard-library validator (frontmatter, links and the content check) with tests, pre-commit and push hooks (secret scan, `.env` and home-path guards, doc line limits), and a SHA-pinned CI workflow. -- **Docs:** README with a diagram and a sample, `flow-map.md`, CONTRIBUTING, SECURITY, the MIT LICENSE, and issue and pull request templates. +- **Validator content check `bars`:** checks the example header bar in the skill and in the README: 20 cells, halves rounded up, matching done/total and percent, and a state after ` · `. `0/0` is the only zero-total form. +- **Repository tooling:** standard-library validator (frontmatter, links, content check) with tests; pre-commit and push hooks (secret scan, `.env` and home-path guards, doc line limits); a SHA-pinned CI workflow. +- **Docs:** README with a diagram and a sample, `flow-map.md`, CONTRIBUTING and SECURITY, the MIT LICENSE, and issue and pull request templates. [Unreleased]: https://github.com/Gamebreack/Abacus/compare/v0.1.0...HEAD [0.1.0]: https://github.com/Gamebreack/Abacus/releases/tag/v0.1.0 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ca38dc8..5b0ab14 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,43 +1,96 @@ # Contributing -## How to propose a change - -1. For anything beyond a small fix, open an issue first and describe the problem. -2. Then open a pull request against `main`. Every change lands through a pull request. - -## Branches - -Work happens on feature branches, which stay local. They merge into a single development branch (`dev`); only `dev` is pushed and opened as a pull request against `main`. Branch protection is not available for this repository, so the model relies on discipline. - -## Rules a change must keep - -Every change keeps the rules in [AGENTS.md](AGENTS.md). They are not repeated here. +Thanks for helping. This guide takes you from a clone to a pull request. The [rules in AGENTS.md](AGENTS.md) apply to every change and are not repeated here. + +## Where to go + +| You want to… | Go to | +|---|---| +| Report a bug | [Bug issue](.github/ISSUE_TEMPLATE/bug.md) | +| Suggest an improvement | [Idea issue](.github/ISSUE_TEMPLATE/idea.md) | +| Report a security problem | [SECURITY.md](SECURITY.md), privately, never as a public issue | +| See what changed | [CHANGELOG.md](CHANGELOG.md) | + +## Quick start + +| Step | Command or action | +|---|---| +| 1. Get the code | `git clone https://github.com/Gamebreack/Abacus.git` (outside contributors: fork first) | +| 2. Install the hooks (once per clone) | `pre-commit install` (needs [pre-commit](https://pre-commit.com)) | +| 3. Make the change | on a feature branch | +| 4. Run the checks | `python3 scripts/validate.py` and `python3 -m unittest discover -s tests` (Python 3.9 or later) | +| 5. Propose it | for anything beyond a small fix, open an issue first; then open a pull request against `main` (maintainers from `dev`, contributors from their fork) | + +## How a change flows + +The diagram shows the maintainer path. Solid lines are every change; the dashed box is a release. Branch protection is not available for this repository, so the flow relies on discipline. + +```mermaid +%%{init: {"theme":"base","themeVariables":{"fontFamily":"system-ui, -apple-system, Segoe UI, sans-serif","fontSize":"15px","primaryTextColor":"#1b221e","lineColor":"#8a968f","clusterBkg":"transparent","clusterBorder":"#b7c0ba","titleColor":"#5d6962","edgeLabelBackground":"#ffffff"},"flowchart":{"curve":"basis","nodeSpacing":22,"rankSpacing":30,"padding":14,"htmlLabels":true}}}%% +flowchart LR + F["Feature branch
local only"] + H["Commit hooks
secrets, limits, validator"] + D["dev
the one pushed branch"] + P["Pull request
CI + review"] + M["main"] + R["Release
tag + GitHub release"] + + F --> H + H -->|"merge"| D + D -->|"push hook, PR"| P + P -->|"merge"| M + %% 4: optional + M -.->|"when releasing"| R + + classDef p1 fill:#dbe8f6,stroke:#4a7fb5,color:#1b221e + classDef p2 fill:#fbefd2,stroke:#c3962c,color:#1b221e + classDef p3 fill:#d8eee2,stroke:#3f8f68,color:#1b221e + classDef side fill:#f5f6f5,stroke:#a9b4ad,color:#5d6962,stroke-dasharray:4 3 + class F,H p1 + class D,P p2 + class M p3 + class R side + linkStyle 4 stroke:#8a968f,stroke-width:1.5px,stroke-dasharray:2 3 +``` -## Testing a change +**Branches:** maintainers work on feature branches, which stay local, and merge them into the single development branch (`dev`). Only `dev` is pushed, and maintainers open the pull request from `dev` against `main`. Contributors without push access fork the repository, branch, and open the pull request from their fork against `main`. -Both checks must pass before merge; CI runs them on every push and pull request: +## Before you open a pull request -```bash -python3 scripts/validate.py -python3 -m unittest discover -s tests -``` +- [ ] `python3 scripts/validate.py` passes +- [ ] `python3 -m unittest discover -s tests` passes +- [ ] `pre-commit run --all-files` passes (never bypass hooks with `--no-verify`) +- [ ] `CHANGELOG.md` has an entry under `[Unreleased]`, or the change is not user-facing +- [ ] `flow-map.md` is updated if the flow changed -`validate.py` needs Python 3.9 or later. +## What the hooks check -## Git hooks +Hooks run on commit and on push. Fix what they report. -This repo uses [pre-commit](https://pre-commit.com), which must be installed; then run `pre-commit install` once per clone; it installs both the commit and the push hooks. The commit hooks scan for secrets, reject `.env` files and a root `CONTEXT.md` (local planning stays local), fix whitespace and YAML hygiene, enforce the line limits, reject absolute home paths, and run the validator. The push hook (`scripts/hooks/pre_push.sh`) rejects tracked `.env` files, a root `CONTEXT.md` and absolute home paths across all tracked files and in the commits of the pushed branch (pre-commit passes one range per push), then re-runs the line limits, the validator and the tests. Run the commit hooks on everything with `pre-commit run --all-files`, and never bypass them with `--no-verify`. +| Hook | When | What it does | +|---|---|---| +| Secret scan (gitleaks) | commit | blocks credentials and tokens | +| `.env` and `CONTEXT.md` guards | commit | keeps environment files and local planning out of git | +| Hygiene | commit | trailing whitespace, end of file, YAML, merge markers, large files | +| Line limits | commit | doc line limits (see AGENTS.md) | +| Portability guard | commit | no absolute home paths | +| Validator | commit | frontmatter, links and the skill's content check | +| `scripts/hooks/pre_push.sh` | push | checks the checkout and the pushed commits for `.env` files, a root `CONTEXT.md` and home paths, then runs the line limits, the validator and the tests | ## Versioning -Versions are SemVer tags only, applied to the skill's behavior: +Versions are SemVer tags only (for example `v0.1.0`), applied to the skill's behavior: -- **Patch:** wording and fixes that do not change what the skill asks of an agent. -- **Minor:** new or changed behavior or rules. -- **Major:** a breaking change to what the skill asks of an agent. +| Bump | When | +|---|---| +| Patch | wording and fixes that do not change what the skill asks of an agent | +| Minor | new or changed behavior or rules | +| Major | a breaking change to what the skill asks of an agent | ## Releasing +For maintainers. Work through the steps in order; each one gates the next. + 1. In a pull request, move the `[Unreleased]` entries in `CHANGELOG.md` under `## [X.Y.Z] - YYYY-MM-DD` and update the compare links. 2. Run pre-release verification on that pull request while it is up to date with `main`: a fresh verifier run plus an independent review panel (for example the `verify` skill). Merge only with no open BLOCKER or SHOULD-FIX finding. If anything else lands on the pull request or on `main` afterwards, run it again. 3. Only with the operator's approval, which covers this step and the next: after the pull request merges, create the annotated tag `vX.Y.Z` on the merge commit and push it. diff --git a/SECURITY.md b/SECURITY.md index 01b816d..723c1ed 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,22 +1,38 @@ # Security policy +## At a glance + +| Question | Answer | +|---|---| +| Which versions get fixes? | the latest minor release only (see below) | +| Where do I report? | privately, via [Security → Report a vulnerability](https://github.com/Gamebreack/Abacus/security/advisories/new); never in a public issue | +| When will I hear back? | an acknowledgement within 7 days | +| How is it fixed? | a patch release, credited in the changelog unless you ask otherwise | + ## Supported versions | Version | Supported | |---|---| | 0.1.x | yes | -Only the latest minor release receives fixes. +## How to report -## Reporting a vulnerability +1. Open a private report on [Gamebreack/Abacus](https://github.com/Gamebreack/Abacus/security/advisories/new): **Security → Report a vulnerability**. +2. Include the skill version, the host you ran it in, the inputs that trigger the problem (with secrets and private paths redacted), and what happened. +3. Wait for the acknowledgement, due within 7 days. The fix ships as a patch release. -Report privately through GitHub: **Security → Report a vulnerability** on [Gamebreack/Abacus](https://github.com/Gamebreack/Abacus/security/advisories/new). Do not open a public issue for a security problem. - -Include the skill version, the host you ran it in, the inputs that trigger the problem (with secrets and private paths redacted), and what happened. You will get an acknowledgement within 7 days. Fixes ship as a patch release, credited in the changelog unless you ask otherwise. +> Do not describe a security problem in a public issue or pull request. ## What counts -Abacus is instructions, not code: it runs only through the agent and harness that load it. A security issue here is wording that leads a compliant agent to an unsafe action, for example guidance that makes it print secrets or private paths, act beyond its approved scope, skip an approval step, or claim a result without evidence. +Abacus (the `progress-display` skill) is instructions, not code. It runs only through the agent and harness that load it, so a security issue is wording that leads a compliant agent to an unsafe action. + +| Counts: report privately | Does not count: use the normal channel | +|---|---| +| Guidance that makes the agent print secrets or private paths | An ordinary bug with no security effect: use the [bug issue](.github/ISSUE_TEMPLATE/bug.md) | +| Guidance that makes the agent act beyond its approved scope | A suggestion: use the [idea issue](.github/ISSUE_TEMPLATE/idea.md) | +| Guidance that makes the agent skip an approval step | A host, harness or model behaving badly: see [Out of scope](#out-of-scope) | +| Guidance that makes the agent claim a result without evidence | | `scripts/validate.py` runs `git ls-files` read-only in the repository and reads Markdown; it executes no content from the skill. From d5fd6104c60dfaa4aeaf0c0a2fca0f460381d27d Mon Sep 17 00:00:00 2001 From: Lesk <15115614+Gamebreack@users.noreply.github.com> Date: Sun, 29 Nov 2026 14:54:05 -0300 Subject: [PATCH 09/10] Docs: one home per fact with links; fork-based quick start; issue-form links --- .github/pull_request_template.md | 2 +- AGENTS.md | 7 +------ CONTRIBUTING.md | 24 ++++++++++++++++-------- SECURITY.md | 22 ++++++++++++++-------- 4 files changed, 32 insertions(+), 23 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index c636377..d88741e 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -9,4 +9,4 @@ ## Checklist - [ ] Follows the rules in AGENTS.md -- [ ] The pre-PR checklist in CONTRIBUTING.md is done +- [ ] The [pre-PR checklist](https://github.com/Gamebreack/Abacus/blob/main/CONTRIBUTING.md#before-you-open-a-pull-request) is done diff --git a/AGENTS.md b/AGENTS.md index 36a112d..5080e3b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -15,12 +15,7 @@ This repo holds the `progress-display` Agent Skill (ending status messages with ## Required checks -These must pass before merge and before release: - -```bash -python3 scripts/validate.py -python3 -m unittest discover -s tests -``` +The commands are in [CONTRIBUTING.md](CONTRIBUTING.md#required-checks); they must pass before merge and release. ## Planning diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5b0ab14..1176ccb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,8 +6,8 @@ Thanks for helping. This guide takes you from a clone to a pull request. The [ru | You want to… | Go to | |---|---| -| Report a bug | [Bug issue](.github/ISSUE_TEMPLATE/bug.md) | -| Suggest an improvement | [Idea issue](.github/ISSUE_TEMPLATE/idea.md) | +| Report a bug | [Bug issue](https://github.com/Gamebreack/Abacus/issues/new?template=bug.md) | +| Suggest an improvement | [Idea issue](https://github.com/Gamebreack/Abacus/issues/new?template=idea.md) | | Report a security problem | [SECURITY.md](SECURITY.md), privately, never as a public issue | | See what changed | [CHANGELOG.md](CHANGELOG.md) | @@ -15,12 +15,21 @@ Thanks for helping. This guide takes you from a clone to a pull request. The [ru | Step | Command or action | |---|---| -| 1. Get the code | `git clone https://github.com/Gamebreack/Abacus.git` (outside contributors: fork first) | -| 2. Install the hooks (once per clone) | `pre-commit install` (needs [pre-commit](https://pre-commit.com)) | +| 1. Get the code | Maintainers: `git clone https://github.com/Gamebreack/Abacus.git`. Outside contributors: fork first, then `git clone https://github.com//Abacus.git` | +| 2. Install the hooks (once per clone) | `cd Abacus`, then `pre-commit install` (needs [pre-commit](https://pre-commit.com)) | | 3. Make the change | on a feature branch | -| 4. Run the checks | `python3 scripts/validate.py` and `python3 -m unittest discover -s tests` (Python 3.9 or later) | +| 4. Run the checks | the [required checks](#required-checks) | | 5. Propose it | for anything beyond a small fix, open an issue first; then open a pull request against `main` (maintainers from `dev`, contributors from their fork) | +## Required checks + +CI runs these two commands. They must pass before merge and before release. Python 3.9 or later. + +```bash +python3 scripts/validate.py +python3 -m unittest discover -s tests +``` + ## How a change flows The diagram shows the maintainer path. Solid lines are every change; the dashed box is a release. Branch protection is not available for this repository, so the flow relies on discipline. @@ -53,12 +62,11 @@ flowchart LR linkStyle 4 stroke:#8a968f,stroke-width:1.5px,stroke-dasharray:2 3 ``` -**Branches:** maintainers work on feature branches, which stay local, and merge them into the single development branch (`dev`). Only `dev` is pushed, and maintainers open the pull request from `dev` against `main`. Contributors without push access fork the repository, branch, and open the pull request from their fork against `main`. +**Branches:** the branch rule is in [AGENTS.md](AGENTS.md#hard-rules). ## Before you open a pull request -- [ ] `python3 scripts/validate.py` passes -- [ ] `python3 -m unittest discover -s tests` passes +- [ ] All [required checks](#required-checks) pass - [ ] `pre-commit run --all-files` passes (never bypass hooks with `--no-verify`) - [ ] `CHANGELOG.md` has an entry under `[Unreleased]`, or the change is not user-facing - [ ] `flow-map.md` is updated if the flow changed diff --git a/SECURITY.md b/SECURITY.md index 723c1ed..01ba892 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,16 +1,17 @@ # Security policy -## At a glance +## Contents | Question | Answer | |---|---| -| Which versions get fixes? | the latest minor release only (see below) | -| Where do I report? | privately, via [Security → Report a vulnerability](https://github.com/Gamebreack/Abacus/security/advisories/new); never in a public issue | -| When will I hear back? | an acknowledgement within 7 days | -| How is it fixed? | a patch release, credited in the changelog unless you ask otherwise | +| Which versions get fixes? | [Supported versions](#supported-versions) | +| Where do I report? | [How to report](#how-to-report) | +| When will I hear back, and how is it fixed? | [What to expect](#what-to-expect) | ## Supported versions +Only the latest minor release gets fixes. + | Version | Supported | |---|---| | 0.1.x | yes | @@ -19,18 +20,23 @@ 1. Open a private report on [Gamebreack/Abacus](https://github.com/Gamebreack/Abacus/security/advisories/new): **Security → Report a vulnerability**. 2. Include the skill version, the host you ran it in, the inputs that trigger the problem (with secrets and private paths redacted), and what happened. -3. Wait for the acknowledgement, due within 7 days. The fix ships as a patch release. > Do not describe a security problem in a public issue or pull request. +## What to expect + +1. An acknowledgement within 7 days. +2. A patch release with the fix. +3. Credit in the changelog, unless you ask otherwise. + ## What counts Abacus (the `progress-display` skill) is instructions, not code. It runs only through the agent and harness that load it, so a security issue is wording that leads a compliant agent to an unsafe action. | Counts: report privately | Does not count: use the normal channel | |---|---| -| Guidance that makes the agent print secrets or private paths | An ordinary bug with no security effect: use the [bug issue](.github/ISSUE_TEMPLATE/bug.md) | -| Guidance that makes the agent act beyond its approved scope | A suggestion: use the [idea issue](.github/ISSUE_TEMPLATE/idea.md) | +| Guidance that makes the agent print secrets or private paths | An ordinary bug with no security effect: use the [bug issue](https://github.com/Gamebreack/Abacus/issues/new?template=bug.md) | +| Guidance that makes the agent act beyond its approved scope | A suggestion: use the [idea issue](https://github.com/Gamebreack/Abacus/issues/new?template=idea.md) | | Guidance that makes the agent skip an approval step | A host, harness or model behaving badly: see [Out of scope](#out-of-scope) | | Guidance that makes the agent claim a result without evidence | | From db477a1f5a1feaf22b025294a632fab644bd5b58 Mon Sep 17 00:00:00 2001 From: Lesk <15115614+Gamebreack@users.noreply.github.com> Date: Sun, 29 Nov 2026 15:01:41 -0300 Subject: [PATCH 10/10] Docs: pre-PR checklist links to the hard rules --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1176ccb..132ad67 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -67,9 +67,9 @@ flowchart LR ## Before you open a pull request - [ ] All [required checks](#required-checks) pass -- [ ] `pre-commit run --all-files` passes (never bypass hooks with `--no-verify`) +- [ ] `pre-commit run --all-files` passes, without bypassing hooks ([hard rules](AGENTS.md#hard-rules)) - [ ] `CHANGELOG.md` has an entry under `[Unreleased]`, or the change is not user-facing -- [ ] `flow-map.md` is updated if the flow changed +- [ ] The [hard rules in AGENTS.md](AGENTS.md#hard-rules) hold (including the flow-map rule) ## What the hooks check