Fix: Windows Python command compatibility for statusline and hooks#118
Merged
davila7 merged 1 commit intodavila7:mainfrom Nov 15, 2025
Merged
Conversation
- Replace python3 with python in JSON configs on Windows - Add cross-platform Python detection (py/python/python3) - Update E2B sandbox to try multiple Python commands - Follows PEP 397 Python launcher best practices
|
@Higangssh is attempting to deploy a commit to the Daniel Avila's projects Team on Vercel. A member of the Team first needs to authorize it. |
davila7
approved these changes
Nov 15, 2025
cateyephotos
added a commit
to cateyephotos/claude-code-templates
that referenced
this pull request
Apr 19, 2026
…ila7#116, davila7#117, davila7#118) Three new evidence-based supplement monographs from a unified Mode 1 + Mode 6 pipeline run for Linear issues SUPP-272, SUPP-273, SUPP-274. Citation integrity gates passed for all 3 (verify-citations.js exit 0): - 116 Ergothioneine: 12 papers, 13 unique PMIDs/DOIs verified live via PubMed/CrossRef - 117 Sulforaphane: 12 papers, 12 unique PMIDs/DOIs verified live via PubMed/CrossRef - 118 Glycine: 12 papers, 12 unique PMIDs/DOIs verified live via PubMed/CrossRef Note: every PMID listed in the Linear-issue starter sets was hallucinated; all final references were sourced from live PubMed esearch and esummary results. Per supplement (each with seed.js dry-run 0 errors, all 10 monograph sections): - 116 Ergothioneine — Tier 3 (qs 55). Antioxidants. Longevity / Antioxidant Support / Cardiovascular / Neuroprotection. Smith 2020 Heart cohort (n=3236, 21.4yr, HR=0.79 CV mortality), Yau 2024 J Alz Dis pilot RCT, Sprenger 2025 Cell Metab MPST direct activation, Ames PNAS 2018 longevity-vitamin classification. - 117 Sulforaphane — Tier 2 (qs 70). Antioxidants. Singh 2014 PNAS ASD pivotal RCT (34% ABC, p<0.001), Egner 2014 Qidong RCT (n=291, +61% benzene mercapturic acid), Yuan 2025 Phase II lung Ki-67, Tian 2024 NAFLD insulin resistance, Monteiro 2023 preclinical renoprotection meta-analysis. - 118 Glycine — Tier 3 (qs 52). Amino Acids. Bannai 2012 sleep (3 g pre-bed), File 1999 Bioglycin cognition, Kumar 2023 J Gerontol A GlyNAC RCT (cited only for substrate-level mechanistic inference per issue guidance). Mechanism glossary: +17 entries (5 ergothioneine + 6 sulforaphane + 6 glycine); glossary rebuilt with 321 mechanisms across 9 categories. 9 new compare pages (Mockup B layout) generated: - ergothioneine-vs-{urolithin-a, glutathione, calcium-alpha-ketoglutarate} - sulforaphane-vs-{turmeric-curcumin, quercetin, glutathione} - glycine-vs-{glynac, l-theanine, collagen-peptides} 15 provenance documents written (5 per supplement) in content/provenance/{ergothioneine, sulforaphane, glycine}/ All 12 category pages, all guide pages, sitemap regenerated; site-stats patched across 25 pages; honeypots injected on 64 newly-generated pages. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.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.
Problem
I was trying to use the context-monitor statusline on Windows and it just wouldn't work. After digging into it, I
found that all the downloaded configs use
python3commands, but Windows doesn't havepython3- it only haspython.This affects any statusline or hook that needs to run Python scripts.
Fixes #119
Changes
Added platform-aware Python command detection:
Windows:
py(Windows Python launcher) firstpythonpython3as last resortLinux/Mac:
python3(no change)Modified files:
cli-tool/src/index.jsWhat it does:
python3withpythonin JSON configs on WindowsTesting
Tested on Windows 11 with Python 3.13.5:
pythonandpycommands work