You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IRB/DUA approval workflow — from approval record to Cedar policy activation #99
attest can evaluate whether a researcher has NIH approval (attest:nih-approval = true) but provides no workflow for recording that approval and activating the corresponding Cedar policy. The gap is the provisioning step between the compliance event and the technical control.
Workflow design
IRB approves researcher for protocol IRB-2025-042
→ qualify records: attest:irb-protocol-active=true, attest:irb-protocol-id
DUA signed for phs000178, expiry 2027-05-01
→ attest records: attest:nih-dua-id=DUA-2025-001, attest:nih-approval=true, expiry tag
→ Cedar policy cedar-nih-approved-user now evaluates as PERMIT for this principal
Countries-of-concern check performed for researcher
→ qualify records: attest:country=US, attest:coc-check-current=true
→ Cedar policy cedar-nih-country-restriction now passes
All three checks complete → researcher can access NihResource entities
Commands
# Record DUA signing (attest-side: writes nih-approval tags)
attest dua record \
--user [email protected] \
--dua-id DUA-2025-001 \
--dataset phs000178 \
--pi [email protected] \
--expiry 2027-05-01
# List active DUAs with expiry status
attest dua list --sre genomics-lab
# Generate DUA closeout checklist
attest generate closeout --dua-id DUA-2025-001
Schema additions needed
DUARecord type in pkg/schema/types.go
attest:irb-protocol-id tag constant in pkg/schema/tags.go
attest:irb-protocol-active tag constant (already partially in principal resolver)
Related
qualify#36 (data access request workflow — qualify side of this pipeline)
attest#98 (SRE type catalog — DUA requirements per SRE type)
Existing: attest generate closeout already handles the end of this lifecycle
Triage cross-link: the approval→Cedar-activation gap here overlaps qualify#36 (data-access request workflow) and qualify#35 (PI onboarding). attest owns the policy-activation step; qualify owns the request/approval UX. Worth designing the record hand-off jointly.
Dependency (post-kernel roadmap, #11): this (DUA approval workflow) blocks attest#100 (Cedar compute-to-data policy) and qualify#36 (data-access request workflow). Tag-schema versioning qualify#32 should land first if this touches attest:* tags.
This issue (the approval lifecycle) is Decision 1: add attest approval (sibling to waiver/incident), which records the signed DUA as the existing schema.Attestation then activates by writing the attest:nih-* tags the resolver + cedar-nih-approved-user policy already consume — no new evaluation path. The DUA stays a human-affirmed record, not an evidence-kernel principal:// measurement.
Build-order note: depends on the schema bump (Decision 4: nih_approval_dua_id → nih_approval_dua_ids set, coordinated with qualify#32) only for the plural tag; the record/activate mechanics are independent. See the ADR for the full chain and the attest#100 dataset-scoped policy this feeds.
Activity
scttfrdmn commentedon Jun 8, 2026
Triage cross-link: the approval→Cedar-activation gap here overlaps qualify#36 (data-access request workflow) and qualify#35 (PI onboarding). attest owns the policy-activation step; qualify owns the request/approval UX. Worth designing the record hand-off jointly.
scttfrdmn commentedon Jun 9, 2026
Dependency (post-kernel roadmap, #11): this (DUA approval workflow) blocks attest#100 (Cedar compute-to-data policy) and qualify#36 (data-access request workflow). Tag-schema versioning qualify#32 should land first if this touches
attest:*tags.scttfrdmn commentedon Jun 11, 2026
Design recorded: ADR 0002 — Compute-to-data access (provabl umbrella).
This issue (the approval lifecycle) is Decision 1: add
attest approval(sibling towaiver/incident), which records the signed DUA as the existingschema.Attestationthen activates by writing theattest:nih-*tags the resolver +cedar-nih-approved-userpolicy already consume — no new evaluation path. The DUA stays a human-affirmed record, not an evidence-kernelprincipal://measurement.Build-order note: depends on the schema bump (Decision 4:
nih_approval_dua_id→nih_approval_dua_idsset, coordinated with qualify#32) only for the plural tag; the record/activate mechanics are independent. See the ADR for the full chain and the attest#100 dataset-scoped policy this feeds.