Repository navigation
Organize tests, docs and experiments by capability; add coherence review stance - #19
Merged
Merged
Conversation
…s: cite commit for archived records
…t mixed-capability guidance
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.
Summary
Delivery order had become the repository's organizing principle. Tests, fixtures, experiments and documents were split per milestone, and benchmark, profile and acceptance output was committed under
docs/milestones/(about 2.2 MB). Finding what one capability does meant first learning which delivery introduced it.This PR organizes the repository by capability instead and adds a review stance that guards the value behind it.
src/module layout is untouched.What changes
New review stance.
luwu-coherence-reviewstates the value: a reader must understand a capability from its current form, in one place, without replaying delivery order. It deliberately does not prescribe a layout and does not govern howsrc/is divided.luwu-verifiability-reviewno longer treats milestone records as evidence; the other review skills now cite tests.Documents.
docs/milestones/is removed. What each delivery added is now one smalldocs/changelog.mdwith a capability-by-delivery matrix.docs/status.mdis a current capability matrix with open limits.docs/roadmap.mdkeeps the open exit conditions (M6 user trial, M7 Droid workspace-trust evidence) and the M8/M9 plans.maintenance.md,design.md).reference.mdanddesign.mduse version names instead of M-labels. Error codes and message strings are unchanged.AGENTS.mdownership table is updated.Tests. 52 milestone-named files are regrouped into
tests/<capability>/(manifest, inputs, formats, drift, planning, apply, filesystem, reverse, records, interruption, providers, cli, scenarios, tooling). The two largest mixed-capability suites (profile engine and profile scenarios, about 4.7k lines) are split by capability. Shared builders live intests/support/. Fixtures are named by scenario. A README quickstart test is added, because the README claimed an E2E check that did not exist.Run output. No run results are committed. Benchmarks, profiles and rehearsals write to the ignored
/.evidence/. The 15experiments/scripts are renamed by capability.Lockfile.
uv.locknow points at public PyPI.scripts/uv_lock_pypi.pyrefreshes it through whatever index the machine has configured, rewrites every URL to PyPI, and refuses to keep a lock that names another host. The prekuv-lockandtyhooks setUV_DEFAULT_INDEXso the check also passes on machines with a private default index. Hashes are untouched.Tooling. pre-commit hook revisions for uv, ruff and ty are updated, and Markdown tables are realigned by mdformat.
Recovering removed records
The deleted milestone records are preserved in commit
bb80335, for examplegit show bb80335:docs/milestones/m3.md. The changelog says so.Verification
ruff check,ruff format --check,compileallandgit diff --checkpass. Markdown links and anchors resolve.prek -apasses exceptgitleaks, which I could not run in my environment (it downloads Go and the certificate check fails there). It passed earlier with the previous hook revisions.Known limits
src/still hasm6_*/m7_*modules andM6*/M7*exception names, and a few user-visible messages mention "M7". This is intentional: layout is a design question, and message strings are public.V<n>suffixes. Behavior that differs by manifest version is a real dimension of a capability, andmaintenance.mdsays to keep it visible inside the capability's module.SIGSEGVcrashes (the kernel log shows general protection faults inpython3.13,libcandcurl). Every failure was a -11, with no assertion failures. The last clean full run is the 646-test result above. Please rely on CI for the final confirmation.