Repository navigation
DUPLOAI-3817: Add AI-use disclosure to Agent-mode extension forms - #28
Merged
aboutte merged 7 commits intoOct 8, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C8ZDrXkBjXRL2ekNfsV6Up
Add a build gate that verifies Agent-mode extensions (those with non-empty skillMappings in manifest.json) render the <app-ai-disclosure> component on their forms, per ISO 42001 requirements. - scripts/_ai_disclosure_gate.sh: new gate helper, sourced by tests and build - tests/test-ai-disclosure-gate.sh: 7 test cases (Agent-mode with/without tag, Worker extensions, malformed JSON, error messaging) - scripts/build-extension.sh: wire the gate after naming validation Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C8ZDrXkBjXRL2ekNfsV6Up
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C8ZDrXkBjXRL2ekNfsV6Up
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C8ZDrXkBjXRL2ekNfsV6Up
…clusion, docs Warn (not fail) for Agent-mode extensions on ng-common-lib < 0.4.0, ignore the copied wizard-stepper tag, add gate tests, and document the check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C8ZDrXkBjXRL2ekNfsV6Up
…ault wording - Remove the build-extension.sh disclosure gate and its test; the ticket asks only for the skill and scaffold to ship it by default - Restore the gate-related troubleshooting and upgrading docs - Document the "This platform uses AI." default and its config overrides in the forms reference Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C8ZDrXkBjXRL2ekNfsV6Up
- Replace the locally packed 0.4.0 tarball with the GitHub Packages release, so Agent-mode forms show "This platform uses AI." - Update the tarball integrity in every sample and template lockfile Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C8ZDrXkBjXRL2ekNfsV6Up
aboutte
approved these changes
Oct 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
DuploCloud is ISO 42001 certified and must disclose AI use at the point of use. Agent-mode extension forms open a
Helpdesk ticket that an AI agent processes, but the user filling the form never saw a disclosure. This makes the
duplo-extension-devskill and its scaffold ship the disclosure on every Agent-mode Add/Edit form by default(DUPLOAI-3817).
Summary of changes
This PR does the following:
ng-common-lib0.4.0, which adds<app-ai-disclosure>("This platform uses AI. See documentationfor more details."; text and link overridable from the deployment's custom config). Both copies are updated (samples'
packages/and the template'svendor/), along with every sample and templatepackage.jsonand lockfilehelloworldtemplate's Add/Edit form ends with the disclosure, so the next Agent-mode extension gets it automaticallythrough a new
[aiDisclosure]stepper input. Worker and Passthrough samples are unchangeddocs/UPGRADING-ng-common-lib.md: the Agent-mode UI list, a catalogue row, and 0.4.0 version referencesTesting performed
Describe any breaking changes
None. Existing extensions keep building; the disclosure is added by the scaffold and skill, not enforced.
🤖 Generated with Claude Code
https://claude.ai/code/session_01C8ZDrXkBjXRL2ekNfsV6Up