Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 90 additions & 0 deletions scenarios/scrum-master/.env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# OpenAI Configuration
# Use EITHER standard OpenAI OR Azure OpenAI (not both)

# Option 1: Standard OpenAI API
OPENAI_API_KEY=
OPENAI_MODEL=gpt-4o

# Option 2: Azure OpenAI (takes precedence if AZURE_OPENAI_API_KEY is set)
AZURE_OPENAI_API_KEY=
AZURE_OPENAI_ENDPOINT=
AZURE_OPENAI_DEPLOYMENT=
AZURE_OPENAI_API_VERSION=2024-10-21

# MCP Tooling Configuration
BEARER_TOKEN=

# Enable to use observability exporter, default is false which means using console exporter
ENABLE_A365_OBSERVABILITY_EXPORTER=false
# Use by the sample to demo using custom token resolver and token cache when it is true, otherwise use the built-in AgenticTokenCache
Use_Custom_Resolver=true
# optional - set to enable observability logs, value can be 'info', 'warn', or 'error', default to 'none' if not set
A365_OBSERVABILITY_LOG_LEVEL=

# Environment Settings
NODE_ENV=development # Retrieve mcp servers from ToolingManifest
HOST=127.0.0.1 # Agents Playground connects to 127.0.0.1; set this so the server binds to the same address

# Telemetry and Tracing Configuration
DEBUG=agents:*

# --- Scenario-level logging (this sample only) -------------------------------
# Level-based logger in src/util/logger.ts.
# LOG_LEVEL: error | warn | info | debug | trace (default=info)
# LOG_HTTP: when 'true', prints every outbound Jira/Graph/MCP call with
# status + latency. Credentials are redacted. Off in production.
LOG_LEVEL=info
LOG_HTTP=false

# Use Agentic Authentication rather than OBO
USE_AGENTIC_AUTH=false

# Service Connection Settings
connections__service_connection__settings__clientId=
connections__service_connection__settings__clientSecret=
connections__service_connection__settings__tenantId=

# Set service connection as default
connectionsMap__0__serviceUrl=*
connectionsMap__0__connection=service_connection

# AgenticAuthentication Options
agentic_type=agentic
agentic_altBlueprintConnectionName=service_connection
agentic_scopes=ea9ffc3e-8a23-4a7d-836d-234d7c7565c1/.default # Prod Agentic scope

# =============================================================================
# Scrum Master Assistant POC configuration (added on top of the base sample)
# =============================================================================

# --- Jira (Atlassian Cloud) ---
# Set JIRA_MODE=mock to run against the built-in mock sprint (no Atlassian creds needed).
JIRA_MODE=mock # live | mock
JIRA_BASE_URL=https://your-org.atlassian.net
JIRA_EMAIL=
JIRA_API_TOKEN=
JIRA_PROJECT_KEY=DEMO
JIRA_BOARD_ID=1

# --- SharePoint (Microsoft Graph, delegated) ---
# Site URL of the site that will host the SMA_* lists + SprintReports library.
SHAREPOINT_SITE_URL=
SHAREPOINT_LISTS_PREFIX=SMA_
# App registration used by scripts/setup-sharepoint.ts (device-code) and runtime Graph calls.
GRAPH_TENANT_ID=common
GRAPH_CLIENT_ID=

# --- Scrum ceremony scheduling ---
STANDUP_CRON=0 30 3 * * 1-5 # UTC = 09:00 Asia/Kolkata on weekdays
NIGHTLY_CRON=0 0 19 * * * # UTC = 00:30 Asia/Kolkata daily
STANDUP_CUTOFF_HOURS=4
TIMEZONE=Asia/Kolkata

# --- Warn thresholds (Sprint risk detection) ---
WARN_TODO_PCT=0.40 # >40% of committed points still in To Do
WARN_SPRINT_PROGRESS_PCT=0.50 # ... once >=50% of sprint duration has elapsed

# --- Runtime toggles ---
LOCAL_CRON=true # run the in-process scheduler in dev; false in prod
AGENT_CALLBACK_URL= # used by Azure Function timers (public dev-tunnel URL of this agent)
INTERNAL_TRIGGER_TOKEN= # simple shared secret guarding /api/internal/*
22 changes: 22 additions & 0 deletions scenarios/scrum-master/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# dependencies + build
node_modules/
dist/
*.tsbuildinfo

# env & secrets — never commit
.env
.env.local
.env.*.local
.mstoken-cache.json

# generated at first `npx a365` run — contains tenant/agent IDs
a365.generated.config.json

# dev logs
dev-out.txt
seed-out.txt
setup-out.txt
*.log

# editor
.vscode/*.log
Loading
Loading