Skip to main content

Entry Modes

Capture Mode

Use capture mode when starting a Responsible AI assessment from scratch with no prior artifacts. The agent conducts a full interview about the AI system, building understanding from the ground up.

How It Works

  1. Provide an optional project slug or let the agent derive one from your project name
  2. The agent creates .copilot-tracking/rai-plans/{project-slug}/ and initializes state.json with entryMode: "capture" and currentPhase: 1
  3. Phase 1 begins with up to 7 questions covering: AI system purpose, technology stack, model types, stakeholder roles, data inputs and outputs, deployment model, and intended use context
  4. Answer questions conversationally; use "skip" or "n/a" for items that do not apply
  5. The agent summarizes findings and asks for confirmation before advancing to Phase 2

Prompt file: .github/prompts/rai-planning/rai-capture.prompt.md

When to Choose Capture Mode

SignalRecommendation
No PRD, BRD, or security plan existsUse capture mode
Exploring whether an AI system needs RAI assessmentUse capture mode
Standalone AI project without broader security contextUse capture mode
Rapid prototyping with an evolving scopeUse capture mode

From-PRD Mode

Use from-prd mode when product requirements documents or business requirements documents already exist in .copilot-tracking/. The agent extracts AI system scope, stakeholders, and technology stack from these artifacts, reducing the Phase 1 interview to confirmation and gap-filling.

How It Works

  1. The agent scans .copilot-tracking/prd-sessions/ and .copilot-tracking/brd-sessions/ for artifacts
  2. If the primary scan finds nothing, a secondary scan searches .copilot-tracking/ for files matching PRD or BRD naming patterns
  3. Discovery results are presented for your confirmation with ✅ (valid) and ❌ (false positive) markers
  4. The agent extracts AI system scope, stakeholders, data classification, and technology stack from confirmed artifacts
  5. Phase 1 begins with pre-populated fields; the agent asks clarifying questions targeting gaps in the extracted information

Prompt file: .github/prompts/rai-planning/rai-plan-from-prd.prompt.md

When to Choose From-PRD Mode

SignalRecommendation
PRD or BRD artifacts exist in .copilot-tracking/Use from-prd mode
Product requirements are well-documented but no security plan existsUse from-prd mode
Multiple stakeholders contributed to product definitionUse from-prd mode to leverage that work

From-Security-Plan Mode

Use from-security-plan mode after completing a security plan with the Security Planner. This is the recommended entry mode for most assessments because it inherits AI component data, continues threat ID sequences, and provides the richest starting context.

How It Works

  1. The agent reads the security plan state.json from the path specified in the prompt or from the most recent security plan in .copilot-tracking/security-plans/
  2. AI components from the security plan's aiComponents array are pre-populated into the RAI assessment scope
  3. Threat IDs start at the next sequence after the security plan's threat count, maintaining continuity across both assessments
  4. Phase 1 begins with pre-populated AI element inventory; the agent asks targeted questions about RAI-specific aspects not covered in the security plan

Prompt file: .github/prompts/rai-planning/rai-plan-from-security-plan.prompt.md

When to Choose From-Security-Plan Mode

SignalRecommendation
Security Planner has completed with raiEnabled: trueUse from-security-plan mode
The security plan identified AI or ML componentsUse from-security-plan mode
You want threat ID continuity across security and RAI assessmentsUse from-security-plan mode

NOTE

The Security Planner recommends this entry mode during its Phase 6 handoff when raiEnabled is true. The RAI Planner reads security plan artifacts as read-only and never modifies files under .copilot-tracking/security-plans/.

Comparing Entry Modes

AspectCaptureFrom-PRDFrom-Security-Plan
Initial contextNoneProduct requirementsSecurity plan with AI components
AI component discoveryManual via interviewExtracted from PRD artifactsPre-populated from security plan
Threat ID continuityStarts at RAI-T-{CATEGORY}-001Starts at RAI-T-{CATEGORY}-001Continues from security plan count
Time to Phase 2LongestMediumShortest
Best forFresh assessments, exploratoryProjects with product docsRecommended post-security-plan

After Choosing a Mode

Once Phase 1 completes, all three modes converge into the same workflow for Phases 2 through 6. The entry mode is recorded in state.json and cannot change after assessment begins.

See Phase Reference for the complete specification of each phase.

🤖 Crafted with precision by ✨Copilot following brilliant human instruction, then carefully refined by our team of discerning human reviewers.