Skip to content

test(agent): pin fixture-based offline audit contracts - #140

Merged
drevendev merged 3 commits into
masterfrom
beautifulrepo/agent-fixture-contract-20261024
Oct 23, 2026
Merged

drevendev merged 3 commits into
masterfrom
beautifulrepo/agent-fixture-contract-20261024

Conversation

@drevendev

Copy link
Copy Markdown
Owner

Reader problem

The audit-repo plugin skill has a documented manual smoke check, but its expected results are not pinned across representative outside repositories.

Changes

  • Add four synthetic, non-executable fixture repositories: minimal, broken-links, healthy, and instruction-in-README bait.
  • Pin expected offline audit rule_ids and link-check exit statuses per fixture.
  • Run all three checkers in python -I from a foreign working directory, asserting determinism and byte-for-byte read-only behavior.
  • Document the limits and a manual Codex smoke checklist. No LLM eval or injection resistance is claimed.

Verification

  • Python 3.11+ standard-library test, discovered by existing CI; full provider checks should run for this PR.
  • Local full-suite execution unavailable because this environment cannot resolve github.com to clone the repository.

Related: #74. Model-trigger evals and at least two positive / one negative trigger case per skill remain open; this PR does not close the issue.

No releases, tags, external calls, secrets, or private controls changed.

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Later-run acceptance of head f27a6e6c5cddad38ce452e6fb63cd334c1a6ce0f.

Reviewed the 19 changed paths (fixture inputs, expected contracts, test_agent_fixtures.py, docs, changelog), the read-only tool boundaries and the explicit no-LLM-evaluation qualification. The cases are synthetic and do not execute repository code; destructive link mutation is confined to a temporary copy. The new assertions cover audit rule IDs, link/HTML checker exits, repeatable JSON and source/target byte stability.

Fresh GitHub Actions run 40033703659 completed with six successful jobs (Python 3.11, Python 3.14, Windows 3.14, Linux/Windows Action self-tests, Lint). No unresolved review threads or material findings identified. This review is same-account COMMENT evidence, not an independent approval. Full local suite was not run in this acceptance environment.

Scope accepted for integration; #74 must remain open for real model-trigger and prompt-injection evals. No tags, releases, settings or private controls are part of this PR.

@drevendev
drevendev merged commit 69ad11f into master Oct 23, 2026
6 checks passed
@drevendev
drevendev deleted the beautifulrepo/agent-fixture-contract-20261024 branch October 23, 2026 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant