Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:7onez Cti expert Pivot Proposal Approval

From Leeroopedia
Knowledge Sources
Domains OSINT, State_Management
Last Updated 2026-10-28 14:00 GMT

Overview

Design principle that gates LLM-proposed pivot expansions behind a staleness digest and per-item approval, preventing an agent from re-proposing the same pivots or expanding beyond the analyst's authorization.

Description

Pivot Proposal Approval solves the problem of unbounded pivot expansion: an LLM given the ability to propose new pivots will propose them every round, even when nothing has changed, and will expand the investigation beyond the analyst's scope without authorization. The principle enforces two gates:

1. Staleness digest: a SHA-256 over sorted raw file names, dispatched pivot IDs, and typed node keys. If the digest has not changed since the last proposal, the planner reuses the existing proposal. This prevents redundant re-planning and makes the proposal deterministic given the same evidence.

2. Per-item approval: the proposal carries stable IDs for each pivot item. The analyst approves or rejects individual items; dispatched pivots are recorded in `state.json` so they are never re-proposed. The planner never sizes or prices a pivot — the count probe and pivot map do — so it cannot talk an oversized or metered pivot past approval.

Usage

Use this principle when designing any pipeline where:

  • An LLM proposes new investigation steps that must be checked before execution.
  • Re-planning should only occur when the evidence set has actually changed.
  • Each proposed pivot needs a stable identity for tracking across rounds.
  • The planner must not be able to bypass cost/size gates by self-sizing its proposals.

Theoretical Basis

The principle is a memoization gate over the planning step. The digest is a content-addressed key: if the inputs are the same, the output (proposal) is the same, so re-planning is unnecessary. This is the same invariant as build-system hash-based caching — the inputs that determine the proposal are the collected evidence, the dispatched pivots, and the typed nodes.

# Abstract algorithm (NOT real implementation)
def gate_proposal(case, planner):
    current = digest(case)              # hash of raw files + pivoted + nodes
    prev = load_prev_proposal(case)
    if prev and prev.digest == current:
        return prev                      # stale inputs → reuse proposal
    proposal = planner.plan(case)
    proposal.digest = current
    save(case, proposal)
    return proposal

The per-item approval is a positive consent pattern: each pivot item has a stable ID, and only items the analyst approves are dispatched. Dispatched items are recorded so they are never re-proposed — this is a monotonic done set.

Related Pages

Implemented By

Used By Workflow

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment