Skip to content

Remove generated audit artifacts and redundant root documentation - #155

Merged
mxsm merged 1 commit into
mainfrom
mxsm/remove-audit-docs
Aug 12, 2026
Merged

Remove generated audit artifacts and redundant root documentation#155
mxsm merged 1 commit into
mainfrom
mxsm/remove-audit-docs

Conversation

@mxsm

@mxsm mxsm commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Closes #154

Summary

  • remove the generated architecture and performance audit HTML artifact
  • remove four redundant root documents whose content is already enforced by README, tests, scripts, source, and workflows
  • update README references so the remaining documentation points directly to executable evidence
  • add a repository contract that prevents the removed audit artifacts from being shipped again
  • keep the untracked docs/ directory untouched and excluded from release packages

Removed files

  • cheetah-string-architecture-performance-report.html
  • API.md
  • LAYOUT.md
  • PERFORMANCE.md
  • SAFETY.md

Verification

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test --all-features (203/203)
  • cargo test --no-default-features --features serde,bytes,simd
  • default and all-feature rustdoc with -D warnings
  • Python repository contracts (25/25)
  • README local-link validation
  • cargo package --allow-dirty (74 files, 334.1 KiB; 71.9 KiB compressed)
  • package inventory contains none of the removed artifacts and no docs/** entries

Summary by CodeRabbit

  • Documentation
    • Removed standalone API, layout, performance, and safety documentation.
    • Removed the architecture and performance report.
    • Consolidated key compatibility, safety, layout, and performance references in the README.
  • Tests
    • Added a repository check ensuring retired audit artifacts are absent and no longer referenced.

Copilot AI lite review requested due to automatic review settings August 12, 2026 10:02
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 277c6cec-c8b2-4506-9957-e3e0a8f46a88

📥 Commits

Reviewing files that changed from the base of the PR and between 7d1788f and f69cae4.

📒 Files selected for processing (7)
  • API.md
  • LAYOUT.md
  • PERFORMANCE.md
  • README.md
  • SAFETY.md
  • cheetah-string-architecture-performance-report.html
  • scripts/tests/test_repository_contracts.py

📝 Walkthrough

Walkthrough

The PR removes redundant API, layout, performance, safety, and architecture-report documents. It updates README references to maintained checks and adds a repository contract test that prevents the retired artifacts from being shipped or referenced.

Changes

Documentation and repository contracts

Layer / File(s) Summary
Replace retired documentation with executable references
README.md, scripts/tests/test_repository_contracts.py
The README now references layout tests, schema-v3 benchmark validation, source contracts, and workflows. A repository test verifies that five retired audit artifacts are absent and unreferenced.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mxsm/remove-audit-docs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mxsm
mxsm merged commit 9f5259c into main Aug 12, 2026
17 of 18 checks passed
@mxsm
mxsm deleted the mxsm/remove-audit-docs branch August 12, 2026 10:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Removes generated/duplicative documentation artifacts from the repo and updates repository contracts + README to point to test/workflow-backed evidence instead of standalone root docs.

Changes:

  • Deleted the generated audit HTML artifact and four redundant root markdown docs.
  • Updated README references to point at enforced tests/workflows/scripts as the source of truth.
  • Added a repository-contract test to prevent the removed artifacts from being reintroduced/referenced.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
scripts/tests/test_repository_contracts.py Adds a contract test guarding against reintroducing removed docs/audit artifacts and README references.
README.md Replaces links to removed root docs with links to tests/scripts/workflows that enforce the same guarantees.
cheetah-string-architecture-performance-report.html Removes generated audit HTML artifact from the repository.
API.md Removes redundant root API compatibility doc (now enforced via tests/workflows).
LAYOUT.md Removes redundant root layout doc (now enforced via tests).
PERFORMANCE.md Removes redundant root performance contracts doc (now enforced via tests/scripts).
SAFETY.md Removes redundant root safety model doc (now enforced via workflow + in-source contracts).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +124 to +131
def test_generated_audit_artifacts_are_not_shipped(self) -> None:
retired = (
"API.md",
"LAYOUT.md",
"PERFORMANCE.md",
"SAFETY.md",
"cheetah-string-architecture-performance-report.html",
)
Comment on lines +133 to +135
for path in retired:
self.assertFalse((ROOT / path).exists(), path)
self.assertNotIn(path, readme)
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.

Remove generated audit artifacts and redundant root documentation

2 participants