Implement CI check for correct copyright notice in generated files

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Not Applicable
    • Storage Engines - Foundations
    • 364.723
    • None
    • 1

      Issue Summary

      When using AI tools (such as Claude) to generate new files, there is a risk that the copyright notice may be subtly altered. For example, the word 'HEIRS' was replaced with 'INTERESTS' in the generated notice, which could have legal implications.

      Context

      • The standard copyright notice used in the codebase includes the phrase 'to the detriment of our HEIRS and successors.'
      • AI-generated files have been observed to use 'INTERESTS' instead of 'HEIRS,' which deviates from the approved legal language.
      • There is concern that such small changes could go unnoticed and potentially cause legal issues.
      • Suggestions in the thread include:
        • Implementing a CI check (possibly as part of s_all) to ensure all files contain the correct copyright notice.
        • Using a copyright memory/skills mechanism in .claude files at the project root.
        • Manual review of AI-generated code before merging to the develop branch.

      Proposed Solution

      • Implement a CI check that scans all files for the presence and correctness of the copyright notice, specifically verifying the use of 'HEIRS' and not 'INTERESTS.'
      • Optionally, enforce copyright notice rules via .claude configuration files.
      • Continue to encourage manual review of AI-generated code for legal compliance.

      Original Slack thread: Slack Thread
      This ticket was generated by AI from a Slack thread.

            Assignee:
            Unassigned
            Reporter:
            Memento Slack Bot
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: