This repository has been archived on 2026-04-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Jeffrey Smith ac7286f83b
All checks were successful
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-runners (push) Has been skipped
CI/CD / e2e-smoke (push) Has been skipped
CI/CD / test-frontend (push) Successful in 6s
CI/CD / test-go-pg (push) Successful in 2m49s
CI/CD / test-sqlite (push) Successful in 3m4s
CI/CD / build-and-deploy (push) Successful in 1m15s
Feat v0.9.6 stage mode collapse (#80)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
2026-04-03 18:00:33 +00:00
..
2026-03-28 21:22:39 +00:00
2026-03-28 21:22:39 +00:00

Employee Onboarding

Automated employee provisioning with manager signoff and welcome notification.

Features

  • Starlark automated stagesdb.insert for provisioning records, notifications.send for alerts
  • Signoff gate — manager approval required (role-based), rejection reroutes to start
  • Progressive fieldsets — Personal Info + Access Requirements
  • ext_data tablesprovisions and onboarding_log

Stage Flow

[new-hire-info]  →  [provision-accounts]  →  [manager-signoff]  →  [it-setup]  →  [welcome]
    team              automated (Starlark)      review + signoff       team         automated
                      auto-advances             reject → stage 0                   auto-advances

Prerequisites

  • Team must have a custom "manager" role (via Team Admin > Members > Team Roles)
  • At least one team member with the "manager" role assigned

Starlark Hooks

  • on_provision(ctx) — Inserts provisioning record into provisions table, notifies workflow starter
  • on_welcome(ctx) — Logs completion to onboarding_log, sends welcome notification

Installation

curl -X POST $BASE/api/v1/admin/packages/install \
  -H "Authorization: Bearer $TOKEN" \
  -F "file=@packages/employee-onboarding"