@agent-blueprint/free-blueprints 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -0
- package/dist/blueprints/employee-onboarding/files/agent-specifications.d.ts +1 -0
- package/dist/blueprints/employee-onboarding/files/agent-specifications.js +278 -0
- package/dist/blueprints/employee-onboarding/files/agent-specifications.js.map +1 -0
- package/dist/blueprints/employee-onboarding/files/agents.d.ts +1 -0
- package/dist/blueprints/employee-onboarding/files/agents.js +61 -0
- package/dist/blueprints/employee-onboarding/files/agents.js.map +1 -0
- package/dist/blueprints/employee-onboarding/files/architecture-decisions.d.ts +1 -0
- package/dist/blueprints/employee-onboarding/files/architecture-decisions.js +79 -0
- package/dist/blueprints/employee-onboarding/files/architecture-decisions.js.map +1 -0
- package/dist/blueprints/employee-onboarding/files/business-context.d.ts +1 -0
- package/dist/blueprints/employee-onboarding/files/business-context.js +107 -0
- package/dist/blueprints/employee-onboarding/files/business-context.js.map +1 -0
- package/dist/blueprints/employee-onboarding/files/evaluation-criteria.d.ts +1 -0
- package/dist/blueprints/employee-onboarding/files/evaluation-criteria.js +126 -0
- package/dist/blueprints/employee-onboarding/files/evaluation-criteria.js.map +1 -0
- package/dist/blueprints/employee-onboarding/files/getting-started.d.ts +1 -0
- package/dist/blueprints/employee-onboarding/files/getting-started.js +89 -0
- package/dist/blueprints/employee-onboarding/files/getting-started.js.map +1 -0
- package/dist/blueprints/employee-onboarding/files/guardrails-and-governance.d.ts +1 -0
- package/dist/blueprints/employee-onboarding/files/guardrails-and-governance.js +182 -0
- package/dist/blueprints/employee-onboarding/files/guardrails-and-governance.js.map +1 -0
- package/dist/blueprints/employee-onboarding/files/implementation-state.d.ts +1 -0
- package/dist/blueprints/employee-onboarding/files/implementation-state.js +91 -0
- package/dist/blueprints/employee-onboarding/files/implementation-state.js.map +1 -0
- package/dist/blueprints/employee-onboarding/files/platform-connectivity.d.ts +1 -0
- package/dist/blueprints/employee-onboarding/files/platform-connectivity.js +140 -0
- package/dist/blueprints/employee-onboarding/files/platform-connectivity.js.map +1 -0
- package/dist/blueprints/employee-onboarding/files/skill.d.ts +1 -0
- package/dist/blueprints/employee-onboarding/files/skill.js +126 -0
- package/dist/blueprints/employee-onboarding/files/skill.js.map +1 -0
- package/dist/blueprints/employee-onboarding/index.d.ts +2 -0
- package/dist/blueprints/employee-onboarding/index.js +37 -0
- package/dist/blueprints/employee-onboarding/index.js.map +1 -0
- package/dist/blueprints/index.d.ts +3 -0
- package/dist/blueprints/index.js +14 -0
- package/dist/blueprints/index.js.map +1 -0
- package/dist/blueprints/rfx-procurement/files/agent-specifications.d.ts +1 -0
- package/dist/blueprints/rfx-procurement/files/agent-specifications.js +313 -0
- package/dist/blueprints/rfx-procurement/files/agent-specifications.js.map +1 -0
- package/dist/blueprints/rfx-procurement/files/agents.d.ts +1 -0
- package/dist/blueprints/rfx-procurement/files/agents.js +66 -0
- package/dist/blueprints/rfx-procurement/files/agents.js.map +1 -0
- package/dist/blueprints/rfx-procurement/files/architecture-decisions.d.ts +1 -0
- package/dist/blueprints/rfx-procurement/files/architecture-decisions.js +95 -0
- package/dist/blueprints/rfx-procurement/files/architecture-decisions.js.map +1 -0
- package/dist/blueprints/rfx-procurement/files/business-context.d.ts +1 -0
- package/dist/blueprints/rfx-procurement/files/business-context.js +99 -0
- package/dist/blueprints/rfx-procurement/files/business-context.js.map +1 -0
- package/dist/blueprints/rfx-procurement/files/evaluation-criteria.d.ts +1 -0
- package/dist/blueprints/rfx-procurement/files/evaluation-criteria.js +165 -0
- package/dist/blueprints/rfx-procurement/files/evaluation-criteria.js.map +1 -0
- package/dist/blueprints/rfx-procurement/files/getting-started.d.ts +1 -0
- package/dist/blueprints/rfx-procurement/files/getting-started.js +97 -0
- package/dist/blueprints/rfx-procurement/files/getting-started.js.map +1 -0
- package/dist/blueprints/rfx-procurement/files/guardrails-and-governance.d.ts +1 -0
- package/dist/blueprints/rfx-procurement/files/guardrails-and-governance.js +159 -0
- package/dist/blueprints/rfx-procurement/files/guardrails-and-governance.js.map +1 -0
- package/dist/blueprints/rfx-procurement/files/implementation-state.d.ts +1 -0
- package/dist/blueprints/rfx-procurement/files/implementation-state.js +127 -0
- package/dist/blueprints/rfx-procurement/files/implementation-state.js.map +1 -0
- package/dist/blueprints/rfx-procurement/files/platform-connectivity.d.ts +1 -0
- package/dist/blueprints/rfx-procurement/files/platform-connectivity.js +153 -0
- package/dist/blueprints/rfx-procurement/files/platform-connectivity.js.map +1 -0
- package/dist/blueprints/rfx-procurement/files/skill.d.ts +1 -0
- package/dist/blueprints/rfx-procurement/files/skill.js +127 -0
- package/dist/blueprints/rfx-procurement/files/skill.js.map +1 -0
- package/dist/blueprints/rfx-procurement/index.d.ts +2 -0
- package/dist/blueprints/rfx-procurement/index.js +37 -0
- package/dist/blueprints/rfx-procurement/index.js.map +1 -0
- package/dist/server.d.ts +2 -0
- package/dist/server.js +55 -0
- package/dist/server.js.map +1 -0
- package/dist/transports/stdio.d.ts +2 -0
- package/dist/transports/stdio.js +7 -0
- package/dist/transports/stdio.js.map +1 -0
- package/dist/transports/worker.d.ts +4 -0
- package/dist/transports/worker.js +29 -0
- package/dist/transports/worker.js.map +1 -0
- package/dist/types.d.ts +34 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +42 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
export const content = `# Business Context
|
|
2
|
+
|
|
3
|
+
The business problem, current state pain points, and target outcomes for Employee Onboarding Automation.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## The Onboarding Challenge
|
|
8
|
+
|
|
9
|
+
Employee onboarding sits at the intersection of HR, IT, legal, and operations. It touches more systems and more people than almost any other recurring business process. And it happens every time someone is hired, which for growing companies means constantly.
|
|
10
|
+
|
|
11
|
+
The fundamental challenge: onboarding requires coordinating dozens of tasks across multiple departments, each with different systems, different timelines, and different owners. No single person or team has visibility into the full picture. Things fall through the cracks because the process depends on manual handoffs, tribal knowledge, and individual diligence.
|
|
12
|
+
|
|
13
|
+
**Scale makes it worse, not better.** A company hiring 10 people per quarter can handle onboarding with spreadsheets and personal attention. A company hiring 50 or 100 cannot. The process that worked at 200 employees breaks at 500 and is unmanageable at 2,000.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Current State Pain Points
|
|
18
|
+
|
|
19
|
+
These are the problems that exist in most organizations before automation. Not all will apply to every company, but most companies experience at least three of the five.
|
|
20
|
+
|
|
21
|
+
### Manual Checklists
|
|
22
|
+
|
|
23
|
+
Onboarding tasks are tracked in spreadsheets, wikis, or email threads. Each new hire gets a copy of the checklist. Someone (HR generalist, hiring manager, or office coordinator) manually checks off items as they are completed. Items get missed. Different people follow different versions of the checklist. There is no real-time visibility into where things stand.
|
|
24
|
+
|
|
25
|
+
### Tribal Knowledge
|
|
26
|
+
|
|
27
|
+
"Ask Sarah in IT to set up the VPN" and "Make sure you CC finance on the laptop request." Critical process steps live in people's heads, not in systems. When those people are on vacation, busy, or leave the company, steps get skipped. New HR team members take months to learn all the informal procedures.
|
|
28
|
+
|
|
29
|
+
### Delayed Provisioning
|
|
30
|
+
|
|
31
|
+
IT provisioning is the most common bottleneck. Account creation requires tickets to multiple teams. Hardware procurement has lead times. Software licenses require budget approval. The result: new hires show up on Day 1 and cannot log in, do not have a laptop, or do not have access to the tools they need. They sit idle while IT catches up. First impressions are terrible.
|
|
32
|
+
|
|
33
|
+
### Inconsistent Experience
|
|
34
|
+
|
|
35
|
+
Onboarding quality varies wildly depending on who handles it. Some hiring managers plan structured first weeks with introductions, training, and mentorship. Others hand the new hire a laptop and say "let me know if you have questions." This inconsistency affects retention: employees who have a poor onboarding experience are 2x more likely to look for a new job within the first year.
|
|
36
|
+
|
|
37
|
+
### Compliance Risk
|
|
38
|
+
|
|
39
|
+
Tax forms, I-9 verification, mandatory training, and policy acknowledgments have legal deadlines. Manual processes miss them because:
|
|
40
|
+
|
|
41
|
+
- Reminders are sent by people who forget
|
|
42
|
+
- Tracking is in spreadsheets that nobody updates
|
|
43
|
+
- Responsibility is split across HR, legal, and hiring managers with no clear owner
|
|
44
|
+
- The consequences of missing a deadline are invisible until an audit surfaces them
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Impact of Poor Onboarding
|
|
49
|
+
|
|
50
|
+
### Employee Turnover
|
|
51
|
+
|
|
52
|
+
Employees who report a negative onboarding experience are 2x more likely to seek a new opportunity within 12 months. At an average replacement cost of 50-200% of annual salary (depending on role seniority), this is the most expensive consequence of bad onboarding.
|
|
53
|
+
|
|
54
|
+
### Time-to-Productive
|
|
55
|
+
|
|
56
|
+
The longer it takes a new hire to get fully set up and trained, the longer the company waits for return on its hiring investment. For technical roles with 3-6 month ramp times, even a 2-week delay in onboarding has measurable productivity impact.
|
|
57
|
+
|
|
58
|
+
### Compliance Exposure
|
|
59
|
+
|
|
60
|
+
Missed I-9 deadlines: fines range from $252 to $2,507 per violation for first offenses (US). Missed tax form processing: payroll errors and IRS penalties. Missed mandatory training: liability exposure for harassment, safety, and data privacy incidents.
|
|
61
|
+
|
|
62
|
+
### Manager and HR Burden
|
|
63
|
+
|
|
64
|
+
Every hour a hiring manager spends chasing IT tickets, filling out forms, and sending reminder emails is an hour they are not spending on their actual job. HR generalists managing 20+ concurrent onboardings spend the majority of their time on administrative coordination rather than strategic work.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Industry Benchmarks
|
|
69
|
+
|
|
70
|
+
These are representative benchmarks from published HR research. Use them as reference points, not absolute targets.
|
|
71
|
+
|
|
72
|
+
| Metric | Typical | Good | Best-in-Class |
|
|
73
|
+
|--------|---------|------|---------------|
|
|
74
|
+
| Time to full productivity | 8-12 weeks | 4-8 weeks | 2-4 weeks |
|
|
75
|
+
| Onboarding satisfaction (NPS) | 10-30 | 30-50 | 50-80 |
|
|
76
|
+
| Day 1 IT readiness | 40-60% | 70-85% | 90-99% |
|
|
77
|
+
| Compliance completion within 30 days | 65-80% | 85-95% | 98-100% |
|
|
78
|
+
| First-year voluntary turnover | 20-30% | 12-18% | 5-10% |
|
|
79
|
+
| HR hours per onboarding | 10-20 hours | 5-10 hours | 2-4 hours |
|
|
80
|
+
|
|
81
|
+
Sources vary by industry and company size. Measure your own baseline before comparing to benchmarks.
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Target Outcomes
|
|
86
|
+
|
|
87
|
+
What the automated system should achieve, expressed as improvements over the current manual process.
|
|
88
|
+
|
|
89
|
+
### Primary Outcomes
|
|
90
|
+
|
|
91
|
+
1. **Reduce time-to-productive by 30% or more.** Parallel execution of provisioning, document collection, and training eliminates the sequential bottlenecks that delay manual onboarding.
|
|
92
|
+
|
|
93
|
+
2. **Achieve 100% compliance completion within 30 days.** Automated tracking with escalation ensures no compliance item is forgotten or delayed past its deadline.
|
|
94
|
+
|
|
95
|
+
3. **Deliver Day 1 readiness for 95%+ of new hires.** Automated IT provisioning triggered immediately on hire confirmation means accounts, hardware, and software are ready before the employee arrives.
|
|
96
|
+
|
|
97
|
+
4. **Eliminate manual tracking overhead.** HR generalists and hiring managers stop spending time on spreadsheets, reminder emails, and status check meetings. The system tracks everything and reports proactively.
|
|
98
|
+
|
|
99
|
+
### Secondary Outcomes
|
|
100
|
+
|
|
101
|
+
5. **Consistent experience regardless of location, department, or manager.** Every new hire goes through the same structured, complete onboarding process. Quality does not depend on individual diligence.
|
|
102
|
+
|
|
103
|
+
6. **Onboarding NPS above 60.** A smooth, fast onboarding experience is one of the strongest signals a new hire receives about the company's competence and culture.
|
|
104
|
+
|
|
105
|
+
7. **Reusable patterns for offboarding and transfers.** The orchestration pattern, integration infrastructure, and agent architecture built for onboarding directly apply to employee offboarding (reverse provisioning) and internal transfers (delta provisioning).
|
|
106
|
+
`;
|
|
107
|
+
//# sourceMappingURL=business-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business-context.js","sourceRoot":"","sources":["../../../../src/blueprints/employee-onboarding/files/business-context.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyGtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const content = "# Evaluation Criteria\n\nSpecific metrics, targets, and measurement methodologies for validating the Employee Onboarding Automation system.\n\n---\n\n## Document Processing Accuracy\n\n**Target:** > 98% first-pass completion rate\n\n**Definition:** The percentage of submitted documents that are correctly validated on the first attempt without requiring human intervention or resubmission.\n\n**Measurement methodology:**\n- Numerator: documents that pass validation on first submission and require no subsequent correction\n- Denominator: total documents submitted\n- Measurement period: rolling 30 days\n- Exclude: documents rejected due to genuinely incorrect submissions by the new hire (wrong form, missing signature). Count only system errors (valid document incorrectly rejected, invalid document incorrectly accepted).\n\n**Baseline:** Measure the current manual process error rate before automation. Typical manual processes see 15-25% of documents requiring follow-up due to missing fields, wrong forms, or processing errors.\n\n---\n\n## Time-to-Productive\n\n**Target:** > 30% reduction vs. manual baseline\n\n**Definition:** The elapsed time from a new hire's official start date to the date they have all accounts, access, equipment, training, and documentation complete. \"Productive\" means no outstanding onboarding blockers preventing the hire from doing their job.\n\n**Measurement methodology:**\n- Start: employee's official start date in the HR system\n- End: date when the onboarding case reaches \"complete\" status (all tasks resolved, compliance verified)\n- Compare: average time-to-productive for automated onboardings vs. average for the last 6 months of manual onboardings\n- Segment by: role type, department, office location, remote vs. onsite (these variables significantly affect onboarding complexity)\n\n**Baseline:** Survey hiring managers and HR to establish the current average. Typical ranges: 1-2 weeks for simple roles, 3-6 weeks for complex technical roles.\n\n---\n\n## IT Provisioning Speed (Day 1 Readiness)\n\n**Target:** > 95% of new hires have all IT resources ready on Day 1\n\n**Definition:** On the new hire's first day, they can log in to all required systems, their hardware is physically present (or shipped for remote), and their software is installed or accessible.\n\n**Measurement methodology:**\n- Check each new hire's IT provisioning status at 9 AM on their start date\n- \"Ready\" means: all accounts active, all permissions applied, hardware delivered, software licenses assigned\n- \"Not ready\" means: any IT provisioning task still incomplete\n- Report the percentage of new hires at \"ready\" status\n\n**Breakdown tracking:**\n- Account creation readiness (target: 99%)\n- Hardware delivery readiness (target: 90%, lower due to shipping variability)\n- Software license assignment (target: 98%)\n- Access permissions applied (target: 97%)\n\n**Baseline:** Audit the last 20 onboardings. For each, check how many had all IT resources on Day 1. Typical baseline: 40-60%.\n\n---\n\n## Training Path Relevance\n\n**Target:** > 85% employee satisfaction score\n\n**Definition:** New hires rate the relevance and usefulness of their assigned training path. Measured via survey at Day 30.\n\n**Measurement methodology:**\n- Survey question: \"How relevant was your assigned training to your actual role?\" (1-5 scale)\n- Survey question: \"Did your training prepare you for your day-to-day work?\" (1-5 scale)\n- Survey question: \"Was anything missing from your training that you needed?\" (free text)\n- Score = average of the two numerical questions, converted to percentage (e.g., 4.3/5 = 86%)\n- Minimum sample size: 15 completed surveys before reporting the metric\n\n**Segmentation:** Break down by department and role to identify where training paths need improvement. A low score in one department may indicate missing department-specific content, not a system-wide problem.\n\n**Baseline:** If the organization currently surveys onboarding satisfaction, use that. If not, the first cohort of automated onboardings becomes the baseline for future comparison.\n\n---\n\n## Compliance Completion Rate\n\n**Target:** 100% within first 30 days\n\n**Definition:** All mandatory compliance training modules and required documentation completed within 30 calendar days of the hire's start date.\n\n**Measurement methodology:**\n- For each new hire, check completion status of all compliance-flagged items at Day 30\n- Compliance items include: anti-harassment training, security awareness training, data privacy training, I-9 completion, tax form processing, NDA execution\n- 100% means every hire completed every required compliance item. One missed item for one hire means the target is not met.\n- Track which specific items are most commonly delayed to identify systemic issues\n\n**Escalation trigger:** If any compliance item is incomplete at Day 20, the Progress Tracker escalates to the hiring manager and HR. This gives 10 days of buffer before the hard deadline.\n\n**Baseline:** Pull the last 6 months of compliance training records. Calculate the percentage completed within 30 days. Typical baseline: 70-85%.\n\n---\n\n## Onboarding NPS\n\n**Target:** > 60\n\n**Definition:** Net Promoter Score measuring new hire satisfaction with the overall onboarding experience.\n\n**Measurement methodology:**\n- Survey question at Day 30: \"How likely are you to recommend this company's onboarding experience to a friend joining the company?\" (0-10 scale)\n- NPS = % Promoters (9-10) minus % Detractors (0-6)\n- Minimum sample size: 20 responses before reporting\n- Also collect: \"What was the best part of your onboarding?\" and \"What would you improve?\" (free text)\n\n**Interpretation:** NPS is a lagging indicator that reflects the overall experience, not just the automation. A high NPS with low training relevance scores, for example, suggests the automation is working well but training content needs attention.\n\n**Baseline:** If the organization tracks onboarding NPS, use the current number. Industry benchmarks: average onboarding NPS is 20-40. Top performers reach 60-80.\n\n---\n\n## Operational Metrics (Non-Target, Track for Diagnostics)\n\nThese metrics do not have pass/fail targets but should be tracked to diagnose issues and optimize the system:\n\n- **Average tasks per onboarding case:** Tracks complexity. Rising numbers may indicate scope creep or unnecessary tasks.\n- **Escalation rate:** Percentage of tasks that require human escalation. Should decrease over time as the system handles more edge cases.\n- **Reminder-to-action conversion rate:** Percentage of reminders that result in the recipient completing the action. Low rates indicate reminder fatigue or poor targeting.\n- **Agent processing time per task:** How long each agent takes to complete its tasks. Identifies bottlenecks.\n- **Integration error rate:** Percentage of API calls to external systems that fail. Identifies unreliable integrations.\n";
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
export const content = `# Evaluation Criteria
|
|
2
|
+
|
|
3
|
+
Specific metrics, targets, and measurement methodologies for validating the Employee Onboarding Automation system.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Document Processing Accuracy
|
|
8
|
+
|
|
9
|
+
**Target:** > 98% first-pass completion rate
|
|
10
|
+
|
|
11
|
+
**Definition:** The percentage of submitted documents that are correctly validated on the first attempt without requiring human intervention or resubmission.
|
|
12
|
+
|
|
13
|
+
**Measurement methodology:**
|
|
14
|
+
- Numerator: documents that pass validation on first submission and require no subsequent correction
|
|
15
|
+
- Denominator: total documents submitted
|
|
16
|
+
- Measurement period: rolling 30 days
|
|
17
|
+
- Exclude: documents rejected due to genuinely incorrect submissions by the new hire (wrong form, missing signature). Count only system errors (valid document incorrectly rejected, invalid document incorrectly accepted).
|
|
18
|
+
|
|
19
|
+
**Baseline:** Measure the current manual process error rate before automation. Typical manual processes see 15-25% of documents requiring follow-up due to missing fields, wrong forms, or processing errors.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Time-to-Productive
|
|
24
|
+
|
|
25
|
+
**Target:** > 30% reduction vs. manual baseline
|
|
26
|
+
|
|
27
|
+
**Definition:** The elapsed time from a new hire's official start date to the date they have all accounts, access, equipment, training, and documentation complete. "Productive" means no outstanding onboarding blockers preventing the hire from doing their job.
|
|
28
|
+
|
|
29
|
+
**Measurement methodology:**
|
|
30
|
+
- Start: employee's official start date in the HR system
|
|
31
|
+
- End: date when the onboarding case reaches "complete" status (all tasks resolved, compliance verified)
|
|
32
|
+
- Compare: average time-to-productive for automated onboardings vs. average for the last 6 months of manual onboardings
|
|
33
|
+
- Segment by: role type, department, office location, remote vs. onsite (these variables significantly affect onboarding complexity)
|
|
34
|
+
|
|
35
|
+
**Baseline:** Survey hiring managers and HR to establish the current average. Typical ranges: 1-2 weeks for simple roles, 3-6 weeks for complex technical roles.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## IT Provisioning Speed (Day 1 Readiness)
|
|
40
|
+
|
|
41
|
+
**Target:** > 95% of new hires have all IT resources ready on Day 1
|
|
42
|
+
|
|
43
|
+
**Definition:** On the new hire's first day, they can log in to all required systems, their hardware is physically present (or shipped for remote), and their software is installed or accessible.
|
|
44
|
+
|
|
45
|
+
**Measurement methodology:**
|
|
46
|
+
- Check each new hire's IT provisioning status at 9 AM on their start date
|
|
47
|
+
- "Ready" means: all accounts active, all permissions applied, hardware delivered, software licenses assigned
|
|
48
|
+
- "Not ready" means: any IT provisioning task still incomplete
|
|
49
|
+
- Report the percentage of new hires at "ready" status
|
|
50
|
+
|
|
51
|
+
**Breakdown tracking:**
|
|
52
|
+
- Account creation readiness (target: 99%)
|
|
53
|
+
- Hardware delivery readiness (target: 90%, lower due to shipping variability)
|
|
54
|
+
- Software license assignment (target: 98%)
|
|
55
|
+
- Access permissions applied (target: 97%)
|
|
56
|
+
|
|
57
|
+
**Baseline:** Audit the last 20 onboardings. For each, check how many had all IT resources on Day 1. Typical baseline: 40-60%.
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Training Path Relevance
|
|
62
|
+
|
|
63
|
+
**Target:** > 85% employee satisfaction score
|
|
64
|
+
|
|
65
|
+
**Definition:** New hires rate the relevance and usefulness of their assigned training path. Measured via survey at Day 30.
|
|
66
|
+
|
|
67
|
+
**Measurement methodology:**
|
|
68
|
+
- Survey question: "How relevant was your assigned training to your actual role?" (1-5 scale)
|
|
69
|
+
- Survey question: "Did your training prepare you for your day-to-day work?" (1-5 scale)
|
|
70
|
+
- Survey question: "Was anything missing from your training that you needed?" (free text)
|
|
71
|
+
- Score = average of the two numerical questions, converted to percentage (e.g., 4.3/5 = 86%)
|
|
72
|
+
- Minimum sample size: 15 completed surveys before reporting the metric
|
|
73
|
+
|
|
74
|
+
**Segmentation:** Break down by department and role to identify where training paths need improvement. A low score in one department may indicate missing department-specific content, not a system-wide problem.
|
|
75
|
+
|
|
76
|
+
**Baseline:** If the organization currently surveys onboarding satisfaction, use that. If not, the first cohort of automated onboardings becomes the baseline for future comparison.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Compliance Completion Rate
|
|
81
|
+
|
|
82
|
+
**Target:** 100% within first 30 days
|
|
83
|
+
|
|
84
|
+
**Definition:** All mandatory compliance training modules and required documentation completed within 30 calendar days of the hire's start date.
|
|
85
|
+
|
|
86
|
+
**Measurement methodology:**
|
|
87
|
+
- For each new hire, check completion status of all compliance-flagged items at Day 30
|
|
88
|
+
- Compliance items include: anti-harassment training, security awareness training, data privacy training, I-9 completion, tax form processing, NDA execution
|
|
89
|
+
- 100% means every hire completed every required compliance item. One missed item for one hire means the target is not met.
|
|
90
|
+
- Track which specific items are most commonly delayed to identify systemic issues
|
|
91
|
+
|
|
92
|
+
**Escalation trigger:** If any compliance item is incomplete at Day 20, the Progress Tracker escalates to the hiring manager and HR. This gives 10 days of buffer before the hard deadline.
|
|
93
|
+
|
|
94
|
+
**Baseline:** Pull the last 6 months of compliance training records. Calculate the percentage completed within 30 days. Typical baseline: 70-85%.
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## Onboarding NPS
|
|
99
|
+
|
|
100
|
+
**Target:** > 60
|
|
101
|
+
|
|
102
|
+
**Definition:** Net Promoter Score measuring new hire satisfaction with the overall onboarding experience.
|
|
103
|
+
|
|
104
|
+
**Measurement methodology:**
|
|
105
|
+
- Survey question at Day 30: "How likely are you to recommend this company's onboarding experience to a friend joining the company?" (0-10 scale)
|
|
106
|
+
- NPS = % Promoters (9-10) minus % Detractors (0-6)
|
|
107
|
+
- Minimum sample size: 20 responses before reporting
|
|
108
|
+
- Also collect: "What was the best part of your onboarding?" and "What would you improve?" (free text)
|
|
109
|
+
|
|
110
|
+
**Interpretation:** NPS is a lagging indicator that reflects the overall experience, not just the automation. A high NPS with low training relevance scores, for example, suggests the automation is working well but training content needs attention.
|
|
111
|
+
|
|
112
|
+
**Baseline:** If the organization tracks onboarding NPS, use the current number. Industry benchmarks: average onboarding NPS is 20-40. Top performers reach 60-80.
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## Operational Metrics (Non-Target, Track for Diagnostics)
|
|
117
|
+
|
|
118
|
+
These metrics do not have pass/fail targets but should be tracked to diagnose issues and optimize the system:
|
|
119
|
+
|
|
120
|
+
- **Average tasks per onboarding case:** Tracks complexity. Rising numbers may indicate scope creep or unnecessary tasks.
|
|
121
|
+
- **Escalation rate:** Percentage of tasks that require human escalation. Should decrease over time as the system handles more edge cases.
|
|
122
|
+
- **Reminder-to-action conversion rate:** Percentage of reminders that result in the recipient completing the action. Low rates indicate reminder fatigue or poor targeting.
|
|
123
|
+
- **Agent processing time per task:** How long each agent takes to complete its tasks. Identifies bottlenecks.
|
|
124
|
+
- **Integration error rate:** Percentage of API calls to external systems that fail. Identifies unreliable integrations.
|
|
125
|
+
`;
|
|
126
|
+
//# sourceMappingURL=evaluation-criteria.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluation-criteria.js","sourceRoot":"","sources":["../../../../src/blueprints/employee-onboarding/files/evaluation-criteria.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4HtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const content = "# Getting Started\n\n**YOU ARE THE IMPLEMENTER.** This blueprint is your specification. You are a coding agent building employee onboarding automation for an organization. The spec tells you what to build. You decide how to build it on whatever platform you are working with.\n\n## Ground Rules\n\n- **Do not summarize this document back to the user.** Read it, internalize it, act on it.\n- **Do not ask unnecessary questions.** If the spec provides enough information to proceed, proceed. Ask only when you genuinely cannot infer the answer.\n- **Act, then report.** Build the thing first. Explain what you built after.\n- **Be decisive.** When the spec gives you a choice, make it. Do not present options and wait. Pick the best one and move.\n- **Verify before presenting.** Test your work programmatically. Do not hand the user something you have not validated.\n\n## Step 1: Understand the Architecture\n\nRead these files in order:\n\n1. `SKILL.md` - Architecture overview, phasing, agent summary\n2. `references/agent-specifications.md` - Detailed agent definitions, tools, data contracts, success metrics\n3. `references/architecture-decisions.md` - Why this architecture, why these trade-offs\n4. `references/guardrails-and-governance.md` - Risk categories, escalation rules, PII handling\n5. `references/platform-connectivity.md` - Integration points and patterns\n\nDo not skim. These files contain specific tool definitions, data contracts, and escalation rules that you will implement directly.\n\n## Step 2: Connect to the Target Platform\n\nYou are in one of three scenarios:\n\n### A) Platform is ready and accessible\n\nYou have credentials, API access, or an SDK for the target platform (HR system, IT service management, workflow engine). Connect to it. Read its schema. Map the blueprint's agent definitions to the platform's native constructs.\n\n### B) Building on custom code\n\nNo enterprise platform. You are building agents in code (Python, TypeScript, etc.) with direct API integrations. Use the agent specifications as your class/module definitions. Implement tools as functions. Wire up the orchestrator as the entry point.\n\n### C) Unsure what platform to use\n\nRead `references/platform-connectivity.md` for the integration categories you will need. Pick a platform or stack that covers HR system integration, identity management, document management, IT service management, and a learning management system. Or build incrementally: start with the pilot (orchestrator + document processor) and expand your platform choices as you learn.\n\nRegardless of scenario: the orchestrator is triggered by a new-hire event from the HR system. That integration is your first technical task.\n\n## Step 3: Build and Validate the Pilot\n\nFollow the phased approach. Do not build all five agents at once.\n\n### Phase A: Scaffold the orchestration\n\n1. Implement the Onboarding Orchestrator with its four tools: `create_onboarding_case`, `assign_task`, `check_milestone_status`, `escalate_blocker`.\n2. Implement the Document Processor with its four tools: `collect_document`, `validate_document`, `process_tax_forms`, `verify_identity`.\n3. Wire the orchestrator to receive new-hire events and delegate document collection to the Document Processor.\n4. Implement the message format and retry policy defined in `AGENTS.md`.\n\n### Phase B: Make the pilot real\n\n1. Connect to actual data sources: HR system for new-hire records, document storage for form templates, e-signature service for collection.\n2. Run a test onboarding end-to-end. Verify every document type is collected, validated, and stored correctly.\n3. Verify escalation works: simulate a failed identity verification and confirm it routes to a human reviewer.\n4. Measure against the pilot decision gate criteria in `SKILL.md`.\n\n### Phase C: Expand to full implementation\n\nOnce the pilot passes its decision gate:\n\n1. Add the IT Provisioning Coordinator. Test account creation, hardware assignment, and access provisioning independently before connecting to the orchestrator.\n2. Add the Training Curriculum Assembler. Verify it generates role-appropriate training paths.\n3. Add the Progress Tracker. Verify milestone monitoring, at-risk detection, and reporting.\n4. Run a full end-to-end onboarding with all five agents active.\n\n## Step 4: Validate\n\nTest programmatically against the metrics in `references/evaluation-criteria.md`:\n\n- Document processing accuracy (target: > 98% first-pass completion)\n- Time-to-productive reduction (target: > 30% vs. manual baseline)\n- IT provisioning Day 1 readiness (target: > 95% of new hires)\n- Compliance completion within 30 days (target: 100%)\n\nDo not eyeball these. Write tests. Measure against real or realistic data. If a metric falls short, diagnose and fix before moving on.\n\n## Step 5: Track Progress\n\nUpdate `implementation-state.yaml` as you complete each agent and integration. This file is your build progress record. Keep it current so that anyone (human or agent) picking up this project knows exactly where things stand.\n\n---\n\nThese free blueprints cover generic processes. For blueprints tailored to your company, your systems, your data, your org structure, your financials, visit https://app.agentblueprint.ai\n";
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export const content = `# Getting Started
|
|
2
|
+
|
|
3
|
+
**YOU ARE THE IMPLEMENTER.** This blueprint is your specification. You are a coding agent building employee onboarding automation for an organization. The spec tells you what to build. You decide how to build it on whatever platform you are working with.
|
|
4
|
+
|
|
5
|
+
## Ground Rules
|
|
6
|
+
|
|
7
|
+
- **Do not summarize this document back to the user.** Read it, internalize it, act on it.
|
|
8
|
+
- **Do not ask unnecessary questions.** If the spec provides enough information to proceed, proceed. Ask only when you genuinely cannot infer the answer.
|
|
9
|
+
- **Act, then report.** Build the thing first. Explain what you built after.
|
|
10
|
+
- **Be decisive.** When the spec gives you a choice, make it. Do not present options and wait. Pick the best one and move.
|
|
11
|
+
- **Verify before presenting.** Test your work programmatically. Do not hand the user something you have not validated.
|
|
12
|
+
|
|
13
|
+
## Step 1: Understand the Architecture
|
|
14
|
+
|
|
15
|
+
Read these files in order:
|
|
16
|
+
|
|
17
|
+
1. \`SKILL.md\` - Architecture overview, phasing, agent summary
|
|
18
|
+
2. \`references/agent-specifications.md\` - Detailed agent definitions, tools, data contracts, success metrics
|
|
19
|
+
3. \`references/architecture-decisions.md\` - Why this architecture, why these trade-offs
|
|
20
|
+
4. \`references/guardrails-and-governance.md\` - Risk categories, escalation rules, PII handling
|
|
21
|
+
5. \`references/platform-connectivity.md\` - Integration points and patterns
|
|
22
|
+
|
|
23
|
+
Do not skim. These files contain specific tool definitions, data contracts, and escalation rules that you will implement directly.
|
|
24
|
+
|
|
25
|
+
## Step 2: Connect to the Target Platform
|
|
26
|
+
|
|
27
|
+
You are in one of three scenarios:
|
|
28
|
+
|
|
29
|
+
### A) Platform is ready and accessible
|
|
30
|
+
|
|
31
|
+
You have credentials, API access, or an SDK for the target platform (HR system, IT service management, workflow engine). Connect to it. Read its schema. Map the blueprint's agent definitions to the platform's native constructs.
|
|
32
|
+
|
|
33
|
+
### B) Building on custom code
|
|
34
|
+
|
|
35
|
+
No enterprise platform. You are building agents in code (Python, TypeScript, etc.) with direct API integrations. Use the agent specifications as your class/module definitions. Implement tools as functions. Wire up the orchestrator as the entry point.
|
|
36
|
+
|
|
37
|
+
### C) Unsure what platform to use
|
|
38
|
+
|
|
39
|
+
Read \`references/platform-connectivity.md\` for the integration categories you will need. Pick a platform or stack that covers HR system integration, identity management, document management, IT service management, and a learning management system. Or build incrementally: start with the pilot (orchestrator + document processor) and expand your platform choices as you learn.
|
|
40
|
+
|
|
41
|
+
Regardless of scenario: the orchestrator is triggered by a new-hire event from the HR system. That integration is your first technical task.
|
|
42
|
+
|
|
43
|
+
## Step 3: Build and Validate the Pilot
|
|
44
|
+
|
|
45
|
+
Follow the phased approach. Do not build all five agents at once.
|
|
46
|
+
|
|
47
|
+
### Phase A: Scaffold the orchestration
|
|
48
|
+
|
|
49
|
+
1. Implement the Onboarding Orchestrator with its four tools: \`create_onboarding_case\`, \`assign_task\`, \`check_milestone_status\`, \`escalate_blocker\`.
|
|
50
|
+
2. Implement the Document Processor with its four tools: \`collect_document\`, \`validate_document\`, \`process_tax_forms\`, \`verify_identity\`.
|
|
51
|
+
3. Wire the orchestrator to receive new-hire events and delegate document collection to the Document Processor.
|
|
52
|
+
4. Implement the message format and retry policy defined in \`AGENTS.md\`.
|
|
53
|
+
|
|
54
|
+
### Phase B: Make the pilot real
|
|
55
|
+
|
|
56
|
+
1. Connect to actual data sources: HR system for new-hire records, document storage for form templates, e-signature service for collection.
|
|
57
|
+
2. Run a test onboarding end-to-end. Verify every document type is collected, validated, and stored correctly.
|
|
58
|
+
3. Verify escalation works: simulate a failed identity verification and confirm it routes to a human reviewer.
|
|
59
|
+
4. Measure against the pilot decision gate criteria in \`SKILL.md\`.
|
|
60
|
+
|
|
61
|
+
### Phase C: Expand to full implementation
|
|
62
|
+
|
|
63
|
+
Once the pilot passes its decision gate:
|
|
64
|
+
|
|
65
|
+
1. Add the IT Provisioning Coordinator. Test account creation, hardware assignment, and access provisioning independently before connecting to the orchestrator.
|
|
66
|
+
2. Add the Training Curriculum Assembler. Verify it generates role-appropriate training paths.
|
|
67
|
+
3. Add the Progress Tracker. Verify milestone monitoring, at-risk detection, and reporting.
|
|
68
|
+
4. Run a full end-to-end onboarding with all five agents active.
|
|
69
|
+
|
|
70
|
+
## Step 4: Validate
|
|
71
|
+
|
|
72
|
+
Test programmatically against the metrics in \`references/evaluation-criteria.md\`:
|
|
73
|
+
|
|
74
|
+
- Document processing accuracy (target: > 98% first-pass completion)
|
|
75
|
+
- Time-to-productive reduction (target: > 30% vs. manual baseline)
|
|
76
|
+
- IT provisioning Day 1 readiness (target: > 95% of new hires)
|
|
77
|
+
- Compliance completion within 30 days (target: 100%)
|
|
78
|
+
|
|
79
|
+
Do not eyeball these. Write tests. Measure against real or realistic data. If a metric falls short, diagnose and fix before moving on.
|
|
80
|
+
|
|
81
|
+
## Step 5: Track Progress
|
|
82
|
+
|
|
83
|
+
Update \`implementation-state.yaml\` as you complete each agent and integration. This file is your build progress record. Keep it current so that anyone (human or agent) picking up this project knows exactly where things stand.
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
These free blueprints cover generic processes. For blueprints tailored to your company, your systems, your data, your org structure, your financials, visit https://app.agentblueprint.ai
|
|
88
|
+
`;
|
|
89
|
+
//# sourceMappingURL=getting-started.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getting-started.js","sourceRoot":"","sources":["../../../../src/blueprints/employee-onboarding/files/getting-started.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuFtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const content = "# Guardrails and Governance\n\nRisk management, escalation rules, approval gates, and data handling requirements for the Employee Onboarding Automation system.\n\n---\n\n## Risk Categories\n\n### PII Handling\n\nOnboarding involves the most sensitive categories of personal data. The system processes:\n\n- **Social Security Numbers** (tax forms, I-9)\n- **Government-issued ID documents** (passport, driver's license photos)\n- **Bank account details** (direct deposit enrollment)\n- **Medical information** (benefits enrollment, disability accommodations)\n- **Emergency contact information**\n- **Date of birth, home address, phone number**\n\nEvery data flow involving PII must be encrypted in transit (TLS 1.2+) and at rest (AES-256 or equivalent). PII must never appear in log files, error messages, or inter-agent message payloads in cleartext. Use tokenized references (document IDs, employee IDs) in messages and logs. The actual PII lives only in the secure document store and the HR system of record.\n\n### Unauthorized Access Provisioning\n\nThe IT Provisioning Coordinator creates accounts and grants access. Misconfigurations here create security vulnerabilities:\n\n- **Over-provisioning:** Granting more access than the role requires. Mitigated by role-based access templates and the principle of least privilege. No ad-hoc access grants without manager approval.\n- **Stale access:** Provisioning access for a hire who never starts (offer rescinded, start date delayed). Mitigated by the Orchestrator checking HR system status before dispatching provisioning tasks.\n- **Orphaned accounts:** Accounts created but not associated with an active onboarding case. Mitigated by the Orchestrator's case record being the authoritative source. Every account maps to a case ID.\n\n### Incomplete Compliance Training\n\nCompliance training has legal deadlines. Missing them creates liability:\n\n- **Anti-harassment training** is required within 30 days in many jurisdictions.\n- **Security awareness training** is required before access to production systems.\n- **Data privacy training** is required before handling customer data.\n\nThe Training Curriculum Assembler assigns these with hard deadlines. The Progress Tracker monitors completion and escalates non-compliance. The system does not allow deadline extensions for mandatory compliance modules without HR director approval.\n\n### Data Retention Violations\n\nOnboarding documents have different retention requirements:\n\n- **Tax forms:** Retained for the duration of employment plus 4 years (IRS requirement for US).\n- **I-9 forms:** Retained for 3 years after hire date or 1 year after termination, whichever is later.\n- **ID document copies:** Retained only for the duration of the verification process, then deleted. Storing copies long-term creates unnecessary exposure.\n- **Benefits enrollment:** Retained for the duration of the benefit plan year.\n\nThe Document Processor must tag every document with its retention category. Automated retention enforcement (deletion at expiry) should be implemented but requires legal review of the specific organization's jurisdiction and policies.\n\n---\n\n## Escalation Rules\n\n### When to Escalate to a Human\n\n| Situation | Escalation Target | Response SLA |\n|-----------|-------------------|--------------|\n| Identity verification failure or ambiguity | HR Compliance Specialist | 4 hours |\n| Document fails validation 3 times | HR Generalist | 8 hours |\n| Compliance document not submitted within 72 hours of start date | HR Manager + Hiring Manager | 4 hours |\n| PII mismatch between document and HR record | HR Compliance Specialist + Security | 2 hours |\n| Access request for restricted system | System Owner or Security Team | 12 hours |\n| Hardware cannot be delivered by start date | IT Manager + Hiring Manager | 24 hours |\n| License pool exhausted for required software | IT Procurement | 24 hours |\n| Employee has not started compliance training within 7 days | Hiring Manager | 24 hours |\n| At-risk onboarding flagged for 48+ hours with no progress | HR Director | 4 hours |\n\n### Escalation Message Requirements\n\nEvery escalation must include:\n\n1. The onboarding case ID and employee name\n2. The specific task that is blocked\n3. What was attempted (including retry history)\n4. Why automated resolution failed\n5. Recommended next action\n6. Deadline impact (how this affects the new hire's start date or compliance deadlines)\n\nEscalations without all six elements are rejected and returned to the originating agent for completion.\n\n---\n\n## Approval Gates\n\n### Phase 1 Exit Gate\n\nBefore expanding from pilot to full implementation:\n\n- Document processing accuracy > 95% measured over at least 20 onboardings\n- Time reduction > 50% vs. manual baseline\n- Zero compliance gaps during pilot period\n- Stakeholder review of pilot metrics and architecture validation\n- Budget approval for Phase 2 infrastructure and integration costs\n\nThis gate requires sign-off from: HR leadership, IT leadership, and the project sponsor.\n\n### Access Provisioning Sign-Off\n\nFor standard role-based access: automated provisioning is permitted using pre-approved role templates. No human approval needed.\n\nFor exceptions to the role template (additional systems, elevated permissions, admin access): the hiring manager must approve the request and the system owner must confirm. Both approvals are logged in the onboarding case record.\n\nFor access to regulated systems (financial systems, customer PII stores, production infrastructure): security team approval is required in addition to manager and system owner approval.\n\n### Compliance Verification Gate\n\nBefore an onboarding case is marked \"complete\" (typically Day 90):\n\n- All mandatory documents collected and validated\n- All tax forms processed and confirmed by payroll\n- Identity verification completed and approved\n- All compliance training modules completed\n- All access provisioning logged and reconciled against role templates\n\nThe Progress Tracker generates the completion checklist. A human (HR generalist or hiring manager) must review and confirm.\n\n---\n\n## Data Handling Requirements\n\n### PII Classification\n\n| Data Element | Classification | Handling |\n|-------------|---------------|----------|\n| SSN / Tax ID | Restricted | Encrypted at rest, tokenized in logs, access limited to Document Processor and payroll integration |\n| Government ID images | Restricted | Encrypted at rest, deleted after verification, never stored in logs or messages |\n| Bank account details | Restricted | Encrypted at rest, tokenized in transit, routed only to payroll system |\n| Medical / benefits info | Confidential | Encrypted at rest, access limited to benefits enrollment integration |\n| Home address, phone, DOB | Confidential | Encrypted at rest, available to HR and IT provisioning |\n| Emergency contacts | Internal | Encrypted at rest, stored in HR system |\n| Name, role, department | Internal | Available to all agents for task routing |\n\n### Encryption Requirements\n\n- Data in transit: TLS 1.2 or higher for all inter-system communication\n- Data at rest: AES-256 or equivalent for all PII storage\n- Inter-agent messages: use tokenized references (case ID, document ID, employee ID) rather than PII values\n- API keys and credentials: stored in a secrets manager, never in code or configuration files\n\n### Access Controls\n\n- Each agent accesses only the data it needs for its specific function\n- The Document Processor accesses document content; other agents access only document metadata (type, status, deadline)\n- The IT Provisioning Coordinator accesses employee role and department data; it does not access tax forms or ID documents\n- The Progress Tracker accesses milestone statuses and aggregate metrics; it does not access PII or document content\n- All data access is logged with agent identity, timestamp, data element accessed, and purpose\n\n---\n\n## Audit Trail Requirements\n\n### What Gets Logged\n\nEvery significant action in the system must be logged:\n\n- **Document actions:** collection request sent, document submitted, validation attempted (pass/fail with reason), document processed, document deleted (retention expiry)\n- **Access grants:** account created (which system, which permissions), permission modified, access revoked\n- **Identity verification:** verification initiated, result (verified/needs_review/failed), human reviewer decision\n- **Escalations:** escalation created, assigned to whom, response received, resolution\n- **Training:** path assigned, module enrolled, module completed, deadline extended (with approver)\n- **Orchestrator decisions:** case created, task dispatched, dependency resolved, case status changed, case completed\n\n### Log Format\n\nEach log entry includes:\n\n- Timestamp (UTC)\n- Agent ID (which agent performed the action)\n- Onboarding case ID\n- Action type\n- Action details\n- Result (success/failure/pending)\n- Correlation ID (links related actions across agents)\n\n### Log Retention\n\n- Audit logs for active onboarding cases: retained for the life of the case plus 1 year\n- Audit logs for completed cases: retained for 3 years minimum (align with employment record retention)\n- PII-containing log entries: must not exist. If PII appears in a log entry, it is a bug and must be fixed immediately.\n";
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
export const content = `# Guardrails and Governance
|
|
2
|
+
|
|
3
|
+
Risk management, escalation rules, approval gates, and data handling requirements for the Employee Onboarding Automation system.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Risk Categories
|
|
8
|
+
|
|
9
|
+
### PII Handling
|
|
10
|
+
|
|
11
|
+
Onboarding involves the most sensitive categories of personal data. The system processes:
|
|
12
|
+
|
|
13
|
+
- **Social Security Numbers** (tax forms, I-9)
|
|
14
|
+
- **Government-issued ID documents** (passport, driver's license photos)
|
|
15
|
+
- **Bank account details** (direct deposit enrollment)
|
|
16
|
+
- **Medical information** (benefits enrollment, disability accommodations)
|
|
17
|
+
- **Emergency contact information**
|
|
18
|
+
- **Date of birth, home address, phone number**
|
|
19
|
+
|
|
20
|
+
Every data flow involving PII must be encrypted in transit (TLS 1.2+) and at rest (AES-256 or equivalent). PII must never appear in log files, error messages, or inter-agent message payloads in cleartext. Use tokenized references (document IDs, employee IDs) in messages and logs. The actual PII lives only in the secure document store and the HR system of record.
|
|
21
|
+
|
|
22
|
+
### Unauthorized Access Provisioning
|
|
23
|
+
|
|
24
|
+
The IT Provisioning Coordinator creates accounts and grants access. Misconfigurations here create security vulnerabilities:
|
|
25
|
+
|
|
26
|
+
- **Over-provisioning:** Granting more access than the role requires. Mitigated by role-based access templates and the principle of least privilege. No ad-hoc access grants without manager approval.
|
|
27
|
+
- **Stale access:** Provisioning access for a hire who never starts (offer rescinded, start date delayed). Mitigated by the Orchestrator checking HR system status before dispatching provisioning tasks.
|
|
28
|
+
- **Orphaned accounts:** Accounts created but not associated with an active onboarding case. Mitigated by the Orchestrator's case record being the authoritative source. Every account maps to a case ID.
|
|
29
|
+
|
|
30
|
+
### Incomplete Compliance Training
|
|
31
|
+
|
|
32
|
+
Compliance training has legal deadlines. Missing them creates liability:
|
|
33
|
+
|
|
34
|
+
- **Anti-harassment training** is required within 30 days in many jurisdictions.
|
|
35
|
+
- **Security awareness training** is required before access to production systems.
|
|
36
|
+
- **Data privacy training** is required before handling customer data.
|
|
37
|
+
|
|
38
|
+
The Training Curriculum Assembler assigns these with hard deadlines. The Progress Tracker monitors completion and escalates non-compliance. The system does not allow deadline extensions for mandatory compliance modules without HR director approval.
|
|
39
|
+
|
|
40
|
+
### Data Retention Violations
|
|
41
|
+
|
|
42
|
+
Onboarding documents have different retention requirements:
|
|
43
|
+
|
|
44
|
+
- **Tax forms:** Retained for the duration of employment plus 4 years (IRS requirement for US).
|
|
45
|
+
- **I-9 forms:** Retained for 3 years after hire date or 1 year after termination, whichever is later.
|
|
46
|
+
- **ID document copies:** Retained only for the duration of the verification process, then deleted. Storing copies long-term creates unnecessary exposure.
|
|
47
|
+
- **Benefits enrollment:** Retained for the duration of the benefit plan year.
|
|
48
|
+
|
|
49
|
+
The Document Processor must tag every document with its retention category. Automated retention enforcement (deletion at expiry) should be implemented but requires legal review of the specific organization's jurisdiction and policies.
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Escalation Rules
|
|
54
|
+
|
|
55
|
+
### When to Escalate to a Human
|
|
56
|
+
|
|
57
|
+
| Situation | Escalation Target | Response SLA |
|
|
58
|
+
|-----------|-------------------|--------------|
|
|
59
|
+
| Identity verification failure or ambiguity | HR Compliance Specialist | 4 hours |
|
|
60
|
+
| Document fails validation 3 times | HR Generalist | 8 hours |
|
|
61
|
+
| Compliance document not submitted within 72 hours of start date | HR Manager + Hiring Manager | 4 hours |
|
|
62
|
+
| PII mismatch between document and HR record | HR Compliance Specialist + Security | 2 hours |
|
|
63
|
+
| Access request for restricted system | System Owner or Security Team | 12 hours |
|
|
64
|
+
| Hardware cannot be delivered by start date | IT Manager + Hiring Manager | 24 hours |
|
|
65
|
+
| License pool exhausted for required software | IT Procurement | 24 hours |
|
|
66
|
+
| Employee has not started compliance training within 7 days | Hiring Manager | 24 hours |
|
|
67
|
+
| At-risk onboarding flagged for 48+ hours with no progress | HR Director | 4 hours |
|
|
68
|
+
|
|
69
|
+
### Escalation Message Requirements
|
|
70
|
+
|
|
71
|
+
Every escalation must include:
|
|
72
|
+
|
|
73
|
+
1. The onboarding case ID and employee name
|
|
74
|
+
2. The specific task that is blocked
|
|
75
|
+
3. What was attempted (including retry history)
|
|
76
|
+
4. Why automated resolution failed
|
|
77
|
+
5. Recommended next action
|
|
78
|
+
6. Deadline impact (how this affects the new hire's start date or compliance deadlines)
|
|
79
|
+
|
|
80
|
+
Escalations without all six elements are rejected and returned to the originating agent for completion.
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Approval Gates
|
|
85
|
+
|
|
86
|
+
### Phase 1 Exit Gate
|
|
87
|
+
|
|
88
|
+
Before expanding from pilot to full implementation:
|
|
89
|
+
|
|
90
|
+
- Document processing accuracy > 95% measured over at least 20 onboardings
|
|
91
|
+
- Time reduction > 50% vs. manual baseline
|
|
92
|
+
- Zero compliance gaps during pilot period
|
|
93
|
+
- Stakeholder review of pilot metrics and architecture validation
|
|
94
|
+
- Budget approval for Phase 2 infrastructure and integration costs
|
|
95
|
+
|
|
96
|
+
This gate requires sign-off from: HR leadership, IT leadership, and the project sponsor.
|
|
97
|
+
|
|
98
|
+
### Access Provisioning Sign-Off
|
|
99
|
+
|
|
100
|
+
For standard role-based access: automated provisioning is permitted using pre-approved role templates. No human approval needed.
|
|
101
|
+
|
|
102
|
+
For exceptions to the role template (additional systems, elevated permissions, admin access): the hiring manager must approve the request and the system owner must confirm. Both approvals are logged in the onboarding case record.
|
|
103
|
+
|
|
104
|
+
For access to regulated systems (financial systems, customer PII stores, production infrastructure): security team approval is required in addition to manager and system owner approval.
|
|
105
|
+
|
|
106
|
+
### Compliance Verification Gate
|
|
107
|
+
|
|
108
|
+
Before an onboarding case is marked "complete" (typically Day 90):
|
|
109
|
+
|
|
110
|
+
- All mandatory documents collected and validated
|
|
111
|
+
- All tax forms processed and confirmed by payroll
|
|
112
|
+
- Identity verification completed and approved
|
|
113
|
+
- All compliance training modules completed
|
|
114
|
+
- All access provisioning logged and reconciled against role templates
|
|
115
|
+
|
|
116
|
+
The Progress Tracker generates the completion checklist. A human (HR generalist or hiring manager) must review and confirm.
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## Data Handling Requirements
|
|
121
|
+
|
|
122
|
+
### PII Classification
|
|
123
|
+
|
|
124
|
+
| Data Element | Classification | Handling |
|
|
125
|
+
|-------------|---------------|----------|
|
|
126
|
+
| SSN / Tax ID | Restricted | Encrypted at rest, tokenized in logs, access limited to Document Processor and payroll integration |
|
|
127
|
+
| Government ID images | Restricted | Encrypted at rest, deleted after verification, never stored in logs or messages |
|
|
128
|
+
| Bank account details | Restricted | Encrypted at rest, tokenized in transit, routed only to payroll system |
|
|
129
|
+
| Medical / benefits info | Confidential | Encrypted at rest, access limited to benefits enrollment integration |
|
|
130
|
+
| Home address, phone, DOB | Confidential | Encrypted at rest, available to HR and IT provisioning |
|
|
131
|
+
| Emergency contacts | Internal | Encrypted at rest, stored in HR system |
|
|
132
|
+
| Name, role, department | Internal | Available to all agents for task routing |
|
|
133
|
+
|
|
134
|
+
### Encryption Requirements
|
|
135
|
+
|
|
136
|
+
- Data in transit: TLS 1.2 or higher for all inter-system communication
|
|
137
|
+
- Data at rest: AES-256 or equivalent for all PII storage
|
|
138
|
+
- Inter-agent messages: use tokenized references (case ID, document ID, employee ID) rather than PII values
|
|
139
|
+
- API keys and credentials: stored in a secrets manager, never in code or configuration files
|
|
140
|
+
|
|
141
|
+
### Access Controls
|
|
142
|
+
|
|
143
|
+
- Each agent accesses only the data it needs for its specific function
|
|
144
|
+
- The Document Processor accesses document content; other agents access only document metadata (type, status, deadline)
|
|
145
|
+
- The IT Provisioning Coordinator accesses employee role and department data; it does not access tax forms or ID documents
|
|
146
|
+
- The Progress Tracker accesses milestone statuses and aggregate metrics; it does not access PII or document content
|
|
147
|
+
- All data access is logged with agent identity, timestamp, data element accessed, and purpose
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## Audit Trail Requirements
|
|
152
|
+
|
|
153
|
+
### What Gets Logged
|
|
154
|
+
|
|
155
|
+
Every significant action in the system must be logged:
|
|
156
|
+
|
|
157
|
+
- **Document actions:** collection request sent, document submitted, validation attempted (pass/fail with reason), document processed, document deleted (retention expiry)
|
|
158
|
+
- **Access grants:** account created (which system, which permissions), permission modified, access revoked
|
|
159
|
+
- **Identity verification:** verification initiated, result (verified/needs_review/failed), human reviewer decision
|
|
160
|
+
- **Escalations:** escalation created, assigned to whom, response received, resolution
|
|
161
|
+
- **Training:** path assigned, module enrolled, module completed, deadline extended (with approver)
|
|
162
|
+
- **Orchestrator decisions:** case created, task dispatched, dependency resolved, case status changed, case completed
|
|
163
|
+
|
|
164
|
+
### Log Format
|
|
165
|
+
|
|
166
|
+
Each log entry includes:
|
|
167
|
+
|
|
168
|
+
- Timestamp (UTC)
|
|
169
|
+
- Agent ID (which agent performed the action)
|
|
170
|
+
- Onboarding case ID
|
|
171
|
+
- Action type
|
|
172
|
+
- Action details
|
|
173
|
+
- Result (success/failure/pending)
|
|
174
|
+
- Correlation ID (links related actions across agents)
|
|
175
|
+
|
|
176
|
+
### Log Retention
|
|
177
|
+
|
|
178
|
+
- Audit logs for active onboarding cases: retained for the life of the case plus 1 year
|
|
179
|
+
- Audit logs for completed cases: retained for 3 years minimum (align with employment record retention)
|
|
180
|
+
- PII-containing log entries: must not exist. If PII appears in a log entry, it is a bug and must be fixed immediately.
|
|
181
|
+
`;
|
|
182
|
+
//# sourceMappingURL=guardrails-and-governance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guardrails-and-governance.js","sourceRoot":"","sources":["../../../../src/blueprints/employee-onboarding/files/guardrails-and-governance.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoLtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const content = "schema_version: \"1.0\"\noverall_status: not_started\n\nplatform:\n name: TBD\n version: TBD\n environment: TBD\n\nagents:\n - name: Onboarding Orchestrator\n type: manager\n status: not_started\n phase: 1\n tools_implemented: []\n integrations_connected: []\n tests_passing: false\n notes: \"\"\n\n - name: Document Processor\n type: worker\n status: not_started\n phase: 1\n tools_implemented: []\n integrations_connected: []\n tests_passing: false\n notes: \"\"\n\n - name: IT Provisioning Coordinator\n type: worker\n status: not_started\n phase: 2\n tools_implemented: []\n integrations_connected: []\n tests_passing: false\n notes: \"\"\n\n - name: Training Curriculum Assembler\n type: worker\n status: not_started\n phase: 2\n tools_implemented: []\n integrations_connected: []\n tests_passing: false\n notes: \"\"\n\n - name: Progress Tracker\n type: worker\n status: not_started\n phase: 2\n tools_implemented: []\n integrations_connected: []\n tests_passing: false\n notes: \"\"\n\npilot:\n status: not_started\n start_date: TBD\n end_date: TBD\n decision_gate:\n document_accuracy: null\n time_reduction: null\n compliance_gaps: null\n critical_errors: null\n stakeholder_signoff: false\n\nfull_implementation:\n status: not_started\n start_date: TBD\n end_date: TBD\n\nintegrations:\n - name: HR System (new-hire event trigger)\n status: not_started\n notes: \"\"\n - name: Document Management (e-signature, storage)\n status: not_started\n notes: \"\"\n - name: Identity Management (directory, SSO)\n status: not_started\n notes: \"\"\n - name: IT Service Management (tickets, assets)\n status: not_started\n notes: \"\"\n - name: Learning Management System\n status: not_started\n notes: \"\"\n - name: Communication Channels (email, chat)\n status: not_started\n notes: \"\"\n";
|