Skip to content

feat: PII protection guidance, Workshop Operations org pattern, and CI/mirror improvements#4

Open
devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
devin/1778869215-pii-scrub-guidance
Open

feat: PII protection guidance, Workshop Operations org pattern, and CI/mirror improvements#4
devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
devin/1778869215-pii-scrub-guidance

Conversation

@devin-ai-integration
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot commented May 15, 2026

Summary

Adds comprehensive PII/author scrubbing guidance and the Workshop Operations Devin org pattern to the operator repo.

Changes

1. Improved CI workflow (.github/workflows/pr-pii-check.yml):

  • Now triggers on pull_request: [opened, edited, synchronize] (added edited)
  • Now triggers on issue_comment: [created, edited] (covers regular PR thread comments)
  • Framed as a reference implementation that can optionally be deployed to repos

2. Mirror script — opt-in PII check deployment (scripts/mirror-github-org.sh):

  • Added --deploy-pii-check / --no-deploy-pii-check flags
  • When enabled, copies the reference pr-pii-check.yml workflow into each mirrored repo's default branch
  • Works alongside the existing --strip-workflows flag

3. Commit authorship guidance (README §1.6):

  • Documents how to create a Knowledge note ensuring Devin always commits as devin-ai-integration[bot]
  • Includes both webapp and v3 API approaches

4. Workshop Operations Devin Org (new README section):

  • Documents the pattern: every customer enterprise creates a long-lived "Workshop Operations" org
  • Org hosts recurring schedules (weekly PII scrub) and one-time event schedules (ACU zeroing)
  • Requires an org secret with the enterprise service user key
  • Shows how to create schedules via v3 Schedules API, Devin webapp, and MCP (devin_schedule_manage)

5. End-of-event ACU zeroing:

  • Documents using MCP to schedule a one-time session that sets max_cycle_acu_limit to 0

6. Updated architecture diagram to include the Workshop Operations org

Removed: scripts/create-pii-scrub-schedule.sh — replaced with direct v3 API / MCP documentation (avoids wrapping what the API already provides)

Review & Testing Checklist for Human

  • Verify --deploy-pii-check flag logic in mirror-github-org.sh works with both --strip-workflows (default) and --no-strip-workflows paths
  • Confirm the Workshop Operations org setup instructions match your enterprise's desired pattern (org name, ACU limits, secret naming)
  • Review the MCP-based scheduling guidance for ACU zeroing — confirm this matches how you want operators to manage event lifecycle
  • Validate the architecture diagram renders correctly in GitHub markdown

Notes

  • The CI workflow is now opt-in during mirroring (default off) since it applies to Cognition-Partner-Workshops repos broadly
  • deploy-pr-pii-check.sh remains as a standalone tool for deploying to existing repos that weren't mirrored with the flag
  • Scheduling is documented using the native v3 Schedules API rather than a custom wrapper script

Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/9aa814bde24049e3b8550d6842c31100
Requested by: @bsmitches


Open in Devin Review

…e CI check

- Expand pr-pii-check.yml to trigger on PR edited events and issue_comment
  events (covers regular PR thread comments, not just review comments)
- Add scripts/create-pii-scrub-schedule.sh for setting up a recurring Devin
  session to run sanitize-pr-pii.sh weekly via the Devin v3 API
- Document commit authorship configuration via Knowledge notes (§1.6)
- Document scheduled PII scrubbing setup (§1.7)
- Add PII Protection Summary section tying all layers together
@devin-ai-integration
Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Copy Markdown
Author

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

- Frame pr-pii-check.yml as a reference implementation, optionally deployed
  during mirroring via --deploy-pii-check flag on mirror-github-org.sh
- Remove create-pii-scrub-schedule.sh wrapper; document using the v3
  Schedules API and MCP directly instead
- Add Workshop Operations Devin Org section documenting the long-lived
  ops org pattern with enterprise service user secret, recurring schedules,
  and one-time event lifecycle automation (ACU zeroing via MCP)
- Update architecture diagram to include Workshop Operations org
- Rework PII Protection Summary to reference the new approach
@devin-ai-integration devin-ai-integration Bot changed the title feat: add commit authorship guidance, scheduled PII scrub, and improve CI check feat: PII protection guidance, Workshop Operations org pattern, and CI/mirror improvements May 15, 2026
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.

1 participant