# internal/core/completion

Package completion evaluates the review authority that allows a task to close.

## CurrentReviewGate

```go
func CurrentReviewGate(ledger session.Session) Authority
```

CurrentReviewGate validates the latest review gate that can currently authorize completion.

## TerminalAuthority

```go
func TerminalAuthority(ledger session.Session) Authority
```

TerminalAuthority validates the review gate that authorized the latest complete event in an archived task ledger.

## Authority

```go
type Authority = reviewgate.Authority
```

Authority describes the review evidence that authorizes completion.
