Merge pull request 'chore(agents): make Claude Code write Assisted-by instead of Co-Authored-By' (#313) from chore/claude-attribution-settings into main
Reviewed-on: #313 Reviewed-by: Defame1297 <[email protected]>
This commit was merged in pull request #313.
This commit is contained in:
commit
e10c973dc5
3 files changed
+13
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
{
|
{
|
||||||
|
"attribution": {
|
||||||
|
"commit": "Assisted-by: Claude Code",
|
||||||
|
"pr": "Assisted-by: Claude Code",
|
||||||
|
"sessionUrl": false
|
||||||
|
},
|
||||||
"disableSkillShellExecution": true
|
"disableSkillShellExecution": true
|
||||||
}
|
}
|
||||||
@@ -85,6 +85,7 @@ IGNORED = (
|
|||||||
"ruff.toml",
|
"ruff.toml",
|
||||||
"apm.yml",
|
"apm.yml",
|
||||||
"apm.lock.yaml",
|
"apm.lock.yaml",
|
||||||
|
".claude/*",
|
||||||
"tests/sanity/*",
|
"tests/sanity/*",
|
||||||
"tests/scripts/*",
|
"tests/scripts/*",
|
||||||
"images/*",
|
"images/*",
|
||||||
|
|||||||
@@ -172,6 +172,13 @@ class SelectTest(unittest.TestCase):
|
|||||||
)
|
)
|
||||||
self.assertEqual(chosen, [])
|
self.assertEqual(chosen, [])
|
||||||
|
|
||||||
|
def test_agent_tool_settings_select_nothing(self):
|
||||||
|
# Claude Code reads .claude/ on a contributor's machine; no scenario reads it.
|
||||||
|
chosen, _reason = self.select(
|
||||||
|
[".claude/settings.json", ".claude/hooks/guard.sh"],
|
||||||
|
)
|
||||||
|
self.assertEqual(chosen, [])
|
||||||
|
|
||||||
def test_role_readme_selects_nothing(self):
|
def test_role_readme_selects_nothing(self):
|
||||||
# A role's README is documentation; its scenarios and its users' do not read it.
|
# A role's README is documentation; its scenarios and its users' do not read it.
|
||||||
chosen, _reason = self.select(["roles/docker/README.md"])
|
chosen, _reason = self.select(["roles/docker/README.md"])
|
||||||
|
|||||||
Reference in new issue
Block a user