source-compliance-gate
Evaluate source access, rights, robots, authorization, provenance, and freshness before automated acquisition or public reuse.
- License 许可
- MIT
- 所属仓库
- jmagly/aiwg
- 最近更新
- 2026-11-14
- Stars
- ★ 229
- Forks
- 36
01 前言 Front Matter
- name
- source-compliance-gate
- script
- { "cwd": "project-root", "runtime": "node", "argsHint": "<source-registry.json>", "entrypoint": "scripts/source_compliance_gate.mjs" }
- triggers
- [ "check whether a public source may be acquired", "validate a civic source registry", "review robots terms license and freshness" ]
- namespace
- aiwg
- platforms
- [ "all" ]
- description
- Evaluate source access, rights, robots, authorization, provenance, and freshness before automated acquisition or public reuse.
02 资源文件 1
03 SKILL.md 正文
Source Compliance Gate
Process
- Create a versioned source registry from
templates/source-registry.yaml. Record owner, URL, API/feed/HTML/browser/OCR/manual-export/records/skip method, cadence, decision state, citation format, fallback, and provenance. - Run
aiwg run skill source-compliance-gate -- registry.json. - Stop automated collection on prohibited/unknown terms, robots error or disallow, authorization uncertainty, control bypass, or expired approval.
- Route jurisdiction, terms, license, and publication rights to a named human.
- Compare observed and minimum records. An empty or under-count result follows the declared block/warn/authoritative-empty policy and never silently erases the reviewed last-good copy.
Output
The executable emits a compliance-gate-result JSON report and exit 1 when
any blocking result exists. It validates observed fields; it does not decide
law, contractual permission, or fair use.
References
schemas/source-registry.schema.jsonrules/civic-safety.mddocs/research/civic-workflow-standards.mddocs/research/legal-ethics-guardrails.mddocs/research/control-source-matrix.md
04 同仓库更多 Skills
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.
fixture-skill
Exercise rule delivery.
pi-local
Pi-local duplicate-precedence fixture.