Handbook
Session and artifact data governance
Policy for FI session projections (sessions/<id>/machine/*.json, derived human/report.md). Sessions are non-authoritative — ForgeRun/Lenses remains system of record for approvals and evidence acceptance (ADR-0002).
Updated
Classification
| Label | Human report | Attach to SoR | Default retention |
|---|---|---|---|
public |
Full field set | Optional | 90 days |
internal |
Full field set | Recommended | 180 days |
restricted |
Redacted per policy | Required for decisions | 1 year |
secret |
Excluded (summary only) | Required + encryption | Policy-defined |
Envelope sensitivity must align with session classification. Mismatch fails freeze gate.
Consent and authority
consentextension (see ARTIFACT-ENVELOPE-EXTENSIONS.md) required when payload contains personal data.decision_authorityin problem context must name who may act on outputs.- Downstream capabilities must not emit without consent scope covering their artifact types.
Redaction (H-wiki)
Human projections apply a sensitivity gate before render:
- Drop payload keys listed in
redaction.exclude_fieldsfor the session policy. - Mask
restrictedprovenance entries not markedhuman_visible: true. - Never render
secretpayload bodies — show type + id + validation status only.
Stub hook: forge_intelligence.wiki.redaction.apply_redaction — wired into generate_h.render_human via session.redaction_policy.
Retention and deletion
- Every retained artifact requires
retention.policy_idor session-default TTL. legal_hold: trueblocks deletion until cleared.supersessionlinks must be preserved for audit even after TTL expiry of payload body.
Residency and encryption
- Session roots default to host-local storage; cross-border attach requires explicit policy flag.
restrictedandsecretat rest: encrypt session directory whenFI_SESSION_ENCRYPT=1.
SoR attachment
Machine JSON attaches to ForgeRun evidence via Lenses attach API. Attachment record must include:
session_id,freeze_gate_status,artifact_count- Acknowledgement that FI session is a projection, not authoritative run state
Related
- DUAL-WIKI.md
- ADR-0002
- Governance C-10 / FI-P0-007