Skip to content

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

Open
devin-ai-integration[bot] wants to merge 4 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 4 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

Enhances the operator repo with comprehensive PII/author scrubbing guidance, Workshop Operations org documentation, and automated environment blueprint creation during provisioning.

Key changes:

  1. Commit authorship Knowledge note guidance (§1.6) — Documents how to configure Devin to always commit as devin-ai-integration[bot] so requesting user identity never leaks into git history.

  2. CI PII check as reference implementationpr-pii-check.yml is opt-in via --deploy-pii-check flag on mirror-github-org.sh. Triggers on opened, synchronize, edited, and issue_comment events.

  3. Workshop Operations Devin Org pattern (§2) — Documents the long-lived ops org with enterprise service user key, recurring PII scrub schedules via v3 API, and one-time ACU zeroing via MCP.

  4. Environment blueprint auto-creation (Step 4 in provisioning)provision-workshop.sh now dispatches a single Devin session in the newly created org to auto-create environment YAML config blueprints for all repos. This indexes repos so subsequent sessions boot faster. Skippable via --skip-env-setup.

  5. Updated architecture — Diagram and docs reflect the Workshop Operations org as the central control plane alongside Source/Mirror/Workshop orgs.

Review & Testing Checklist for Human

  • Run bash -n scripts/provision-workshop.sh to verify syntax (already passes)
  • Review the env blueprint prompt in Step 4 — ensure it gives sufficient guidance for Devin to create useful blueprints without over-specifying
  • Verify --skip-env-setup flag correctly skips Step 4 when running against a real org
  • Confirm the README § numbering and cross-references are consistent after the new step was added

Notes

The env blueprint session prompt instructs Devin to read each repo's README/setup docs and create blueprints with initialize, maintenance, and knowledge sections. It follows the same create_session pattern used by the existing per-repo setup sessions in Step 5.

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
Adds Step 4 to provision-workshop.sh that dispatches a single Devin session
in the newly created org to auto-create environment YAML config blueprints
for all repos. This indexes the repos so Devin sessions boot faster.

- New --skip-env-setup flag to skip this step if repos are already indexed
- Session prompt instructs Devin to read setup docs and create blueprints
  with initialize/maintenance/knowledge sections for each repo
- Updated README to document the new step and flag
devin-ai-integration[bot]

This comment was marked as resolved.

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