公民新闻发布前检查
civic-publish-gate
在公民新闻发布前,运行确定性的来源、引用、时效性、隐私、会议确定性、无障碍、更正状态以及人工审批检查。
- License 许可
- MIT
- 所属仓库
- jmagly/aiwg
- 最近更新
- 2026-11-14
- Stars
- ★ 229
- Forks
- 36
01 前言 Front Matter
- name
- civic-publish-gate
- script
- { "cwd": "project-root", "runtime": "node", "argsHint": "<publication-packet.json>", "entrypoint": "scripts/publish_gate.mjs" }
- triggers
- [ "publish cited local public information", "run civic publication quality gates", "check a civic story before publishing" ]
- namespace
- aiwg
- platforms
- [ "all" ]
- description
- Run deterministic source, citation, freshness, privacy, meeting-certainty, accessibility, correction-state, and human-approval checks before civic publication.
02 资源文件 1
- 脚本scripts/publish_gate.mjs710 B
03 SKILL.md 正文
Civic Publish Gate
Process
- Supply a versioned publication packet with per-section count/freshness rules, claims, sources, links, structured-data validation, accessibility, privacy, correction state, static/CMS adapter results, and human review.
- Run
aiwg run skill civic-publish-gate -- packet.json. - Remediate every block. Warnings require visible human disposition.
- Treat automated accessibility checks as evidence only, never a complete WCAG conformance determination.
- Publication remains an external human action even after a machine pass.
- Verify the live page, last-good copy, sitemap, reindex, and cache handoffs; each must pass or be explicitly not applicable before publication completes.
Output
A schema-valid publication gate report. Exit 1 means blocked; exit 2 means
invalid input/usage. The command never writes to a CMS or external service.
References
schemas/publication-gate-result.schema.jsonrules/publication-human-review.mddocs/research/control-source-matrix.md- media-marketing-kit
qa-protocolandapproval-workflow; ops-completeops-verify
04 同仓库更多 Skills
plugin-search
Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything
plugin-search
Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything
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.