Skip to content

Decide: Should host-setup/agent-safety/claude/install.py write a Claude Code attribution block into the user settings.json, allowing the co-author trailer by default and setting sessionUrl: false so the s? #3738

Closed

Description

@ptr727

Split from #1264 by decision triage. Only this undecided item waits on the maintainer. The rest of #1264 stays there as ordinary work.

Decision needed (decision triage, 2026-11-01)

Question: Should host-setup/agent-safety/claude/install.py write a Claude Code attribution block into the user settings.json, allowing the co-author trailer by default and setting sessionUrl: false so the session link never appears?

Options, recommended first:

  1. Approve, but write only sessionUrl:false (recommended): Leave commit and pr at Claude Code's defaults (which already carry the current model's co-author line), and never overwrite a user-set attribution key. A hard-coded commit string goes stale at every model release, and sessionUrl: false is a restriction, fitting the kit's restrictions-only stance. Land it with the GOVERNANCE.md:157 rule flip (this issue's ordinary-work half) so rule and setting never disagree. No work in flight.
  2. Approve as proposed (full block): Write commit, pr, and sessionUrl as in the issue's example. Explicit, but pins trailer text the installer must maintain, pr: "" removes the PR footer, and it widens a permission from a kit that otherwise only restricts. No work in flight.
  3. Decline, enforce by rule text only: Keeps the kit narrow, but the session-link ban, which the issue calls "not overridable", gets no mechanical layer. No work in flight.

Evidence: Claude Code documents an attribution settings key with commit, pr, and sessionUrl fields. Neither install.py nor claude/*.md mention attribution today. GOVERNANCE.md:157 still says "Unsolicited Co-Authored-By: lines are out", so the installer edit must not land ahead of the rule flip. install.py already owns specific keys under a marker without removing the host's own entries (the env prefix via foreign_prefix at install.py:458, the autoMode entries from #3704).

Blocks: none (pairs with the GOVERNANCE.md:157 rule change in this issue)

Activity

  1. added
    decision
    on Nov 1, 2026
  2. bongurishi commented on Nov 1, 2026

    @bongurishi

    I'm interested in implementing
    I'll first inspect the existing installer logic and governance rules, then make the minimal change to set sessionUrl: false while preserving existing user attribution settings and leaving commit and pr at their defaults.
    I'll also ensure the GOVERNANCE.md rule change lands alongside the installer change.
    Could you assign this issue to me, or let me know if you'd prefer a different approach?

  3. ptr727 commented on Nov 1, 2026

    @ptr727
    OwnerAuthor

    Maintainer answer (decision triage, 2026-11-01): Approved, sessionUrl only: install.py writes only attribution.sessionUrl=false, leaves commit and pr at Claude Code's defaults, and never overwrites a user-set attribution key. This agent-safety edit is approved for implementation, and it lands together with the GOVERNANCE.md:157 co-author rule flip.

    The answer is carried to #1264, where the work lives. Closing this decision issue, since it held only the question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    decision

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions