Skip to content

TechXchange Demo: Guidance file for Baseline policy of HR Agent in CPEX - #42

Open
iamsreec wants to merge 5 commits into
mainfrom
sc/hrdemo-baselinepolicy
Open

TechXchange Demo: Guidance file for Baseline policy of HR Agent in CPEX #42
iamsreec wants to merge 5 commits into
mainfrom
sc/hrdemo-baselinepolicy

Conversation

@iamsreec

@iamsreec iamsreec commented Aug 6, 2026

Copy link
Copy Markdown
Member

Summary

Adds baseline natural-language guidance for the HR CPEX demo agent, defining the initial access-control rules Smith will use to generate the corresponding OPA policy.

Closes: #issue-number

Changes

  • Add examples/hr-cpex-demo/smith/guidance.txt with baseline policy rules covering:
    • Role-based access to compensation records (Bob/HR allowed, Alice/Engineer denied)
    • SSN viewing permission and redaction rules (Bob needs view_ssn; Eve is denied and must be redacted pre-execution)
    • Repository access authorization (Alice limited to authorized repos; Bob denied on unauthorized team membership)
    • Data exfiltration guards (no emailing SSNs or previously-accessed sensitive data within a session, with denial logging)
    • Session taint isolation between users even when session IDs are reused
    • Compensation adjustment thresholds (< = $10,000 auto-allowed, >$10,000 requires human approval)
    • Blanket rule that unauthorized actions by any named user must be denied before tool execution

Checks

  • make ci passes (lint, Rego lint, license headers, build smoke)
  • make test passes (policy scorecard — needed if policy behavior changed)
  • CHANGELOG.md updated under ## [Unreleased] (if user-facing)
  • Commits are signed off for the DCO (git commit -s)

Notes (optional)

Design sketch, screenshots, or extra context.

Sai Sree Laya Chukkappalli added 2 commits August 6, 2026 09:48
Signed-off-by: Sai Sree Laya Chukkappalli <saisree@dhcp-9-31-104-106.watson.ibm.com>
Signed-off-by: Sai Sree Laya Chukkappalli <saisree@dhcp-9-31-104-106.watson.ibm.com>
@iamsreec
iamsreec requested review from araujof and dhl123 as code owners August 6, 2026 14:28
@iamsreec iamsreec changed the title Praxis Demo: Baseline policy of HR Agent in CPEX Praxis Demo: Guidance file for Baseline policy of HR Agent in CPEX Aug 6, 2026
@iamsreec iamsreec changed the title Praxis Demo: Guidance file for Baseline policy of HR Agent in CPEX TechXchange Demo: Guidance file for Baseline policy of HR Agent in CPEX Aug 6, 2026
Sai Sree Laya Chukkappalli added 3 commits August 6, 2026 11:18
Signed-off-by: Sai Sree Laya Chukkappalli <saisree@dhcp-9-31-104-106.watson.ibm.com>
Signed-off-by: Sai Sree Laya Chukkappalli <saisree@dhcp-9-31-104-106.watson.ibm.com>
Signed-off-by: Sai Sree Laya Chukkappalli <saisree@dhcp-9-31-104-106.watson.ibm.com>
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