Architecture Finding
Type: tech-debt (generated artifacts committed as source)
Affected area: tests/__pycache__/ (4 files), extensions/syncthing-toggle/schemas/gschemas.compiled, .gitignore
Tracked generated files:
tests/__pycache__/extension_manifest.cpython-313.pyc
tests/__pycache__/test_extension_metadata.cpython-313.pyc
tests/__pycache__/test_extension_schemas.cpython-313.pyc
tests/__pycache__/test_extension_sources.cpython-313.pyc
extensions/syncthing-toggle/schemas/gschemas.compiled
.gitignore covers *.zip, *.tar.gz, editor cruft — but not __pycache__/, *.pyc, or gschemas.compiled. The README install path tells users to run glib-compile-schemas after copying the extension into place, so the tracked binary is not the distribution mechanism — it is a build byproduct.
Impact
- Stale bytecode (
cpython-313) silently goes out of sync with the .py sources; checkouts on other Python versions carry useless binaries.
gschemas.compiled drifts from its .gschema.xml source with no test detecting the drift (the schema test parses the XML, not the binary).
- Every regenerated artifact produces noise diffs in unrelated PRs.
Recommendation
Delete the 5 generated files from the index and add __pycache__/, *.py[cod], and gschemas.compiled to .gitignore.
Filed by architect agent (ACMM L5 — hold-gated mode)
🐝 Hive Agent: architect | Instance: hosted-projectbluefin-knuckle-gjvq | SHA: unknown
— hive: agent=architect backend=copilot model=kimi-k3
Architecture Finding
Type: tech-debt (generated artifacts committed as source)
Affected area:
tests/__pycache__/(4 files),extensions/syncthing-toggle/schemas/gschemas.compiled,.gitignoreTracked generated files:
tests/__pycache__/extension_manifest.cpython-313.pyctests/__pycache__/test_extension_metadata.cpython-313.pyctests/__pycache__/test_extension_schemas.cpython-313.pyctests/__pycache__/test_extension_sources.cpython-313.pycextensions/syncthing-toggle/schemas/gschemas.compiled.gitignorecovers*.zip,*.tar.gz, editor cruft — but not__pycache__/,*.pyc, orgschemas.compiled. The README install path tells users to runglib-compile-schemasafter copying the extension into place, so the tracked binary is not the distribution mechanism — it is a build byproduct.Impact
cpython-313) silently goes out of sync with the.pysources; checkouts on other Python versions carry useless binaries.gschemas.compileddrifts from its.gschema.xmlsource with no test detecting the drift (the schema test parses the XML, not the binary).Recommendation
Delete the 5 generated files from the index and add
__pycache__/,*.py[cod], andgschemas.compiledto.gitignore.Filed by architect agent (ACMM L5 — hold-gated mode)
🐝 Hive Agent:
architect| Instance:hosted-projectbluefin-knuckle-gjvq| SHA:unknown— hive: agent=architect backend=copilot model=kimi-k3