Repository navigation
feat(lint): move owned source selection to Go - #835
Draft
tbhb-agent wants to merge 3 commits into
Draft
tbhb-agent wants to merge 3 commits into
tbhb-agent wants to merge 3 commits into
Conversation
Owned source gates must keep Git selection rules and exact APM exclusions without hiding additions beside deployed content. Keep the existing filter and a frozen shell fallback so older consumer binaries continue to work throughout the compatibility window. Probe capability before execution and propagate operational failures without retrying. Assisted-by: codex:gpt-6.1-sol Signed-off-by: Tony Burns <tony@tonyburns.net>
Shell integration doesn't measure help and discovery failures in Go coverage, yet consumers depend on them when probing capability. Assisted-by: codex:gpt-6.1-sol Signed-off-by: Tony Burns <tony@tonyburns.net>
The remote contains the signed commits, so updating this branch's base can't replace its published history. Assisted-by: codex:gpt-6.1-sol Signed-off-by: Tony Burns <tony@tonyburns.net>
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
Move owned-source selection and lint dispatch to
agentrepo lint-source-files. Keep the existing Python APM filter and a frozen shell fallback behind the capability probe.Why
Owned additions beside deployed content must remain eligible without linting vendored content. Consumers with older binary pins need the existing selection behavior throughout the N-2 compatibility window.
Verification
mise run test-hooks tests/tasks/exclusions.batsmise run test-hooks tests/tasks/exclusions.batsmise run test-hooks tests/tasks/exclusions.batsmise run test-hooks tests/tasks/lint-source.batsmise run test-hooks tests/tasks/lint-source.batsmise run test-hooks tests/tasks/lint-source.batsmise run test-hooks tests/tasks/lint-source.batsmise run testmise run test-hooks tests/tasks/lint-source.batsmise run lint,mise run test,mise run cover-go, andmise run lint-apmpassed. The replacement checks failed against the original dispatch. Docs: updateddocs/shared-lint-exclusions.mdto explain capability probing and the compatibility fallback.Risk
Selection mistakes can hide owned violations or lint deployed content. Revert this change to restore shell dispatch.
Compatibility: none
Related
Refs #804. Native platform verification remains for CI before this draft becomes ready.