Make CodeyBox commit/PR attribution configurable: switch off Co-Authored-By, CodeyBox-* trailers and the PR footer - #702
Merged
Merged
Conversation
Adds CodeyBox:CommitAttribution (CoAuthoredBy, CodeyBoxTrailers, PullRequestFooter; all default true) plus per-project overrides resolved through a single injected CommitAttributionPolicy. Disabled lines are omitted from orchestrator/mechanical/conflict/merge commits, agent prompts stop requesting them, the host strips agent-added ones by exact key, the GitHub PR footer and squash trailers follow the same policy, and the prompt-revision auditor is skipped with an explicit reason while stale-prompt tracking continues from the DB dispatch ledger. CodeyBox-Prompt-Revision: 1 Co-Authored-By: CodeyBox <noreply@codeybox.invalid>
…eck, whitespace - PromptTrailer: move trailer-block doc back above ComposeCommitTrailerBlockAsync, reworded for attribution flags; ResolveAttribution gets its own summary - CodeyBoxTrailers.Compose: qualify final-line doc with includeCoAuthoredBy - CommitAttribution: drop unreachable empty check in IsTrailerLine; add static ComposeMessageStatic sharing the single join+strip path - Merge: FinalizeConflictResolutionAsync takes resolved CommitAttribution and composes via policy (strips disabled trailers defence-in-depth) - ProjectRepository: fix stray whitespace - Tests: conflict-resolution commit strips disabled trailers / keeps them when enabled CodeyBox-Prompt-Revision: 1 Co-Authored-By: CodeyBox <noreply@codeybox.invalid>
Class docs claimed trailers are always present while Compose gates them; qualify with attribution-flag wording and note skipped auditor path. CodeyBox-Prompt-Revision: 1 Co-Authored-By: CodeyBox <noreply@codeybox.invalid> CodeyBox-Prompt-Revision: 1 Co-authored-by: CodeyBox <noreply@codeybox.invalid>
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.
Automated via CodeyBox — work item 3762901e02934f61ab3e4e849637e671
Initiated by CodeyBox operator
Co-Authored-By: CodeyBox noreply@codeybox.invalid
🤖 Generated with CodeyBox