sources.py
python
sha256:0e9549ec7b463911bc08b7d586dc320b1ac9b1f5c943ee7e3865dcc6cb0f6f83
chore(governance): sync handover+roadmap to 84db8c8 (drift:…
Human
1 day ago
| 1 | """Closed source-id vocabulary (§HGD.4.1).""" |
| 2 | |
| 3 | from __future__ import annotations |
| 4 | |
| 5 | SOURCE_IDS = frozenset( |
| 6 | { |
| 7 | "github_contents", |
| 8 | "github_meta", |
| 9 | "github_checks_advisory", |
| 10 | "musehub_read", |
| 11 | } |
| 12 | ) |
| 13 | BASELINE_SOURCE_IDS = frozenset({"github_contents", "github_meta"}) |
| 14 | OPTIONAL_SOURCE_IDS = frozenset({"github_checks_advisory", "musehub_read"}) |
| 15 | |
| 16 | |
| 17 | def is_known_source_id(source_id: str) -> bool: |
| 18 | """Return whether ``source_id`` is in the closed Auto v1 vocabulary.""" |
| 19 | return source_id in SOURCE_IDS |
File History
1 commit
sha256:6abcf1fa82a7a621ccbc945f19acdba5bc0db54569599404a1452fb4a096a199
fix(ISR): default require_independent_second_reviewer to require
Human
minor
⚠
1 day ago