docs: Python/FastAPI backend audit (main@cfccbbb) - #8
Closed
wu1w wants to merge 1 commit into
Closed
Conversation
Documents ranked findings, the backend-ci failure chain (Ruff F541 on HEAD, prior pytest and version-sync failures), and what still looks solid. No product or CI changes. Co-authored-by: wu1w <wu1w@users.noreply.github.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.
Read-only audit of the Python/FastAPI backend on latest
main.This PR contains only
docs/audit-python-backend-2026-08-18.md. No product, test, or CI code is changed.Audited SHA
cfccbbb9ed3a8a489097aa3a6e42ee0049a66e43backend-ci (from GitHub logs, not guessed)
Current
mainis red because Ruff F541 fails first (backend/agent/loop.py:393and:3477, unusedfprefixes, introduced in4133b5f). Pytest never runs on the last three pushes.The last time tests actually ran on
main(81581cc) failed ~50 assertions (i18n copy drift, workforce/inbox semantics, tool-policy snapshots). Earlier the same week, version sync failed (0.4.2vs0.5.0-alpha); that is already aligned at0.4.3on HEAD.Report includes
cfccbbbactually closed vs leftover gapspython/web_search/configure_tevarn— Windows event loop, integer-string schema, status vs overviewNo Critical finding on the default single-user desktop threat model. Highest leftovers: incomplete tool stop, CI hiding pytest, multi-user trace IDOR, event-loop spill I/O, image HTTP with no timeout.