Repository navigation
docs: drop ADR citations from the domain model and fix acceptEdits - #2191
Merged
Merged
Conversation
- Remove the ADR 0022/0030/0038 citations from mecatl.modelith.yaml. - The model described acceptEdits as declared but not implemented. It auto-allows Edit and Write where only the built-in floor would ask (permpolicy acceptEditsRules); configured asks and denies still win and Shell is unaffected. Rewrite the PermissionMode definition, invariant, and scenario to match. - Pin task docs:model to modelith v0.4.0, the release the CI gate's action runs, and drop the stale private-module note: modelith is public. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merged
2 tasks
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
Closes the last known follow-up from the docs cleanup (#2157, #2169, #2190):
docs/architecture/mecatl.modelith.yamlstill cited ADR 0022, 0030, and 0038.Fixing that turned up a stale claim behind the ADR 0022 citation, and showed that the follow-up's premise ("needs a private modelith revision") was out of date.
Changes
permpolicy.EvaluateaddsacceptEditsRules(Edit and Write allows at ScopeCLI) in accept-edits mode. They loosen only the built-in ask floor; configured asks and denies still win, and Shell is unaffected. ThePermissionModedefinition, the invariant (renamedacceptedits-loosens-only-the-edit-floor), and the scenario now match the code and permissions and posture.task docs:modeluses the version CI runs. It pinned modelith source at73429dd, while the CI gate's action downloads thev0.4.0release binary. The two render blank lines differently, so the local task could not reproduce the committed.md. It now uses@v0.4.0. The private-module note is gone:stacklok/modelithis public.With this, the repo-wide ADR grep has no hits outside the CHANGELOGs, the guard script,
.claude/agents, anddocs/drafts/.Test plan
task docs:model: renders with no further diff; lint gives 0 errors and the same 13 warnings as mainmodelith render --checkat v0.4.0 (what CI'scheck-renderedruns) passestask docs: 0 broken links, anchors, orphans, or unreachable pages🤖 Generated with Claude Code