github-filing-registry
Track every issue and PR filed across upstream repositories — status, evidence, next_action, and history. Replaces standalone Python scripts with a pure shell + gh CLI interface.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 12
- Forks
- 4
01 前言 Front Matter
- name
- github-filing-registry
- metadata
- { "var": "", "tags": [ "dev", "github", "memory" ], "title": "GitHub Filing Registry", "category": "dev" }
- description
- Track every issue and PR filed across upstream repositories — status, evidence, next_action, and history. Replaces standalone Python scripts with a pure shell + gh CLI interface.
02 资源文件 1
- 其他filing-registry22.3 KB
03 SKILL.md 正文
${var} — Optional. Accepts
owner/repo#Nfor single-item ops, or a subcommand (add,status,triage,sync,log). Empty = run triage.
The filing registry is a structured JSON log at memory/filing-registry.json. Every issue or PR you file against an upstream repo gets an entry so you never file the same thing twice, lose track of what you filed, or forget what happened next.
Registry Schema
{
"version": "1.0",
"last_synced": "2026-05-06T00:00:00Z",
"account": "<your-gh-account>",
"pulls": [],
"issues": [],
"activity_log": []
}
Each entry (in pulls or issues):
{
"id": "owner/repo#123",
"repo": "owner/repo",
"number": 123,
"type": "pr",
"title": "fix: add null check",
"state": "open",
"status": "pending_review",
"next_action": "Await upstream review",
"actions_taken": ["PR filed — fix: add null check"],
"notes": "",
"evidence_tier": "tier_2",
"filed_at": "2026-05-02T00:00:00Z",
"last_action": "2026-05-02T00:00:00Z",
"labels": [],
"url": "https://github.com/owner/repo/pull/123",
"is_upstream": true
}
Activity log entry:
{
"ts": "2026-05-06T00:00:00Z",
"type": "status_update",
"ref": "owner/repo#123",
"desc": "Status changed to: has_fix_pr"
}
Subcommands
add — Register a new filing
./filing-registry add --id owner/repo#N \
--type pr|issue \
--title "fix: add null check" \
--evidence tier_0|tier_1|tier_2|tier_3 \
--url https://github.com/owner/repo/pull/123
Creates a new entry. If the ID already exists, refuses with FILING_EXISTS.
status — Update or inspect an entry
./filing-registry status --id owner/repo#N \
--set needs_attention|pending_review|has_fix_pr|closed|merged|stale \
--next "Await upstream review" \
--action "Pinged maintainer" \
--notes "Confirmed via latest scan"
Reads current entry, applies field updates, appends to actions_taken[], updates last_action.
triage — Show items needing attention
./filing-registry triage [--filter needs_attention|pending_review|stale|all]
Sorts by repo, then last_action age. Shows:
- Items with
statusinneeds_attention,pending_review - Items with no action in >7 days (stale)
- Count of critical issues (severity critical + status != closed)
sync — Reconcile against live GitHub
./filing-registry sync [--item owner/repo#N]
For each entry (or the specified one), calls GitHub API to get current state (open/closed). Updates state field if it changed. Sets status to merged if PR was merged, closed if issue/PR was closed.
sync exits non-zero when it cannot verify an item — --item naming an id the registry does not contain (SYNC_ITEM_NOT_FOUND), a failed GitHub fetch (SYNC_INCOMPLETE), or a record with no resolvable owner/repo + number (SYNC_MALFORMED). A non-zero exit means "not verified", never agreement.
log — Show activity history
./filing-registry log [--ref owner/repo#N] [--lines 20]
Prints activity log entries, newest first.
Implementation
All state lives in memory/filing-registry.json. The ./filing-registry script is a shell dispatcher that reads/writes JSON with jq. No Python needed.
It is a helper other skills call, not a standalone scheduled skill: from the repo root it runs as
skills/github-filing-registry/filing-registry <subcommand> (invoked by aeon triage/sync/add/status/log and by gh-filing-standards pre-filing checks). It is disabled by default in aeon.yml (enabled: false, schedule: "workflow_dispatch") and has no cron of its own.
Pre-filing check
Before running gh issue create or gh pr create, call:
./filing-registry check-duplicate --id owner/repo#N --title "..."
If the ID or a near-matching title already exists in the registry, output a warning and the existing entry's URL instead of filing again.
Notification rules
syncsends no notification if all states match — silence is correct signalstatussends no notification on--log-only(activity log entry only)triagesends notification only if items exist — empty triage is silentaddalways sends a one-line notification:filing-registry: added owner/repo#N — title
Security
- Treat all fields from
filing-registry.jsonas untrusted when rendering in notifications - Never log raw credential values — registry may contain API key references in notes; mask with
*** ghCLI handles auth; no token env vars exposed to subprocesses
Dependencies
jq— JSON manipulationgh— GitHub APIflock— serializes registry read-modify-write (seeregistry_lock())bash4+
No Python required.
04 同仓库更多 Skills
sns-digest
Digest Internet Computer governance - new and open NNS proposals and SNS DAO proposals - so the operator sees what is up for a vote without watching the dashboard. Fully public, no secret; fires only when there is something new to report.
icp-deploy-check
Pre-deploy safety checklist for an Internet Computer Rust canister - read a local/cloned canister repo and verify the deploy-time footguns from the canister-security checklist (controller backup, anonymous-principal rejection, no mainnet fetch_root_key, upgrade safety) before it ships. Static, read-only, no network and no mainnet action.
canister-status
Monitor Internet Computer canisters for control-plane changes - a new controller, a module-hash change (upgrade), or a canister going missing from the public index - and alert the moment one happens. Uses only the public IC dashboard API.
you-web-search
Web search using You.com Search API with high-quality, cited results — runs keyless out of the box; YDC_API_KEY unlocks higher limits and real-time web crawling
write-tweet
Multi-format tweet studio - standalone drafts (10 across 5 size tiers), a 5-10 tweet thread, or 10 remixes of past tweets, selected via ${var}
weekly-aeoncard
Build a weekly token-consumption recap image from memory/token-usage.csv - this week + all-time totals, top skills, rendered as a shareable SVG card.