Repository navigation
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
|
✅ Template Inspection Passed All changed templates have been validated successfully. Last updated: 2026-12-01T08:12:47.382Z |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
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.
Requesting Merging
Description
v1.5.2 patch. Fixes security defaults in generated projects, makes
fastkit init --configusable in CI, and adds Windows support with awindows-latestCI job.A review of all 12 templates found that 11 generated projects did not git-ignore
.env, three shipped a fixed publicSECRET_KEY, and thefastapi-mcpMCP endpoint had no authentication. A follow-up audit for Windows found crashes on non-UTF-8 consoles and locales, and several commands that assumed POSIX paths.Type of Change
Test Environment
pytest -m "not extended": 1790 passed, 13 skippedEncodingWarningfromfastapi_fastkitas errors: 1878 passed, 13 skippedLC_ALL=C,PYTHONUTF8=0): 1790 passed, 13 skippedos/signalattributes removed): 1870 passed, 21 skippedmypy src,black --check,isort --check: clean/metrics, CORS, production secret guard, generated tests, ruff 0.9.6)mkdocs build: no warningsNot verified on real Windows.
test.ymlruns on pull requests only, so thewindows-latestjob runs for the first time on this PR. Failures there are expected to need follow-up commits.Major Changes
Security
.env.example;initandstartdemocreate.envwith a uniqueSECRET_KEY. Every template git-ignores.envand.env.*.fastapi-mcp: the MCP endpoint now requiresMCP_API_KEYor a JWT. Demo accounts are off unlessENABLE_DEMO_USERS=true.fastapi-auth-jwt: refresh-token rotation is one transaction, so a token is usable once under concurrent requests.SECRET_KEYin production.CLI
init --confignever prompts, always creates./<project_name>/, and exits 1 on failure.initexits 1 on an invalid name, an existing directory, or a generation failure.pyproject.toml(requires-python >=3.12,[tool.*]tables) instead of replacing it.minimal,single-module) and SQL databases withoutgreenlet(nowsqlalchemy[asyncio]).classic-layeredanddomain-starter.Windows / portability
deleteproject,runserver, package-manager calls and the template inspector handle Windows paths, read-only files and.cmdshims..gitattributes;uvloopis skipped on Windows.CI
test.yml: addswindows-latest(Python 3.12, 3.14) and anencoding-guardjob.template-security-scan.yml: reportsScanned: ok/totaland fails when a scan did not complete.Docs
reference/translation-statuslists the pages.Screenshots (optional)
N/A
Etc
test (ubuntu-latest, py3.12)etc., plusencoding-guard. Update branch protection before merging if it lists the old names.initexit codes,--configalways creating a new folder, in-place deployment refusing to overwrite without a terminal unless--yesis given.startdemoexit codes are unchanged (still 0 on failure); planned for v1.6.0.