AI-Generated Code: Licensing & Attribution Checklist

Avoid IP pitfalls when shipping code that may be influenced by AI outputs.

Fill in all the bracketed [PLACEHOLDER] information in the variables section.

<!– CLICK-TO-COPY BOX: keep this structure exactly; replace only the *(Author's Note: …)* placeholders inside the with final content. -->

**1. Task**

Draft a checklist and policy addendum addressing licensing, provenance, and attribution for AI-influenced code.

**2. Variables (User Input)**

[JURISDICTION]: IP/open-source context.
[CLIENT_ROLE]: 'Software Supplier' or 'Customer'.
[FACTUAL_BACKGROUND]: codegen tools used, OSS policies, release model.
[KEY_LEGAL_TEXT]: OSS policy, contributor agreements.
[KEY_CONCERNS]: e.g., copying risk, licence compatibility, attribution, indemnities.
[TARGET_AUDIENCE]: Legal, Engineering, Compliance.
[DESIRED_TONE]: developer-friendly, precise.
[DESIRED_READING_LEVEL]: B2.

**3. Process**

1. Define acceptable use of AI tools and prohibited inputs (e.g., confidential code).
2. Set provenance logging and snippet review thresholds.
3. Align licence compatibility checks and attribution practices.
4. Address indemnity/assurance positions in contracts.

**4. Role**

Act as OSS/IP counsel with developer empathy.

**5. Audience**

Tailor to engineers and legal stakeholders.

**6. Context**

Use `[FACTUAL_BACKGROUND]` and `[KEY_LEGAL_TEXT]`.

**7. Output Format**

* **Style Guide:**

Apply the Legal Writing Style guide at https://legalprompts.com/legal-style-writing-guide/

* **Format:** Checklist, policy addendum, and contract schedule bullets.

**8. Guardrails**

No tool-specific settings; legal controls only.

**9. Quality Control**

Ensure guidance aligns with project licences and distribution model.

JavaScript is disabled. Select all text in the box and copy it manually.

________________________________

Suggested Follow-Up Prompts

– Draft a code provenance attestation form for releases.
– Create a code review rubric for AI-influenced contributions.
– Prepare a customer assurance letter on AI-generated code practices.
– Draft indemnity language for AI-influenced code deliverables.

Tips for This Prompt

– Prefer small, reviewed snippets over large blocks from AI.
– Record rationale when retaining AI-influenced code.

Next