Code Editor

Create pull request

Review the activity log that will accompany this simulated pull request.

Pull request

0 activities
Activity log attachedNo recipient configured

Threat petitions

Latest activity expanded

No activity has been logged yet

Complete an oversight activity before creating a pull request.

No file open

Add a file to start editing.

Output
AI Coding Agent

What can I help you with today?

Ask a question or request a code change. I’ll answer here or show repository changes for review.

AI can make mistakes. Review changes before accepting.

Threat Protection Configuration Designer

Author how an threat protection intervention is generated, answered, and explained.

01

Threat Model

Define threats from over-reliance on AI that could impact the programmer or the program.

Threat categories; select one or both
02

User Interaction

Enable plan and/or code generation and bundle interventions for the current threat, or leave it without an intervention to carve out an exception to your threat model.

Preview only. Add a threat to configure user interaction.

User interaction settings

Bundle Interventions

Enable plan and/or code generation and bundle interventions for the current threat. It will happen after the threat is detected.

  1. User1
    Send promptUser action
  2. AI2
    Generate planDisabled
  3. User3
    Plan reviewDisabled
  4. AI4
    Generate codeAI action

Stage 2: Review Code

Activities for encouraging review of AI-generated code before integrating into the codebase.

Choose up to one Stage 2: Review Code activity
03

Response Policy

Bundle feedback, consequences, and logging with the selected threat rule.

Preview only. Add a threat to configure the response policy.

Response policy settings

Bundle Responses

Select response options for this threat. These will be applied after the user completes an intervention.

Logging

Choose when logging is delivered and which information it includes.

Recording settings

Choose which parts of the activity and user performance are included in the logs and who will receive them.

Information to record

Contact InformationOptional

Automatically send activity logs to this email address. If left blank, the IDE will only allow JSON export of activity logs.

Feedback

Choose what the user learns from the result.

Feedback settings

Choose what the feedback reveals and optionally guide how the AI generates it.

Consequences

Choose what happens only after the user submits an incorrect response.

  1. Design TPC
  2. Upload Workspace (Optional)
  3. Complete

Include test workspaces in the export?

Choose whether this JSON should bundle the selected starting workspaces or contain only the reusable threat protection configuration.

Import a Threat Protection Configuration

Continue editing a configuration previously exported from Designer.