Skip to content

root: add AI_POLICY.md - #23481

Merged
rissson merged 10 commits into
mainfrom
ai-policy
Aug 3, 2026
Merged

rissson merged 10 commits into
mainfrom
ai-policy

Conversation

@rissson

@rissson rissson commented Jun 26, 2026

Copy link
Copy Markdown
Member

Details

What does this PR change?

Why is this change needed?

How was this tested?

Linked issues


Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)

Signed-off-by: Marc 'risson' Schmitt <[email protected]>
@rissson rissson self-assigned this Jun 26, 2026
@rissson
rissson requested review from a team as code owners June 26, 2026 16:42
@rissson rissson removed their assignment Jun 26, 2026
@rissson
rissson marked this pull request as draft June 26, 2026 16:43
@rissson

rissson commented Jun 26, 2026

Copy link
Copy Markdown
Member Author

@dominic-r dominic-r left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much needed document!

@codecov

codecov Bot commented Jun 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.21%. Comparing base (93c22b6) to head (e7bfb79).
⚠️ Report is 4 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #23481      +/-   ##
==========================================
+ Coverage   91.06%   91.21%   +0.14%     
==========================================
  Files        1128     1128              
  Lines       70642    70642              
  Branches     3874     3874              
==========================================
+ Hits        64333    64434     +101     
+ Misses       6274     6173     -101     
  Partials       35       35              
Flag Coverage Δ
conformance 35.15% <ø> (+0.05%) ⬆️
e2e 39.94% <ø> (+0.51%) ⬆️
integration 31.70% <ø> (+<0.01%) ⬆️
rust 38.90% <ø> (ø)
unit 92.87% <ø> (+<0.01%) ⬆️
unit-migrate 92.90% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@netlify

netlify Bot commented Jun 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 3e8ccf3
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a577735ebb22d000814f6af
😎 Deploy Preview https://deploy-preview-23481--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

github-actions Bot commented Jun 26, 2026 •

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-e7bfb79f2f89a38294935070fe9d941817d1b059
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-e7bfb79f2f89a38294935070fe9d941817d1b059

Afterwards, run the upgrade commands from the latest release notes.

Signed-off-by: Fletcher Heisler <[email protected]>
@fheisler
fheisler marked this pull request as ready for review June 29, 2026 15:17
@netlify

netlify Bot commented Jun 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 3e8ccf3
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a577734ff2dd00008eaefe0
😎 Deploy Preview https://deploy-preview-23481--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jun 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 3e8ccf3
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a57773448d21900080fe747
😎 Deploy Preview https://deploy-preview-23481--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread AI_POLICY.md Resolved
Comment thread AI_POLICY.md Resolved
Comment thread AI_POLICY.md Outdated

The authentik project welcomes community contributions, but has strict rules for AI usage:

- **All AI usage in any form must be disclosed.** You must state the tool you used (e.g. Claude Code, Cursor, Amp) along with the extent that the work was AI-assisted.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Any Form is too broad as it includes things like spellcheck, asking claude to explain an error, Copilot generating a variable name, and more. Perhaps framing this more towards::

You must disclose AI assistance when AI generated, rewrote, or materially shaped submitted code, documentation, tests, issues, discussions, or design proposals.

Comment thread AI_POLICY.md Outdated

The authentik project welcomes community contributions, but has strict rules for AI usage:

- **All AI usage in any form must be disclosed.** You must state the tool you used (e.g. Claude Code, Cursor, Amp) along with the extent that the work was AI-assisted.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like the tool ame might be less important than the role it played. For example, one year ago you might say Cursor, but that's autocomplete only (probably the best one on the market even today); vs CC which is full blown vibe coding (Or this might not matter anymore). Mabye go along the line of descrie what was ai assisted and how it was reviewed

Comment thread AI_POLICY.md Outdated
The authentik project welcomes community contributions, but has strict rules for AI usage:

- **All AI usage in any form must be disclosed.** You must state the tool you used (e.g. Claude Code, Cursor, Amp) along with the extent that the work was AI-assisted.
- **The human-in-the-loop must fully understand all code.** If you can't explain what your changes do and how they interact with the greater system without the aid of AI tools, please do not contribute these changes to this project.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fully understand all code they submit. I doubt anyone except Jens really understands all the mechanics and the greater systems, especially if it's an external contributor

Comment thread AI_POLICY.md Outdated
- **No AI-generated media is allowed (art, images, videos, audio, etc.).** Text and code are the only acceptable AI-generated content.
- If a code contribution or discussion appears to be entirely AI-driven and lacking human judgement, the maintainers will close the issue/PR/discussion.

These rules apply to all external contributions to authentik. Maintainers use AI tools at their discretion; as an internal team, the maintaners are already constantly discussing their work with each other and checking in as humans, having already proven their understanding of the code.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like we need a better distinction of what is a maintainer. Perhaps saying all authentik employees?

Comment thread AI_POLICY.md Outdated
- **No AI-generated media is allowed (art, images, videos, audio, etc.).** Text and code are the only acceptable AI-generated content.
- If a code contribution or discussion appears to be entirely AI-driven and lacking human judgement, the maintainers will close the issue/PR/discussion.

These rules apply to all external contributions to authentik. Maintainers use AI tools at their discretion; as an internal team, the maintaners are already constantly discussing their work with each other and checking in as humans, having already proven their understanding of the code.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, typo in maintainers maintaners

Comment thread AI_POLICY.md Resolved
Comment thread AI_POLICY.md

Please remember that authentik is maintained by humans.

Every discussion, issue, and pull request is read and reviewed by humans (and sometimes machines, too). It is a boundary point at which people interact with each other and the work done. It is disrespectful and unscalable to approach this boundary with low-effort, unqualified work, since it puts the burden of validation on the maintainer.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ehhh machines is cute, but vage. (What machines do we even have to review PRs? CI? Does that really count?)

Comment thread AI_POLICY.md

**Our reason for the strict AI policy is not due to an anti-AI stance**, but instead due to the number of highly unqualified AI-driven contributions. A small minority misusing these tools creates an unscalable problem for maintainers.

In a perfect world, AI would produce high-quality, accurate work every time. But today, that reality depends on careful consideration and usage by the human driver of the AI. Since AI is instead best as _producing code quickly_, we have to have strict rules in place to protect the project and maintainers' limited time.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since AI is instead best as producing code quickly, we have to have strict rules in place to protect the project and maintainers' limited time.

Not a big fan of this. AI is not just for producing code quickly. It's also useful for a plethora of use cases, refactoring support, debugging, exploration, migrating 200 integration docs in a sensible amount of time.

fheisler and others added 4 commits July 6, 2026 11:50
Co-authored-by: Dominic Roy <[email protected]>
Signed-off-by: Fletcher Heisler <[email protected]>
Signed-off-by: Fletcher Heisler <[email protected]>
Signed-off-by: Fletcher Heisler <[email protected]>
@fheisler
fheisler dismissed dominic-r’s stale review July 14, 2026 15:38

merged most suggestions, others are discussion comments

@rissson
rissson requested a review from a team as a code owner August 3, 2026 19:16
@rissson
rissson enabled auto-merge (squash) August 3, 2026 19:46
@rissson
rissson merged commit 7c2c7f9 into main Aug 3, 2026
236 of 238 checks passed
@rissson
rissson deleted the ai-policy branch August 3, 2026 19:49
kensternberg-authentik added a commit that referenced this pull request Aug 3, 2026
* main:
  root: add AI_POLICY.md (#23481)
  core: Actors (#24353)
  ci: release publish: fix image attestation (cherry-pick #24706 to main) (#24707)
  stages/authenticator_validate: fix intermittnetly failing throttling test (#24568)
  ci: release publish: fix metadata parsing (cherry-pick #24703 to main) (#24704)
  website/docs: fix sidebar titles and ordering (#24051)
  ci: release publish: fix missing gh cli env var (cherry-pick #24695 to main) (#24696)
  ci: release: rename major release to release family (#24691)
  web: ensure native select popup contrast (#24622)
  web: scale small application icons (#24620)
  ci: release tag: add validation that the workflow was started on the appropriate branch (#24676)
  ci: release publish: fix missing checkout (cherry-pick #24684 to main) (#24685)
  web: contain long text in tables and application cards (#24621)
  web: hide plain action icons while loading (#24618)
  website/docs: fix brand name in google results (#24687)
  website/docs: Mark the release notes for 2026.8 as 'beta' (#24682)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants