Skip to content

[P2] Intent attribution — link declared intent to attested outcomes across the audit chain #42

@se-jo-ma

Description

@se-jo-ma

Problem

Every request records its intent (AuditEntry.raw_intent + AuditEntry.intent_analysis, nautilus/core/models.py:194-195), but intent is only captured, never attributed. There is no way to:

Why it matters

Intent is the policy input (routing/denial rules key on purpose), but accountability currently stops at the per-request audit row. Compliance questions ("show all access justified by purpose=incident-response") require joining intent to exposure and to downstream handoffs — none of which is queryable or signed today.

Proposed scope

  1. Include an intent claim (purpose + intent hash) in the signed attestation token / chained audit entries, so declared intent is tamper-evident.
  2. Propagate originating intent through handoff provenance ([P0] Session provenance tokens (JWT issuance + verification) #18) so cross-agent flows retain attribution.
  3. Aggregation surface: per-intent exposure rollup, queryable via the audit REST API ([P1] Public REST API for audit queries #32).

Code locations

  • nautilus/core/models.py:177-195AuditEntry.raw_intent / intent_analysis
  • nautilus/core/models.py:17-40IntentAnalysis
  • nautilus/core/broker.py — attestation claim assembly (AC-19)
  • nautilus/core/attestation_sink.py — chained audit entries

Prerequisites

Priority

P2 — v2 accountability work; builds on shipped chained attestation log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions