Thanks for your interest in improving this project. Contributions are welcome.
Contributions are typically submitted via fork and pull request:
- fork the repository
- create a feature branch
- keep changes focused
- run the canonical validation checks
- open a pull request
Before opening a pull request, run the validation relevant to the files you changed.
- Run
uv run pre-commit run --all-filesfor Python validation. - If Markdown files changed, run
npx --yes markdownlint-cli2. - If multiple areas changed, run all relevant checks.
- Report the exact validation commands and results in your PR or handoff notes.
- If a required or relevant validation command cannot be run, report why instead of saying the work is complete.
For a local Markdown-only check, run npx --yes markdownlint-cli2.
CI is the authoritative validation path.
This repository demonstrates where authority can be enforced in runtime systems.
Examples here should emphasize runtime behavior changes caused by explicit authoritative state.
Examples here should not:
- act as acquisition-layer examples
- require directive-drafter for the primary example path
- depend on suggest-state behavior
- hide model-derived state mutation behind orchestration code
- only prove prompt compliance
- Demonstrates one primary runtime enforcement point
- Uses explicit authoritative state
- Does not derive Context Compiler state from model output
- Remains meaningful if the LLM is replaced with an adversarial stub
- Uses an adversarial stub that requests the action the active state should block or redirect
- Uses a domain distinct from adjacent examples
- Directive vocabulary feels natural in the chosen domain
- Domain is incidental; enforcement point is the purpose
- Runtime behavior changes are observable
- Framework is secondary to the enforcement point
- Example is understandable without knowledge of the underlying framework
- Prefer small runnable examples
- Prefer mocked or smoke tests over heavy live-runtime end-to-end tests
- Keep one primary enforcement point per example
- If a realistic integration touches multiple concerns, identify the primary enforcement point clearly
- Keep framework-specific code isolated when a real framework is necessary
Documentation is part of the project contract.
README files, integration examples, and explicitly requested documentation changes are acceptance criteria when they are part of a task.
Do not silently change documented behavior because implementation is easier. Do not update documentation merely to match unintended behavior. Do not weaken or remove user-facing tests to accommodate implementation.
If implementation, documentation, examples, tests, and task requirements disagree:
- Treat the documented repo purpose and task requirements as authoritative.
- Report the mismatch.
- Request review before changing documented behavior.
- Do not resolve disagreements by silently rewriting docs.
For README, integration, and package-listing docs, explain user-visible behavior before architecture.
Prefer plain, concrete wording when accurate. Favor direct subjects and strong verbs over abstract or framework-heavy wording.
Avoid describing examples only in architectural terms when a behavior-first explanation is possible.
Frameworks are implementation details. Enforcement points are primary.
- Keep pull requests focused
- Avoid unrelated refactors
- Do not migrate large bodies of existing example code unless explicitly requested
- Open an issue first for large structural changes