Skip to content

fix(docs,meta): scope wording covers code and rule files; pin DET-008 in the CLI test - #4

Merged
sscodeai merged 2 commits into
mainfrom
fix/scope-wording
Oct 12, 2026
Merged

sscodeai merged 2 commits into
mainfrom
fix/scope-wording

Conversation

@sscodeai

Copy link
Copy Markdown
Owner

Second follow-up to #2 (after #3). #3 fixed the counts; this fixes the scope wording and closes a test gap.

Fixed

  • README.md / README.ja.md headline — promised to scan "untrusted documents"; it now names what the gate actually reads: documents, source files and agent rule files. Same for the Japanese headline.
  • README.ja.md — the list-detectors example still said 7 detectors (the English one was fixed in fix(docs): sync detector counts and threat model with code-context coverage #3); now 8.
  • README.md "Why" — adds the code-comment channel as a fourth attack class, pointing at DET-008 and the paper.
  • pyproject.toml (PyPI metadata), src/aiitg/__init__.py docstring, aiitg --help — all three described a "hidden content auditor for documents"; they now describe the widened input surface. The GitHub repository description was updated to match.
  • tests/e2e/test_cli_e2e.py — list-detectors asserted DET-001..DET-007 only, so a detector that stopped being registered would still pass. It now pins DET-008 as well.

Verification

make test (330), ruff, mypy all clean; aiitg --help shows the new description. Docs/metadata plus one test assertion — no behaviour change.

Left deliberately unchanged

The M0 milestone row and the roadmap line keep "6 formats × 7 detectors" (historical scope, now qualified with "document"), and the "Why the name" table keeps its document-era rationale — those are not false claims about the current gate.

The headline still promised to scan "untrusted documents" only, `README.ja.md` still said
7 detectors in the `list-detectors` example, and the "Why" list had no entry for the
code-comment channel. All three now match what the gate does.
… DET-008

`pyproject.toml` (PyPI metadata), the module docstring and `aiitg --help` all described a
"hidden content auditor for documents". The gate also reads source files and agent rule
files now, so the description says so. The `list-detectors` e2e test listed DET-001..007
only — it now pins DET-008 too, so a detector that silently stops being registered fails
CI instead of passing quietly.
@sscodeai
sscodeai merged commit 42db398 into main Oct 12, 2026
2 checks passed
@sscodeai
sscodeai deleted the fix/scope-wording branch November 24, 2026 14:57
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