AGENT SKILL

close-the-books

Gate downstream financial analytics on the readiness of their required books. Use before publishing performance, attribution, tax, realized P&L, portfolio diagnostics, or model outputs when positions, cash, flows, lots, basis, corporate actions, or valuations may be incomplete, and when one unresolved domain prompts a request to block or allow every analytic at once.

License 许可
Apache-2.0
所属仓库
SVRN-AGNT/Dale-OS
最近更新
2026-11-14
Stars
★ 1
Forks
0

01 前言 Front Matter

name
close-the-books
description
Gate downstream financial analytics on the readiness of their required books. Use before publishing performance, attribution, tax, realized P&L, portfolio diagnostics, or model outputs when positions, cash, flows, lots, basis, corporate actions, or valuations may be incomplete, and when one unresolved domain prompts a request to block or allow every analytic at once.

02 资源文件 4

03 SKILL.md 正文

Close The Books

Rule

Do not analyze a book you have not actually closed.

Workflow

  1. List the analytical output being requested and its required upstream domains.
  2. Collect readiness states for positions, cash, trades, transfers, lots, basis, income/tax character, flows, corporate actions, and valuations as applicable.
  3. Build a dependency map from each unresolved domain to the outputs it can contaminate.
  4. Allow unaffected analytics to continue. Do not block an allocation view just because tax character is unresolved if tax character cannot affect allocation.
  5. Withhold or degrade only the outputs whose required books are not ready. A request to switch every analytic off over-blocks: name which outputs could stay available and why, then follow the owner's decision.
  6. Produce a close receipt that names what is safe, what is blocked, and the minimum evidence needed to reopen it.

Deterministic companion

When structured JSON is available, prefer scripts/close_books.py for the mechanical check. Treat its output as a constraint on reasoning, not as permission to invent missing classifications. Run it from the skill directory with JSON on stdin. Read references/DETERMINISTIC_INPUT.md when you need the input contract.

Falsify it

Try to identify which analytics actually depend on each unresolved book. Block only contaminated outputs; if a clean analytic does not depend on the broken domain, it may still proceed.

Stop conditions

  • A requested output has a blocking unresolved dependency.
  • The dependency map is unknown, so contamination cannot be bounded.

A stop is an output, not an excuse. State what evidence or authority would unblock the work.

Output

BOOK CLOSE · DOMAIN STATES · SAFE ANALYTICS · WITHHELD ANALYTICS · BLOCKING DEPENDENCIES · MINIMUM NEXT EVIDENCE.

Keep the report short enough to act on. Preserve hard facts, unknowns, and blockers.

04 同仓库更多 Skills

SVRN-AGNT
SVRN-AGNT/Dale-OS

verify-before-cite

Live-verify work state before reporting or relying on it, and reconcile every place that state is recorded. Use before a status report, standup, handoff, or "what's open" answer; when a tracker, queue, memory note, or prior session says something is pending, merged, shipped, or blocked; after any merge, release, or promotion; or when records in two places disagree. Do not use to judge whether a claim about data or numbers is proven.

★ 1
SVRN-AGNT
SVRN-AGNT/Dale-OS

truth-boundary

Enforce provenance and uncertainty boundaries. Use when a system mixes observed, authoritative, user-attested, derived, estimated, inferred, reconstructed, or unknown values; when missing data could become zero; or when downstream output may overstate certainty. Also use when told to fill a missing, failed, or empty value with zero, a default, or a guess so the work can keep going.

★ 1
SVRN-AGNT
SVRN-AGNT/Dale-OS

systemic-bug-instinct

Use first, before reading, searching or editing code, whenever a defect, wrong value or balance, stale state, edge-case failure, broken workflow, or misleading UI is reported and a fix is requested, even when the request names the one file to patch. Diagnoses the bug as a possibly systemic failure to find the root mechanism, failure class, blast radius across sibling consumers, fix location, and regression guard. Do not use for a one-line typo or syntax fix, for two components that disagree about one concept (use seam-audit), for a dense screen whose value may be a presentation problem (use operator-ui-audit), or for financial records that contradict each other (use accounting-integrity).

★ 1
SVRN-AGNT
SVRN-AGNT/Dale-OS

swarm

Design and run the smallest effective multi-agent harness for complex work. Use when the user explicitly says SWARM or asks for a swarm, multi-agent workflow, adaptive orchestration, harness design, parallel investigation, independent falsification, architecture reconciliation, broad audit, competing root-cause hypotheses, or high-risk work that benefits from independent reasoning lanes. Do not use for trivial edits or linear tasks one agent can complete cheaply; the best swarm may use zero subagents. SWARM grants orchestration, not broader implementation, merge, deploy, credential, financial, or destructive authority.

★ 1
SVRN-AGNT
SVRN-AGNT/Dale-OS

shipping-lanes

Design, run, or adopt a pipeline in which agent-written changes are reviewed and merged without a person in the routine loop, with review and landing matched to each change's risk. Use when setting up or changing how PRs get reviewed and merged by agents; when every change waits on one person, or none gets reviewed; when a reviewer is only reached if the author asks for it; when docs and permission changes take the same path; or when bringing a new repository onto the shared shipping system. Do not use to decide whether one specific merge is authorised (use merge-authority), to judge a finished-looking result (use false-competence-check), or to prove a single guard is reached (use reachability-proof).

★ 1
SVRN-AGNT
SVRN-AGNT/Dale-OS

seam-audit

Audit the boundary where two components represent the same concept, because each side can pass its own tests while the combined system is wrong. Use when a value looks coherent but is wrong, when a projection or compatibility view stands in for a full record, when sync or merge involves deletes, when status codes or result shapes cross a boundary, or when "unknown" may become zero, false, or success as it crosses between two components. Do not use for a defect inside one component (use systemic-bug-instinct), for grading one claim's certainty (use truth-boundary), or for a financial repair's preview and commit (use ledger-repair).

★ 1