Repository Public
1# spb-source-governance23Engine and policy for the SP Boucher source header standard. Read `SOURCE_HEADER_POLICY.md` and4`COPYRIGHT_POLICY.md` before changing behaviour.56- Python ≥ 3.11, standard library only. No new dependency without a strong reason.7- Every change to `spbheader/` needs a test in `tests/test_engine.py`; run8 `python3 -m unittest discover -s tests` before committing.9- The splice rule is absolute: the engine may only insert, refresh or remove its own header block10 (and a legacy identity block recognised line by line). Never reformat or re-encode a file.11- Identity, contacts, comment syntax and exclusions live in `config/*.toml`, wording in `templates/`.12 Do not hard-code them in the engine.13- Reports, ledgers and per-repository policies belong to the workspace, not to this repository:14 they list private repositories.15- Never push, merge, or change a license or a rights holder on behalf of the owner; those need16 explicit authorization.1718<!-- spb-source-governance:start -->19## Source header policy (SP Boucher)2021When creating or modifying eligible first-party source files, follow the SP Boucher Source Header22Policy. Preserve existing copyright and license notices, select the correct language-specific23template, and avoid adding identifying information to anonymous academic submission artifacts.2425- Repository policy: `.spb-source-governance.toml` (project, contact, verified rights, license).26- Add or refresh headers with `spb-header apply --repo .`; verify with `spb-header check --repo .`.27- Never hand-write a header, never add one to generated, vendored, third-party or data files.28<!-- spb-source-governance:end -->29