mirror of
https://github.com/gadievron/raptor.git
synced 2026-04-24 21:46:00 +03:00
[PR #11] [MERGED] /oss-forensics - Evidence-Backed GitHub Forensic Investigation #22
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/raptor#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/gadievron/raptor/pull/11
Author: @mbrg
Created: 11/30/2025
Status: ✅ Merged
Merged: 11/30/2025
Merged by: @mbrg
Base:
main← Head:claude/agent-patterns-forensic-command-01FsDDwYtS92iNfR8ifo2Eko📝 Commits (5)
f6fea87feat(oss-forensics): add GitHub forensic investigation command and agents9632c79refactor(oss-forensics): standardize agent naming convention21984cdrefactor(oss-forensics): rename skills dir github-forensics → oss-forensics9942b11feat(oss-forensics): add skills field to agent frontmatter7ef2701fix(oss-forensics): remove unsupported skills field from frontmatter📊 Changes
51 files changed (+1137 additions, -0 deletions)
View changed files
➕
.claude/agents/oss-evidence-verifier-agent.md(+81 -0)➕
.claude/agents/oss-forensics-agent.md(+145 -0)➕
.claude/agents/oss-hypothesis-checker-agent.md(+125 -0)➕
.claude/agents/oss-hypothesis-former-agent.md(+113 -0)➕
.claude/agents/oss-investigator-gh-api-agent.md(+79 -0)➕
.claude/agents/oss-investigator-gh-archive-agent.md(+91 -0)➕
.claude/agents/oss-investigator-gh-recovery-agent.md(+86 -0)➕
.claude/agents/oss-investigator-ioc-extractor-agent.md(+80 -0)➕
.claude/agents/oss-investigator-local-git-agent.md(+105 -0)➕
.claude/agents/oss-report-generator-agent.md(+139 -0)➕
.claude/commands/oss-forensics.md(+62 -0)📝
.claude/skills/oss-forensics/github-archive/SKILL.md(+0 -0)📝
.claude/skills/oss-forensics/github-commit-recovery/SKILL.md(+0 -0)📝
.claude/skills/oss-forensics/github-evidence-kit/SKILL.md(+0 -0)📝
.claude/skills/oss-forensics/github-evidence-kit/pytest.ini(+0 -0)📝
.claude/skills/oss-forensics/github-evidence-kit/requirements.txt(+0 -0)📝
.claude/skills/oss-forensics/github-evidence-kit/self_improvement_prompt.md(+0 -0)📝
.claude/skills/oss-forensics/github-evidence-kit/src/__init__.py(+0 -0)📝
.claude/skills/oss-forensics/github-evidence-kit/src/clients/__init__.py(+0 -0)📝
.claude/skills/oss-forensics/github-evidence-kit/src/clients/gharchive.py(+0 -0)...and 31 more files
📄 Description
Adds /oss-forensics command for evidence-backed forensic investigations on public GitHub repositories. Follows the crash-analysis agent pattern with hypothesis-validation loop.
Usage: /oss-forensics [--max-followups 3] [--max-retries 3]
Agents (10 total):
oss-forensics-agent: Orchestrator
oss-investigator-gh-archive-agent: GH Archive via BigQuery
oss-investigator-gh-api-agent: Live GitHub API
oss-investigator-gh-recovery-agent: Wayback + commit recovery
oss-investigator-local-git-agent: Dangling commits, reflog
oss-investigator-ioc-extractor-agent: Vendor report IOCs
oss-hypothesis-former-agent: Forms hypotheses, can request more evidence
oss-evidence-verifier-agent: Verifies via store.verify_all()
oss-hypothesis-checker-agent: Validates claims against verified evidence
oss-report-generator-agent: Final forensic report
Skills (in .claude/skills/oss-forensics/):
github-archive: GH Archive BigQuery queries
github-evidence-kit: Evidence collection, storage, verification
github-commit-recovery: Recover deleted commits
github-wayback-recovery: Recover content from Wayback Machine
Key design:
Evidence-first: All investigators produce evidence using github-evidence-kit schema
Verification before validation: Evidence verified against original sources
Mandatory citations: Every claim must cite verified evidence by ID
Iterative refinement: Hypothesis agent can request more evidence (max 3); checker can reject (max 3)
Output: .out/oss-forensics-TIMESTAMP/forensic-report.md with timeline, attribution, intent, impact, confidence levels, and IOCs.
Requires: GOOGLE_APPLICATION_CREDENTIALS for BigQuery
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.