Repository navigation
Contracts: debug_prints, sync_locks, concurrency go draft -> declared (Part of #8863) - #9197
Merged
Merged
Conversation
… with measured incidence (Part of #8863) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
Open
21 of 34 tasks
Contributor
|
No description provided. |
This was referenced Nov 24, 2026
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.
Part of #8863 (child #8862).
Checklist: partial [c:a9dfa2bb] -- 9
draftrows remain (dead_code, reflection_metaprogramming, spec_exposure, llm_api unplanted; safety_bypasses, doc, telemetry, planned_debt, fragile_debt planted) and the #8868 readings onassertanddoc.What changed
debug_prints,sync_locksandconcurrencymove fromdrafttodeclared(the #2897 state for unplanted rows): a one-sentence language-independent contract insignal_contracts.py, the same sentence in thehow_to_add_a_language.mdschema comment (the audit's containment check), incidence measured withrule_probe.pyon language-crucible v1.8.0 and keyword-rosetta main, and every contradicting rule listed in the newdocs/resource_family_contracts.md. No rule is edited, so no golden or rosetta cell moves and there is nothing to time.Readings this settles from #8868 (a reading of the existing words; the maintainer can overrule by editing the sentence): a write to a file or writer is not a
debug_printssite; atomic operations aresync_locks, spawning the work isconcurrency.Hand-written files (4):
gitgalaxy/standards/signal_contracts.py,gitgalaxy/standards/how_to_add_a_language.md,docs/resource_family_contracts.md,tests/test_signal_contract_sheet.py. Regenerated:docs/signal_contracts.md,tests/signal_contract_audit_baseline.json(3 draft entries gone), the two family-validity SVGs (the grid reads contract status).Class / Sibling gaps
Class: unplanted
draftrows in the contract sheet that need a declared sentence plus measured incidence and a list of contradicting rules. Members handled here: debug_prints, sync_locks, concurrency (each pinned by a parametrized test).Sibling gaps (none needs a burned estate; this is a non-mainframe engine item):
dead_code,reflection_metaprogramming,spec_exposure,llm_api: same mechanism, unplanted, next slice of 4 rows (core).safety_bypasses,doc,telemetry,planned_debt,fragile_debt: planted, so they need the full family audit (rule-contract-audit), not a sentence (sweep).assertan abort;docin a language without/** */(frontier, owner call).fprintfto a file counted as a debug print, Rustsemaphoreidentifiers, DartCompleter) are one-layer rule fixes, each needing a timed PR (core).Gates
pytest tests/test_signal_contract_sheet.py tests/signal_contract_audit.py: 15 passed;signal_contract_audit.py --ci: no new findingsaudit_check.py: all clear;ruff format --checkclean on changed .py filespr_gates --fast: first run 1 failure (stale family-validity SVGs), regenerated withfamily_validity_chart.py --write,--checkcurrent and its tests pass; the "affected" gate only reports tests over its 300 s budget left to CI--ratchetsand golden bless not run: no parsing rule or engine path changedLessons for agents
family_validity_chart.pyreads contract status, so promoting any contract row makestest_committed_svgs_are_currentfail: runfamily_validity_chart.py --writein the same PR./srv/storage_16tb/projects/keyword-rosetta, not underprojects/gitgalaxy/;env_check.py --exportsdoes not printKEYWORD_ROSETTA_PATH.🤖 Generated with Claude Code