Agent Team Readiness scan core (atr-1) - #1
Merged
Merged
Conversation
Evidence-first, read-only scanner assessing repo-level readiness for multiple coding agents working in parallel. Six-dimension rubric with per-dimension evidence, must-fix blockers, and preserved unknowns; the atr-1 result contract with an executable validator and published JSON Schema; deterministic collectors that reject hollow, placeholder, no-op, prose, and automation-only evidence; generated review-only AGENTS.md draft and Context Tree seed map; 25 fixtures and 44 tests; pinned 12-repository calibration with human-reviewed bands, a byte- reproducible baseline, and an honest false-positive/false-negative/ unknown analysis; real first-tree sample report. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent Team Readiness scan core (
atr-1)Evidence-first, read-only scanner that assesses whether a repository gives multiple coding agents enough repo-level structure to work safely in parallel — not a generic "has AGENTS.md" check. Conclusions are limited to repo-observable capability; runtime, organization, and team-behavior questions stay explicit
unknowns.What's in this PR
atr-1result contract: executable validator (lib/validate.mjs), published JSON Schema (schemas/atr-1.schema.json), and prose reference (references/atr-1.md). Headline score is withheld below 60% evidence coverage instead of being guessed.lib/evidence.mjs): instruction files & conflict detection, isolation-policy polarity (shared-branch mandates are critical blockers, not credit), verification commands (package scripts / Make / Cargo / Go / pytest / CI) with no-op and hollow-surface rejection, CODEOWNERS rule counting, architecture/ADR discovery (md/rst/adoc/txt), handoff templates with placeholder rejection.AGENTS.draft.md+context-tree-seed-map.md, both marked review-only.calibration/): first-tree, express, flask, requests, chi, ripgrep, axum, fastify, vue-core, github-cli, uv, p-map — human-reviewed bands per dimension, 72/72 band agreement, with per-dimension evidence/unknowns preserved and an honest false-positive / false-negative / unknown analysis (calibration/analysis.md, 20 discrepancies found and fixed across calibration and review rounds, residual risks listed).examples/first-tree/): all four artifacts from scanningagent-team-foundation/first-treeat a pinned commit.Run it
Output (real run):
{ "schema_version": "atr-1", "repository": "agent-team-foundation/first-tree", "revision": "2d5bacb917c26400598563ef5500f9b4be7c5140", "headline_score": 84, "evidence_coverage": 99, "artifacts": ["atr-1.json", "evidence.json", "AGENTS.draft.md", "context-tree-seed-map.md"] }Validate and calibrate:
Reproducibility: re-running calibration and the first-tree example against this branch reproduces
calibration/baseline.json,calibration/REPORT.md, andexamples/first-tree/*byte-for-byte (implementation + input digests are embedded and asserted).Review history
tests/scanner.test.mjs).fixtures/prose-instructions+ prose-only test).uses:-only automation workflows (stale bots, labelers) counted as CI verification gates, suppressing the no-CI-gate blocker — found independently by both reviewers. Only shell-executing steps count now (fixtures/uses-only-ci); in calibration this replaced Flask's lock-bot and Fastify's backport-bot citations with their real check workflows, zero score drift.test := …) matched the target probe, fabricatingmake testand downgrading the critical no-test blocker (fixtures/make-assignment-verification).--generated-atround-trip validation, broadernpm run checkcoverage.Provenance
Implementation started by gandy-coder; taken over, verified, and finished by gandy-s-assistant per gandy2025's direction. Campaign/landing wiring (First Tree catalog + website landing page) follows as separate small PRs from latest main.