I built agent-thanks to trace which open-source repos one coding task actually used
Описание и применение
agent‑thanks автоматически выявляет, какие открытые репозитории использовались в конкретной задаче программирования, генерирует отчёт с доказательствами и позволяет вручную ставить звёзды, соблюдая границу автоматизации.
Задача
Maintainers rarely receive task-level signals when their code is used by an automated coding agent, making it hard to acknowledge contributions.
Результат
agent-thanks provides a deterministic, rule-based pipeline that identifies exactly which open-source repositories were used during a coding task, generates a human-reviewable report, and enables manual starring with explicit consent.
Рабочий процесс
- 1. Run agent-thanks against the working tree and a Git baseline (e.g.,
agent-thanks run --repo . --base HEAD --session path/to/agent-session.log --dry-run). - 2. The tool compares the tree, detects new dependencies, clones, submodules, and provenance lines, and records evidence for each repo.
- 3. Export the report to Markdown (
agent-thanks export .agent-thanks-report.json --output OPEN_SOURCE_USE.md). - 4. Review the Markdown evidence list; optionally star repositories by running the tool in interactive mode, which prompts for explicit y/N decisions before starring.
- 5. If stars are created, the CLI prints an undo command to revert them if needed.
Доказательства
agent-thanks compares the working tree with a Git baseline and can optionally inspect a local agent transcript.
The evidence pipeline can run unattended. Starring cannot.
If a Star succeeds, the CLI prints an exact Undo command for the Stars created by that invocation.
- Дата записи: 2026-09-06T10:07:22.782Z