feat: add project-governance skill - #22
Open
Century0327 wants to merge 2 commits into
Open
Conversation
Project governance workspace for AI-assisted development: project protocol (AGENTS.md), directory index, lessons log, session handoff, changelog, version index, and whitelist/blacklist parameter registries. Includes a stdlib-only CLI (scaffold/validate/index) and a 60-case robustness/boundary test suite covering normal, edge, and adversarial inputs. Adds the skill to the catalog in README.md and README.zh-CN.md.
- Slim package: drop tests/ and examples/ from the PR (kept in dev repo), add README.md documenting Core/CLI/Adapter structure + limitations - SKILL.md: add Memory & Governance Boundary (authority priority), Input/Output and On Failure sections, natural-language trigger keywords, reposition to 'not forget, not mess up, not repeat mistakes' - governance.py: add check subcommand (health gate), index links + notes + truncation, --root-section/--changelog-section, --relaxed, markdown-aware section detection - templates: AGENTS.md adds rule 9 (memory is context not authority) + boundary section + TOC; index.md new link+note format; add index_notes.json - Update EN/ZH README skill catalogs (scaffold/validate/index/check CLI)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds a project-governance skill: a lightweight, agent-readable governance layer for AI-assisted long-running projects. It turns implicit working conventions into explicit, versioned files that both humans and AI agents follow, so long-running agent work stays consistent, auditable, and reproducible across sessions — "not forget, not mess up, not repeat mistakes".
What's included
Design highlights
Quality / testing
PR checklist