ci / tests (macos-latest, python 3.10) (push) Canceled after 0s
ci / tests (macos-latest, python 3.11) (push) Canceled after 0s
ci / tests (macos-latest, python 3.13) (push) Canceled after 0s
ci / tests (macos-latest, python 3.9) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.10) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.11) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.13) (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
3251 lines
215 KiB
JSON
3251 lines
215 KiB
JSON
[
|
|
{
|
|
"id": "R-0-1",
|
|
"status": "partial",
|
|
"how": "The conformance work left a frozen inventory (docs/reconciliation/inventory-base.json) and a critique with a verdict for every module and command, and a test pins that coverage. That is a one-off record about the maintainers' process, not something sisi does or checks for later conformance work.",
|
|
"evidence": "tests/test_reconciliation.py:22",
|
|
"gap": "No product mechanism: the test only checks that names from the inventory appear in critique.md, and cannot tell whether the current implementation was understood or used.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Nothing checkable; a maintainer evaluation record exists, so only the process can carry it."
|
|
},
|
|
{
|
|
"id": "R-0-2",
|
|
"status": "not-applicable",
|
|
"how": "A SHOULD on how the reconciliation was carried out, not on the product. The verdicts on each existing component are a document (docs/reconciliation/critique.md); nothing in sisi can retain or improve components.",
|
|
"gap": "Nothing is asked of the product; it is a process instruction to the people doing the conformance work."
|
|
},
|
|
{
|
|
"id": "R-1-1",
|
|
"status": "not-applicable",
|
|
"how": "A lead-in sentence ('The defining characteristics are:') that carries no requirement of its own; the seven characteristics that follow are graded as R-1-2 to R-1-8.",
|
|
"gap": "No requirement in this sentence."
|
|
},
|
|
{
|
|
"id": "R-1-2",
|
|
"status": "partial",
|
|
"how": "A unit must carry a non-empty goal (a placeholder goal is refused before any edit), and ending a reply on a question in prose instead of the question dialog is sent back once. Whether the goal is what the user actually needs is left to the agent.",
|
|
"evidence": "sisi/contract.py:398",
|
|
"gap": "Nothing checks the goal against the user's request or keeps it current when the user amends the ask; accountability for the real need rests on rule 1 text.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Needs the agent to compare the goal with the user's words; no code can check that."
|
|
},
|
|
{
|
|
"id": "R-1-3",
|
|
"status": "partial",
|
|
"how": "Contract requirements carry a kind (explicit, implied, contextual, anticipated, experiential) and a decision (now, architect, defer, ignore). For integration and above, the gate and the before-tool hook refuse the work until a non-placeholder requirement list exists.",
|
|
"evidence": "sisi/assure.py:142",
|
|
"gap": "Isolated and logic changes are asked for no requirement list, one entry of any kind satisfies the check, and nothing verifies that each kind was considered or that a deferred item is followed up.",
|
|
"gap_kind": "small",
|
|
"fix": "Require a requirement list at every profile and check each kind was considered."
|
|
},
|
|
{
|
|
"id": "R-1-4",
|
|
"status": "partial",
|
|
"how": "A contract check that cannot fail is refused, checks carry a rung for the strength of their technique, and sisi verifiers ranks property, fuzz and proof techniques for a claim. Choosing them is the agent's decision; the gate only notes, never blocks, when no technique stronger than examples is used.",
|
|
"evidence": "sisi/contract.py:265",
|
|
"gap": "Static analysis, strong types, mutation testing and formal methods are required by no profile; the technique note is one non-blocking line.",
|
|
"gap_kind": "small",
|
|
"fix": "Make the technique note blocking for logic and higher units lacking a rung-2 check."
|
|
},
|
|
{
|
|
"id": "R-1-5",
|
|
"status": "partial",
|
|
"how": "Checks run only when a changed path matches (when_changed) and an identical tree reuses the last pass; a trivial change is asked for no contract, no checks and no retro; independent evidence is required only at data, critical and release.",
|
|
"evidence": "sisi/verify.py:273",
|
|
"gap": "Time to first useful result and to validated completion is measured, not driven: nothing acts when a unit is slow, and the agent still decides which checks exist and how long they take.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Acting on slow units is a process choice; no code can judge when delay is excessive."
|
|
},
|
|
{
|
|
"id": "R-1-6",
|
|
"status": "partial",
|
|
"how": "sisi route picks the cheapest worker that the judged record or a benchmark says is capable (a property test over generated worlds). Parallelism is measured as overlapped delegations; coordination cost appears only as retries in the ledger.",
|
|
"evidence": "sisi/routing.py:716",
|
|
"gap": "The router is advice the agent may override; parallel execution where it shortens the critical path, and the integration cost of delegating, are neither made nor checked.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Parallelism and integration cost are judgement calls the router cannot enforce."
|
|
},
|
|
{
|
|
"id": "R-1-7",
|
|
"status": "partial",
|
|
"how": "The unit scorecard records a lifecycle_quality dimension (files and lines changed, whether tests changed with code, whether the public surface was touched), and the done recipes say what makes refactoring and other kinds of work finished.",
|
|
"evidence": "sisi/scorecard.py:222",
|
|
"gap": "Measured only: nothing in the gate or the hook refuses or flags a change that hurts reliability, clarity, maintainability or extensibility; those judgments are left to the agent and to recipe text.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Lifetime quality of the result cannot be checked mechanically; only recorded."
|
|
},
|
|
{
|
|
"id": "R-1-8",
|
|
"status": "partial",
|
|
"how": "When a unit's checks are green the gate offers the retro once per state of the tree, a generic finding is refused, a recorded finding closes the unit, and sisi cycle turns proposed learnings into enforced mechanisms, flagged when they recur twice.",
|
|
"evidence": "sisi/gate.py:409",
|
|
"gap": "The offer is not repeated and a turn that ends without a retro is allowed, so units are not always evaluated; the cycle runs only when the agent acts on a session-start notice; a trivial unit gets no retro unless it shows an anomaly.",
|
|
"gap_kind": "small",
|
|
"fix": "Offer the retro on every unit and refuse turns ending without a retro or pause."
|
|
},
|
|
{
|
|
"id": "R-1-9",
|
|
"status": "partial",
|
|
"how": "The scorecard keeps eight dimensions and no aggregate, and sisi status prints no score (a test asserts this). Activity counts such as lines, tokens and delegations are recorded only as diagnostics.",
|
|
"evidence": "sisi/scorecard.py:152",
|
|
"gap": "The tests pin only the status text and the scorecard's keys. I did not confirm that no other reporter, rule or learning treats tests, coverage, agents or units closed as a target, and nothing detects such a target if one appears.",
|
|
"gap_kind": "judgement",
|
|
"fix": "No test can rule out gaming of targets in free text; only the scorecard keys are checkable."
|
|
},
|
|
{
|
|
"id": "R-2.3-1",
|
|
"status": "not-applicable",
|
|
"how": "A lead-in sentence ('The system's responsibilities include:') with no requirement of its own; the nine responsibilities that follow are graded as R-2.3-2 to R-2.3-10.",
|
|
"gap": "No requirement in this sentence."
|
|
},
|
|
{
|
|
"id": "R-2.3-2",
|
|
"status": "partial",
|
|
"how": "The desired outcome is held as the contract's goal, which must be non-empty (a placeholder is refused before any edit), and a reply that ends on a question in prose is sent back once so the question dialog is used.",
|
|
"evidence": "sisi/contract.py:398",
|
|
"gap": "The goal is free text the agent writes: nothing compares it with the user's words, notices a changed request, or keeps a model of the outcome beyond that field.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether the goal matches the user's outcome needs judgement, not code."
|
|
},
|
|
{
|
|
"id": "R-2.3-3",
|
|
"status": "partial",
|
|
"how": "Each contract requirement has a kind (explicit, implied, contextual, anticipated, experiential) and a decision (now, architect, defer, ignore), validated by contract.validate; the gate demands the list from integration up.",
|
|
"evidence": "sisi/contract.py:329",
|
|
"gap": "Below integration no list is asked; one entry of any kind passes; nothing checks that requirements are discovered, tracked to a check, or revisited when deferred.",
|
|
"gap_kind": "small",
|
|
"fix": "Require a requirement list at every profile, not only integration and above."
|
|
},
|
|
{
|
|
"id": "R-2.3-4",
|
|
"status": "partial",
|
|
"how": "A contract has scope.in and scope.out and may carry a plan; for integration and above an approach (what was chosen, why, and a rejected alternative) is required before building.",
|
|
"evidence": "sisi/assure.py:151",
|
|
"gap": "Scope and plan are optional and unchecked at every profile, the approach is asked only from integration up, and investigation and prioritization are entirely the agent's.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Problem framing and prioritisation are judgement; only scope presence is checkable."
|
|
},
|
|
{
|
|
"id": "R-2.3-5",
|
|
"status": "partial",
|
|
"how": "sisi does none of this work itself; the host agent does. The product adds the before-tool guard that refuses a non-trivial edit until a valid unit stands behind it, the recorded approach at integration and above, and the done recipes that say what makes each kind of work finished.",
|
|
"evidence": "sisi/assure.py:151",
|
|
"gap": "No mechanism makes or checks architecture, design, refactoring, documentation or integration quality; the recipes are advice and the guard asks only for a contract.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Architecture and design quality cannot be checked mechanically; recipes are advice."
|
|
},
|
|
{
|
|
"id": "R-2.3-6",
|
|
"status": "partial",
|
|
"how": "sisi risk works out a floor from the changed paths (auth, secrets, crypto and installer paths are critical), and the gate demands what that profile's row requires: checks that can fail and say what they cover, invariants, a risk note and independent evidence. The verifier library lists safety techniques.",
|
|
"evidence": "sisi/risk.py:229",
|
|
"gap": "No security analysis is performed; the test strategy is whatever checks the agent writes, and the floor is raised by the agent's judgment.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Security analysis and test strategy quality need reviewer judgement, not a product check."
|
|
},
|
|
{
|
|
"id": "R-2.3-7",
|
|
"status": "partial",
|
|
"how": "sisi route names the cheapest capable worker, a delegation naming no model or the session's own is refused with that pick, and the direct-work budget counts the main thread's calls. Task decomposition and parallel execution are left to the agent and only measured.",
|
|
"evidence": "sisi/routing.py:716",
|
|
"gap": "Resource budgeting is a count of direct tool calls and result characters, not of money or time; decomposition and parallelism are neither made nor checked.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Decomposition and parallel execution are agent decisions; only budgets are counted."
|
|
},
|
|
{
|
|
"id": "R-2.3-8",
|
|
"status": "partial",
|
|
"how": "A retro finding promoted with a mechanism becomes, through sisi cycle, an enforced contract requirement, an enforced command check, a risk-table or routing adjustment, or a library entry in the user store; changes to sisi's own code go to the contribution export.",
|
|
"evidence": "sisi/retro.py:129",
|
|
"gap": "This improves sisi's own organization, and only when the agent runs the cycle; nothing makes or checks improvements to the project's development workflow or infrastructure.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Workflow improvement quality depends on the retro's findings, not checkable by code."
|
|
},
|
|
{
|
|
"id": "R-2.3-9",
|
|
"status": "partial",
|
|
"how": "sisi handover lists learnings waiting to be filed in the project's docs, and a unit ends with one of five recorded delivery statuses. The delivery report itself is rule 7 text.",
|
|
"evidence": "sisi/unit.py:497",
|
|
"gap": "Deployment, monitoring and recovery have no mechanism at all; the content and honesty of the delivery report are left to the agent, and handover covers filed learnings, not an operational handoff.",
|
|
"gap_kind": "build",
|
|
"fix": "Add deployment, monitoring and recovery records and checks for authorized releases."
|
|
},
|
|
{
|
|
"id": "R-2.3-10",
|
|
"status": "partial",
|
|
"how": "Each closed unit gets telemetry and an eight-dimension scorecard with every value classed; the retro refuses generic findings and records learnings; sisi cycle promotes them into mechanisms and two recurrences flag one as not working.",
|
|
"evidence": "sisi/scorecard.py:152",
|
|
"gap": "The retro is offered once and may be skipped, and the improvement step (the cycle) runs only when the agent acts on a notice; nothing shows the organization actually improved.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether the organisation improved is a judgement over the record, not a code check."
|
|
},
|
|
{
|
|
"id": "R-3.1-1",
|
|
"status": "partial",
|
|
"how": "The objective and its order are stated in the rulebook, and the scorecard records verified requirements, elapsed times, tokens and human attention as separate values so none stands in for another.",
|
|
"evidence": "sisi/scorecard.py:152",
|
|
"gap": "Maximizing is the agent's behavior: sisi measures the terms and asks for evidence that fits the risk, but no mechanism acts on long-term value per unit of time, cost or attention.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Maximising long-term value is an agent objective; no mechanism can measure it directly."
|
|
},
|
|
{
|
|
"id": "R-3.1-2",
|
|
"status": "partial",
|
|
"how": "The learning loop exists: sisi retro records a finding with its cause, sisi cycle promotes proposed learnings into mechanisms, and a promoted learning that recurs twice is flagged so a cycle that ignores it is refused.",
|
|
"evidence": "sisi/retro.py:107",
|
|
"gap": "The loop depends on the agent recording a retro and running the cycle when told; no measurement shows the objective being achieved better over time (trends say 'too few' under five units).",
|
|
"gap_kind": "judgement",
|
|
"fix": "Improvement over time needs a trend measure over many units, which cannot be built now."
|
|
},
|
|
{
|
|
"id": "R-3.2-1",
|
|
"status": "partial",
|
|
"how": "The gate treats the profile's requirements as hard items: a failing check or a missing item sends the turn back whatever the speed or cost, and the only ways on are a recorded deviation or an unverified release.",
|
|
"evidence": "sisi/gate.py:388",
|
|
"gap": "Below the gate, trading value against time, cost and attention is left to the agent; sisi holds the constraints but models no objectives.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Trading objectives below the gate is judgement; the gate already holds the hard constraints."
|
|
},
|
|
{
|
|
"id": "R-3.2-2",
|
|
"status": "not-applicable",
|
|
"how": "A tier heading: it names a category and places no requirement until the sentences that follow (R-3.2-3 to R-3.2-6).",
|
|
"gap": "No requirement in this sentence."
|
|
},
|
|
{
|
|
"id": "R-3.2-3",
|
|
"status": "partial",
|
|
"how": "A project's contract commands run only after sisi contract trust on this machine; secrets are scrubbed from recorded findings; consequential learning changes wait for the owner's typed approval, and protected rules cannot be disabled.",
|
|
"evidence": "sisi/trust.py:31",
|
|
"gap": "Legal and policy obligations are outside sisi; asking before a destructive, outward or costly action, least access for workers and treating tool output as data are rule 9 text left to the agent.",
|
|
"gap_kind": "boundary",
|
|
"fix": "Gate and checks can be switched off; add a required-on setting for security-critical paths."
|
|
},
|
|
{
|
|
"id": "R-3.2-4",
|
|
"status": "partial",
|
|
"how": "A unit at integration or above must carry risk.rollback (how to undo it). sisi's own changes are recoverable: unit archives are never overwritten, and each cycle's change to the user store is committed and reverted exactly.",
|
|
"evidence": "sisi/assure.py:145",
|
|
"gap": "For the project's own consequential changes recoverability is a written note, not a mechanism: nothing checks that a commit, backup or migration path exists before a hard-to-undo change runs.",
|
|
"gap_kind": "small",
|
|
"fix": "Check that a rollback note exists and a backup or commit reference precedes hard-to-undo changes."
|
|
},
|
|
{
|
|
"id": "R-3.2-5",
|
|
"status": "partial",
|
|
"how": "sisi verify gives five statuses so nothing unrun reads as passed; unit close refuses 'delivered' while a check fails; a removed failing check stays in the record; a gate release is labelled unverified with the instruction to report it so.",
|
|
"evidence": "sisi/gate.py:188",
|
|
"gap": "This keeps sisi's record honest; the agent's own report text and deployment status are not checked, and the gate can be switched off in config.",
|
|
"gap_kind": "boundary",
|
|
"fix": "Gate can be disabled; make honesty checks non-waivable and compare final report status with the record."
|
|
},
|
|
{
|
|
"id": "R-3.2-6",
|
|
"status": "partial",
|
|
"how": "The send-back weighs no speed or cost argument, and after its send-backs run out the unit is released as unverified rather than complete; protected rules cannot be replaced or disabled by a cycle or by hand.",
|
|
"evidence": "sisi/gate.py:497",
|
|
"gap": "Enforcement exists only where the end-of-turn hook is installed and enabled (gate.enabled can turn it off); a waiver lets a change without a contract end as a recorded deviation.",
|
|
"gap_kind": "boundary",
|
|
"fix": "Enforcement stops where the hook is absent or gate.enabled is false; make the gate mandatory."
|
|
},
|
|
{
|
|
"id": "R-3.2-7",
|
|
"status": "not-applicable",
|
|
"how": "A tier heading: it names a category and places no requirement until the sentences that follow (R-3.2-8, R-3.2-9).",
|
|
"gap": "No requirement in this sentence."
|
|
},
|
|
{
|
|
"id": "R-3.2-8",
|
|
"status": "partial",
|
|
"how": "The gate runs the contract's checks and sends the turn back on a failure; the profile's row of canon/risk.json sets the assurance threshold and each missing item is named; a failing check cannot close as delivered.",
|
|
"evidence": "sisi/gate.py:388",
|
|
"gap": "The acceptance checks are written by the agent, not agreed with the user, and 'one check tests the purpose' is rule text; after three send-backs the turn ends with the criteria unmet (labelled unverified).",
|
|
"gap_kind": "small",
|
|
"fix": "Require the user to confirm acceptance checks at contract init before building."
|
|
},
|
|
{
|
|
"id": "R-3.2-9",
|
|
"status": "met",
|
|
"how": "A failing or blocking check sends the turn back, sisi unit close refuses to record the unit as delivered, and when the send-backs run out the gate releases the turn as unverified, never as complete.",
|
|
"evidence": "sisi/gate.py:388",
|
|
"test": "tests/test_gate.py::test_three_send_backs_then_released_as_unverified_and_recorded",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-3.2-10",
|
|
"status": "not-applicable",
|
|
"how": "A tier heading: it names a category and places no requirement until the sentence that follows (R-3.2-11).",
|
|
"gap": "No requirement in this sentence."
|
|
},
|
|
{
|
|
"id": "R-3.2-11",
|
|
"status": "partial",
|
|
"how": "The contract's goal and its requirement list (with implied and contextual kinds) are where the user's actual problem and its implied requirements are recorded, and the gate asks for that list from integration up.",
|
|
"evidence": "sisi/assure.py:142",
|
|
"gap": "Preferring the better outcome among acceptable ones is the agent's judgment; sisi neither compares alternatives nor measures durable value beyond 'public surface touched'.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Choosing the better outcome among acceptable ones is judgement; no code compares alternatives."
|
|
},
|
|
{
|
|
"id": "R-3.2-12",
|
|
"status": "not-applicable",
|
|
"how": "A tier heading: it names a category and places no requirement until the sentence that follows (R-3.2-13).",
|
|
"gap": "No requirement in this sentence."
|
|
},
|
|
{
|
|
"id": "R-3.2-13",
|
|
"status": "partial",
|
|
"how": "Checks are selected by change and reused on an identical tree, a trivial change is asked nothing, the router names the cheapest capable worker, and the direct-work budget refuses the main thread's calls past a limit.",
|
|
"evidence": "sisi/verify.py:273",
|
|
"gap": "Minimizing time, cost, attention and future maintenance burden is measured, not enforced, apart from check selection and the call budget; the agent may do all the work itself with a stated reason.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Trading time, cost and maintenance is judgement beyond the present check and call budgets."
|
|
},
|
|
{
|
|
"id": "R-3.2-14",
|
|
"status": "not-applicable",
|
|
"how": "A tier heading: it names a category and places no requirement until the sentence that follows (R-3.2-15).",
|
|
"gap": "No requirement in this sentence."
|
|
},
|
|
{
|
|
"id": "R-3.2-15",
|
|
"status": "partial",
|
|
"how": "Learnings from retros become, through sisi cycle, enforced requirements, checks, risk-table or routing adjustments, library entries and benchmark cases that later sessions receive; two recurrences flag one as not working.",
|
|
"evidence": "sisi/retro.py:129",
|
|
"gap": "The cycle is due by a counter and announced, not run by sisi; whether judgment, quality, cost or latency improved is not shown (the learning report says 'too few' under five units).",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether later work got better judgement or lower cost is not checkable by code."
|
|
},
|
|
{
|
|
"id": "R-3.3-1",
|
|
"status": "met",
|
|
"how": "scorecard.py computes no aggregate: the unit record holds eight dimensions and sisi status prints trends per metric with no score, which a test asserts.",
|
|
"evidence": "sisi/scorecard.py:296",
|
|
"test": "tests/test_unit.py::test_trends_say_too_few_under_five_and_report_median_and_p95_from_five",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-3.3-2",
|
|
"status": "met",
|
|
"how": "build_scorecard stores the eight dimensions separately, every value classed and missing data 'unavailable' rather than zero, and status prints each dimension.",
|
|
"evidence": "sisi/scorecard.py:152",
|
|
"test": "tests/test_unit.py::test_every_scorecard_value_carries_a_class_and_unavailable_has_no_value",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-3.4-1",
|
|
"status": "partial",
|
|
"how": "The scorecard shows counters together (delivery time beside human corrections and requirements added late; tokens beside corrections), segments under five units say 'too few', and a promoted learning that recurs twice is flagged so a cycle that ignores it is refused.",
|
|
"evidence": "sisi/scorecard.py:278",
|
|
"gap": "Nothing detects a metric being gamed or checks that a rule or learning targets one; the pairing exists only for the metrics the scorecard already has.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Detecting a gamed metric needs judgement over behaviour; no code can flag it reliably."
|
|
},
|
|
{
|
|
"id": "R-3.4-2",
|
|
"status": "partial",
|
|
"how": "Each dimension sits beside its counters in the same record, and sisi retro prints what stands out from the record (for example a check that failed then passed) as the qualitative evidence.",
|
|
"evidence": "sisi/scorecard.py:195",
|
|
"gap": "A SHOULD, and only the built-in metrics are paired; a metric that becomes important later, such as one a rule or learning introduces, is paired by no mechanism.",
|
|
"gap_kind": "small",
|
|
"fix": "Lint that every newly added scorecard dimension names at least one counter-metric."
|
|
},
|
|
{
|
|
"id": "R-4.1-1",
|
|
"status": "partial",
|
|
"how": "The only mechanism is the contract's goal: the before-tool guard refuses a non-trivial build while the goal is empty or a placeholder, and asks for 'the goal in the person's words'. Nothing can tell an outcome from a literal command; reading the request as an outcome rests on rule 1.",
|
|
"evidence": "sisi/unitguard.py:456",
|
|
"gap": "Rests on the agent following rule 1 (canon/core.md:13). sisi checks only that some non-placeholder goal sentence exists, not that it names the outcome wanted.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Telling an outcome from a literal command is interpretation; code can only check goal presence."
|
|
},
|
|
{
|
|
"id": "R-4.1-2",
|
|
"status": "partial",
|
|
"how": "A contract requirement carries a kind that contract validation restricts to explicit, implied, contextual, anticipated and experiential, and the guard demands a requirement list before building at integration and above.",
|
|
"evidence": "sisi/contract.py:329",
|
|
"gap": "No test feeds a requirement with a wrong kind, so deleting the kind check breaks nothing. One row marked explicit satisfies the gate, so no distinction among the five is ever demanded, and below integration no list is asked for.",
|
|
"gap_kind": "test",
|
|
"fix": "Add a test that a requirement with an invalid kind is refused."
|
|
},
|
|
{
|
|
"id": "R-4.1-3",
|
|
"status": "partial",
|
|
"how": "'explicit' is one of the five allowed values of a requirement's kind.",
|
|
"evidence": "sisi/contract.py:39",
|
|
"gap": "Vocabulary only: nothing requires that the user's stated requirements be listed as explicit, and no test uses any kind but explicit.",
|
|
"gap_kind": "wording",
|
|
"fix": "Vocabulary definition of explicit requirements; places no testable product requirement."
|
|
},
|
|
{
|
|
"id": "R-4.1-4",
|
|
"status": "partial",
|
|
"how": "'implied' is one of the five allowed values of a requirement's kind.",
|
|
"evidence": "sisi/contract.py:39",
|
|
"gap": "Vocabulary only: nothing asks for implied requirements to be listed, and no test uses the value.",
|
|
"gap_kind": "wording",
|
|
"fix": "Vocabulary definition of implied requirements; places no testable product requirement."
|
|
},
|
|
{
|
|
"id": "R-4.1-5",
|
|
"status": "partial",
|
|
"how": "'contextual' is one of the five allowed values of a requirement's kind.",
|
|
"evidence": "sisi/contract.py:39",
|
|
"gap": "Vocabulary only: nothing asks for codebase, convention or prior-decision requirements to be listed, and no test uses the value.",
|
|
"gap_kind": "wording",
|
|
"fix": "Vocabulary definition of contextual requirements; places no testable product requirement."
|
|
},
|
|
{
|
|
"id": "R-4.1-6",
|
|
"status": "partial",
|
|
"how": "'anticipated' is one of the five allowed values of a requirement's kind.",
|
|
"evidence": "sisi/contract.py:39",
|
|
"gap": "Vocabulary only: nothing asks that foreseeable needs be recognised before they become defects, and no test uses the value.",
|
|
"gap_kind": "wording",
|
|
"fix": "Vocabulary definition of anticipated requirements; places no testable product requirement."
|
|
},
|
|
{
|
|
"id": "R-4.1-7",
|
|
"status": "partial",
|
|
"how": "'experiential' is one of the five allowed values of a requirement's kind.",
|
|
"evidence": "sisi/contract.py:39",
|
|
"gap": "Vocabulary only: nothing asks for usability, polish or operational qualities to be listed, and no test uses the value.",
|
|
"gap_kind": "wording",
|
|
"fix": "Vocabulary definition of experiential requirements; places no testable product requirement."
|
|
},
|
|
{
|
|
"id": "R-4.2-1",
|
|
"status": "partial",
|
|
"how": "sisi contract init writes a contract with goal, scope, requirements, checks, invariants, assumptions, questions, deferred, limitations, plan and approach. A unit is demanded only for changes above the trivial profile, and only its goal and one real check are required.",
|
|
"evidence": "sisi/contract.py:47",
|
|
"gap": "A trivial-profile request is asked for no model at all. Below integration the requirement list is not required, and assumptions, questions, scope and plan are never required at any profile.",
|
|
"gap_kind": "small",
|
|
"fix": "Require goal, requirement list and assumptions at every non-trivial profile, not only integration."
|
|
},
|
|
{
|
|
"id": "R-4.2-2",
|
|
"status": "partial",
|
|
"how": "A unit cannot be built on until goal is a non-placeholder sentence; contract init takes it from --goal and the guard refuses the build otherwise.",
|
|
"evidence": "sisi/unitguard.py:456",
|
|
"gap": "Only where a unit is required: a trivial-profile request records no goal. 'The problem being solved' is not asked for beyond the one goal sentence.",
|
|
"gap_kind": "small",
|
|
"fix": "Record the goal for every request above trivial and refuse a placeholder goal earlier."
|
|
},
|
|
{
|
|
"id": "R-4.2-3",
|
|
"status": "partial",
|
|
"how": "At integration and above, the guard and the gate demand at least one requirement whose text is not a placeholder, and each entry must name one of the five kinds.",
|
|
"evidence": "sisi/assure.py:142",
|
|
"gap": "Nothing requires an explicit entry: a list of only other kinds passes. Constraints have no field (scope is optional and unchecked), and below integration no requirements are asked for.",
|
|
"gap_kind": "small",
|
|
"fix": "Require at least one explicit-kind requirement entry before building."
|
|
},
|
|
{
|
|
"id": "R-4.2-4",
|
|
"status": "missing",
|
|
"how": "No field of the contract records project or user context and no profile, guard or gate asks for it. sisi prompt injects matching lessons and a recipe as extra context for a request, but that is not part of the model and nothing records it.",
|
|
"evidence": "sisi/prompt.py:103",
|
|
"gap": "Nothing in the code puts relevant project or user context into the intent or requirement model.",
|
|
"gap_kind": "build",
|
|
"fix": "Add a project and user context field and have a gate ask for it."
|
|
},
|
|
{
|
|
"id": "R-4.2-5",
|
|
"status": "partial",
|
|
"how": "'implied' is an allowed requirement kind, validated by contract check.",
|
|
"evidence": "sisi/contract.py:39",
|
|
"gap": "Vocabulary only: nothing asks for implied requirements or for dependencies to be listed, and no test uses the value.",
|
|
"gap_kind": "small",
|
|
"fix": "Require a dependencies field and at least one implied entry for integration and above."
|
|
},
|
|
{
|
|
"id": "R-4.2-6",
|
|
"status": "partial",
|
|
"how": "'anticipated' is an allowed requirement kind, and deferred entries (what, why, safe_because) are validated and copied into the closed unit's record.",
|
|
"evidence": "sisi/contract.py:353",
|
|
"gap": "Neither is required by any profile, edge cases and downstream needs are not asked for, and no test uses the 'anticipated' kind.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Foreseeing edge cases and downstream needs is judgement a checklist can only prompt."
|
|
},
|
|
{
|
|
"id": "R-4.2-7",
|
|
"status": "partial",
|
|
"how": "Every unit above the trivial profile needs at least one check that can fail (claim, command, expected exit) before the first build and again at the end of the turn; vacuous commands are refused.",
|
|
"evidence": "sisi/unitguard.py:451",
|
|
"gap": "A trivial-profile request needs no check, so 'each meaningful request' is not covered: a meaningful documentation request records no acceptance criterion.",
|
|
"gap_kind": "boundary",
|
|
"fix": "Trivial profile needs no check by design; make that profile's exemption explicit and reviewable."
|
|
},
|
|
{
|
|
"id": "R-4.2-8",
|
|
"status": "partial",
|
|
"how": "The contract has assumptions (a list of text) and questions (a question plus its default), and contract check validates their shape.",
|
|
"evidence": "sisi/contract.py:479",
|
|
"gap": "No profile requires either, nothing asks for a confidence level, and a contract with both empty passes every gate.",
|
|
"gap_kind": "small",
|
|
"fix": "Require at least one assumption or an explicit none at non-trivial profiles."
|
|
},
|
|
{
|
|
"id": "R-4.2-9",
|
|
"status": "partial",
|
|
"how": "The contract has scope.out, deferred (what, why and safe_because, each non-empty) and limitations; deferred entries are copied into the closed unit's record.",
|
|
"evidence": "sisi/contract.py:353",
|
|
"gap": "All optional: no profile asks for them and empty lists pass. Nothing links a requirement decided 'defer' to a recorded follow-up.",
|
|
"gap_kind": "small",
|
|
"fix": "Require scope.out or a deferred entry linked to a follow-up record."
|
|
},
|
|
{
|
|
"id": "R-4.3-1",
|
|
"status": "partial",
|
|
"how": "Only rule 1 asks the agent to work out what the request implies and to build what is obviously needed; the requirement list that comes out of it is demanded only at integration and above.",
|
|
"evidence": "canon/core.md:13",
|
|
"gap": "Rests on the agent following rule 1: sisi neither infers requirements nor checks that an obvious, necessary one was implemented.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Inferring obvious requirements is agent judgement; code cannot know what is obvious."
|
|
},
|
|
{
|
|
"id": "R-4.3-2",
|
|
"status": "partial",
|
|
"how": "Every requirement entry must carry a decision of now, architect, defer or ignore; contract check rejects others, which blocks building. Rule 1 says not to expand the scope on speculation.",
|
|
"evidence": "sisi/contract.py:333",
|
|
"gap": "No test gives a requirement a wrong decision, so removing the check breaks nothing. 'why' is optional, so a decision need not be justified, and below integration no entry is required.",
|
|
"gap_kind": "test",
|
|
"fix": "Add a test that a requirement with a wrong decision is refused."
|
|
},
|
|
{
|
|
"id": "R-4.3-3",
|
|
"status": "partial",
|
|
"how": "The decision field forces one of the four choices on each requirement entry, at integration and above.",
|
|
"evidence": "sisi/contract.py:40",
|
|
"gap": "Nothing asks for or weighs expected value or confidence, and no test covers the decision vocabulary.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Weighing expected value and confidence is judgement; the decision field only records a choice."
|
|
},
|
|
{
|
|
"id": "R-4.3-4",
|
|
"status": "partial",
|
|
"how": "'now' is one of the allowed decisions.",
|
|
"evidence": "sisi/contract.py:40",
|
|
"gap": "Vocabulary only: nothing checks that a requirement decided 'now' was implemented, and no test would notice the value removed.",
|
|
"gap_kind": "small",
|
|
"fix": "Require every requirement decided now to name a check that covers it."
|
|
},
|
|
{
|
|
"id": "R-4.3-5",
|
|
"status": "partial",
|
|
"how": "'architect' is one of the allowed decisions.",
|
|
"evidence": "sisi/contract.py:40",
|
|
"gap": "Vocabulary only: nothing checks that room was actually left for the requirement, and no test uses the value.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether room was left for a later need is a design judgement no code can verify."
|
|
},
|
|
{
|
|
"id": "R-4.3-6",
|
|
"status": "partial",
|
|
"how": "A requirement can be decided 'defer', and deferred entries with what, why and safe_because are kept in the closed unit's record.",
|
|
"evidence": "sisi/contract.py:353",
|
|
"gap": "Optional and unenforced: nothing requires a deferred item to be recorded, the two lists are not linked, and the follow-up is only stored; no mechanism communicates it to the user.",
|
|
"gap_kind": "small",
|
|
"fix": "Require each deferred entry to link to a follow-up record."
|
|
},
|
|
{
|
|
"id": "R-4.3-7",
|
|
"status": "partial",
|
|
"how": "'ignore' is one of the allowed decisions.",
|
|
"evidence": "sisi/contract.py:40",
|
|
"gap": "Vocabulary only: nothing checks that what was ignored was speculative or low-value, and no test uses the value.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether an ignored item was speculative or low-value is judgement, not checkable."
|
|
},
|
|
{
|
|
"id": "R-4.4-1",
|
|
"status": "partial",
|
|
"how": "Rule 1 says find out before asking (canon/core.md:22). The one check is the question dialog refused once after a worker failure, with the fallback to use instead of asking the person.",
|
|
"evidence": "sisi/orchestration.py:644",
|
|
"gap": "Only that one case is enforced. Whether any other question could have been inferred from context or discovered by investigation is never checked.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether a question could have been inferred is judgement; only one case is checkable."
|
|
},
|
|
{
|
|
"id": "R-4.4-2",
|
|
"status": "partial",
|
|
"how": "The contract has an assumptions list, and rule 1 tells the agent to record an assumption when a wrong guess is cheap to undo.",
|
|
"evidence": "sisi/contract.py:479",
|
|
"gap": "Never required by any profile, guard or gate: recording assumptions rests on the agent following rule 1.",
|
|
"gap_kind": "small",
|
|
"fix": "Require the assumptions list to be non-empty at non-trivial profiles."
|
|
},
|
|
{
|
|
"id": "R-4.4-3",
|
|
"status": "partial",
|
|
"how": "Only rule 1 asks the agent to ask when interpretations differ materially, the action is hard to undo, or the answer cannot be found (canon/core.md:23). sisi unit pause can record a wait on the person's authorization.",
|
|
"evidence": "canon/core.md:23",
|
|
"gap": "No mechanism decides that a question or an authorization is needed, or refuses a consequential or irreversible action without one; it rests on the agent following rule 1.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Deciding when clarification is needed is judgement; the pause record only stores a wait."
|
|
},
|
|
{
|
|
"id": "R-4.4-4",
|
|
"status": "partial",
|
|
"how": "The end-of-turn gate sends back a reply that ends in a question asked in text instead of through the question dialog, and its message asks for options with the recommended one marked.",
|
|
"evidence": "sisi/questions.py:99",
|
|
"gap": "Only the form is enforced, once per message, and only on hosts with a dialog. The number, specificity and relevance of questions are neither limited nor checked.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Question count and relevance are judgement; the form is already enforced."
|
|
},
|
|
{
|
|
"id": "R-4.5-1",
|
|
"status": "partial",
|
|
"how": "Rule 1 tells the agent to say when a better way would serve the goal and let the person decide (canon/core.md:25), and at integration and above the contract must record an approach with a rejected alternative.",
|
|
"evidence": "sisi/contract.py:367",
|
|
"gap": "A permission the rulebook grants: nothing checks that a flawed request was challenged, and below integration not even an alternative is asked for.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Challenging a flawed request is a judgement the person must be left to decide."
|
|
},
|
|
{
|
|
"id": "R-4.5-2",
|
|
"status": "partial",
|
|
"how": "Before the first build at integration and above, the contract needs an approach with what was chosen, why, and at least one alternative; reuses can list existing capabilities.",
|
|
"evidence": "sisi/assure.py:151",
|
|
"gap": "Only at integration and above. reuses is optional and unchecked, and unnecessary work, contradictory requirements and flawed premises have no field and are not asked for.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Spotting flawed premises and unnecessary work is judgement no field can capture."
|
|
},
|
|
{
|
|
"id": "R-4.5-3",
|
|
"status": "partial",
|
|
"how": "The goal is fixed in the contract before building and contract init refuses to replace an open unit. A later human message that reads as a correction is inferred from the transcript and counted in the unit record.",
|
|
"evidence": "sisi/harvest.py:197",
|
|
"gap": "Nothing compares the delivered work or the final report with the recorded goal, and the contract file can be edited freely. A correction is counted after the fact, never prevented.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Detecting silent goal replacement needs judgement over the final report against the goal."
|
|
},
|
|
{
|
|
"id": "R-5.1-1",
|
|
"status": "partial",
|
|
"how": "Several tested mechanisms keep 'passed' from meaning 'correct': a check that cannot fail is refused, the record has five statuses and never reports an unrun check as passed, invariants are required from integration up, and a logic-or-higher unit with only example tests gets a note. What is not enforced: nothing asks what correct behaviour means, the technique note never blocks, and invariants are not asked below integration.",
|
|
"evidence": "sisi/contract.py:265",
|
|
"gap": "Choosing verification methods and stating what must stay true rest on the agent below the integration profile; the technique note is advice, not a check.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Correctness as a property needs judgement about what must be true; checks prove only some of it."
|
|
},
|
|
{
|
|
"id": "R-5.1-2",
|
|
"status": "partial",
|
|
"how": "The scorecard records intent fulfilment (requirements with a passing check) apart from correctness and assurance (results by status, techniques, checks seen failing, independent evidence). No code names or separates the five kinds of correctness of 5.1; integration and operational correctness have no field anywhere.",
|
|
"evidence": "sisi/scorecard.py:178",
|
|
"gap": "Only two of the five kinds are told apart in the record; there is no distinction of integration or operational correctness, and nothing named for specification correctness.",
|
|
"gap_kind": "small",
|
|
"fix": "Add record fields for integration and operational correctness alongside the existing two."
|
|
},
|
|
{
|
|
"id": "R-5.1-3",
|
|
"status": "partial",
|
|
"how": "A contract carries a requirement list (kind, text, decision, the check that covers it) that is validated and required from the integration profile up; the scorecard counts requirements with a passing check. Nothing checks that the requirements express the intended outcome; the spec-traceability and acceptance verifiers are catalogue text only.",
|
|
"evidence": "sisi/assure.py:142",
|
|
"gap": "The requirement list is required only from integration up and is never compared with the intended outcome; whether the specification is right is left to the agent.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether requirements express the intended outcome is judgement; no code can compare them."
|
|
},
|
|
{
|
|
"id": "R-5.1-4",
|
|
"status": "partial",
|
|
"how": "Each unit's contract states claims as commands that can fail, the end-of-turn gate runs them against the code and is sent back while one fails (a check whose command cannot fail is refused).",
|
|
"evidence": "sisi/gate.py:382",
|
|
"gap": "Overturned by the audit: Nothing in sisi distinguishes implementation correctness from the other four correctness kinds (grep finds no such term; check kinds are domain labels like money/parsing). Checks are only tied to requirements at integration level and above, so 'implementation satisfies the specification' is not separately established.",
|
|
"gap_kind": "unsorted"
|
|
},
|
|
{
|
|
"id": "R-5.1-5",
|
|
"status": "partial",
|
|
"how": "A change touching two or more top-level packages or a public interface is classed integration, which makes the gate require invariants (what must not get worse), a risk note and an approach. Nothing requires or records a check of the implementation against its surrounding components as such; invariants can be any command, and a single-package interface change is not raised.",
|
|
"evidence": "sisi/risk.py:262",
|
|
"gap": "Integration correctness is not its own measured thing: no integration test is required and the record has no field for it.",
|
|
"gap_kind": "small",
|
|
"fix": "Require an integration check naming the surrounding components for cross-package changes."
|
|
},
|
|
{
|
|
"id": "R-5.1-6",
|
|
"status": "partial",
|
|
"how": "The verifier library has real-world, concurrency and fault-injection entries that `sisi verifiers for` ranks for such requests, and a concurrency primitive in a path raises the floor to critical. No mechanism runs or requires a check under deployment, failure or load; that depends on the agent picking the entry.",
|
|
"evidence": "sisi/verifiers.py:249",
|
|
"gap": "Operational correctness is catalogue advice only: no gate, profile requirement or record field covers deployment, failure or load.",
|
|
"gap_kind": "build",
|
|
"fix": "Add a deployment, failure or load check requirement and record its result."
|
|
},
|
|
{
|
|
"id": "R-5.1-7",
|
|
"status": "partial",
|
|
"how": "Strength and independence are enforced and recorded: each check has a rung, the record notes whether it was ever seen failing, and independent evidence counts only when `by` names something other than the author (or an accepted review by another worker). The contract's `assumptions` list is only validated as strings: no profile requires it and it is not carried into the unit record or shown.",
|
|
"evidence": "sisi/assure.py:91",
|
|
"gap": "Remaining assumptions are neither required nor reported; the proof boundary of a unit is not stated anywhere in its record.",
|
|
"gap_kind": "small",
|
|
"fix": "Carry the assumptions and proof boundary into the unit record and show them."
|
|
},
|
|
{
|
|
"id": "R-5.2-1",
|
|
"status": "partial",
|
|
"how": "A verifier library in ten sections (prove, many-inputs, concurrency, real-world, test-quality, regression, safety, design, intent, completeness) covers the toolkit of 5.2, with a tested matcher that ranks entries for a claim and recipes per kind of work. Employing one is the agent's choice: the gate's pointer to the library is a note that never blocks.",
|
|
"evidence": "sisi/verifiers.py:249",
|
|
"gap": "The toolkit is understood by the product, but its use rests on the agent following catalogue text; nothing records or requires that a technique was employed.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Choosing and employing techniques is agent judgement; the library is advice."
|
|
},
|
|
{
|
|
"id": "R-5.2-2",
|
|
"status": "partial",
|
|
"how": "The matcher scores entries by defect kind, section (system property), language, proven runs and rung, and the gate's note is keyed to the risk profile. The `cost` header is carried and printed but takes no part in ranking or in what the gate asks.",
|
|
"evidence": "sisi/verifiers.py:249",
|
|
"gap": "Cost does not influence the choice, and risk only decides whether a non-blocking note is shown.",
|
|
"gap_kind": "small",
|
|
"fix": "Let the cost header weigh into the matcher ranking and the gate's note."
|
|
},
|
|
{
|
|
"id": "R-5.2-3",
|
|
"status": "partial",
|
|
"how": "The library has property-testing entries for Python, Rust, Go, JavaScript/TypeScript and the JVM, the parser, money, feature and new-library recipes cite them, and the matcher puts a property or fuzz tool in the top three for parser and money claims. Parsing and algorithm paths are classed logic, but the gate only notes the absence of a rung 2 technique and does not name property testing.",
|
|
"evidence": "sisi/verifiers.py:249",
|
|
"gap": "Favouring property tests is done by catalogue text and a non-blocking note; no logic change is required to have a property test.",
|
|
"gap_kind": "small",
|
|
"fix": "Require a property or fuzz check for logic changes with broad input spaces."
|
|
},
|
|
{
|
|
"id": "R-5.2-4",
|
|
"status": "partial",
|
|
"how": "Six mutation-testing entries are in the library (three name equivalent mutants), recipes cite `mutation-on-diff`, and the record notes whether each check was ever seen failing. Nothing considers mutation testing for a unit unless the agent reads the recipe; the gate never asks for it.",
|
|
"evidence": "sisi/verifiers.py:249",
|
|
"gap": "Mutation testing is advice only; the seen-failing flag is recorded but blocks nothing.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether mutation testing suits a unit is a quality judgement the gate cannot make."
|
|
},
|
|
{
|
|
"id": "R-5.2-5",
|
|
"status": "partial",
|
|
"how": "The library has a `prove` section (Lean, Dafny, Isabelle, CBMC, Kani, Z3, refinement types) and a `design` section (TLA+, Alloy, P, PlusCal, Quint), a rung 1 or 2 check satisfies `stronger_technique`, and the new-product recipe cites them. No profile requires a formal method for a critical invariant, a state transition or a data transformation; the critical profile asks only for independent evidence.",
|
|
"evidence": "sisi/assure.py:44",
|
|
"gap": "Use of formal methods depends on the agent; the gate does not weigh assurance benefit against cost for critical, data or state-transition changes.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Weighing formal-method cost against benefit is judgement; no code can make that call."
|
|
},
|
|
{
|
|
"id": "R-5.2-6",
|
|
"status": "partial",
|
|
"how": "Proof boundaries are enforced for the library (every entry must carry a 'What a pass does not prove' heading, lint-checked; an entry written from memory is flagged) and the record reports every unrun check with its reason. The contract's `assumptions` list is optional, required by no profile and absent from the unit record.",
|
|
"evidence": "sisi/verifiers.py:10",
|
|
"gap": "Assumptions of a unit are not reported: the field exists but nothing requires, carries or shows it.",
|
|
"gap_kind": "small",
|
|
"fix": "Require assumptions in the contract and report them in the unit record."
|
|
},
|
|
{
|
|
"id": "R-5.3-1",
|
|
"status": "met",
|
|
"how": "`sisi risk` works out a floor profile from the changed paths and diff keywords (what is touched, how many packages, whether auth, payments, migration or concurrency are in the blast radius), the contract declares a profile that may rise freely and lower only with a reason, and the gate and the before-tool guard require what that profile's row of canon/risk.json lists, including a blast-radius and rollback note from integration up.",
|
|
"evidence": "sisi/risk.py:229",
|
|
"test": "tests/test_gate.py::test_declaring_trivial_on_a_migration_without_a_reason_does_not_lower_it",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-5.3-2",
|
|
"status": "met",
|
|
"how": "A check with `when_changed` runs only when a changed path matches and is otherwise skipped with the reason recorded; identical inputs reuse the last pass; a trivial change needs no contract and the guard and gate ask nothing; every check runs only for a release.",
|
|
"evidence": "sisi/verify.py:294",
|
|
"test": "tests/test_verification.py::test_when_changed_selects_by_change",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-5.3-3",
|
|
"status": "met",
|
|
"how": "`risk.classify_path` and `risk.assess` sort a change into one of seven profiles (trivial to release) from the file's kind, name and diff, checked against a set of independently labelled paths so that each gets its labelled floor.",
|
|
"evidence": "sisi/risk.py:171",
|
|
"test": "tests/test_risk.py::test_every_labelled_path_gets_its_labelled_floor",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-5.3-4",
|
|
"status": "partial",
|
|
"how": "The trivial profile is enforced as 'ask nothing': no contract, no refusal by the guard, a silent gate unless the unit shows an anomaly. Its row says 'the diff; a targeted check when one exists', but nothing acts on that text: `assure.missing` returns an empty list for trivial before looking at checks.",
|
|
"evidence": "sisi/assure.py:114",
|
|
"gap": "Inspecting the diff and running a focused lint, snapshot or component check for a trivial change is not done or checked; the profile only removes ceremony.",
|
|
"gap_kind": "small",
|
|
"fix": "Run a focused lint or snapshot check for a trivial presentation change when one exists."
|
|
},
|
|
{
|
|
"id": "R-5.3-5",
|
|
"status": "partial",
|
|
"how": "An isolated change must hold a contract with at least one check that can fail, and the gate runs it and sends back on failure. Nothing checks that the check is a unit or component test, a type check or a visual check; any non-vacuous command satisfies the profile.",
|
|
"evidence": "sisi/assure.py:132",
|
|
"gap": "The kind of check is not distinguished: targeted tests, type checks and visual checks are not required or recorded.",
|
|
"gap_kind": "small",
|
|
"fix": "Record each check's kind and require one unit, type or visual check for isolated changes."
|
|
},
|
|
{
|
|
"id": "R-5.3-6",
|
|
"status": "partial",
|
|
"how": "A logic change needs a contract whose every check says what failure it covers, and when no check is stronger than example tests the gate adds a note pointing at the library. Boundary and property tests, static checks and differential tests are named only in the recipes; the note never blocks.",
|
|
"evidence": "sisi/gate.py:222",
|
|
"gap": "Only `covers` is enforced; property, differential and static checks for logic are advice a logic unit can pass without.",
|
|
"gap_kind": "small",
|
|
"fix": "Require at least one property, differential or static check for logic changes."
|
|
},
|
|
{
|
|
"id": "R-5.3-7",
|
|
"status": "partial",
|
|
"how": "A change touching two or more top-level packages floors at the integration profile, whose row requires a contract whose checks each say what they cover, plus invariants (what must not get worse), a requirement list, a risk note and an approach; the gate and the before-build guard refuse until they exist. Nothing asks for affected-package, integration or compatibility checks as such.",
|
|
"evidence": "sisi/assure.py:139",
|
|
"gap": "Only a generic contract is required (at least one check that can fail, each with covers, and invariants); affected-package tests, integration tests and compatibility checks are neither required nor selected by dependency, and the tests do not show that an integration change without them is refused.",
|
|
"gap_kind": "small",
|
|
"fix": "Require affected-package or integration checks when a change spans two or more packages."
|
|
},
|
|
{
|
|
"id": "R-5.3-8",
|
|
"status": "partial",
|
|
"how": "Migration, schema and persistence paths floor at the data profile, which requires a rollback and blast-radius note, invariants, a requirement list, an approach and independent evidence; declaring a lower profile without a reason is refused by the gate.",
|
|
"evidence": "sisi/assure.py:145",
|
|
"gap": "No migration validation, backward/forward compatibility or data-integrity check is required or run; rollback is a text field, not a rehearsed rollback or recovery check.",
|
|
"gap_kind": "build",
|
|
"fix": "Add migration validation, compatibility and rollback rehearsal checks for schema changes."
|
|
},
|
|
{
|
|
"id": "R-5.3-9",
|
|
"status": "partial",
|
|
"how": "Authorization, secret, crypto, payment, concurrency-primitive, installer and hook paths floor at the critical profile, which requires invariants and independent evidence (an accepted judged review by another model, or a passing check marked independent and naming who produced it); the author's own model does not count.",
|
|
"evidence": "sisi/assure.py:91",
|
|
"gap": "Nothing requires a threat-oriented review, adversarial cases, or race and state-space analysis; any accepted review with a check stronger than `none` satisfies the independent-evidence item whatever it looked at.",
|
|
"gap_kind": "build",
|
|
"fix": "Add threat-review and adversarial-case checks required for critical paths."
|
|
},
|
|
{
|
|
"id": "R-5.3-10",
|
|
"status": "partial",
|
|
"how": "The release profile's row demands every check, deep ones included, fresh-passing on the tree before the gate lets the unit pass, and `sisi release` runs the source's own `sisi verify` and refuses when it fails.",
|
|
"evidence": "sisi/assure.py:163",
|
|
"gap": "The release-profile branch that demands the deep checks be fresh has no test that would fail if it were removed, and `sisi release` runs the slow tier only when `--deep` is passed, so broader regression is not required by default.",
|
|
"gap_kind": "test",
|
|
"fix": "Add a test that removing the release branch's fresh-deep-check demand fails."
|
|
},
|
|
{
|
|
"id": "R-5.3-11",
|
|
"status": "partial",
|
|
"how": "The risk floor is computed from the paths actually changed and the diff text, with a structural rule for several top-level packages and dependency files (lockfile, manifest, vendored code) floored at integration; checks select themselves against the changed paths.",
|
|
"evidence": "sisi/risk.py:229",
|
|
"gap": "sisi does not follow actual code dependencies (who imports or calls the changed module) to find what the change affects; selection rests on when_changed globs the agent writes by hand, and nothing requires them.",
|
|
"gap_kind": "build",
|
|
"fix": "Compute the code dependency graph to find what a change affects."
|
|
},
|
|
{
|
|
"id": "R-5.4-1",
|
|
"status": "partial",
|
|
"how": "Verification time is cut automatically: a trivial change runs nothing, slow checks sit in a deep tier that never runs at the end of a turn, the gate has a time budget, and a pass on identical inputs is reused; durations and the time saved are recorded, and the profile's requirements still hold.",
|
|
"evidence": "sisi/verify.py:294",
|
|
"gap": "Only time is measured; the cost of a check is never estimated or bounded, and holding back checks that are irrelevant to the change depends on the agent having written when_changed.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Bounding the cost of checks is judgement beyond recording time; cost is not estimated."
|
|
},
|
|
{
|
|
"id": "R-5.4-2",
|
|
"status": "partial",
|
|
"how": "The lower bound is enforced (each profile demands a minimum of checks, covers, invariants and evidence) and a check whose when_changed matches nothing in the change is skipped with the reason recorded.",
|
|
"evidence": "sisi/verify.py:302",
|
|
"gap": "Nothing stops or flags excess verification: a check without when_changed runs on every change at every turn, and no command reports that a unit runs more than the change needs.",
|
|
"gap_kind": "small",
|
|
"fix": "Flag checks that run on every change lacking when_changed, with a recorded reason."
|
|
},
|
|
{
|
|
"id": "R-5.4-3",
|
|
"status": "partial",
|
|
"how": "An expensive check is one in the deep tier: a fast check whose timeout exceeds the fast limit is refused as invalid, and `sisi verify` lists the slowest checks by measured duration.",
|
|
"evidence": "sisi/contract.py:145",
|
|
"gap": "The tier rule has no test of its own, and of the six things the lead asks the planner to identify for an expensive check only the failure it covers and reuse from a prior run are enforced; the rest are optional or absent.",
|
|
"gap_kind": "test",
|
|
"fix": "Add a test for the deep-tier rule that refuses a fast check with a long timeout."
|
|
},
|
|
{
|
|
"id": "R-5.4-4",
|
|
"status": "met",
|
|
"how": "Every check in a logic-or-higher unit must carry `covers` (the failure that check would catch); placeholder text counts as missing, the gate and the before-build guard name the check, and the value is stored with every result.",
|
|
"evidence": "sisi/assure.py:134",
|
|
"test": "tests/test_gate.py::test_logic_needs_covers_on_every_check",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-5.4-5",
|
|
"status": "partial",
|
|
"how": "A check's `when_changed` path patterns name the components that make it relevant, are validated, and drive selection: no changed path matching means the check is skipped with that reason recorded.",
|
|
"evidence": "sisi/contract.py:284",
|
|
"gap": "The field is optional: no profile asks for it, so for an expensive check written without it sisi cannot say which components make it relevant and the check runs on every change.",
|
|
"gap_kind": "small",
|
|
"fix": "Require when_changed on deep-tier checks at contract validation."
|
|
},
|
|
{
|
|
"id": "R-5.4-6",
|
|
"status": "partial",
|
|
"how": "Every check and invariant must carry a non-empty `claim` (what the check shows to be true) to pass `sisi contract check`, and a failed run stores the lines that identify the failure as its evidence.",
|
|
"evidence": "sisi/contract.py:421",
|
|
"gap": "No test removes the claim and expects a refusal, so nothing would catch the requirement disappearing; and only emptiness is refused, so a placeholder claim such as `TODO` is accepted outside the untouched skeleton.",
|
|
"gap_kind": "test",
|
|
"fix": "Add a test that a contract check without a claim is refused."
|
|
},
|
|
{
|
|
"id": "R-5.4-7",
|
|
"status": "partial",
|
|
"how": "Every result stores its measured duration, the last duration of each check is kept and used as the estimate of time saved by a skip or reuse, and `sisi verify` prints the slowest checks and the time saved.",
|
|
"evidence": "sisi/verify.py:375",
|
|
"gap": "Duration is known only after a check has run once; nothing reports an estimate for a check that has not run, and resource cost (processor, memory, tokens) is never estimated or recorded.",
|
|
"gap_kind": "small",
|
|
"fix": "Report an estimated duration for checks that have not yet run."
|
|
},
|
|
{
|
|
"id": "R-5.4-8",
|
|
"status": "partial",
|
|
"how": "`sisi verifiers for \"<claim>\"` ranks the library's checks for a claim by relevance, rung, cost and whether the tool is installed, so a cheaper or more targeted check for the same claim can be found.",
|
|
"evidence": "sisi/verifiers.py:423",
|
|
"gap": "It is a library lookup keyed by text the agent types, not by the contract's checks: no command takes an expensive check and says whether an equivalent or more targeted one exists, and nothing prompts the agent to look.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Finding an equivalent or cheaper check is judgement; the library lookup can only prompt it."
|
|
},
|
|
{
|
|
"id": "R-5.4-9",
|
|
"status": "met",
|
|
"how": "A prior pass is reused only when the check's command, expectation and inputs (the files its when_changed watches, or the whole tree) hash identically; the result is then recorded as skipped with the time of the reused pass, never as passed, a failure is never cached, and `--all` disables reuse.",
|
|
"evidence": "sisi/verify.py:306",
|
|
"test": "tests/test_verification.py::test_a_change_inside_when_changed_is_never_hidden_by_reuse",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-5.4-10",
|
|
"status": "partial",
|
|
"how": "A check with when_changed that no changed path matches is recorded as skipped (not affected by this change) with that reason stored, and a skipped result never blocks delivery or the unit's close.",
|
|
"evidence": "sisi/verify.py:352",
|
|
"gap": "Only a check that declares when_changed can be held back; a check with no stated connection to the change runs every time and blocks on failure, and no justification is asked for or recorded.",
|
|
"gap_kind": "small",
|
|
"fix": "Require a recorded justification for a check with no when_changed connection."
|
|
},
|
|
{
|
|
"id": "R-5.5-1",
|
|
"status": "partial",
|
|
"how": "Every closed unit must record at least one retro finding, and a finding may be promoted as a mechanism of type verification or infrastructure, validated by replay before it is enforced.",
|
|
"evidence": "sisi/learning.py:19",
|
|
"gap": "Nothing steers findings toward verification infrastructure, measures whether the infrastructure got better, or treats it as a preferred investment; it improves only when the agent chooses that disposition.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Investing in verification infrastructure is a priority choice no code can enforce."
|
|
},
|
|
{
|
|
"id": "R-5.6-1",
|
|
"status": "met",
|
|
"how": "Every run appends one stored row per check result (contract, project, status, reason, duration, evidence), and closing the unit archives every verification result plus the latest state of each check in the unit record.",
|
|
"evidence": "sisi/verify.py:370",
|
|
"test": "tests/test_verification.py::test_property_over_generated_sequences",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-5.6-2",
|
|
"status": "met",
|
|
"how": "Exactly five statuses exist (passed, failed, skipped, not-applicable, not-run); each of the last three carries a reason, a timeout is not-run and a watch that matches no file is not-applicable, and the table, the stored rows and the gate all keep them apart.",
|
|
"evidence": "sisi/verify.py:16",
|
|
"test": "tests/test_verification.py::test_a_watch_that_matches_nothing_is_not_applicable_and_not_a_pass",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-5.6-3",
|
|
"status": "met",
|
|
"how": "A check that did not run is never stored, printed or counted as passed (the text says `did not run (not a pass)` and `no evidence yet`), a mandatory check that never passed stops a plain close, a check that cannot fail is refused, and the gate notes once when no check is stronger than example tests.",
|
|
"evidence": "sisi/verify.py:503",
|
|
"test": "tests/test_verification.py::test_property_over_generated_sequences",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-6.1-1",
|
|
"status": "partial",
|
|
"how": "The meter refuses direct tool calls past a per-turn budget and makes the agent delegate or record a reason; the gate lets a turn end as soon as the selected checks pass and records timings. Nothing checks that time from intent to delivery is being minimised; that rests on rule 5.",
|
|
"evidence": "sisi/orchestration.py:626",
|
|
"gap": "No mechanism measures or acts on intent-to-delivery time as a target; only the direct-work budget nudges it.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Minimising intent-to-delivery time is a goal; only the direct-work budget acts on it."
|
|
},
|
|
{
|
|
"id": "R-6.1-2",
|
|
"status": "partial",
|
|
"how": "unit.build_telemetry records time to first useful result and time to validated completion, each with a class, when a unit closes.",
|
|
"evidence": "sisi/unit.py:274",
|
|
"gap": "Both measures are proxies with gaps of their own (see R-6.1-3, R-6.1-4); the test checks only the value's class.",
|
|
"gap_kind": "test",
|
|
"fix": "Add a test that telemetry records both measures with their values, not only classes."
|
|
},
|
|
{
|
|
"id": "R-6.1-3",
|
|
"status": "partial",
|
|
"how": "The gate writes a delivery row at every stop it allows, with seconds from the last message the human typed; unit telemetry takes the first such row in the unit's window as the measured value, else infers it from the first green run.",
|
|
"evidence": "sisi/delivery.py:73",
|
|
"gap": "Any allowed stop counts, including one with no contract or one released as unverified, so 'useful' is not established; no test feeds delivery rows into the unit telemetry (only the inferred fallback is tested).",
|
|
"gap_kind": "small",
|
|
"fix": "Count only useful increments as first results; exclude unverified releases from delivery rows."
|
|
},
|
|
{
|
|
"id": "R-6.1-4",
|
|
"status": "partial",
|
|
"how": "At sisi unit close, time_to_validated_completion_s is close time minus the unit's start, and a unit with a blocking check cannot close as delivered.",
|
|
"evidence": "sisi/unit.py:278",
|
|
"gap": "The start is the unit's start (contract init or file mtime), not the user's request; the end is the moment the agent runs close, not the moment the outcome met acceptance; the test asserts only the class.",
|
|
"gap_kind": "small",
|
|
"fix": "Measure from the user's request time and record when acceptance was actually met."
|
|
},
|
|
{
|
|
"id": "R-6.1-5",
|
|
"status": "partial",
|
|
"how": "Telemetry records time in checks, time in waits (pauses), time in delegations and send-backs per unit.",
|
|
"evidence": "sisi/unit.py:284",
|
|
"gap": "Queue time, active execution time and integration time are not measured; waiting on tools is only partly covered by pauses.",
|
|
"gap_kind": "small",
|
|
"fix": "Add queue, active and integration time fields to unit telemetry."
|
|
},
|
|
{
|
|
"id": "R-6.2-1",
|
|
"status": "partial",
|
|
"how": "The gate releases the turn as soon as the selected fast checks pass and records a delivery; sisi unit pause lets a unit wait without demands.",
|
|
"evidence": "sisi/gate.py:162",
|
|
"gap": "Nothing checks that a meaningful increment is delivered as soon as it is useful; that is left to the agent following rule 5.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Deciding when an increment is useful and validated is judgement, not checkable."
|
|
},
|
|
{
|
|
"id": "R-6.2-2",
|
|
"status": "partial",
|
|
"how": "Checks with when_changed run only when the change touches a watched path; others are skipped with the reason recorded, and deep checks never run in the end-of-turn gate.",
|
|
"evidence": "sisi/verify.py:294",
|
|
"gap": "Checks without when_changed always run, and nothing addresses work held for unrelated investigations.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Holding work for unrelated investigation is a judgement; code cannot see the intent."
|
|
},
|
|
{
|
|
"id": "R-6.2-3",
|
|
"status": "partial",
|
|
"how": "decide_status refuses 'delivered' when a check blocks or a mandatory check never ran (the unit becomes delivered-with-deferred, deviation, unverified or abandoned), and close_unit refuses to close a blocked unit.",
|
|
"evidence": "sisi/unit.py:497",
|
|
"gap": "I found no code in assure.py, unit.py or gate.py that enforces the release profile's every-check requirement at close, so the 'bypass release requirements' part is not confirmed.",
|
|
"gap_kind": "small",
|
|
"fix": "Enforce the release profile's every-check requirement at unit close."
|
|
},
|
|
{
|
|
"id": "R-6.3-1",
|
|
"status": "partial",
|
|
"how": "The meter refuses the fourth identical failing shell command when no file changed, and refuses calls past the per-turn call or character budget; checks have timeouts and durations are recorded.",
|
|
"evidence": "sisi/orchestration.py:607",
|
|
"gap": "Nothing watches for stalled agents or delegations that never return, nor for unnecessary approval waits; low-value verification is only visible as check durations.",
|
|
"gap_kind": "build",
|
|
"fix": "Watch for stalled delegations and unnecessary approval waits, with alerts."
|
|
},
|
|
{
|
|
"id": "R-6.3-2",
|
|
"status": "partial",
|
|
"how": "Each check runs under a timeout and the gate's run under a deadline; a check over the budget is reported not-run. The meter is a per-turn budget on direct calls.",
|
|
"evidence": "sisi/verify.py:255",
|
|
"gap": "Budgets exist for checks and direct tool calls only; delegations and investigations have no time budget or progress checkpoint in code.",
|
|
"gap_kind": "build",
|
|
"fix": "Give delegations and investigations time budgets with progress checkpoints."
|
|
},
|
|
{
|
|
"id": "R-6.3-3",
|
|
"status": "partial",
|
|
"how": "A repeated failing command is refused once with a message telling the agent to diagnose or change the approach; a specific reason is required to extend the direct-work budget.",
|
|
"evidence": "sisi/orchestration.py:610",
|
|
"gap": "The refusal is a message; whether the agent reassesses is not checked, and the same command is let through after the one refusal.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether the agent reassessed its approach is judgement; a refusal can only prompt it."
|
|
},
|
|
{
|
|
"id": "R-6.3-4",
|
|
"status": "partial",
|
|
"how": "The budget refusal names the router's pick for reading and for building, and two ways on: delegate with a brief, or record why direct work is cheaper.",
|
|
"evidence": "sisi/orchestration.py:441",
|
|
"gap": "Changing strategy, narrowing, parallelising or asking is advice in a refusal message; nothing verifies any of them happened.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Changing strategy or asking is judgement; no code verifies the agent did either."
|
|
},
|
|
{
|
|
"id": "R-6.3-5",
|
|
"status": "partial",
|
|
"how": "Send-backs are bounded (after three the unit is released as unverified and recorded), and the fourth identical failing command is refused once.",
|
|
"evidence": "sisi/gate.py:188",
|
|
"gap": "The repeat refusal is once only (the test asserts the next run goes through) and the call budget restarts each turn, so an agent can still persist indefinitely across turns.",
|
|
"gap_kind": "small",
|
|
"fix": "Keep the repeated-failure refusal in force across turns, not once only."
|
|
},
|
|
{
|
|
"id": "R-6.4-1",
|
|
"status": "met",
|
|
"how": "verify.run defaults to the fast tier, runs a when_changed check only when the change touches a watched path, and runs everything only with --all.",
|
|
"evidence": "sisi/verify.py:294",
|
|
"test": "tests/test_verification.py::test_when_changed_selects_by_change",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-6.4-2",
|
|
"status": "met",
|
|
"how": "verify.run selects checks from the paths changed since the unit started (change impact), and the gate asks the risk profile's requirements through assure.requirements and assure.missing (risk-adaptive).",
|
|
"evidence": "sisi/verify.py:148",
|
|
"test": "tests/test_verification.py::test_when_changed_selects_by_change",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-6.4-3",
|
|
"status": "partial",
|
|
"how": "Checks carry a mandatory flag (optional ones may be kept back at close) and every skip or reuse stores its reason; durations are recorded and the slowest checks printed.",
|
|
"evidence": "sisi/verify.py:352",
|
|
"gap": "No field records why a suite is expensive (only its tier and measured duration).",
|
|
"gap_kind": "small",
|
|
"fix": "Add a field recording why an expensive suite is expensive."
|
|
},
|
|
{
|
|
"id": "R-6.4-4",
|
|
"status": "partial",
|
|
"how": "With parallel true in the contract, fast checks run in a thread pool of at most four; a check marked serial runs alone so results match the serial run.",
|
|
"evidence": "sisi/verify.py:314",
|
|
"gap": "Overturned by the audit: Concurrency exists only as an opt-in contract flag `parallel`; nothing sets it, recommends it or judges independence or contention, so sisi does not make concurrent runs happen. The cited test shows the pool works when flagged, not that it is used where it helps.",
|
|
"gap_kind": "unsorted"
|
|
},
|
|
{
|
|
"id": "R-6.5-1",
|
|
"status": "partial",
|
|
"how": "sisi status reports median and p95 of completion and first-result time per project, risk profile, model and policy version.",
|
|
"evidence": "sisi/scorecard.py:296",
|
|
"gap": "These are baselines only: there are no target budgets and nothing is broken down by task class.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Setting latency targets by task class needs data and judgement, not a single code change."
|
|
},
|
|
{
|
|
"id": "R-6.5-2",
|
|
"status": "met",
|
|
"how": "scorecard.trends computes the median (p50) and p95 of six time and size metrics per segment, and refuses a percentile from fewer than five units.",
|
|
"evidence": "sisi/scorecard.py:286",
|
|
"test": "tests/test_unit.py::test_trends_say_too_few_under_five_and_report_median_and_p95_from_five",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-7.1-1",
|
|
"status": "partial",
|
|
"how": "A unit is bound to the main session, subagent stops never satisfy the gate, and the gate sends the main thread back until it has judged every finished delegation.",
|
|
"evidence": "sisi/orchestration.py:993",
|
|
"gap": "Accountability is enforced only as 'judge your workers' and 'your own edits are gated'; intent, prioritisation and architecture remain the agent's unaided responsibility.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Owning intent and architecture is the main agent's judgement; the gate covers delegation only."
|
|
},
|
|
{
|
|
"id": "R-7.1-2",
|
|
"status": "partial",
|
|
"how": "The gate asks once per set of finished unjudged runs for a judgement with the check applied; integration-and-higher units need an approach, invariants and independent evidence.",
|
|
"evidence": "sisi/orchestration.py:993",
|
|
"gap": "Nothing checks that conflicting findings were reconciled or that integration quality was reviewed beyond the recorded judgement.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Reconciling findings and reviewing integration quality is judgement beyond the recorded review."
|
|
},
|
|
{
|
|
"id": "R-7.2-1",
|
|
"status": "partial",
|
|
"how": "routing.choose picks from the judged record by task kind and difficulty, benchmark standing, accepted rate, price and load.",
|
|
"evidence": "sisi/routing.py:716",
|
|
"gap": "Latency and context needs are not inputs to the choice (routing.py has no notion of either).",
|
|
"gap_kind": "small",
|
|
"fix": "Add latency and context-window requirements as inputs to routing.choose."
|
|
},
|
|
{
|
|
"id": "R-7.2-2",
|
|
"status": "met",
|
|
"how": "routing.choose takes the cheapest of the capable workers, and the before-tool guard refuses a delegation that names no model or the session's own model, giving the router's pick.",
|
|
"evidence": "sisi/orchestration.py:679",
|
|
"test": "tests/test_capability.py::test_a_capable_worker_that_is_as_good_and_cheaper_is_never_passed_over",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-7.2-3",
|
|
"status": "met",
|
|
"how": "Capability is assessed from the ledger of judgements (sisi delegate judge), prices and benchmarks are stored facts with a source and date, and the pick changes as the record changes.",
|
|
"evidence": "sisi/routing.py:390",
|
|
"test": "tests/test_capability.py::test_a_judged_record_proves_capability_whatever_the_standing",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-7.3-1",
|
|
"status": "partial",
|
|
"how": "Tokens by category and model come from the transcript, cost is estimated from recorded price facts, retries are send-backs, and the meter counts tool calls and result characters.",
|
|
"evidence": "sisi/unit.py:391",
|
|
"gap": "External services, infrastructure and abandoned work are not costed; cost is unavailable when a model has no recorded price.",
|
|
"gap_kind": "build",
|
|
"fix": "Cost external services, infrastructure and abandoned work from recorded inputs."
|
|
},
|
|
{
|
|
"id": "R-7.3-2",
|
|
"status": "missing",
|
|
"how": "I looked for a cost per accepted change or per unit of verified value and found none; the only related figure is an evaluation run's cost cap.",
|
|
"gap": "No measure of cost per accepted change or per unit of verified user value exists.",
|
|
"gap_kind": "small",
|
|
"fix": "Compute cost per accepted change from the unit record and show it in status."
|
|
},
|
|
{
|
|
"id": "R-7.3-3",
|
|
"status": "partial",
|
|
"how": "The meter never counts sisi commands such as verify, so saving calls cannot cut verification, and judgement work may continue with a recorded specific reason.",
|
|
"evidence": "sisi/orchestration.py:626",
|
|
"gap": "Nothing checks that a saving in tokens or calls cost correctness; that trade-off rests on the rulebook.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Trading token savings against correctness is judgement the rulebook states; no code can weigh it."
|
|
},
|
|
{
|
|
"id": "R-7.4-1",
|
|
"status": "partial",
|
|
"how": "The budget pushes work to workers, and the scorecard records how many delegations overlapped, worker minutes against wall time.",
|
|
"evidence": "sisi/workers.py:1324",
|
|
"gap": "Parallelism is measured, not made to happen, and no comparison of wall-clock saved against added cost exists.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Deciding whether parallel work pays is judgement; only overlap is measured."
|
|
},
|
|
{
|
|
"id": "R-7.4-2",
|
|
"status": "partial",
|
|
"how": "The brief template has a required 'Files you may change' part and a 'Budget and escalation' part for dependencies; delegate check reports the parts a brief lacks.",
|
|
"evidence": "sisi/brief.py:10",
|
|
"gap": "Nothing checks that two live delegations share files or depend on each other.",
|
|
"gap_kind": "small",
|
|
"fix": "Refuse concurrent delegations whose brief file lists overlap."
|
|
},
|
|
{
|
|
"id": "R-7.4-3",
|
|
"status": "partial",
|
|
"how": "sisi delegate --brief refuses a brief without outcome, acceptance or the files the worker may change; delegate check names every missing part.",
|
|
"evidence": "sisi/brief.py:118",
|
|
"gap": "Enforced only on the sisi delegate path; a host's own delegation tool gets advice text, and integration points are not a brief part.",
|
|
"gap_kind": "boundary",
|
|
"fix": "Enforced only on sisi delegate; host delegation tools get advice text only."
|
|
},
|
|
{
|
|
"id": "R-7.4-4",
|
|
"status": "missing",
|
|
"how": "The scorecard records overlapped delegations and worker minutes against wall time, but I found no code that compares the wall-clock time saved by parallel work with the extra compute or coordination it cost.",
|
|
"gap": "No measure of wall-clock reduction against added compute and coordination cost.",
|
|
"gap_kind": "small",
|
|
"fix": "Report wall-clock saved against worker minutes and coordination cost per unit."
|
|
},
|
|
{
|
|
"id": "R-7.5-1",
|
|
"status": "partial",
|
|
"how": "The brief template has eight parts covering the list, and delegate check reports each part a brief lacks.",
|
|
"evidence": "sisi/brief.py:10",
|
|
"gap": "Only three of the eight parts are required before sisi delegate runs a brief; the others are template and report only.",
|
|
"gap_kind": "small",
|
|
"fix": "Require all eight brief parts before sisi delegate runs a brief."
|
|
},
|
|
{
|
|
"id": "R-7.5-2",
|
|
"status": "partial",
|
|
"how": "Outcome and scope is a required part: delegate check exits non-zero naming it when absent or a placeholder, and sisi delegate will not run the brief.",
|
|
"evidence": "sisi/brief.py:11",
|
|
"gap": "Overturned by the audit: Refusal of a thin brief applies only to `sisi delegate`; native host delegations get only non-blocking post-hoc advice (orchestration.py:731). The cited test covers only `delegate check` output, and 'bounded' scope is never judged, only non-placeholder text.",
|
|
"gap_kind": "unsorted"
|
|
},
|
|
{
|
|
"id": "R-7.5-3",
|
|
"status": "partial",
|
|
"how": "The template has a 'Context and sources of truth' part and delegate check reports it when missing.",
|
|
"evidence": "sisi/brief.py:12",
|
|
"gap": "Not required: a brief without it still runs.",
|
|
"gap_kind": "small",
|
|
"fix": "Require the context and sources-of-truth part before a brief runs."
|
|
},
|
|
{
|
|
"id": "R-7.5-4",
|
|
"status": "partial",
|
|
"how": "Acceptance is required (sisi delegate refuses without it); constraints and interfaces is a separate, optional part.",
|
|
"evidence": "sisi/brief.py:14",
|
|
"gap": "Constraints and interfaces are only reported, never required.",
|
|
"gap_kind": "small",
|
|
"fix": "Require constraints and interfaces before a brief runs."
|
|
},
|
|
{
|
|
"id": "R-7.5-5",
|
|
"status": "partial",
|
|
"how": "The template has a 'Deliverables and report format' part and delegate check reports it when missing.",
|
|
"evidence": "sisi/brief.py:15",
|
|
"gap": "Not required: a brief without it still runs.",
|
|
"gap_kind": "small",
|
|
"fix": "Require the deliverables and report format part before a brief runs."
|
|
},
|
|
{
|
|
"id": "R-7.5-6",
|
|
"status": "partial",
|
|
"how": "Files the worker may change is a required part: delegate check exits non-zero naming it when absent, and sisi delegate will not run the brief.",
|
|
"evidence": "sisi/brief.py:15",
|
|
"gap": "Overturned by the audit: Same gap: the 'Files you may change' requirement is enforced only for `sisi delegate`; a native Agent delegation is only advised afterward. The cited test checks `delegate check` output, not a refusal, and does not check that the listed files are actually bounded.",
|
|
"gap_kind": "unsorted"
|
|
},
|
|
{
|
|
"id": "R-7.5-7",
|
|
"status": "partial",
|
|
"how": "The template has a 'Verification' part and delegate check reports it when missing.",
|
|
"evidence": "sisi/brief.py:17",
|
|
"gap": "Not required: a brief without it still runs.",
|
|
"gap_kind": "small",
|
|
"fix": "Require the verification part before a brief runs."
|
|
},
|
|
{
|
|
"id": "R-7.5-8",
|
|
"status": "partial",
|
|
"how": "The template's 'Budget and escalation' part asks for a time or cost budget, and delegate check reports the part when missing.",
|
|
"evidence": "sisi/brief.py:18",
|
|
"gap": "Not required, and no budget given to a worker is tracked or enforced.",
|
|
"gap_kind": "small",
|
|
"fix": "Require a time or cost budget before a brief runs, and track it."
|
|
},
|
|
{
|
|
"id": "R-7.5-9",
|
|
"status": "partial",
|
|
"how": "Escalation shares the 'Budget and escalation' part of the template; delegate check reports the part when missing.",
|
|
"evidence": "sisi/brief.py:18",
|
|
"gap": "Not required; dependencies are not named in the part and nothing checks them.",
|
|
"gap_kind": "small",
|
|
"fix": "Require the escalation and dependencies part before a brief runs."
|
|
},
|
|
{
|
|
"id": "R-7.5-10",
|
|
"status": "partial",
|
|
"how": "brief.advice flags a vague acceptance, a gate with no abuse cases, tests with no repeat run and similar, and the router is asked for a kind and difficulty before the first delegation.",
|
|
"evidence": "sisi/brief.py:148",
|
|
"gap": "Advice only: a broad, ambiguous brief is never refused on a host's delegation tool.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Avoiding broad assignments is judgement; a host's tool cannot be refused on vagueness."
|
|
},
|
|
{
|
|
"id": "R-7.6-1",
|
|
"status": "partial",
|
|
"how": "The meter refuses direct calls once a turn's results pass a character budget or its calls pass a count, repeated failing commands are refused once, and injected prompt context is capped at 2,000 characters.",
|
|
"evidence": "sisi/orchestration.py:626",
|
|
"gap": "Duplicate analysis and unnecessary handoffs are neither measured nor refused; the budget restarts every turn.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Avoiding duplicate discovery is judgement; duplication is not measured across handoffs."
|
|
},
|
|
{
|
|
"id": "R-8.1-1",
|
|
"status": "partial",
|
|
"how": "The only mechanism that looks past the immediate task is the contract's requirement list (kinds include anticipated, contextual, experiential), which the end-of-turn gate demands for integration-and-above units. Nothing in the code asks about maintainability, reliability, security, performance, scalability, accessibility, observability or change cost, and below integration nothing is asked.",
|
|
"evidence": "sisi/assure.py:142",
|
|
"gap": "A requirement list is enforced only at integration and above; the quality concerns the text names have no mechanism, check or measurement and rest on the agent's own judgement.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Optimising beyond the task is judgement; quality concerns have no measurable check."
|
|
},
|
|
{
|
|
"id": "R-8.2-1",
|
|
"status": "missing",
|
|
"how": "Searched sisi/ and canon/ for complexity, simplicity and accidental: no mechanism measures, asks about or records accidental complexity. The enforced approach note (chosen, why, alternative) records a design choice but says nothing about complexity, and the rulebook carries no advice on it.",
|
|
"gap": "Nothing in the code does it; not even a recorded field or a retro question addresses accidental complexity.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Accidental complexity cannot be measured by code; only a recorded reflection is possible."
|
|
},
|
|
{
|
|
"id": "R-8.2-2",
|
|
"status": "missing",
|
|
"how": "No code counts lines, files or abstractions as a goal or a score; lines_changed is telemetry only. Nothing checks or prevents the organization from equating simplicity with the fewest lines, and the rulebook does not mention it.",
|
|
"gap": "No mechanism detects or refuses the prohibited behaviour; the prohibition exists only in the specification.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Distinguishing simplicity from fewest lines is judgement; code cannot detect the equation."
|
|
},
|
|
{
|
|
"id": "R-8.3-1",
|
|
"status": "missing",
|
|
"how": "Searched sisi/ for architecture and consistency: nothing. Invariants protect behaviour, not structure; the contract's optional approach.reuses key is validated for shape only and nothing asks for or reads it.",
|
|
"gap": "No mechanism asks whether a change keeps the existing architecture, conventions or patterns.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Architectural consistency is judgement; no code can reliably check it."
|
|
},
|
|
{
|
|
"id": "R-8.3-2",
|
|
"status": "not-applicable",
|
|
"how": "A MAY: a permission to challenge architecture, not an obligation. Nothing in sisi prevents it, and the enforced approach note (chosen, why, alternatives rejected) is where such a challenge would be recorded.",
|
|
"gap": "The text places no requirement on the product."
|
|
},
|
|
{
|
|
"id": "R-8.3-3",
|
|
"status": "partial",
|
|
"how": "A unit's deferred items (what, why, safe_because, validated), limitations and open risks are archived in the record, and a unit with a deferred or never-run mandatory check cannot close as plainly delivered.",
|
|
"evidence": "sisi/unit.py:559",
|
|
"gap": "Limitations and open risks are recorded only when the agent volunteers them (open_risks is not validated and no gate asks for it); nothing carries debt forward between units or reports it as debt.",
|
|
"gap_kind": "small",
|
|
"fix": "Carry open risks and limitations forward between units and report them as debt."
|
|
},
|
|
{
|
|
"id": "R-8.3-4",
|
|
"status": "partial",
|
|
"how": "The approach note (what was chosen, why, an alternative rejected) is validated, archived in the record, and the end-of-turn gate demands it for integration-and-above units.",
|
|
"evidence": "sisi/assure.py:151",
|
|
"gap": "The approach has no field for expected revisit conditions (keys are chosen, why, alternatives, reuses); nothing distinguishes a deliberate tradeoff from deterioration; below integration nothing is asked. The before-tool guard is written to refuse the build without it, but its test failed when I ran it (the edit was let through).",
|
|
"gap_kind": "small",
|
|
"fix": "Add a revisit-conditions field and fix the before-tool guard that let an approach-less edit through."
|
|
},
|
|
{
|
|
"id": "R-8.4-1",
|
|
"status": "partial",
|
|
"how": "Two of the concerns are enforced: the risk note (blast_radius and rollback) is demanded for integration-and-above units, and deployment and release paths raise the risk floor to the release profile, whose row requires every check.",
|
|
"evidence": "sisi/assure.py:145",
|
|
"gap": "Monitoring, alerts, incident diagnosis, data recovery, performance and operational handoff have no mechanism; only rollback and deployment risk are asked for.",
|
|
"gap_kind": "build",
|
|
"fix": "Add monitoring, alerts, incident and recovery records to delivery gates."
|
|
},
|
|
{
|
|
"id": "R-9-1",
|
|
"status": "partial",
|
|
"how": "The before-tool guard refuses a non-trivial build without a valid unit, the end-of-turn gate sends the turn back until the unit's checks pass and a retro or a pause is recorded, and a trivial change is asked nothing.",
|
|
"evidence": "sisi/unitguard.py:447",
|
|
"gap": "Only the contract, verification and retro stages are enforced. Discovery, planning, prompt reporting and the second retrospective have no mechanism, so an agent can skip them and nothing records it.",
|
|
"gap_kind": "build",
|
|
"fix": "Add discovery and planning stages to the lifecycle, enforced and recorded."
|
|
},
|
|
{
|
|
"id": "R-9.2-1",
|
|
"status": "partial",
|
|
"how": "The direct-work budget refuses a main thread's tool calls past the limit and names the router's pick for reading and searching; rule 6 and the playbook say to run independent work in parallel and to delegate reading and research.",
|
|
"evidence": "sisi/orchestration.py:441",
|
|
"gap": "Nothing asks for research to be split into independent questions or run in parallel. The budget only moves legwork off the main thread, and a recorded reason extends it.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Splitting research into parallel questions is judgement; the budget only moves legwork."
|
|
},
|
|
{
|
|
"id": "R-9.2-2",
|
|
"status": "missing",
|
|
"how": "I looked for anything that asks for, rewards or limits broad repository analysis and found none: no rule sentence, contract field, gate or refusal addresses targeted evidence gathering.",
|
|
"gap": "Nothing in the code prefers targeted evidence gathering over broad, expensive analysis.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Preferring targeted evidence over broad analysis is judgement; code cannot judge breadth."
|
|
},
|
|
{
|
|
"id": "R-9.2-3",
|
|
"status": "partial",
|
|
"how": "At integration and above the contract must carry invariants (what must not get worse) and a risk note (what this can break, how to undo it); approach.reuses can name existing capabilities.",
|
|
"evidence": "sisi/assure.py:139",
|
|
"gap": "Only at integration and above. reuses and technical debt are never asked for, and nothing checks that this happened before a new mechanism was proposed.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Identifying existing functionality before new mechanisms is judgement; the reuses field is optional."
|
|
},
|
|
{
|
|
"id": "R-9.3-1",
|
|
"status": "partial",
|
|
"how": "Ceremony follows the risk profile in canon/risk.json: a trivial change needs no contract and each higher profile asks for more, so a small task is not made to plan heavily.",
|
|
"evidence": "canon/risk.json:4",
|
|
"gap": "'Sufficient to avoid foreseeable rework' has no mechanism: plan is an optional, unchecked list, and nothing asks for dependencies, parallelizable tasks or integration points.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Planning sufficiency is judgement; no code can tell foreseeable rework was avoided."
|
|
},
|
|
{
|
|
"id": "R-9.4-1",
|
|
"status": "missing",
|
|
"how": "Nothing asks a worker to report a discovery that changes scope, risk, architecture or estimates, and nothing checks that one arrived. The nearest thing is the brief template's optional 'Budget and escalation' line.",
|
|
"evidence": "sisi/brief.py:56",
|
|
"gap": "No mechanism, rule sentence or record covers prompt reporting of discoveries by agents.",
|
|
"gap_kind": "build",
|
|
"fix": "Add a worker report channel for discoveries that change scope, risk or estimates."
|
|
},
|
|
{
|
|
"id": "R-9.5-1",
|
|
"status": "met",
|
|
"how": "A worker's stop is never evidence: decide_subagent only records what the worker edited, those edits count as the main session's, so the main session's gate runs the unit's checks on the integrated tree and sends it back on failure. Finished delegations are sent back once per set until the main session judges each (sisi/orchestration.py:993, tests/test_meter.py::test_the_gate_asks_for_the_judgements_once_per_set_of_runs).",
|
|
"evidence": "sisi/gate.py:63",
|
|
"test": "tests/test_gate.py::test_native_subagent_edits_are_the_parents_edits",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-9.7-1",
|
|
"status": "partial",
|
|
"how": "When a worker failure was recorded this turn, the gate sends back once a final message that names the unavailable worker, provider or failure, and tells the agent to report only what the person receives.",
|
|
"evidence": "sisi/orchestration.py:1036",
|
|
"gap": "Only that one case is checked, once, on the recorded names. Every other orchestration detail in a report rests on rule 7.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Keeping orchestration detail out of reports is judgement beyond the single gate check."
|
|
},
|
|
{
|
|
"id": "R-9.8-1",
|
|
"status": "missing",
|
|
"how": "The contract records a parent request id and the closed record keeps it, but nothing groups units by it or asks for a cross-unit retrospective. The retro is per unit and the learning cycle is started by a counter.",
|
|
"evidence": "sisi/contract.py:296",
|
|
"gap": "No second retrospective at the end of a multi-unit request, and no rule sentence asks for one.",
|
|
"gap_kind": "build",
|
|
"fix": "Group units by parent request and require a cross-unit retro at the end."
|
|
},
|
|
{
|
|
"id": "R-10.1-1",
|
|
"status": "missing",
|
|
"how": "Searched sisi/ for anything on unit size or fragmentation: no mechanism measures how large a unit is, how many units a request was split into, or the coordination they caused. Refusing a second contract while one is open bounds the count of open units, not their size.",
|
|
"gap": "Nothing in the code steers between oversized and fragmented units.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Choosing unit size and granularity is judgement; no code can measure the right size."
|
|
},
|
|
{
|
|
"id": "R-10.2-1",
|
|
"status": "partial",
|
|
"how": "sisi unit close archives the whole record to .sisi/units/<id>.json (written whole or not at all, never replaced) and appends a summary line to the user store; the gate closes the unit itself once a retro is recorded.",
|
|
"evidence": "sisi/unit.py:648",
|
|
"gap": "A trivial-profile change needs no contract and is asked nothing, so it ends with no record of any kind, although the specification's own example of a very small work unit (a styling change, with telemetry) says otherwise; the record also exists only once the unit is closed.",
|
|
"gap_kind": "small",
|
|
"fix": "Write a minimal durable record for trivial changes too."
|
|
},
|
|
{
|
|
"id": "R-10.2-2",
|
|
"status": "partial",
|
|
"how": "fresh_id gives a unit an id no archived, summarised or parked unit of the project holds, an archive is never replaced, and the record carries id and parent.",
|
|
"evidence": "sisi/unit.py:78",
|
|
"gap": "The parent is optional: the skeleton sets it to null and no command, validation or gate asks for it, so a record normally names no parent request or workstream.",
|
|
"gap_kind": "small",
|
|
"fix": "Require a parent request or workstream id at contract init."
|
|
},
|
|
{
|
|
"id": "R-10.2-3",
|
|
"status": "partial",
|
|
"how": "The record carries the goal and the scope; a contract needs a non-empty goal, the before-tool guard refuses a placeholder goal, and the scope's shape is validated.",
|
|
"evidence": "sisi/unit.py:537",
|
|
"gap": "Scope is never asked for: it defaults to empty in and out lists and no gate or guard refuses a unit without it, so the outcome is enforced but the scope is not.",
|
|
"gap_kind": "small",
|
|
"fix": "Require a non-empty scope at contract init, refusing it when empty."
|
|
},
|
|
{
|
|
"id": "R-10.2-4",
|
|
"status": "partial",
|
|
"how": "The contract's requirement list (explicit, implied, contextual, anticipated, experiential, each with a decision) is validated and archived; the gate and the before-tool guard demand it for integration-and-above units and refuse placeholder text.",
|
|
"evidence": "sisi/assure.py:142",
|
|
"gap": "Required only at integration and above: an isolated or logic unit closes with an empty requirements list and nothing asks.",
|
|
"gap_kind": "small",
|
|
"fix": "Require a requirement list for isolated and logic units, not only integration and above."
|
|
},
|
|
{
|
|
"id": "R-10.2-5",
|
|
"status": "partial",
|
|
"how": "Every contract needs at least one check that can fail (constant-true commands are refused) and the record keeps the checks, the invariants and each one's standing result; invariants are demanded for integration-and-above units.",
|
|
"evidence": "sisi/contract.py:404",
|
|
"gap": "Invariants are optional below integration: an isolated or logic unit records an empty invariant list and nothing asks whether something important must not get worse.",
|
|
"gap_kind": "small",
|
|
"fix": "Require invariants at every profile, not only integration and above."
|
|
},
|
|
{
|
|
"id": "R-10.2-6",
|
|
"status": "met",
|
|
"how": "A contract must declare a risk profile (the skeleton pre-fills the measured floor), the gate names a missing one, and the record keeps the floor from the changed paths beside the declared profile, the reason, blast radius, rollback and whether a stronger technique was used.",
|
|
"evidence": "sisi/unit.py:541",
|
|
"test": "tests/test_unit.py::RecordTests::test_risk_floor_is_stored_beside_the_declared_profile",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-10.2-7",
|
|
"status": "partial",
|
|
"how": "The record carries the contract's plan and the workers the delegation ledger has for the project inside the unit's window, plus the orchestration telemetry.",
|
|
"evidence": "sisi/unit.py:548",
|
|
"gap": "The plan is optional (nothing asks for it; the default is an empty list), dependencies have no field at all, and tools or agents used outside a recorded delegation are not listed as assigned.",
|
|
"gap_kind": "small",
|
|
"fix": "Add dependencies field and require plan and tools to be recorded."
|
|
},
|
|
{
|
|
"id": "R-10.2-8",
|
|
"status": "partial",
|
|
"how": "The models used are taken from the host transcript's usage inside the unit's window; budgets are copied from the contract.",
|
|
"evidence": "sisi/unit.py:551",
|
|
"gap": "Budgets have no mechanism: no skeleton field, no validation, nothing asks, so a record normally has budgets null. Model selection is only what a transcript shows and is empty without one.",
|
|
"gap_kind": "small",
|
|
"fix": "Add budgets field to skeleton and validate it is filled."
|
|
},
|
|
{
|
|
"id": "R-10.2-9",
|
|
"status": "met",
|
|
"how": "A unit stamps its own start; close stamps the end; build_telemetry derives the times, checks, waits, tokens, delegations and file counts, each classed measured, inferred, estimated or unavailable, never a guessed zero.",
|
|
"evidence": "sisi/unit.py:274",
|
|
"test": "tests/test_unit.py::TelemetryHonestyTests::test_first_useful_result_and_completion_time_are_recorded",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-10.2-10",
|
|
"status": "partial",
|
|
"how": "Changed artifacts (files and lines since the start commit) are measured with git and kept in the record; the implementation summary is copied from the contract.",
|
|
"evidence": "sisi/unit.py:556",
|
|
"gap": "The implementation summary has no mechanism: no skeleton field, no validation, nothing asks, so a record normally has summary null.",
|
|
"gap_kind": "small",
|
|
"fix": "Add implementation summary field to skeleton and require it at close."
|
|
},
|
|
{
|
|
"id": "R-10.2-11",
|
|
"status": "met",
|
|
"how": "Every result of the unit (check, invariant, risk floor, enforced item) with its status, reason, duration and evidence is archived as verification, and each check's standing result is kept, a check with no record shown as not-run.",
|
|
"evidence": "sisi/unit.py:433",
|
|
"test": "tests/test_unit.py::RecordTests::test_close_archives_all_fourteen_items",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-10.2-12",
|
|
"status": "partial",
|
|
"how": "The record keeps the deferred items (what, why, safe_because, validated), the checks still deferred or needing a human, the mandatory checks that never ran, the limitations and the open risks; such a unit cannot close as plainly delivered.",
|
|
"evidence": "sisi/unit.py:559",
|
|
"gap": "Known limitations and unresolved risks are kept only when the agent volunteers them: limitations is optional and open_risks is not validated or asked for by anything.",
|
|
"gap_kind": "small",
|
|
"fix": "Require limitations and open_risks fields in the contract and validate them."
|
|
},
|
|
{
|
|
"id": "R-10.2-13",
|
|
"status": "met",
|
|
"how": "decide_status derives one of five delivery statuses from the unit's results, deviations, gate release or abandonment; close refuses while a check blocks, and the status is stored in the record and the summary line.",
|
|
"evidence": "sisi/unit.py:497",
|
|
"test": "tests/test_unit.py::DeliveryStatusTests::test_a_failing_check_refuses_a_close_as_delivered",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-10.2-14",
|
|
"status": "met",
|
|
"how": "build_record stores an eight-dimension scorecard in the archived unit record (every value classed measured/inferred/estimated/unavailable) and the summary line carries it to the user store. The test asserts the key and the eight dimension names on a real close.",
|
|
"evidence": "sisi/unit.py:572",
|
|
"test": "tests/test_unit.py::test_close_archives_all_fourteen_items",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-10.2-15",
|
|
"status": "partial",
|
|
"how": "The record holds the unit's retro findings in full (retro_findings, from the findings store) and the ids of the learnings the unit created (learning_ids). The test checks one recorded finding reaches the record and that the learning_ids key exists.",
|
|
"evidence": "sisi/unit.py:569",
|
|
"gap": "The learning records themselves are not in the unit record, only their ids (the records stay in the user store); no test checks that a learning created by the unit's own finding is listed in learning_ids, only that the key is present.",
|
|
"gap_kind": "test",
|
|
"fix": "Test that a unit's own finding-created learning id appears in learning_ids."
|
|
},
|
|
{
|
|
"id": "R-10.3-1",
|
|
"status": "not-applicable",
|
|
"how": "This is the lead-in sentence ('A work unit is complete only when:') for criteria R-10.3-2 to R-10.3-7, which are graded separately; it states no requirement of its own.",
|
|
"gap": "None for this line; the completion criteria it introduces are graded as R-10.3-2 to R-10.3-7."
|
|
},
|
|
{
|
|
"id": "R-10.3-2",
|
|
"status": "partial",
|
|
"how": "A unit cannot close as delivered while a contract check fails, and `sisi unit close --abandon \"<reason>\"` records an explicit resolution. The outcome itself is stood in for by the contract's checks; the goal, the requirement list and the implementation summary are whatever the agent wrote.",
|
|
"evidence": "sisi/unit.py:497",
|
|
"gap": "Nothing checks that the stated goal was implemented or explicitly resolved: passing checks are the only proxy, and no check ties the goal or the requirements to what was delivered.",
|
|
"gap_kind": "judgement",
|
|
"fix": "No code can confirm the goal was implemented; ask the agent to state it."
|
|
},
|
|
{
|
|
"id": "R-10.3-3",
|
|
"status": "partial",
|
|
"how": "close_unit refuses to close a unit as delivered while an acceptance check blocks (test_a_failing_check_refuses_a_close_as_delivered). A waived check closes the unit as `deviation` with the reason recorded and the close message saying the report must say so.",
|
|
"evidence": "sisi/unit.py:673",
|
|
"gap": "A deviation is recorded by the agent alone: no authorized party's acceptance is required or recorded before the unit is closed, so a unit can be complete with unmet criteria on the agent's own waiver.",
|
|
"gap_kind": "small",
|
|
"fix": "Require an owner acknowledgement recorded before a deviation can close the unit."
|
|
},
|
|
{
|
|
"id": "R-10.3-4",
|
|
"status": "partial",
|
|
"how": "close_unit refuses a close as delivered when a blocking result stands, and mandatory checks that never ran close only as `delivered-with-deferred` (tests test_a_failing_check_refuses_a_close_as_delivered, test_deferred_and_human_checks_close_as_delivered_with_deferred).",
|
|
"evidence": "sisi/unit.py:673",
|
|
"gap": "The close judges the recorded results, not the tree as it stands: an edit made after the last pass is not detected at close (verified_for_tree exists but is used only by the commit notice in sisi/watch.py).",
|
|
"gap_kind": "small",
|
|
"fix": "At close, compare verified tree hash with current tree and refuse if edited."
|
|
},
|
|
{
|
|
"id": "R-10.3-5",
|
|
"status": "partial",
|
|
"how": "The close tells the agent about a recorded deviation and lists deferred checks, and the record archives limitations, deferred items, never-run mandatory checks, deviations and open risks taken from the contract.",
|
|
"evidence": "sisi/unit.py:813",
|
|
"gap": "Limitations and open risks are in the record only if the agent wrote them into the contract; nothing decides which failures or limitations are material, requires any to be stated, or checks that the final report discloses them.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Deciding which failures are material is judgement; ask for a disclosure in the report."
|
|
},
|
|
{
|
|
"id": "R-10.3-6",
|
|
"status": "met",
|
|
"how": "build_record archives the execution evidence with the unit: every verification result, telemetry (times, tokens, delegations, orchestration), changed artifacts from git, start and closing commits and guard refusals, with missing data marked unavailable. The tests assert these keys on a real close and check the changed artifacts' content.",
|
|
"evidence": "sisi/unit.py:518",
|
|
"test": "tests/test_unit.py::test_close_archives_all_fourteen_items",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-10.3-7",
|
|
"status": "partial",
|
|
"how": "At the end of a turn, with everything green, the gate closes the unit only when a finding is recorded and otherwise sends the agent back once per state of the tree with the retro (sisi/gate.py:399-413). A trivial unit is asked nothing unless it shows an anomaly.",
|
|
"evidence": "sisi/gate.py:399",
|
|
"gap": "The analysis is asked for, not made a condition of closing: `sisi unit close` archives a unit with no finding at all (many tests close units this way), and after the single offer the gate lets the turn end with the unit still open.",
|
|
"gap_kind": "small",
|
|
"fix": "Refuse unit close when no retro finding is recorded, as the gate already does."
|
|
},
|
|
{
|
|
"id": "R-10.3-8",
|
|
"status": "met",
|
|
"how": "`sisi unit close --abandon \"<reason>\"` stops a unit: it requires a reason, and the record carries delivery status `abandoned` with the reason. The test checks that no reason is refused and that the reason is recorded.",
|
|
"evidence": "sisi/unit.py:793",
|
|
"test": "tests/test_unit.py::test_abandon_records_the_reason_and_needs_one",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-11.1-1",
|
|
"status": "partial",
|
|
"how": "The end-of-turn gate asks for a retro (one send-back per state of the tree) and closes the unit once a finding is recorded for it; a recorded finding is the only thing it checks for.",
|
|
"evidence": "sisi/gate.py:399",
|
|
"gap": "Not every unit gets a review: `sisi unit close` archives a unit with no finding at all (sisi/unit.py:648), a second stop with no new edit passes silently after the one offer (sisi/gate.py:409), and config `retro.required` switches the ask off (sisi/gate.py:407).",
|
|
"gap_kind": "boundary",
|
|
"fix": "Retro is skippable via retro.required config and unit close; forbid the switch-off."
|
|
},
|
|
{
|
|
"id": "R-11.1-2",
|
|
"status": "met",
|
|
"how": "Every closed unit gets an eight-dimension scorecard built by `scorecard.build_scorecard` from the record (checks, transcript, ledger, git), each value classed measured/inferred/estimated/unavailable; `sisi retro` prints it for the open unit.",
|
|
"evidence": "sisi/scorecard.py:152",
|
|
"test": "tests/test_unit.py::test_status_after_a_real_close_shows_the_unit_with_its_scorecard",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-11.1-3",
|
|
"status": "partial",
|
|
"how": "`unit.summary_for_retro` prints what stands out in the record: checks that failed then passed, still failing, never ran, a deviation, human corrections, gate send-backs, unavailable measures; the scorecard counts requirements added after the first verification.",
|
|
"evidence": "sisi/unit.py:729",
|
|
"gap": "Only what the record already holds is surfaced; wasted effort and missed opportunities are not detected anywhere, and a clean unit prints 'nothing in the record stands out'. The finding itself is whatever the agent types.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Spotting waste and surprises needs judgement; ask the retro to address each category explicitly."
|
|
},
|
|
{
|
|
"id": "R-11.1-4",
|
|
"status": "partial",
|
|
"how": "`sisi retro --disposition promote` is refused without `--change`, and a change made only of filler words is refused as generic.",
|
|
"evidence": "sisi/retro.py:129",
|
|
"gap": "Only a `promote` finding needs a recommendation. A unit closes on one `record` or `drop` finding that proposes no way the outcome or process could have been better.",
|
|
"gap_kind": "small",
|
|
"fix": "Require a concrete recommendation field on record and drop findings too."
|
|
},
|
|
{
|
|
"id": "R-11.1-5",
|
|
"status": "partial",
|
|
"how": "A finding is refused unless `--cause` is given (at least 8 characters, not filler-only).",
|
|
"evidence": "sisi/retro.py:120",
|
|
"gap": "Nothing checks that the cause is a cause: a cause that restates the symptom, or 20 arbitrary letters, is accepted. `sisi rule 8` itself lists 'names a root cause' as left to the agent.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether a cause is a true root cause cannot be checked by code; ask for it."
|
|
},
|
|
{
|
|
"id": "R-11.1-6",
|
|
"status": "met",
|
|
"how": "`learning.earned_scope` decides from provenance whether a learning reaches beyond its own task: only after it is seen in two units in two projects, or as an owner statement; a cycle that asks for more waits for the owner (sisi/cycle.py:517).",
|
|
"evidence": "sisi/learning.py:402",
|
|
"test": "tests/test_learning_loop.py::test_earned_scope_widens_what_a_cycle_may_apply",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-11.1-7",
|
|
"status": "met",
|
|
"how": "`cycle._apply_mechanism` installs a proposed learning as a persistent mechanism in the user store (enforced check, contract requirement, rule sentence, library entry, risk or routing adjustment, benchmark), stamped with the learning id, its earned scope and origin project, and read back filtered by project.",
|
|
"evidence": "sisi/cycle.py:718",
|
|
"test": "tests/test_learning_loop.py::test_requirement_applies_in_its_project_only",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-11.1-8",
|
|
"status": "partial",
|
|
"how": "A promoted command check is replayed between the unit's start and closing commits and must fail before and pass after; what cannot be shown waits for the owner and is never called validated. Approved changes are applied by `sisi approve` and enforced in later sessions.",
|
|
"evidence": "sisi/cycle.py:369",
|
|
"gap": "Only command checks are validated. Risk, routing, contract-requirement, benchmark and rule changes take effect at once with result `unvalidated` (sisi/cycle.py:577, sisi/cycle.py:782), so an accepted improvement is not necessarily a validated one.",
|
|
"gap_kind": "build",
|
|
"fix": "Validate all mechanism kinds by replay or evaluation before they take effect."
|
|
},
|
|
{
|
|
"id": "R-11.1-9",
|
|
"status": "met",
|
|
"how": "`learning.is_generic` refuses text made only of filler words; `sisi retro` applies it to the finding, the cause and the change, and the cycle to a rule sentence and a reject reason.",
|
|
"evidence": "sisi/learning.py:281",
|
|
"test": "tests/test_learning_loop.py::test_generic_advice_refused_wherever_the_filler_appears",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-11.1-10",
|
|
"status": "partial",
|
|
"how": "For a non-trivial unit the gate withholds the end of the turn until at least one finding is recorded for it.",
|
|
"evidence": "sisi/gate.py:399",
|
|
"gap": "One finding of any kind counts: a `drop` with no improvement, or a recurrence of an old learning. `sisi unit close` archives with none, trivial units are asked nothing, and a fully green unit is not asked for a way it could have scored better.",
|
|
"gap_kind": "small",
|
|
"fix": "Require a finding that names an improvement even when the unit succeeded."
|
|
},
|
|
{
|
|
"id": "R-11.1-11",
|
|
"status": "partial",
|
|
"how": "A `promote` finding is refused unless it names the change, the mechanism, the expected effect and how it will be tested.",
|
|
"evidence": "sisi/retro.py:129",
|
|
"gap": "`record` and `drop` findings need none of the three, yet they are what lets a unit close, so an opportunity can be written with no action, effect or validation.",
|
|
"gap_kind": "small",
|
|
"fix": "Apply the action, effect and validation requirement to record and drop findings."
|
|
},
|
|
{
|
|
"id": "R-11.1-12",
|
|
"status": "partial",
|
|
"how": "The cycle brief orders the learnings it shows: flagged first, then the most recurrent, then the oldest.",
|
|
"evidence": "sisi/cycle.py:309",
|
|
"gap": "Priority rests on recurrence and age only. Expected value, implementation cost and risk are never estimated, and confidence is a fixed label ('low', 'high' for owner statements: sisi/learning.py:501).",
|
|
"gap_kind": "build",
|
|
"fix": "Add expected value, cost and risk fields and order learnings by them."
|
|
},
|
|
{
|
|
"id": "R-11.1-13",
|
|
"status": "partial",
|
|
"how": "A `drop` is refused without `--why-not`, and a cycle `reject` without a specific reason; a short specific finding is accepted where an invented generic one is refused.",
|
|
"evidence": "sisi/retro.py:140",
|
|
"gap": "The drop reason is demanded but not recorded: the row written to findings.jsonl carries no reason field (sisi/retro.py:177; confirmed by running it), the reason is not checked for genericness, and nothing stops a low-value change being written as a `promote`.",
|
|
"gap_kind": "small",
|
|
"fix": "Store the drop reason in findings.jsonl and check it is not generic."
|
|
},
|
|
{
|
|
"id": "R-11.1-14",
|
|
"status": "partial",
|
|
"how": "A recorded finding is appended to findings.jsonl and committed in the user store, and the archived unit record lists the unit's findings and the learnings they made.",
|
|
"evidence": "sisi/learning.py:256",
|
|
"gap": "It exists only when a finding is recorded. `sisi unit close` archives a unit with no finding (tests/test_unit.py::test_close_archives_all_fourteen_items closes one that way) and trivial units are never asked.",
|
|
"gap_kind": "small",
|
|
"fix": "Refuse unit close without a recorded finding so every unit writes a review artifact."
|
|
},
|
|
{
|
|
"id": "R-11.1-15",
|
|
"status": "partial",
|
|
"how": "`learning.delivery_text` adds learnings in scope to later prompts and `cycle.enforced_results` runs enforced mechanisms, both filtered by the scope the learning earned (its project until seen in two projects; owner statements at user scope).",
|
|
"evidence": "sisi/learning.py:457",
|
|
"gap": "Only project, user and organization scope have an effect: `task-class` is stored as a label and never acts and there is no workstream scope (sisi/learning.py:22, sisi/cycle.py:519). A unit closed on a single `drop` finding makes no learning available at all.",
|
|
"gap_kind": "build",
|
|
"fix": "Implement workstream and task-class scopes so they change what is delivered."
|
|
},
|
|
{
|
|
"id": "R-11.1-16",
|
|
"status": "partial",
|
|
"how": "A `record` finding is refused without `--limits`, and the finding, cause and limits are stored as a learning record with status `observed`.",
|
|
"evidence": "sisi/retro.py:138",
|
|
"gap": "No test records a finding without `--limits`, so removing the refusal would fail nothing, and the limits text is not checked for substance (`--limits x` is accepted; confirmed by running it).",
|
|
"gap_kind": "test",
|
|
"fix": "Add a test that a record finding without --limits is refused."
|
|
},
|
|
{
|
|
"id": "R-11.2-1",
|
|
"status": "partial",
|
|
"how": "`sisi retro` prints the unit's scorecard and what stands out, which covers results, late requirements, corrections, send-backs, time in checks and waits, tokens, delegations and overlap.",
|
|
"evidence": "sisi/unit.py:729",
|
|
"gap": "Nothing checks that the questions are considered: assumptions, context loading, model choice, what could have been automated and future change cost are not surfaced, and a finding is accepted without addressing any question.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether each retro question was considered is judgement; ask the retro to answer each."
|
|
},
|
|
{
|
|
"id": "R-11.2-2",
|
|
"status": "partial",
|
|
"how": "The scorecard's intent dimension counts requirements with a passing check, requirements added late and human corrections inferred from the transcript, and `sisi retro` prints it beside the unit's goal.",
|
|
"evidence": "sisi/scorecard.py:178",
|
|
"gap": "The question is never asked or answered on record: a unit whose requirements have no check shows unavailable and still closes as delivered, and no test asserts this dimension in the retro output.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether the result solved the user's problem needs the owner's judgement; ask for a recorded answer."
|
|
},
|
|
{
|
|
"id": "R-11.2-3",
|
|
"status": "partial",
|
|
"how": "`sisi retro` prints the scorecard's intent fulfilment line (requirements added after the first verification, requirements with a passing check, human corrections), which is the data for this question.",
|
|
"evidence": "sisi/scorecard.py:166",
|
|
"gap": "Nothing asks or checks that this question was considered: the retro can be one finding about anything, the gate offers the retro once per tree state and then lets the turn end, and no test covers the late-requirements count.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Missed requirements are a judgement; require an explicit answer field in the retro."
|
|
},
|
|
{
|
|
"id": "R-11.2-4",
|
|
"status": "missing",
|
|
"how": "The contract stores an `assumptions` list (sisi/contract.py:79), but `sisi retro` never prints it, the scorecard has no value for it and nothing compares the assumptions with what happened.",
|
|
"gap": "No mechanism, measure or check for wrong or useful assumptions; rule 8 does not mention them either.",
|
|
"gap_kind": "small",
|
|
"fix": "Print contract assumptions in the retro and require a useful or wrong verdict for each."
|
|
},
|
|
{
|
|
"id": "R-11.2-5",
|
|
"status": "missing",
|
|
"how": "The retro prints unit-level time and cost totals only; nothing attributes cost or delay to a decision, and the contract's `approach` (chosen, why, alternatives) is never looked at again.",
|
|
"gap": "No mechanism, measure or check for decisions that were unnecessarily expensive or slow.",
|
|
"gap_kind": "build",
|
|
"fix": "Attribute cost and delay to recorded decisions; nothing currently links them."
|
|
},
|
|
{
|
|
"id": "R-11.2-6",
|
|
"status": "partial",
|
|
"how": "`unit.build_telemetry` measures time in checks, in waits (pauses), in delegations, time to first useful result and to completion, and the number of send-backs; `sisi retro` prints them as the delivery velocity line.",
|
|
"evidence": "sisi/unit.py:274",
|
|
"gap": "No separate figures for execution, integration or queueing, and nothing checks that the retro considered where time went; the gate offers the retro once and then lets the turn end.",
|
|
"gap_kind": "small",
|
|
"fix": "Print execution, integration and queueing figures alongside the existing time totals."
|
|
},
|
|
{
|
|
"id": "R-11.2-7",
|
|
"status": "partial",
|
|
"how": "The retro's parallelism and resource lines show delegations started, judged and unjudged, the delegated share of tool calls and tokens by model; the judged record of workers is kept by `sisi delegate judge`.",
|
|
"evidence": "sisi/orchestration.py:1091",
|
|
"gap": "Counts and model names only: nothing says whether a choice was right, the judgement is left to the agent, and nothing checks that the question was considered.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Right model choice is a judgement; ask the retro to answer it per delegation."
|
|
},
|
|
{
|
|
"id": "R-11.2-8",
|
|
"status": "partial",
|
|
"how": "The scorecard's parallelism dimension records delegations, overlapping delegations, worker minutes and wall time, and `sisi retro` prints it.",
|
|
"evidence": "sisi/scorecard.py:209",
|
|
"gap": "Nothing measures coordination cost against the benefit (no critical path before and after), and nothing checks that the retro considered it.",
|
|
"gap_kind": "build",
|
|
"fix": "Compute critical path before and after delegation to show whether parallelism helped."
|
|
},
|
|
{
|
|
"id": "R-11.2-9",
|
|
"status": "partial",
|
|
"how": "The retro prints tokens by category and by model from the host transcript, and the characters read by the main thread's own tool calls (orchestration telemetry).",
|
|
"evidence": "sisi/unit.py:332",
|
|
"gap": "Totals per unit only: nothing separates context loaded once from context re-sent, nothing flags inefficient delegation, and nothing checks that the question was considered.",
|
|
"gap_kind": "build",
|
|
"fix": "Detect context re-sent across turns and flag inefficient delegation patterns."
|
|
},
|
|
{
|
|
"id": "R-11.2-10",
|
|
"status": "partial",
|
|
"how": "The retro's correctness line prints the techniques used, whether any check is stronger than examples, the checks seen failing and independent evidence; the gate notes once when no check is stronger than examples.",
|
|
"evidence": "sisi/scorecard.py:184",
|
|
"gap": "Too broad or redundant verification is not in the retro (time saved by selection and reuse is printed by `sisi verify` only), and nothing checks that the question was considered.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Too-weak or too-broad verification is judgement; ask the retro to answer it."
|
|
},
|
|
{
|
|
"id": "R-11.2-11",
|
|
"status": "partial",
|
|
"how": "`sisi retro` lists human corrections and mandatory checks that never ran; `sisi escapes` lists candidate cases where verified work was later corrected; the unit record keeps open risks, limitations and deferred checks.",
|
|
"evidence": "sisi/scorecard.py:109",
|
|
"gap": "`sisi escapes` is a separate command over the transcript database that the agent must remember to run and that no test covers; the retro itself raises no escaped defect.",
|
|
"gap_kind": "small",
|
|
"fix": "Run sisi escapes automatically in the retro and add a test covering it."
|
|
},
|
|
{
|
|
"id": "R-11.2-12",
|
|
"status": "partial",
|
|
"how": "The scorecard's lifecycle quality line, printed by `sisi retro`, records files and lines changed, whether tests changed with code and whether public surface was touched.",
|
|
"evidence": "sisi/scorecard.py:222",
|
|
"gap": "No test asserts those four values, nothing measures change cost beyond size, and nothing checks that the question was considered.",
|
|
"gap_kind": "test",
|
|
"fix": "Add a test asserting the four lifecycle quality values appear in the retro."
|
|
},
|
|
{
|
|
"id": "R-11.2-13",
|
|
"status": "missing",
|
|
"how": "I looked in the retro, the scorecard and the gate for anything about what could have been anticipated or automated and found none; rule 8 does not mention it.",
|
|
"gap": "No mechanism, measure or check.",
|
|
"gap_kind": "judgement",
|
|
"fix": "What could have been anticipated or automated is judgement; ask for it in the retro."
|
|
},
|
|
{
|
|
"id": "R-11.2-14",
|
|
"status": "partial",
|
|
"how": "`sisi retro --disposition promote` refuses a finding without a root cause, the exact change, a mechanism type, an expected effect and a validation method.",
|
|
"evidence": "sisi/retro.py:129",
|
|
"gap": "A retro may consist of a single `record` or `drop` finding that names no mechanism, and nothing checks that this question was answered.",
|
|
"gap_kind": "small",
|
|
"fix": "Require a mechanism field on every finding, including record and drop."
|
|
},
|
|
{
|
|
"id": "R-11.3-1",
|
|
"status": "partial",
|
|
"how": "A promoted finding must name a root cause, a mechanism of one of eight kinds and the exact change, and a generic cause or change is refused.",
|
|
"evidence": "sisi/retro.py:129",
|
|
"gap": "Nothing can check that the mechanism addresses the cause rather than the symptom: that choice is the agent's (then the cycle worker's).",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether a mechanism addresses the cause rather than the symptom needs judgement."
|
|
},
|
|
{
|
|
"id": "R-11.3-2",
|
|
"status": "met",
|
|
"how": "`sisi cycle apply` writes a promoted mechanism into the user store where code reads it without the agent: enforced checks are run by `sisi verify` (cycle.enforced_results), rule additions join the generated rulebook every session loads, risk and routing adjustments are read by `sisi risk` and `sisi route`; each is filtered to the scope the learning earned.",
|
|
"evidence": "sisi/cycle.py:169",
|
|
"test": "tests/test_learning_loop.py::test_requirement_applies_in_its_project_only",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-11.4-1",
|
|
"status": "partial",
|
|
"how": "`learning.new_record` writes one JSON record per learning with id, title, source unit, observation (evidence, impact), root cause, proposed change (description, mechanism, scope), expected effect, validation (method, benchmark, result), status, version, provenance and confidence; the version is bumped on promotion and the user store is a git repository.",
|
|
"evidence": "sisi/learning.py:478",
|
|
"gap": "No test asserts the field set: only status, validation result, provenance and terms are checked, so removing root cause, expected effect or method would pass; the validation benchmark is never filled in.",
|
|
"gap_kind": "test",
|
|
"fix": "Add a test asserting root cause, expected effect and validation fields are present."
|
|
},
|
|
{
|
|
"id": "R-11.4-2",
|
|
"status": "not-applicable",
|
|
"how": "A MAY that leaves the storage choice open and asks nothing of the product; sisi uses files (learnings.jsonl in the user store's git repository).",
|
|
"gap": "None: the text only permits a storage choice."
|
|
},
|
|
{
|
|
"id": "R-11.5-1",
|
|
"status": "partial",
|
|
"how": "Every learning has a status from a fixed list (`STATUSES`) and sisi's commands move it: observed, proposed or backlog at creation, pending-approval or promoted by the cycle, monitored once a unit in scope closes, and revised, reverted, rejected or merged.",
|
|
"evidence": "sisi/learning.py:16",
|
|
"gap": "`analyzed`, `implemented` and `validated` are in the list but no live command sets them: a promote finding is created directly as `proposed` and becomes `promoted` in one cycle step (validation is a result field, not a state).",
|
|
"gap_kind": "small",
|
|
"fix": "Set analyzed, implemented and validated in the live flow, or drop them from the list."
|
|
},
|
|
{
|
|
"id": "R-11.5-2",
|
|
"status": "met",
|
|
"how": "A finding recorded with `--disposition record` creates a learning whose status is `observed`, and every finding is appended to findings.jsonl with its unit and project.",
|
|
"evidence": "sisi/learning.py:498",
|
|
"test": "tests/test_learning_loop.py::test_dispositions_record_only_what_they_need",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-11.5-3",
|
|
"status": "partial",
|
|
"how": "`sisi retro` refuses a finding without a non-generic --cause and a promote without --expect, and the scope in force is computed by learning.earned_scope from provenance. But no learning ever holds the state `analyzed`: the retro writes `observed` or `proposed` directly.",
|
|
"evidence": "sisi/retro.py:120",
|
|
"gap": "The explicit `analyzed` state is never assigned in the live flow (it is only a name in the status list), so nothing records or checks that analysis finished as its own step; --scope is optional and defaults to project.",
|
|
"gap_kind": "small",
|
|
"fix": "Set the analyzed state in the live flow and require --scope rather than default it."
|
|
},
|
|
{
|
|
"id": "R-11.5-4",
|
|
"status": "met",
|
|
"how": "`sisi retro --disposition promote` refuses a finding without --change, a --mechanism from the fixed list, --expect and --validate, and learning.new_record stores it with status `proposed` and the defined change (description, mechanism, scope, target); the cycle brief lists only `proposed` learnings.",
|
|
"evidence": "sisi/retro.py:129",
|
|
"test": "tests/test_learning_loop.py::test_promote_missing_fields_refused",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-11.5-5",
|
|
"status": "partial",
|
|
"how": "The cycle writes each mechanism as data the code evaluates (a command with an expected exit, a contract requirement with a risk profile or path glob) in _apply_mechanism, but the live flow never assigns the state `implemented`: a `proposed` learning becomes `promoted` in the step that writes the mechanism.",
|
|
"evidence": "sisi/cycle.py:718",
|
|
"gap": "No `implemented` state in the live cycle (only the migration sets it, sisi/lifecycle.py:421), and a rule sentence, library entry, routing or benchmark change is promoted without ever existing in a testable form.",
|
|
"gap_kind": "small",
|
|
"fix": "Assign the implemented state when a mechanism is written to its testable form."
|
|
},
|
|
{
|
|
"id": "R-11.5-6",
|
|
"status": "partial",
|
|
"how": "cycle.replay_validate calls evaluate.validate_command, which replays a command check between the learning's own unit commits and reports `validated` only when it ran and failed before the fix and passed after. Nothing else is evaluated.",
|
|
"evidence": "sisi/cycle.py:369",
|
|
"gap": "Only the original scenario, only for command checks: no regression cases are run, the other mechanism kinds are promoted with result `unvalidated`, and the status `validated` itself is never assigned (the record goes to `promoted` or `pending-approval`).",
|
|
"gap_kind": "build",
|
|
"fix": "Evaluate every mechanism kind against original scenario and regression cases before promotion."
|
|
},
|
|
{
|
|
"id": "R-11.5-7",
|
|
"status": "met",
|
|
"how": "_apply_mechanism writes each mechanism with the learning id, its granted scope and origin project; entry_applies and load_enforced(project) let it reach only its project unless the learning earned more or the owner approved, and verify, risk and routing read them per project.",
|
|
"evidence": "sisi/cycle.py:104",
|
|
"test": "tests/test_learning_loop.py::test_requirement_applies_in_its_project_only",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-11.5-8",
|
|
"status": "partial",
|
|
"how": "learning.monitor moves a promoted learning to `monitored` once a unit in its scope has closed or it recurred; add_recurrence counts recurrences after promotion and learning_report prints, per learning, the units since, the recurrences and a verdict.",
|
|
"evidence": "sisi/learning.py:668",
|
|
"gap": "What is observed is only whether the same finding recurred and how many units closed. The learning's expected effect is free text that nothing measures, so a positive effect is never observed, only the absence of recurrence.",
|
|
"gap_kind": "build",
|
|
"fix": "Measure the expected effect of a promoted learning, not only absence of recurrence."
|
|
},
|
|
{
|
|
"id": "R-11.5-9",
|
|
"status": "partial",
|
|
"how": "Two recurrences flag a learning and validate_doc refuses a cycle file that leaves a flagged learning without a revise or revert action; _apply_status sets `revised` or `reverted` and _remove_mechanisms deletes its enforced, risk and routing entries.",
|
|
"evidence": "sisi/cycle.py:807",
|
|
"gap": "_remove_mechanisms (sisi/cycle.py:701) does not remove a sentence the learning added to a rule, a library entry or a benchmark case, so those stay in force after a per-learning revert; only a whole-cycle revert reaches them. A flagged learning is acted on only if an agent runs a cycle, which session start merely announces.",
|
|
"gap_kind": "small",
|
|
"fix": "Remove sentences a learning added to rules, library and benchmarks on per-learning revert."
|
|
},
|
|
{
|
|
"id": "R-11.5-10",
|
|
"status": "met",
|
|
"how": "_plan_promote collects the reasons a change is consequential; when there are none, apply_file writes the mechanism at once with no owner decision (a risk pattern that does not lower, routing, benchmark, a contract requirement, a replayed command check, and rule-add or library once scope is earned).",
|
|
"evidence": "sisi/cycle.py:503",
|
|
"test": "tests/test_learning_loop.py::test_earned_scope_widens_what_a_cycle_may_apply",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-11.5-11",
|
|
"status": "partial",
|
|
"how": "A cycle cannot touch the rules in canon/protected.json at all, even after approval. A whole-rule replacement, disabling a rule, more scope than earned, an unreplayed command and a risk pattern that lowers a profile are parked and take effect only through `sisi approve`, which needs a word typed at the controlling terminal and is refused when an agent's shell invokes it.",
|
|
"evidence": "sisi/cycle.py:503",
|
|
"gap": "Stronger validation exists only for command checks (the replay). A rule change that waits for the owner is checked for format, sentence count and rulebook size only: no evaluation against cases is run or required before approval, and nothing maps a change to a security boundary or to destructive behaviour onto a check beyond these kinds.",
|
|
"gap_kind": "build",
|
|
"fix": "Require evaluation against cases before approving security or destructive policy changes."
|
|
},
|
|
{
|
|
"id": "R-11.6-1",
|
|
"status": "met",
|
|
"how": "learning.earned_scope keeps a learning at project scope unless its provenance holds at least two units in at least two projects (or it is an owner statement); a unit is counted once per learning, entry_applies lets a mechanism reach only where that scope reaches, and a rule sentence from a one-project learning waits for the owner.",
|
|
"evidence": "sisi/learning.py:402",
|
|
"test": "tests/test_learning_loop.py::test_rule_text_from_one_incident_waits_and_protected_is_refused",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-11.6-2",
|
|
"status": "partial",
|
|
"how": "new_record stores a scope from a fixed list (organization, user, project, task-class) and earned_scope decides what is in force: organization only from two units in two projects, user for an owner statement made at that scope, else the origin project.",
|
|
"evidence": "sisi/learning.py:402",
|
|
"gap": "Task-specific is not determined. `task-class` is accepted by `sisi retro --scope` but earned_scope never returns it, the cycle refuses that value (sisi/cycle.py:519), and such a learning is delivered like any project-wide one.",
|
|
"gap_kind": "small",
|
|
"fix": "Make earned_scope return task-class and let the cycle accept it."
|
|
},
|
|
{
|
|
"id": "R-11.6-3",
|
|
"status": "partial",
|
|
"how": "A command check is replayed against the originating task (the two commits of its unit). The evaluation harness separately holds cases from closed units with dev, holdout and counterexample splits and can replay a stored check at its two commits.",
|
|
"evidence": "sisi/evaluate.py:721",
|
|
"gap": "Promotion (cycle._plan_promote) runs only the one-command replay of the original scenario. Nothing runs a new mechanism against similar historical cases, held-out cases or counterexamples: evaluate.validate_check and select_cases have no caller in the cycle.",
|
|
"gap_kind": "build",
|
|
"fix": "Run each new mechanism against similar historical, held-out and counterexample cases."
|
|
},
|
|
{
|
|
"id": "R-11.6-4",
|
|
"status": "partial",
|
|
"how": "evaluate.compare_for_candidate (`sisi eval shadow DIR`) runs the same dev and counterexample cases under the current and the candidate policy and compares them by policy version, never running holdout cases.",
|
|
"evidence": "sisi/evaluate.py:1100",
|
|
"gap": "It is not used for consequential changes. cycle.apply_pending and cmd_approve never call it: the module docstring says the approval path calls it, but its only caller is the `sisi eval shadow` command, so a comparison happens only if someone chooses to run it. There is no canary rollout.",
|
|
"gap_kind": "small",
|
|
"fix": "Call compare_for_candidate from cycle approval for consequential changes."
|
|
},
|
|
{
|
|
"id": "R-11.6-5",
|
|
"status": "partial",
|
|
"how": "unit.policy_version hashes the rulebook, both risk tables, the enforced checks and the gate/verify config into each unit record's policy_version, and each learning and mechanism entry carries its provenance (units, projects, learning id, scope).",
|
|
"evidence": "sisi/unit.py:164",
|
|
"gap": "The version is a hash with no way back: nothing records or resolves which rulebook text and which mechanisms a version stands for. Routing adjustments, library entries and benchmark cases are outside the hash, so two units with different routing mechanisms share a version.",
|
|
"gap_kind": "build",
|
|
"fix": "Store and resolve the rulebook and mechanisms behind each policy version hash."
|
|
},
|
|
{
|
|
"id": "R-11.6-6",
|
|
"status": "met",
|
|
"how": "cycle.revert_cycle puts back every file one cycle changed and the learning fields it changed, drops the decisions it parked, and refuses when a later change touched the same file; a learning's own revert or revise removes its enforced, risk and routing entries, and _transact restores the store if an apply fails part-way.",
|
|
"evidence": "sisi/cycle.py:965",
|
|
"test": "tests/test_learning_loop.py::test_revert_undoes_only_that_cycle",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-11.7-1",
|
|
"status": "partial",
|
|
"how": "Some pieces exist as mechanisms: a generic finding or cause is refused (learning.is_generic), a finding that resembles a learning is attached as a recurrence and a merge folds duplicates, and a command check is replayed in an exported copy under a time limit instead of in the working tree.",
|
|
"evidence": "sisi/learning.py:281",
|
|
"gap": "Nothing learns to score more reliably or to find stronger root causes: the scorecard, the risk table and the retro's cause check are fixed code with no feedback from later units, and no measure of scoring reliability or root-cause quality exists. Self-evaluation bias is not measured either. The improvement system changes only through tool learnings a person later applies.",
|
|
"gap_kind": "build",
|
|
"fix": "Feed later unit outcomes back into scoring and root-cause checks, measuring their reliability."
|
|
},
|
|
{
|
|
"id": "R-11.7-2",
|
|
"status": "partial",
|
|
"how": "overlay.protected_rules reads canon/protected.json and fails closed; a cycle, `sisi overlay` and even an approval cannot replace or disable those rules, and the product layer is never written at run time.",
|
|
"evidence": "sisi/overlay.py:302",
|
|
"gap": "The rule that states the objective (`own-the-outcome`) is not in canon/protected.json. Once a learning has earned scope, a cycle adds one or two sentences to it with no owner decision, and only their form is checked, not whether they change the objective's order or limits.",
|
|
"gap_kind": "small",
|
|
"fix": "Add the objective statement in core.md to canon/protected.json so cycles cannot change it."
|
|
},
|
|
{
|
|
"id": "R-11.7-3",
|
|
"status": "partial",
|
|
"how": "A change to sisi itself is a `tool` learning held on the backlog, never applied by a cycle, and `sisi promote --export` writes it as a scrubbed contribution file that is sent nowhere; `sisi promote L-NNNN --apply` writes the text into the product folder as an uncommitted edit.",
|
|
"evidence": "sisi/release.py:505",
|
|
"gap": "Owner review is not enforced for `sisi promote --apply`: any session in the clone can run it (it only needs the source folder; there is no terminal word and no hook refusal, unlike `sisi approve`). There is no separate version of the objective or of the evaluation model, only the learning's version counter and git.",
|
|
"gap_kind": "small",
|
|
"fix": "Require the owner's typed word for sisi promote --apply, as sisi approve does."
|
|
},
|
|
{
|
|
"id": "R-12-1",
|
|
"status": "met",
|
|
"how": "Learnings and owner statements are written to the user store by `sisi retro --finding` and `sisi learn` (learning.new_record) and handed to later sessions on each request by learning.delivery_text through prompt.build_context. The tests check that a recorded learning is delivered to a matching later request and that `sisi learn` stores what `sisi oracle` prints.",
|
|
"evidence": "sisi/learning.py:457",
|
|
"test": "tests/test_learning_loop.py::test_one_unit_learning_not_delivered_in_other_project",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-12-2",
|
|
"status": "met",
|
|
"how": "Scope is earned, not claimed (earned_scope, in_scope): a learning is delivered only in the project it came from unless it was seen in two units in two projects or is an owner statement at user scope, secrets are scrubbed before storage, and handover items are shown only in their project. The tests check that a one-unit learning and a project-scoped statement are not delivered in another project.",
|
|
"evidence": "sisi/learning.py:402",
|
|
"test": "tests/test_learning_loop.py::test_project_scoped_statement_is_not_delivered_elsewhere",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-12-3",
|
|
"status": "not-applicable",
|
|
"how": "This is the lead-in line ('Recommended logical layers are:') for the six layers graded as R-12-4 to R-12-9; it states no requirement of its own.",
|
|
"gap": "None for this line; the layers it introduces are graded as R-12-4 to R-12-9."
|
|
},
|
|
{
|
|
"id": "R-12-4",
|
|
"status": "partial",
|
|
"how": "The product folder is this layer: canon/ holds the rulebook, the routing and risk tables and the skills, read at run time (policy_version hashes the rulebook and risk tables), and `sisi promote` / `--export` is the only way a user's learning reaches it, scrubbed. The tests scan the product for owner-specific material (test_no_owner_specific_or_perishable_material) and check the promote and export paths (which I did not open).",
|
|
"evidence": "sisi/unit.py:164",
|
|
"gap": "No shared benchmarks live in this layer (evaluation cases are captured into the user store), and no test checks that the layer holds the items the text lists.",
|
|
"gap_kind": "test",
|
|
"fix": "Add a test that the organization-wide layer holds each item the text lists."
|
|
},
|
|
{
|
|
"id": "R-12-5",
|
|
"status": "met",
|
|
"how": "`sisi learn [--scope user|project|organization]` stores an owner's preference as a statement in the user store, `sisi oracle` prints it, and it is delivered to later sessions at its scope. The test checks that a statement is stored once and printed back; a second test checks scope separation.",
|
|
"evidence": "sisi/scope.py:25",
|
|
"test": "tests/test_learning_loop.py::test_learn_and_oracle_one_path",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-12-6",
|
|
"status": "partial",
|
|
"how": "The project keeps its open contract, its closed unit records and its risk overrides under .sisi/, and project-scoped learnings are listed by `sisi handover` for filing into the project's own documents. The tests check that the handover lists only this project's items and is shown once per session.",
|
|
"evidence": "sisi/handover.py:48",
|
|
"gap": "Architecture, conventions, decisions and the like are not stored by the product: they reach the project's documents only when an agent acts on the handover notice, so the layer rests on the agent following advice.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Project architecture and conventions are the agent's to record; the product cannot check content."
|
|
},
|
|
{
|
|
"id": "R-12-7",
|
|
"status": "missing",
|
|
"how": "I looked for any structure that holds a workstream's initiative, plans, interfaces, unresolved decisions or dependencies across units and found none: the word workstream appears in no module, and a unit only carries a free-text `parent` id.",
|
|
"gap": "There is no workstream layer: nothing stores or retrieves a workstream's plan, interfaces, open decisions or dependencies between units; only the unit's parent id links it to a request.",
|
|
"gap_kind": "build",
|
|
"fix": "Add a workstream record holding plan, interfaces, open decisions and dependencies across units."
|
|
},
|
|
{
|
|
"id": "R-12-8",
|
|
"status": "partial",
|
|
"how": "The open contract (.sisi/contract.json) is the unit's working state: goal, requirements, assumptions, questions, deferred items, plan and pauses; it can be parked and resumed, and the whole contract is archived with the unit. Contract validation and the pause test cover parts of it.",
|
|
"evidence": "sisi/unit.py:570",
|
|
"gap": "Discoveries and intermediate outputs have no place of their own, the fields are filled only by what the agent writes, and no test checks that the archived unit keeps its assumptions or plan.",
|
|
"gap_kind": "test",
|
|
"fix": "Test that the archived unit keeps its assumptions and plan."
|
|
},
|
|
{
|
|
"id": "R-12-9",
|
|
"status": "met",
|
|
"how": "A cycle turns a learning into something the product executes: risk patterns risk.py reads, routing adjustments `sisi route` reads, and enforced contract requirements and command checks that verify runs (cycle.py routing_adjustments, risk_patterns, load_enforced, enforced_results). The test shows a promoted learning changing `sisi route` in its own project only.",
|
|
"evidence": "sisi/cycle.py:130",
|
|
"test": "tests/test_learning_loop.py::test_a_promoted_routing_adjustment_changes_sisi_route_for_its_project_only",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-12-10",
|
|
"status": "partial",
|
|
"how": "learning.new_record gives every learning provenance (unit, project, time), a created time, a version, a scope, a confidence label and a limits field; the version is raised when a cycle revises it. The tests check the stored text, scope and withdraw path of an owner statement.",
|
|
"evidence": "sisi/learning.py:486",
|
|
"gap": "There is no supersession information (nothing says which item a learning replaces or what replaced it), validity conditions are filled only when a retro uses the `record` disposition, and confidence is a fixed label (high for an owner statement, low otherwise) rather than an assessed value.",
|
|
"gap_kind": "small",
|
|
"fix": "Add a supersedes field to learning records and show it in the learning report."
|
|
},
|
|
{
|
|
"id": "R-12-11",
|
|
"status": "partial",
|
|
"how": "A finding that resembles an existing learning is attached to it as a recurrence instead of being added as a duplicate, and two recurrences after promotion flag it not working so the next cycle must revise or revert it; an owner statement can be withdrawn. Tests cover the resemblance and the flagging.",
|
|
"evidence": "sisi/learning.py:379",
|
|
"gap": "Nothing detects contradictory learnings or statements, and staleness is detected only for worker facts and for a promoted learning that recurs twice; an old learning that is merely out of date is combined with the rest.",
|
|
"gap_kind": "build",
|
|
"fix": "Detect contradictory learnings and stale items rather than combining them silently."
|
|
},
|
|
{
|
|
"id": "R-12-12",
|
|
"status": "met",
|
|
"how": "learning.delivery_text returns only learnings in scope whose terms match the request (at most a few), and prompt.build_context injects nothing for a trivial request and caps the text. The tests check that relevance is scored against the learning's own terms on a long prompt and that a typo-fix request gets no injection.",
|
|
"evidence": "sisi/learning.py:457",
|
|
"test": "tests/test_learning_loop.py::test_delivery_works_for_long_prompts",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-13.1-1",
|
|
"status": "partial",
|
|
"how": "`sisi unit close` builds and stores an eight-dimension scorecard per unit (scorecard.build_scorecard) and `sisi status` prints per-segment median/p95 trends by project, risk profile, model and policy version (scorecard.trends). There is no segment by agent, risk profile stands in for task class, and each figure is a median over all units of a segment with no time dimension.",
|
|
"evidence": "sisi/scorecard.py:296",
|
|
"gap": "No trend by agent; task class is approximated by risk profile; nothing shows a segment improving or deteriorating over time.",
|
|
"gap_kind": "build",
|
|
"fix": "Add trends by agent and over time, with task class separate from risk profile."
|
|
},
|
|
{
|
|
"id": "R-13.2-1",
|
|
"status": "partial",
|
|
"how": "The unit scorecard records pieces of eight derived measures, but only recurrence counts and a realization proxy are computed; rework rate, cost per accepted change, verification efficiency, delegation benefit and first-pass acceptance are never derived.",
|
|
"evidence": "sisi/scorecard.py:152",
|
|
"gap": "Five of the eight listed measures are not derived at all (see R-13.2-3 to R-13.2-6, R-13.2-9).",
|
|
"gap_kind": "build",
|
|
"fix": "Derive rework rate, cost per accepted change, verification efficiency, delegation benefit and first-pass acceptance."
|
|
},
|
|
{
|
|
"id": "R-13.2-2",
|
|
"status": "partial",
|
|
"how": "The scorecard counts requirements whose `added` stamp is later than the first recorded result (requirements_added_after_first_verification). sisi never writes that stamp (it is only validated in contract.py), no rate or impact is derived, and no test exercises the value.",
|
|
"evidence": "sisi/scorecard.py:165",
|
|
"gap": "Depends on the agent hand-writing `added`; it is a raw count with no rate, no impact and no test.",
|
|
"gap_kind": "small",
|
|
"fix": "Derive a surprise rate from the added stamp and a test covering the value."
|
|
},
|
|
{
|
|
"id": "R-13.2-3",
|
|
"status": "missing",
|
|
"how": "I looked for anything that computes the share of work repeated or corrected: send-backs and inferred human corrections are stored as separate telemetry values, but no rework rate is derived or reported anywhere.",
|
|
"evidence": "sisi/unit.py:307",
|
|
"gap": "No rework rate is computed from the recorded corrections, send-backs or retries.",
|
|
"gap_kind": "small",
|
|
"fix": "Derive rework rate from send-backs and inferred corrections over total units."
|
|
},
|
|
{
|
|
"id": "R-13.2-4",
|
|
"status": "partial",
|
|
"how": "An estimated cost per unit is derived from measured tokens and recorded price facts (unit._estimated_cost), and each unit has a delivery status; nothing counts accepted changes or divides cost by them.",
|
|
"evidence": "sisi/unit.py:391",
|
|
"gap": "No numerator/denominator: cost per accepted change is never computed or reported.",
|
|
"gap_kind": "small",
|
|
"fix": "Divide unit cost by accepted-change count and report the cost per accepted change."
|
|
},
|
|
{
|
|
"id": "R-13.2-5",
|
|
"status": "partial",
|
|
"how": "scorecard.check_stats reports per check its runs, failures and total seconds (`sisi checks`), and each result stores its duration; no measure relates defects found to elapsed time or cost.",
|
|
"evidence": "sisi/scorecard.py:35",
|
|
"gap": "Inputs are tabulated, but no verification efficiency (risk reduction or defects found per time or cost) is derived.",
|
|
"gap_kind": "build",
|
|
"fix": "Relate defects found to elapsed time and cost to derive verification efficiency."
|
|
},
|
|
{
|
|
"id": "R-13.2-6",
|
|
"status": "partial",
|
|
"how": "The ledger yields worker minutes against wall time and the number of overlapping delegation pairs (workers.delegations_for_project), stored in the scorecard's parallelism dimension. Nothing compares wall time with expected serial execution or offsets it by coordination and integration effort.",
|
|
"evidence": "sisi/workers.py:1324",
|
|
"gap": "No critical-path reduction or coordination/integration offset is computed; only overlap counts and minutes.",
|
|
"gap_kind": "build",
|
|
"fix": "Compare wall time with expected serial time, offset by coordination and integration effort."
|
|
},
|
|
{
|
|
"id": "R-13.2-7",
|
|
"status": "partial",
|
|
"how": "learning.learning_report prints the share of promoted learnings with no recurrence over at least five units in scope, or 'too few'. That is an absence-of-recurrence proxy: the learning's expected effect is never checked, and only the 'too few' branch is tested.",
|
|
"evidence": "sisi/learning.py:687",
|
|
"gap": "Realization is inferred from no recurrence, not from the expected effect; the numeric rate line has no test.",
|
|
"gap_kind": "test",
|
|
"fix": "Add a test for the numeric realization rate line."
|
|
},
|
|
{
|
|
"id": "R-13.2-8",
|
|
"status": "partial",
|
|
"how": "learning.add_recurrence counts a recurrence once per unit against a promoted learning and flags it after two; the learning report shows units since promotion against recurrences, and the unit scorecard carries a `recurrences` count. The per-unit scorecard value has no test and no rate is aggregated.",
|
|
"evidence": "sisi/learning.py:516",
|
|
"gap": "Counts per learning and per unit are kept, but no recurrence rate is derived, and the scorecard's `recurrences` value is untested.",
|
|
"gap_kind": "small",
|
|
"fix": "Aggregate recurrences over promoted learnings into a rate and test it."
|
|
},
|
|
{
|
|
"id": "R-13.2-9",
|
|
"status": "partial",
|
|
"how": "Per-unit inferred human corrections, question dialogs and delivery status are recorded in the scorecard, and `sisi escapes` lists units that passed verification and were then corrected (scorecard.escape_candidates). Nothing derives the proportion of units accepted without material correction or avoidable rework, and the escape candidates have no test.",
|
|
"evidence": "sisi/unit.py:331",
|
|
"gap": "No first-pass acceptance proportion is computed or reported.",
|
|
"gap_kind": "small",
|
|
"fix": "Compute the share of units accepted without correction and test it."
|
|
},
|
|
{
|
|
"id": "R-13.2-10",
|
|
"status": "partial",
|
|
"how": "Trends are segmented by project, risk profile, model and policy version (scorecard.trends); only the delegation ledger's judged record is broken down by task type and difficulty. The derived metrics are not segmented by task category and complexity.",
|
|
"evidence": "sisi/scorecard.py:310",
|
|
"gap": "No segmentation of the metrics by task category or complexity.",
|
|
"gap_kind": "small",
|
|
"fix": "Break derived metrics down by task category and complexity alongside existing trends."
|
|
},
|
|
{
|
|
"id": "R-13.2-11",
|
|
"status": "partial",
|
|
"how": "Each segment is reported on its own line with median and p95, segments under five units say 'too few', and no cross-segment score is computed or printed. The segments are not task categories, and a per-segment median over all units has no time axis, so one category improving while another deteriorates still cannot be seen.",
|
|
"evidence": "sisi/scorecard.py:296",
|
|
"gap": "No per-category or per-time view: a split inside a segment (one task class up, another down) is still concealed.",
|
|
"gap_kind": "build",
|
|
"fix": "Add per-category and over-time views so a split inside a segment is visible."
|
|
},
|
|
{
|
|
"id": "R-13.3-1",
|
|
"status": "partial",
|
|
"how": "scorecard.build_scorecard combines transcript and hook telemetry, git changes, verification results, an independent-evidence flag and inferred human corrections. Two of the four sources are thin: independent evidence is a self-declared flag and outcome evidence stops at corrections.",
|
|
"evidence": "sisi/scorecard.py:152",
|
|
"gap": "Independent evaluation and outcome evidence are only partly combined (see R-13.3-4 and R-13.3-5).",
|
|
"gap_kind": "build",
|
|
"fix": "Combine independent evaluation and outcome evidence into the scoring."
|
|
},
|
|
{
|
|
"id": "R-13.3-2",
|
|
"status": "partial",
|
|
"how": "unit.build_telemetry and the orchestration meter record start/end times, tokens by category and model, the models used, estimated cost, send-backs, check durations, delegation counts and every tool call with its tool name; build_scorecard folds them into the unit record.",
|
|
"evidence": "sisi/unit.py:274",
|
|
"gap": "Overturned by the audit: The unit record keeps only counts (direct_calls, delegations), not each tool call with its name or the commands run (the shell note says command text is not kept), and the named test covers only tokens by category/model and cost, so the full list of telemetry items is neither recorded nor tested.",
|
|
"gap_kind": "unsorted"
|
|
},
|
|
{
|
|
"id": "R-13.3-3",
|
|
"status": "partial",
|
|
"how": "The scorecard takes artifact evidence from git (files and lines changed, tests changed with code, public surface) and from recorded test results by status; build outputs, static analysis and proofs appear only as whatever a check's result row holds, and benchmark cases are captured at close but not scored. No deployment records are scored.",
|
|
"evidence": "sisi/unit.py:366",
|
|
"gap": "Only diff size and test results reach the scorecard; build outputs, analysis, proofs, benchmarks and deployment records do not.",
|
|
"gap_kind": "build",
|
|
"fix": "Score build outputs, analysis, proofs, benchmarks and deployment records as artifact evidence."
|
|
},
|
|
{
|
|
"id": "R-13.3-4",
|
|
"status": "partial",
|
|
"how": "For data, critical and release units the gate demands independent evidence and assure.independent_evidence refuses evidence by the author (self-reference or the session's own model); the scorecard's own independent_evidence value, however, counts any check flagged `independent` that passed, without that test.",
|
|
"evidence": "sisi/assure.py:91",
|
|
"gap": "The scorecard (the scoring) accepts the author's own `independent` flag; no test covers that value; lower profiles need no independent evaluation at all.",
|
|
"gap_kind": "small",
|
|
"fix": "Apply the author test to the scorecard's independent_evidence value and cover it by a test."
|
|
},
|
|
{
|
|
"id": "R-13.3-5",
|
|
"status": "partial",
|
|
"how": "The scorecard records inferred human corrections and question dialogs from the transcript, plus delivery status and deviation/unverified flags. Nothing records user acceptance, incidents, subsequent changes or production behaviour.",
|
|
"evidence": "sisi/unit.py:322",
|
|
"gap": "Outcome evidence is limited to transcript corrections; no acceptance, incident, later-change or production outcome is captured or scored.",
|
|
"gap_kind": "build",
|
|
"fix": "Capture user acceptance, incidents and later changes as outcome evidence in the record."
|
|
},
|
|
{
|
|
"id": "R-13.3-6",
|
|
"status": "partial",
|
|
"how": "Objective values come from executed checks, the transcript and hooks rather than from the agent's say-so, and the gate sends back a data/critical/release unit whose only evidence is the author's own (assure.independent_evidence, unitguard.is_self_reference). But a check the agent ran itself counts if `by` names anything that is not the author, the scorecard counts the bare `independent` flag, and below `data` the agent is the only source.",
|
|
"evidence": "sisi/assure.py:91",
|
|
"gap": "Independence of a flagged check rests on the agent's own `by` text; the scorecard's independent_evidence value applies no author test; isolated, logic and integration units need no second source.",
|
|
"gap_kind": "boundary",
|
|
"fix": "Below data profile the agent is the only source by design; a profile change, not code."
|
|
},
|
|
{
|
|
"id": "R-13.4-1",
|
|
"status": "partial",
|
|
"how": "scorecard.val and build_scorecard give every per-unit scorecard value one of measured, inferred, estimated or unavailable, and unit.build_telemetry classes each telemetry value the same way; sisi status prints the class beside each value. The trend tables in sisi status (scorecard.trends) print medians and p95 with no class at all.",
|
|
"evidence": "sisi/scorecard.py:152",
|
|
"gap": "Trend medians and p95 in sisi status carry no confidence class and pool measured with inferred values, so not every score shown indicates its class.",
|
|
"gap_kind": "small",
|
|
"fix": "Print the confidence class beside each trend median and p95 in sisi status."
|
|
},
|
|
{
|
|
"id": "R-13.4-2",
|
|
"status": "met",
|
|
"how": "Missing telemetry is built as {value None, class unavailable}: with no transcript or no usage numbers, tokens, cost and human counts are never zero (unit.build_telemetry), scorecard.trends drops unavailable values instead of counting them, and evaluation never treats an unavailable cost as zero or cheap. Percentiles are only printed from five or more units.",
|
|
"evidence": "sisi/unit.py:336",
|
|
"test": "tests/test_unit.py::test_without_a_transcript_nothing_is_measured_and_nothing_is_zero",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-13.4-3",
|
|
"status": "partial",
|
|
"how": "Missing data is named rather than hidden: unavailable classes and a 'not measurable here' line in the retro summary, a one-line warning at session start when the hooks are not wired (pointing to sisi doctor), and a doctor report of what each tool's hooks can measure. Nothing adds instrumentation in response to a score that cannot be evaluated; that is left to the agent.",
|
|
"evidence": "sisi/tick.py:84",
|
|
"gap": "No mechanism improves observability when missing data prevents evaluation; sisi only reports the missing data and broken wiring.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Adding instrumentation for unscoreable work is the agent's judgement; sisi can only report it."
|
|
},
|
|
{
|
|
"id": "R-13.5-1",
|
|
"status": "partial",
|
|
"how": "No aggregate index is computed or printed: sisi status prints each unit's eight dimensions with their class and delivery status, then trends per segment. The retro, the point where improvement decisions are made, prints the whole scorecard plus what stands out (still failing, checks that never ran, deviations, send-backs, human corrections, what is unavailable), so a decision sees scorecard, gate outcomes, confidence and counter-metrics together.",
|
|
"evidence": "sisi/unit.py:729",
|
|
"gap": "Overturned by the audit: The mechanism is only the absence of an index plus a retro printout; nothing makes a decision inspect scorecard, gate outcomes, confidence and counter-metrics (the cycle brief does not show them), and the named test only asserts that no overall score appears in status, not that the retro prints the full scorecard.",
|
|
"gap_kind": "unsorted"
|
|
},
|
|
{
|
|
"id": "R-14.1-1",
|
|
"status": "partial",
|
|
"how": "The end-of-turn gate sends the agent back to run the checks and record the retro itself instead of stopping, and one kind of unnecessary question to the human (right after a worker outage) is refused once. Doing investigation, planning and implementation without asking is asked for in rule 1 text only.",
|
|
"evidence": "sisi/gate.py:499",
|
|
"gap": "Nothing checks or makes the agent investigate, plan or implement on its own; that part rests on the rulebook prose.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Acting independently within permission is judgement; no code can check initiative."
|
|
},
|
|
{
|
|
"id": "R-14.1-2",
|
|
"status": "partial",
|
|
"how": "Approval boundaries that sisi itself owns are enforced: a pending change is decided only with a word typed at a controlling terminal, and the before-tool hook refuses an agent's shell command that invokes sisi approve. No mechanism recognizes a consequential external action (push, publish, deploy, payment) or stops an agent from taking it on the strength of a build request; rule 9 lists asking first as judgement left to the agent.",
|
|
"evidence": "sisi/cycle.py:1296",
|
|
"gap": "Nothing in the code prevents inferring authorization for consequential external actions from a request to build; only sisi's own approval points are protected.",
|
|
"gap_kind": "build",
|
|
"fix": "Detect push, publish, deploy and payment actions and require explicit authorization for each."
|
|
},
|
|
{
|
|
"id": "R-14.2-1",
|
|
"status": "partial",
|
|
"how": "sisi pauses for the owner only for its own consequential changes: replacing or disabling a rule waits for sisi approve, a learned driver that switches off approvals and an allowance probe using a secret wait for the owner, and a contract's commands never run from an untrusted root. No hook or gate pauses a destructive, irreversible, externally visible, financially consequential or privacy-sensitive action by the agent.",
|
|
"evidence": "sisi/cycle.py:1277",
|
|
"gap": "The listed action classes (destructive, irreversible, externally visible, financial, security- and privacy-sensitive) are not detected or paused anywhere in the code; only sisi's own policy, driver and probe approvals are.",
|
|
"gap_kind": "build",
|
|
"fix": "Detect destructive, irreversible, external, financial and privacy actions and pause for the owner."
|
|
},
|
|
{
|
|
"id": "R-14.2-2",
|
|
"status": "partial",
|
|
"how": "The question gate sends back a reply that ends by asking the human a question in prose, making the question go through the dialog, and the contract has fields for assumptions and questions. Nothing detects that an ambiguity materially affects the result or risk, and nothing requires a clarification in that case; rule 1 text asks for it.",
|
|
"evidence": "sisi/questions.py:25",
|
|
"gap": "Recognizing material ambiguity and seeking clarification is not checked by any mechanism; only the channel a question uses is enforced.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Recognising material ambiguity is judgement; the product can only route the question."
|
|
},
|
|
{
|
|
"id": "R-14.3-1",
|
|
"status": "met",
|
|
"how": "The non-negotiable constraints are listed in canon/protected.json and overlay.protected_rules fails closed: a cycle, the overlay command and even an owner approval cannot replace or disable them, under new or retired ids. The rulebook, risk tables, enforced checks and gate config are hashed into a policy version stored on every closed unit.",
|
|
"evidence": "sisi/overlay.py:302",
|
|
"test": "tests/test_learning_loop.py::test_protected_rules_are_refused_under_new_ids_old_ids_and_the_map",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-14.3-2",
|
|
"status": "met",
|
|
"how": "A cycle may propose changes, but replacing or disabling a rule and other consequential changes are parked as pending-approval and take effect only after cycle.cmd_approve, which needs the word it prints typed at a controlling terminal; a process with no terminal is refused and the attempt recorded. The rules that define success and permitted action stay protected even from approval.",
|
|
"evidence": "sisi/cycle.py:1277",
|
|
"test": "tests/test_cycle_hardening.py::test_a_decision_needs_the_word_typed_at_the_terminal",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-14.4-1",
|
|
"status": "partial",
|
|
"how": "cycle._plan_promote works out, per action, the reasons that make it consequential (disabling or replacing a rule, a scope wider than earned, an unvalidated command, a command that would run in every project) and those wait for the owner; every applied change is committed to the user store so revert is exact. Reversibility is not classified: no impact or reversibility label is computed or stored on a change.",
|
|
"evidence": "sisi/cycle.py:503",
|
|
"gap": "Changes are sorted only into consequential or not; there is no classification by reversibility and no stored impact or reversibility class.",
|
|
"gap_kind": "small",
|
|
"fix": "Store an impact and reversibility label on each policy change."
|
|
},
|
|
{
|
|
"id": "R-15-1",
|
|
"status": "met",
|
|
"how": "A failing check does not let the turn end: the gate sends the agent back with the failing check's own output (the failing test and its assertion, not only the tail), the failure and its evidence stay in the record, and after three send-backs the unit is released and recorded as unverified instead of read as done.",
|
|
"evidence": "sisi/gate.py:514",
|
|
"test": "tests/test_gate.py::test_the_send_back_shows_the_failing_test_not_only_the_end_of_the_output",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-15-2",
|
|
"status": "not-applicable",
|
|
"how": "This is the lead-in sentence of a list; its only content is the five items graded separately as R-15-3 to R-15-7.",
|
|
"gap": "Lead-in fragment with no requirement of its own; see R-15-3 to R-15-7."
|
|
},
|
|
{
|
|
"id": "R-15-3",
|
|
"status": "partial",
|
|
"how": "A unit with no activity for unit.stale_hours (12) is treated as stale and the guard asks for sisi unit continue before more edits; the direct-work budget refuses a main thread that does too much itself until it delegates or records a specific reason. Neither measures progress against an expected interval, and neither makes the agent reassess the approach.",
|
|
"evidence": "sisi/unitguard.py:313",
|
|
"gap": "There is no progress-over-time detection: staleness means 12 hours of no activity and the only response is a request to re-bind the unit, not a reassessment or reassignment.",
|
|
"gap_kind": "build",
|
|
"fix": "Detect progress over an expected interval and require a reassessment or reassignment."
|
|
},
|
|
{
|
|
"id": "R-15-4",
|
|
"status": "met",
|
|
"how": "The before-tool hook counts failing shell commands (whitespace-normalised) with no file changed in between; the fourth identical attempt is refused with a message saying it will produce no new information and to diagnose or change the approach. sisi route --retry-of likewise moves retries to a worker with strictly better evidence after two rejections.",
|
|
"evidence": "sisi/orchestration.py:607",
|
|
"test": "tests/test_meter.py::test_the_fourth_identical_attempt_is_refused_once",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-15-5",
|
|
"status": "met",
|
|
"how": "workers.classify_failure tells a limit, login, not-installed or connection outage from work that failed on its merits: an outage marks the worker down until its reset time, supersedes the pending run and hands the agent the next worker, while a result that failed on its merits marks nothing down. A passed check is not re-run on identical inputs.",
|
|
"evidence": "sisi/workers.py:138",
|
|
"test": "tests/test_meter.py::test_the_quota_notice_through_the_prompt_hook_marks_the_provider_down_and_hands_over_the_fallback",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-15-6",
|
|
"status": "partial",
|
|
"how": "Transparency is kept when a check is waived: the waiver never turns anything green, the unit reads deviation everywhere and the scorecard carries a deviation flag. Nothing isolates an unstable check (no rerun, quarantine or flaky flag), and a failing check can simply be deleted from the contract, after which it no longer speaks for the unit.",
|
|
"evidence": "sisi/scorecard.py:192",
|
|
"gap": "No isolation of flaky verification and no record or refusal when a meaningful check is removed from the contract.",
|
|
"gap_kind": "build",
|
|
"fix": "Rerun, quarantine or flag unstable checks, and refuse removing a meaningful check silently."
|
|
},
|
|
{
|
|
"id": "R-15-7",
|
|
"status": "partial",
|
|
"how": "The brief template requires a Context and sources of truth part (reported by sisi delegate check as advice), each judgement records the strongest check applied, and sisi delegate amend marks a result that later proved wrong. Nothing detects that two workers' outputs conflict, and nothing resolves a conflict by a source-of-truth hierarchy or an independent check.",
|
|
"evidence": "sisi/workers.py:2240",
|
|
"gap": "Conflicting agent outputs are neither detected nor resolved by a mechanism; the sources-of-truth part of a brief is written advice and independent verification is optional in a contract.",
|
|
"gap_kind": "build",
|
|
"fix": "Detect conflicting worker outputs and require an independent check before resolving them."
|
|
},
|
|
{
|
|
"id": "R-15-8",
|
|
"status": "partial",
|
|
"how": "sisi recognises the signals of a scope or specification error and makes them visible: harvest.is_correction counts human corrections from the transcript, gate._anomaly makes a correction a reason the unit still earns a retro, and the scorecard counts requirements added after the first verification. Nothing reopens the goal or acceptance criteria; the response is left to the agent's judgement through the retro finding.",
|
|
"evidence": "sisi/gate.py:234",
|
|
"gap": "No mechanism makes the agent revisit the contract's goal and checks after a correction or a late requirement; only detection and visibility exist (rule 1 advice covers the rest). No test was opened that ties a correction to a changed contract.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Revisiting intent after a correction is judgement; the product can only prompt for it."
|
|
},
|
|
{
|
|
"id": "R-15-9",
|
|
"status": "partial",
|
|
"how": "A change whose risk floor is integration or above is refused until the unit carries invariants, a requirement list, an approach and a risk note (assure.missing, enforced by the contract guard and the gate), and the gate runs the selected checks on the combined tree. Nothing recognises an integration failure as such or assigns ownership of one.",
|
|
"evidence": "sisi/assure.py:147",
|
|
"gap": "There is no response to an integration failure: no detection, no explicit ownership of the integration, only the up-front contract requirements for integration-risk work.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Owning and responding to integration failure is judgement; code can only require ownership up front."
|
|
},
|
|
{
|
|
"id": "R-15-10",
|
|
"status": "partial",
|
|
"how": "A failed check keeps its scrubbed failure evidence in the record (verify.evidence) and the gate sends the turn back, so a regression cannot be reported as delivered; a recurrence after promotion flags the learning not working and the cycle must revise or revert it; a retro finding is required to close the unit. Blast radius is only a note written before the work (risk.blast_radius) and is never assessed after a regression.",
|
|
"evidence": "sisi/verify.py:51",
|
|
"gap": "No mechanism assesses the blast radius of a regression, and revert or repair is provided only for sisi's own store changes (cycle revert, sisi rollback), not for the project's regressed change.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Blast radius of a regression is an assessment the agent must make; the product can ask for it."
|
|
},
|
|
{
|
|
"id": "R-15-11",
|
|
"status": "partial",
|
|
"how": "For the authority sisi owns, an unauthorized action is stopped, notified and recorded: watch.refuse_self_approval refuses (exit 2) an agent's shell command that invokes sisi approve, tells the agent to show the owner, and cycle.refuse_attempt writes the attempt with the session id to the approval record; sisi approve itself refuses without the owner's typed word; an untrusted contract's commands are never run and the gate says so once.",
|
|
"evidence": "sisi/watch.py:149",
|
|
"gap": "Only sisi's own boundaries are covered (approval decisions, untrusted contracts, uncontracted edits). Any other unsafe action by the agent relies on rule 9 in canon/core.md, and nothing contains or detects an unsafe action after it has happened.",
|
|
"gap_kind": "build",
|
|
"fix": "Contain and notify on unsafe agent actions beyond sisi's own boundaries."
|
|
},
|
|
{
|
|
"id": "R-15-12",
|
|
"status": "partial",
|
|
"how": "sisi's own consequential operations are checkpointed and recoverable: cycle._transact records the before and after commits and what it changed, restores every file when a cycle fails part-way, and cycle.revert_cycle undoes exactly one cycle; update and install take backups or keep originals. For the project work itself only a written rollback note is demanded of integration-and-above units.",
|
|
"evidence": "sisi/cycle.py:875",
|
|
"gap": "No checkpoint of the project's state is taken before a consequential (data, critical) change; recovery there is a required written rollback note and the project's own git history, neither of which sisi verifies as a working recovery mechanism.",
|
|
"gap_kind": "build",
|
|
"fix": "Checkpoint the project state before data or critical changes and verify the rollback works."
|
|
},
|
|
{
|
|
"id": "R-15-13",
|
|
"status": "met",
|
|
"how": "The end-of-turn gate sends a turn back with the failing checks and, when the send-backs run out, gate._release records the unit as unverified in the results and the contract and tells the agent to report it as unverified; unit.decide_status gives every unit one of five delivery statuses (delivered-with-deferred, deviation, unverified, abandoned), and sisi status lists open and parked units with their age, owed checks and unverified reason.",
|
|
"evidence": "sisi/gate.py:188",
|
|
"test": "tests/test_gate.py::SendBackTests::test_three_send_backs_then_released_as_unverified_and_recorded",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-16-1",
|
|
"status": "partial",
|
|
"how": "The constraint is enforced where sisi acts: rule 9 is protected from change by a cycle (canon/protected.json, checked in cycle._plan_rule), secrets are scrubbed from stored records, contracts run only when trusted and policy changes wait for the owner. For the agent's own reasoning and tool use it is a sentence in canon/core.md rule 9 and a SECURITY.md description, which nothing checks.",
|
|
"evidence": "sisi/cycle.py:474",
|
|
"gap": "Across agent reasoning, tools and delegation the requirement rests on written advice (rule 9); the only test that mentions R-16-1 checks SECURITY.md's wording, not behaviour.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Security as a constraint on agent reasoning cannot be checked by code; only advice is possible."
|
|
},
|
|
{
|
|
"id": "R-16-2",
|
|
"status": "not-applicable",
|
|
"how": "The text is the lead-in line \"It MUST:\" that introduces the items R-16-3 to R-16-11; it places no requirement of its own on the product.",
|
|
"gap": "None: a lead-in line only, graded through R-16-3 to R-16-11."
|
|
},
|
|
{
|
|
"id": "R-16-3",
|
|
"status": "partial",
|
|
"how": "Least privilege is enforced for particular inputs: a contract's shell commands run only in a project on the trust list (trust.is_trusted; verify exits 3 elsewhere), a replayed command check runs in an exported copy with an environment of PATH, HOME and LANG only, and a provider key is fetched at probe time and never stored. The agents and tools themselves are not restricted: SECURITY.md states the replayed command still runs as the user with the user's file permissions and is not sandboxed.",
|
|
"evidence": "sisi/trust.py:32",
|
|
"gap": "There is no general restriction of what the agent, its tools or its subagents may access (files, network, credentials); only contract commands, replayed commands and provider keys are limited.",
|
|
"gap_kind": "build",
|
|
"fix": "Restrict agent, tool and subagent file, network and credential access by policy."
|
|
},
|
|
{
|
|
"id": "R-16-4",
|
|
"status": "partial",
|
|
"how": "learning.scrub_secrets redacts keys, tokens and passwords before anything is stored in learnings, findings, owner statements, cycle history and check failure evidence (verify.evidence), and the allowance probe never stores a key. Other stored text is not scrubbed: contract fields in .sisi/contract.json (goal, check commands, risk notes), delegation ledger and worker notes, pause and extension reasons, and the transcript text sisi keeps in its scratch database.",
|
|
"evidence": "sisi/learning.py:308",
|
|
"gap": "Scrubbing covers learning artifacts and failure evidence only; contract text that can enter the project's source control, the delegation ledger, worker notes and the harvested transcripts and logs are stored as written.",
|
|
"gap_kind": "small",
|
|
"fix": "Scrub secrets from contract fields, delegation ledger, worker notes and transcripts before storage."
|
|
},
|
|
{
|
|
"id": "R-16-5",
|
|
"status": "met",
|
|
"how": "learning.earned_scope and learning.in_scope keep a learning in force only in its origin project until its provenance holds two units in two projects, keep a project-scoped owner statement in its project, deliver only rows sisi's own commands wrote, and learning.learnings_in_scope feeds delivery and the oracle; a cycle cannot widen scope beyond what was earned without the owner (cycle._plan_promote).",
|
|
"evidence": "sisi/learning.py:402",
|
|
"test": "tests/test_learning_loop.py::Scope::test_one_unit_learning_not_delivered_in_other_project",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-16-6",
|
|
"status": "partial",
|
|
"how": "sisi treats its own inputs as data: a cycle file written by an agent is untrusted (cycle.validate_doc refuses it whole, and replay_validate ignores the commits, repository and project it names in favour of the learning's own record), and only learnings sisi's own commands wrote are delivered into prompts. Whether the agent treats web pages, issue text and tool output as data is one sentence in canon/core.md rule 9.",
|
|
"evidence": "sisi/cycle.py:613",
|
|
"gap": "Outside sisi's own command inputs there is no mechanism: nothing checks, frames or sanitises retrieved content or tool output before the agent acts on it; that rests on rule 9's written advice.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Treating web pages and tool output as data is the agent's behaviour; sisi cannot check it."
|
|
},
|
|
{
|
|
"id": "R-16-7",
|
|
"status": "partial",
|
|
"how": "External input is validated before sisi acts on it: cycle.validate_doc checks every action of a cycle file and applies nothing unless the file has no problem, a command check must be replayed (fail before the fix, pass after) before it is enforced, and a contract from a clone is not executed until the project is trusted. Results coming back from delegated workers are only asked to be judged (sisi delegate judge) and recorded; no judgement is required before the agent uses a worker's result.",
|
|
"evidence": "sisi/cycle.py:503",
|
|
"gap": "Tool results from subagents are not validated before consequential use: the gate asks for judgements on finished runs but does not refuse, and how the agent checks what a worker returned is not checked by sisi.",
|
|
"gap_kind": "small",
|
|
"fix": "Gate consequential use of a worker result on a recorded judgement, refusing it otherwise."
|
|
},
|
|
{
|
|
"id": "R-16-8",
|
|
"status": "met",
|
|
"how": "The user store is a git repository in which pdata.commit records every change under a lock with a message; each cycle writes cycles/<id>.json with its label, before and after commits, changed files and report lines (cycle._transact); every refused or given approval decision is written to the approval record with time, session id and how (cycle.refuse_attempt); unit records are archived with their policy-version hash and guard refusals.",
|
|
"evidence": "sisi/pdata.py:138",
|
|
"test": "tests/test_cycle_hardening.py::Approval::test_the_before_tool_hook_refuses_every_wrapping_of_approve",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-16-9",
|
|
"status": "met",
|
|
"how": "cycle._transact runs each cycle as one transaction: a failure part-way restores every file it changed and the cycle record keeps what is needed to revert exactly; cycle.revert_cycle undoes one cycle's mechanism files and learning fields only and refuses when a later change touched the same file, leaving later findings and statements in place.",
|
|
"evidence": "sisi/cycle.py:965",
|
|
"test": "tests/test_learning_loop.py::Cycle::test_revert_undoes_only_that_cycle",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-16-10",
|
|
"status": "partial",
|
|
"how": "brief.check lists the parts a delegation brief lacks and the delegation hook returns them as \"sisi brief advice\" (orchestration._before_delegation), never as a refusal; the before-tool approval refusal applies to worker sessions too; a cycle brief carries at most eight learnings. Nothing limits the context a delegation actually carries or the permissions a subagent runs with.",
|
|
"evidence": "sisi/orchestration.py:669",
|
|
"gap": "Context minimisation is advice only (a missing brief part is reported, not refused) and no permission is restricted for a subagent, which runs with the host's and the user's permissions.",
|
|
"gap_kind": "build",
|
|
"fix": "Refuse delegations carrying context beyond the brief and restrict subagent permissions."
|
|
},
|
|
{
|
|
"id": "R-16-11",
|
|
"status": "met",
|
|
"how": "cycle._plan_promote marks every consequential change as waiting for the owner (more scope than the learning earned, a command check not seen to fail and then pass, a replaced or disabled rule, a risk pattern that lowers a profile, rule text from a one-project learning) and cycle apply parks it as pending-approval; protected rules are refused outright, even with approval; cmd_approve decides only on the word typed at the controlling terminal, and watch.refuse_self_approval refuses an agent's own attempt by the before-tool hook.",
|
|
"evidence": "sisi/cycle.py:503",
|
|
"test": "tests/test_cycle_hardening.py::Approval::test_a_decision_needs_the_word_typed_at_the_terminal",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-17-1",
|
|
"status": "not-applicable",
|
|
"how": "Lead-in line only ('The organization SHOULD:'); the requirements are the items that follow, graded separately.",
|
|
"gap": "Nothing to grade in this line."
|
|
},
|
|
{
|
|
"id": "R-17-2",
|
|
"status": "partial",
|
|
"how": "`sisi unit pause \"<what it waits for>\"` refuses an empty reason, records the wait on the unit, and `sisi status` prints 'waiting for: ...'; the gate offers it as the way to end a turn with work outstanding. Time to first useful result is only measured (sisi/delivery.py); nothing makes the agent tell the user about progress during long work.",
|
|
"evidence": "sisi/unit.py:911",
|
|
"gap": "A block is recorded, not communicated: nothing checks that a long-running or blocked turn says anything to the user, and the gate's demand for a retro or a pause is bounded.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Communicating progress to the user is the agent's; no code can see the message."
|
|
},
|
|
{
|
|
"id": "R-17-3",
|
|
"status": "partial",
|
|
"how": "sisi's own hooks are silent by default and tested: session start prints nothing when nothing is actionable, the prompt hook injects nothing for a trivial message, the gate passes a session that changed nothing with no message, and a final message naming an internal worker failure is sent back once.",
|
|
"evidence": "sisi/tick.py:84",
|
|
"gap": "Only what sisi itself emits is controlled; the agent's own narration of routine activity is never read (rule 7 is advice, nothing measures it).",
|
|
"gap_kind": "judgement",
|
|
"fix": "Avoiding noisy narration is a quality of the agent's writing; no code can check it."
|
|
},
|
|
{
|
|
"id": "R-17-4",
|
|
"status": "partial",
|
|
"how": "The end-of-turn gate (sisi/questions.py) sends back a reply that ends by asking a question in prose and directs it to the question dialog with options and a recommendation, or to decide and record the assumption; question dialogs are counted in the scorecard.",
|
|
"evidence": "sisi/questions.py:99",
|
|
"gap": "Nothing checks that a question is concise or consequential: a dialog with many broad questions passes, and the count is only telemetry.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether questions are concise and consequential is judgement; only the count is measurable."
|
|
},
|
|
{
|
|
"id": "R-17-5",
|
|
"status": "partial",
|
|
"how": "`sisi contract waive` records a deviation with its reason, the unit then closes as `deviation` and `sisi unit close` prints that the completion report must say so; lowering the risk floor needs `risk.why`. Assumptions are an optional contract list that no profile requires.",
|
|
"evidence": "sisi/unit.py:816",
|
|
"gap": "Nothing makes the agent explain an assumption or a deviation to the user: a reminder is printed at close, the assumptions list is never demanded or shown, and no report is read.",
|
|
"gap_kind": "small",
|
|
"fix": "Print recorded assumptions and deviations in the close message so they reach the report."
|
|
},
|
|
{
|
|
"id": "R-17-6",
|
|
"status": "partial",
|
|
"how": "Time to first useful result (first allowed stop after a request) is recorded by the delivery recorder and kept as telemetry; handing over an intermediate result is left to the agent by rule 5.",
|
|
"evidence": "sisi/delivery.py",
|
|
"gap": "Measured only: no hook, gate or command makes an intermediate result reach the user; it rests on the agent following written advice.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Delivering intermediate results is the agent's choice; no mechanism can force it."
|
|
},
|
|
{
|
|
"id": "R-17-7",
|
|
"status": "partial",
|
|
"how": "The archived unit record holds changed artifacts, every verification result, deferred and never-run checks, limitations and open risks, and `sisi unit close` prints the delivery status. The completion report itself is written by the agent and nothing reads it.",
|
|
"evidence": "sisi/unit.py:563",
|
|
"gap": "sisi records evidence for a summary but neither produces nor checks the summary, artifacts and limitations the user receives; limitations and open risks are optional fields.",
|
|
"gap_kind": "small",
|
|
"fix": "Print a completion summary block from the record at close: artifacts, evidence, limitations."
|
|
},
|
|
{
|
|
"id": "R-17-8",
|
|
"status": "partial",
|
|
"how": "When a worker is unavailable, sisi/fallback.py hands the agent the router's next worker and tells it to fall back without asking or reporting; a question dialog right after is refused once, a turn ending with no fallback is sent back (twice at most), and a final message naming the failed worker is sent back once.",
|
|
"evidence": "sisi/fallback.py:64",
|
|
"gap": "Only the worker-unavailability path is covered, and each refusal is once-only (a second question in the turn is let through); outside it, keeping the user out of worker matters rests on rule 7.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Keeping the user out of worker coordination is judgement beyond the fallback path."
|
|
},
|
|
{
|
|
"id": "R-17-9",
|
|
"status": "partial",
|
|
"how": "Lead-in of the five report items. The unit record stores the material for them (goal and delivery status, approach, verification results, never-run and deferred checks, limitations and risks); the report is the agent's and is not read.",
|
|
"evidence": "sisi/unit.py:536",
|
|
"gap": "No mechanism makes a completion report contain these items; only the underlying record exists.",
|
|
"gap_kind": "wording",
|
|
"fix": "Describes what a completion report typically contains; places no testable requirement on the product."
|
|
},
|
|
{
|
|
"id": "R-17-10",
|
|
"status": "partial",
|
|
"how": "The unit record keeps the goal, scope and a delivery status (delivered, delivered-with-deferred, deviation, unverified, abandoned) that `sisi status` prints, and the gate sends back unfinished work with 'Do not report this work as done'. What the report says was delivered is not read.",
|
|
"evidence": "sisi/gate.py:515",
|
|
"gap": "The outcome is recorded, not reported: nothing checks the user's summary against the unit's delivery status.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether the report states the delivered outcome accurately is judgement."
|
|
},
|
|
{
|
|
"id": "R-17-11",
|
|
"status": "partial",
|
|
"how": "The contract's `approach` (chosen, why, at least one alternative) is carried into the unit record and is demanded by the gate for integration and above. Design decisions taken during the work are not recorded unless the agent adds them, and the report is not read.",
|
|
"evidence": "sisi/unit.py:547",
|
|
"gap": "Below integration no decision record is required, and nothing makes the report mention a decision.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether the report mentions important decisions is judgement; ask for it."
|
|
},
|
|
{
|
|
"id": "R-17-12",
|
|
"status": "partial",
|
|
"how": "Every verification result, with its status and failure evidence, is stored in the unit record (`verification`, `final_verification`), and nothing that did not run can be recorded as passed. Whether the report states it is unchecked.",
|
|
"evidence": "sisi/unit.py:557",
|
|
"gap": "The evidence exists in the record only; no mechanism puts it in, or checks it in, the report.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether the report states verification performed is judgement; ask for it."
|
|
},
|
|
{
|
|
"id": "R-17-13",
|
|
"status": "partial",
|
|
"how": "The unit record lists `never_run_mandatory`, `deferred_checks` and `released_unverified`, and telemetry values carry an `unavailable` class; a unit with deferred or human-pending checks closes as delivered-with-deferred. The report's own statement of what is unverified is not read.",
|
|
"evidence": "sisi/unit.py:560",
|
|
"gap": "Recorded but not reported: nothing checks that the user is told what was not verified.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether the report states what was not verified is judgement; ask for it."
|
|
},
|
|
{
|
|
"id": "R-17-14",
|
|
"status": "partial",
|
|
"how": "`open_risks`, `deferred` (what, why, safe_because), `limitations` and deviations are carried in the unit record. All are optional contract fields and the report is not read.",
|
|
"evidence": "sisi/unit.py:563",
|
|
"gap": "No profile requires risks or follow-up to be recorded, and nothing makes them reach the user.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether the report surfaces risks and follow-up is judgement; ask for it."
|
|
},
|
|
{
|
|
"id": "R-17-15",
|
|
"status": "partial",
|
|
"how": "Rule 7 asks for a report in proportion to the change; `sisi rule 7` itself states that nothing reads the words. sisi's own demands are proportional (a trivial change is asked nothing unless the unit shows an anomaly), but that is process, not the report.",
|
|
"evidence": "sisi/rulecmd.py:212",
|
|
"gap": "Nothing in the code checks or measures the report's length against the size of the change; it rests entirely on the agent following rule 7.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Proportion of the report to the change is judgement; no code measures it sensibly."
|
|
},
|
|
{
|
|
"id": "R-18-1",
|
|
"status": "partial",
|
|
"how": "Several anti-patterns have an enforced mechanism: checks selected by change instead of the full suite, the gate sending back failing or missing mandatory checks, independent evidence that cannot be the author, the fourth identical failing command refused once, a rule from one incident waiting for approval, and self-modification gated by protected rules and owner approval.",
|
|
"evidence": "sisi/orchestration.py:619",
|
|
"gap": "I found no detecting mechanism for maximum parallelism (only the parallelism measure), cleverness over clarity, or the value/cost estimate before scope expands; the other refusals are bounded and none measures recurrence.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Detecting clever-over-clear or excess parallelism is judgement; no code can check it."
|
|
},
|
|
{
|
|
"id": "R-19-1",
|
|
"status": "partial",
|
|
"how": "The reconciliation of sisi itself is staged in docs/plan.md, with the dated record in docs/reconciliation/; a test checks that the plan names six stage words.",
|
|
"evidence": "docs/plan.md",
|
|
"gap": "A plan document and a test of its words: no product code reconciles a project in stages, and the test would not notice the stages being skipped.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Staging a reconciliation is a project process; no product code can enforce it."
|
|
},
|
|
{
|
|
"id": "R-19-2",
|
|
"status": "partial",
|
|
"how": "docs/reconciliation/inventory-base.json freezes an inventory of 41 modules and 47 commands at one commit.",
|
|
"evidence": "docs/reconciliation/inventory-base.json",
|
|
"gap": "Only modules and commands are inventoried; agents, prompts, tools, workflows, memory stores, evaluators, test infrastructure, policies, metrics and permission boundaries are not identified, and the test checks only two counts of at least 40.",
|
|
"gap_kind": "small",
|
|
"fix": "Extend the inventory to agents, prompts, tools, memory, evaluators and policies, with a test."
|
|
},
|
|
{
|
|
"id": "R-19-3",
|
|
"status": "partial",
|
|
"how": "docs/reconciliation/critique.md gives every module and command a verdict (keep, replace, rebuild, simplify, retire) with a short reason.",
|
|
"evidence": "docs/reconciliation/critique.md",
|
|
"gap": "No component is tied to a requirement id and no evidence is cited per row (a search for 'R-' in the critique finds nothing); the test checks only that each name appears in the document.",
|
|
"gap_kind": "small",
|
|
"fix": "Add a requirement id and evidence column per component and test that each is present."
|
|
},
|
|
{
|
|
"id": "R-19-4",
|
|
"status": "partial",
|
|
"how": "The critique sorts defects into flat-out wrong, missing and overbuilt, plus a 'what is good and stays' section.",
|
|
"evidence": "docs/reconciliation/critique.md:21",
|
|
"gap": "Ineffective mechanisms, duplicated responsibilities (mentioned once) and conflicting policies (not mentioned) are not classified systematically, and no test guards the classification.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Classifying liabilities is an analytic judgement recorded in the critique document."
|
|
},
|
|
{
|
|
"id": "R-19-5",
|
|
"status": "partial",
|
|
"how": "docs/reconciliation/baseline.json records pre-rebuild counts and hook timings (hook medians, prompt characters, module and test counts).",
|
|
"evidence": "docs/reconciliation/baseline.json",
|
|
"gap": "None of the six asked-for measures (intent fulfilment, correctness evidence, task time, cost, human intervention, rework) is in it, no test reads it, and I did not assess whether sisi/evaluate.py supplies a task-performance baseline.",
|
|
"gap_kind": "build",
|
|
"fix": "Measure intent, correctness, time, cost, intervention and rework over representative work as a baseline."
|
|
},
|
|
{
|
|
"id": "R-19-6",
|
|
"status": "partial",
|
|
"how": "Retirement is enforced by tests: dead code in sisi/ fails the suite, and the retired reporters, commands and lesson store are checked to be gone. The keep/rewrite/retire verdict for each module is only a document (docs/reconciliation/critique.md).",
|
|
"evidence": "tests/test_no_dead_code.py:18",
|
|
"gap": "No mechanism judges whether a component demonstrably contributes or costs more than its value; that was a one-off judgement written in a document, and nothing checks that useful assets are retained.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether a component contributes more than it costs is a judgement; code can only record it."
|
|
},
|
|
{
|
|
"id": "R-19-7",
|
|
"status": "partial",
|
|
"how": "canon/core.md states the objective in order and the rules; canon/protected.json names the non-negotiable rules the cycle refuses to touch; unit.policy_version hashes the rulebook, risk tables, enforced checks and config into every unit record.",
|
|
"evidence": "sisi/unit.py:164",
|
|
"gap": "The policy-version test varies only a risk table, so nothing fails if the rulebook is dropped from the hash or the objective sentence leaves core.md; the authority model and core definitions are prose, not versioned data.",
|
|
"gap_kind": "test",
|
|
"fix": "Add a test that fails when the objective sentence or rulebook is dropped from the policy version."
|
|
},
|
|
{
|
|
"id": "R-19-8",
|
|
"status": "met",
|
|
"how": "A unit opens with a contract (goal, scope, requirements with kinds, checks that can fail); close_unit archives it with telemetry, changed artifacts and every verification result; the gate asks for a retro and a recorded finding closes the unit.",
|
|
"evidence": "sisi/unit.py:648",
|
|
"test": "tests/test_unit.py::test_close_archives_all_fourteen_items",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-19-9",
|
|
"status": "met",
|
|
"how": "sisi/learning.py keeps learning records with mechanism type, scope and provenance; sisi/cycle.py validates before promoting, commits each change and revert_cycle restores exactly what a cycle touched.",
|
|
"evidence": "sisi/cycle.py:965",
|
|
"test": "tests/test_learning_loop.py::test_revert_undoes_only_that_cycle",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-19-10",
|
|
"status": "met",
|
|
"how": "sisi/evaluate.py captures cases from closed units and compare_for_candidate runs the same cases under the current and a candidate policy, naming regressions and refusing to call a faster but regressing candidate an improvement.",
|
|
"evidence": "sisi/evaluate.py:1100",
|
|
"test": "tests/test_evaluate.py::test_shadow_compares_current_and_candidate_policies",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-19-11",
|
|
"status": "partial",
|
|
"how": "The learning cycle verifies an effect: a promoted learning needs an expected effect and a validation method, a command check must fail before and pass after the fix, and recurrences after promotion flag it. One-bottleneck-at-a-time and no-wholesale-rewrite are not mechanised.",
|
|
"evidence": "sisi/cycle.py:613",
|
|
"gap": "Nothing in the product makes or checks that evolution proceeds one bottleneck at a time or that a rewrite is justified by evidence; I found no record establishing that the rebuild was necessary, only per-module verdicts.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Evolving one bottleneck at a time is a discipline; no code can verify it."
|
|
},
|
|
{
|
|
"id": "R-19-12",
|
|
"status": "partial",
|
|
"how": "The unit record and `sisi status` explain what was done, what it cost, what evidence was produced and what was learned (eight scorecard dimensions, each value classed), and that report is tested. The build order itself is not something the product can show.",
|
|
"evidence": "sisi/scorecard.py:152",
|
|
"gap": "Nothing enforces or records that observability came before self-optimization; the cycle is gated on validation, not on the report existing, and the milestone ordering is only a statement in the design.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Build ordering is a design statement the product cannot check."
|
|
},
|
|
{
|
|
"id": "R-20-1",
|
|
"status": "not-applicable",
|
|
"how": "This is the lead-in sentence that introduces the conformance checklist; it places no requirement of its own on the product.",
|
|
"gap": "Lead-in only; the capabilities it introduces are graded one by one as R-20.1-1 to R-20.2-6."
|
|
},
|
|
{
|
|
"id": "R-20.1-1",
|
|
"status": "partial",
|
|
"how": "The objective and its order are written in canon/core.md; canon/protected.json holds the non-negotiable rules, which sisi/cycle.py refuses to replace or disable; unit.policy_version versions the rulebook, risk tables, enforced checks and config per unit.",
|
|
"evidence": "sisi/unit.py:164",
|
|
"gap": "No test fails if the objective text is removed from core.md, and the policy-version test changes only a risk table, so the rulebook's part of the version is unconfirmed.",
|
|
"gap_kind": "test",
|
|
"fix": "Add a test that fails if the objective text is removed from core.md."
|
|
},
|
|
{
|
|
"id": "R-20.1-2",
|
|
"status": "partial",
|
|
"how": "The contract carries the goal in the person's words and a requirement list with kinds, and for integration and above the gate names each missing piece. Treating intent and ownership as primary is otherwise rule 1, which the agent may follow or not.",
|
|
"evidence": "sisi/assure.py:107",
|
|
"gap": "Below integration no requirement model is demanded, and nothing checks that the agent pursued the user's actual outcome rather than the literal request; that rests on written advice.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Treating user intent as primary is a quality of thinking; no code can check it."
|
|
},
|
|
{
|
|
"id": "R-20.1-3",
|
|
"status": "met",
|
|
"how": "The unit is bound to the main session and the end-of-turn gate judges that session's own edits and sends it back; workers and subagents are exempt from the guards and are never blocked, so the main thread is the one held to delivery.",
|
|
"evidence": "sisi/gate.py:542",
|
|
"test": "tests/test_gate.py::test_a_source_change_without_a_contract_is_sent_back_once_with_the_list",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-20.1-4",
|
|
"status": "met",
|
|
"how": "The contract bounds a unit with goal, scope in/out, requirements and checks that can fail; the before-tool guard (sisi/unitguard.py check) refuses a non-trivial change when the session holds no valid unit, and the gate does the same at end of turn.",
|
|
"evidence": "sisi/unitguard.py:790",
|
|
"test": "tests/test_gate.py::test_a_source_change_without_a_contract_is_sent_back_once_with_the_list",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-20.1-5",
|
|
"status": "met",
|
|
"how": "verify.record stores every result with status, duration and failure evidence; close_unit archives the unit with its telemetry, changed artifacts, checks, verification results and scorecard.",
|
|
"evidence": "sisi/unit.py:648",
|
|
"test": "tests/test_unit.py::test_close_archives_all_fourteen_items",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-20.1-6",
|
|
"status": "partial",
|
|
"how": "When checks are green and the unit is open, the gate offers the retro; a recorded, non-generic finding closes the unit and archives it. It is not mandatory: a trivial change is asked nothing, and after three send-backs the gate releases the unit as unverified with no analysis.",
|
|
"evidence": "sisi/gate.py:542",
|
|
"gap": "The analysis can be skipped: bounded send-backs release the unit without a retro, and units below isolated get no retro unless an anomaly shows.",
|
|
"gap_kind": "boundary",
|
|
"fix": "Bounded send-backs release units without a retro; remove the release path for non-trivial units."
|
|
},
|
|
{
|
|
"id": "R-20.1-7",
|
|
"status": "met",
|
|
"how": "Learning records live in the user store with provenance, and scope is earned: a learning from one unit is delivered only in its own project until it is seen in two units in two projects or is an owner statement.",
|
|
"evidence": "sisi/learning.py:457",
|
|
"test": "tests/test_learning_loop.py::test_one_unit_learning_not_delivered_in_other_project",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-20.2-1",
|
|
"status": "met",
|
|
"how": "sisi/routing.py picks the cheapest worker that is capable enough for the kind and difficulty from judged records, prices and standings, and the delegation guard refuses a delegation that names no model or the session's own, handing over that pick.",
|
|
"evidence": "sisi/routing.py:105",
|
|
"test": "tests/test_meter.py::test_a_delegation_naming_no_model_is_refused_with_the_recommendation",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-20.2-2",
|
|
"status": "partial",
|
|
"how": "workers.delegations_for_project counts delegations and overlapping pairs for a unit's window and the scorecard's parallelism dimension stores them with worker minutes against wall time. Whether to parallelise rests on rule 6.",
|
|
"evidence": "sisi/scorecard.py:209",
|
|
"gap": "No coordination cost is measured (the word appears nowhere in sisi/), and overlap is counted without judging whether it shortened the critical path.",
|
|
"gap_kind": "build",
|
|
"fix": "Measure coordination cost and whether overlap shortened the critical path."
|
|
},
|
|
{
|
|
"id": "R-20.2-3",
|
|
"status": "met",
|
|
"how": "risk.floor_for_working_tree maps changed paths to a risk floor through canon/risk.json, and the gate demands what that profile needs; verify.run runs a check only when a changed path matches its when_changed and records the skip reason otherwise.",
|
|
"evidence": "sisi/risk.py:268",
|
|
"test": "tests/test_verification.py::test_when_changed_selects_by_change",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-20.2-4",
|
|
"status": "partial",
|
|
"how": "build_scorecard stores time to first result and to completion, tokens and estimated cost, human messages and question dialogs, gate send-backs under retries, and requirements with a passing check, each with a class and unavailable rather than zero.",
|
|
"evidence": "sisi/scorecard.py:152",
|
|
"gap": "Rework is only the gate's send-backs (no re-done delegations or edits), outcome quality is only requirements with a passing check plus delivery status, and human corrections are inferred, not measured.",
|
|
"gap_kind": "small",
|
|
"fix": "Record human effort and rework as measured values in the scorecard."
|
|
},
|
|
{
|
|
"id": "R-20.2-5",
|
|
"status": "partial",
|
|
"how": "The fourth identical failing command is refused once with a reason, an unavailable worker is classified and the next worker is handed over (the turn is sent back if no fallback starts), and `sisi route --retry-of` moves to stronger evidence after rejections. There is no time-based stall detection.",
|
|
"evidence": "sisi/orchestration.py:619",
|
|
"gap": "Nothing detects a stall over time (no meaningful progress in an interval); the repeat refusal fires once and then the same command is let through, and the send-backs are bounded.",
|
|
"gap_kind": "build",
|
|
"fix": "Detect time-based stalls with no meaningful progress and change strategy."
|
|
},
|
|
{
|
|
"id": "R-20.2-6",
|
|
"status": "met",
|
|
"how": "learning.delivery_text selects the learnings in scope for the request and prompt.build_context adds them to what the session is given, so a later session in scope receives them without asking.",
|
|
"evidence": "sisi/learning.py:457",
|
|
"test": "tests/test_learning_loop.py::test_delivery_works_for_long_prompts",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-20.2-7",
|
|
"status": "met",
|
|
"how": "unit.policy_version hashes the rulebook, both risk tables, the enforced checks and the gate/verify config into a version stored on every closed unit and used as a trend segment; rollback is cycle.revert_cycle (sisi cycle revert, restores the files and records one cycle changed) and release.cmd_rollback (sisi rollback, returns to the previous release).",
|
|
"evidence": "sisi/unit.py:164",
|
|
"test": "tests/test_unit.py::test_policy_version_is_stable_and_follows_the_policies",
|
|
"audit": "confirmed"
|
|
},
|
|
{
|
|
"id": "R-20.3-1",
|
|
"status": "partial",
|
|
"how": "Closing a unit stores a benchmark case from the real work (evaluate.capture_case) and harvested tasks become cases (taskset.to_benchmark_case); a cycle can add a case for a learning (the benchmark action).",
|
|
"evidence": "sisi/evaluate.py:170",
|
|
"gap": "The failure-mode half is untested: the cycle's benchmark action (sisi/cycle.py:587) is only exercised by a path-escape refusal test, and no test shows a promoted case landing in the suite.",
|
|
"gap_kind": "test",
|
|
"fix": "Add a test that a promoted failure-mode case lands in the benchmark suite."
|
|
},
|
|
{
|
|
"id": "R-20.3-2",
|
|
"status": "partial",
|
|
"how": "Cases carry a dev/holdout/counterexample split, select_cases refuses held-out cases for tuning or shadow runs, and compare_for_candidate runs a dev sample plus every counterexample under a candidate policy; compare_versions refuses to call a regressing candidate an improvement.",
|
|
"evidence": "sisi/evaluate.py:1100",
|
|
"gap": "Nothing makes a policy change be tested: compare_for_candidate is called only from the eval command line (sisi/evaluate.py:1522), so a promoted or approved policy is never blocked for lacking a comparison, and the holdout split is never run by an automatic path.",
|
|
"gap_kind": "build",
|
|
"fix": "Require holdout and counterexample comparison before approving any policy change."
|
|
},
|
|
{
|
|
"id": "R-20.3-3",
|
|
"status": "partial",
|
|
"how": "evaluate.judge_result stores an outside judge's verdict with judged_by and refuses a judge from the same maker as the worker, so a self-assessment is never recorded as independent.",
|
|
"evidence": "sisi/evaluate.py:1200",
|
|
"gap": "Judging is only started by the eval command (the sole caller is sisi/evaluate.py:1536); no gate, cycle or close requires an independent judgement, so self-scored results are simply left unjudged rather than refused.",
|
|
"gap_kind": "small",
|
|
"fix": "Require an independent judgement before a promotion is accepted, not only when eval is run."
|
|
},
|
|
{
|
|
"id": "R-20.3-4",
|
|
"status": "partial",
|
|
"how": "A learning can name mechanism verification, and a cycle promotes a learning into an enforced command check or contract requirement, the command check being replayed to fail before and pass after the fix.",
|
|
"evidence": "sisi/cycle.py:48",
|
|
"gap": "The cycle's mechanism kinds are contract-requirement, command-check, library, rule-add, rule-replace, risk, routing and benchmark only; the retro's verification mechanism type has no action of its own, and nothing measures whether assurance gets stronger over time.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether verification infrastructure improves over time is judgement, not a code check."
|
|
},
|
|
{
|
|
"id": "R-20.3-5",
|
|
"status": "partial",
|
|
"how": "compare_versions sets median and p95 minutes and cost beside pass rate and returns 'not an improvement' when a case that passed now fails; sisi status prints time trends by project, risk profile, model and policy version.",
|
|
"evidence": "sisi/evaluate.py:1072",
|
|
"gap": "The comparison has no user-acceptance counter-metric (only pass rate), cost is absent from the status trends, and no reduction is demonstrated: both tools must be run by hand on enough cases.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Demonstrating latency and cost reduction needs real runs; no code can show it."
|
|
},
|
|
{
|
|
"id": "R-20.3-6",
|
|
"status": "partial",
|
|
"how": "The scorecard counts requirements added after the first verification (surprise) and human corrections (inferred) for each unit.",
|
|
"evidence": "sisi/scorecard.py:166",
|
|
"gap": "Surprise is not among the trend metrics, so no change over time is shown; human corrections are inferred from the transcript; and nothing demonstrates improvement in requirement inference.",
|
|
"gap_kind": "small",
|
|
"fix": "Add requirements-added-after-verification to the trend metrics in sisi status."
|
|
},
|
|
{
|
|
"id": "R-20.3-7",
|
|
"status": "partial",
|
|
"how": "add_recurrence counts recurrences after promotion and flags a learning after two; learning_report prints units since, recurrences, a verdict and a realization rate only when five promoted learnings have five relevant units; a cycle that leaves a flagged learning unacted is refused.",
|
|
"evidence": "sisi/learning.py:687",
|
|
"gap": "The effect is measured only as absence of a resembling finding; the expected effect recorded at promotion is stored and printed (sisi/cycle.py:304) but never measured, and nothing is demonstrated until the thresholds are met.",
|
|
"gap_kind": "build",
|
|
"fix": "Measure the expected effect recorded at promotion, not only absence of recurrence."
|
|
},
|
|
{
|
|
"id": "R-20.3-8",
|
|
"status": "partial",
|
|
"how": "learning_report says no improvement is claimed from counts and prints 'too few' instead of a rate; trends print 'too few' under five units and no single score; a comparison that regresses is verdicted 'not an improvement'.",
|
|
"evidence": "sisi/learning.py:727",
|
|
"gap": "Compliance rests on the wording of three reporters; no code joins learning counts to outcomes, and I found no test that would fail if another report (retro, lessons, workers, session start) claimed improvement from counts.",
|
|
"gap_kind": "test",
|
|
"fix": "Add a test that fails if any report claims improvement from counts alone."
|
|
},
|
|
{
|
|
"id": "R-21-1",
|
|
"status": "partial",
|
|
"how": "docs/design.md records the choices sisi made (where things live, risk profiles, record fields, enforcement) with SPEC section numbers in brackets.",
|
|
"evidence": "docs/design.md:36",
|
|
"gap": "Documentation only: links are to section numbers, not to requirement ids, none of the ten listed decisions is called an implementation decision or traced one by one, and no test would fail if the links were removed.",
|
|
"gap_kind": "small",
|
|
"fix": "Link design decisions to requirement ids and test that each link resolves."
|
|
},
|
|
{
|
|
"id": "R-21-2",
|
|
"status": "partial",
|
|
"how": "canon/protected.json names five non-negotiable rules a cycle must never replace or disable, rule changes that reach every project are held for the owner's decision, and SPEC.md is pinned by hash in tests/test_spec.py.",
|
|
"evidence": "canon/protected.json:2",
|
|
"gap": "The protected list names rule ids, not the objective statement in the rulebook's opening section; I found no check that a rule-add, a rule-replace or an owner statement leaves that statement unchanged, so non-redefinition rests on the owner reading what he approves.",
|
|
"gap_kind": "small",
|
|
"fix": "Protect the objective statement in the rulebook so no rule-add or replace can change it."
|
|
},
|
|
{
|
|
"id": "R-D-1",
|
|
"status": "partial",
|
|
"how": "sisi status groups closed units by project, risk profile, model and policy version and reports median and p95 only for segments of five or more units.",
|
|
"evidence": "sisi/scorecard.py:296",
|
|
"gap": "It segments comparable work but judges nothing: no output says whether the organization is succeeding, and increasing difficulty is not modelled beyond the risk profile.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether the organization is succeeding is a judgement no output can make."
|
|
},
|
|
{
|
|
"id": "R-D-2",
|
|
"status": "partial",
|
|
"how": "The contract guard refuses a non-trivial build until the unit carries a requirement list, and the scorecard records requirements total, those with a passing check, surprise and human corrections.",
|
|
"evidence": "sisi/unitguard.py:506",
|
|
"gap": "sisi forces a requirement list and measures it, but the list is the agent's own words: nothing checks that the requirements match the user's actual intent, and no improvement over time is shown.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether requirements match the user's intent is judgement; the owner must confirm."
|
|
},
|
|
{
|
|
"id": "R-D-3",
|
|
"status": "partial",
|
|
"how": "A requirement's kind can be implied or anticipated and its decision now, architect, defer or ignore, with the contract also holding scope in and out and deferred items.",
|
|
"evidence": "sisi/contract.py:39",
|
|
"gap": "The fields exist but are filled in by the agent; I found no check that implied needs were looked for, and prompting and scope waste are only partly counted (question dialogs), with no trend.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Anticipating implied needs is judgement; the product can only record what was considered."
|
|
},
|
|
{
|
|
"id": "R-D-4",
|
|
"status": "partial",
|
|
"how": "assure.missing and the gate require, by risk profile, a contract, non-vacuous checks with covers, invariants, a risk note and independent evidence; a result that did not run is never reported as passed.",
|
|
"evidence": "sisi/assure.py:107",
|
|
"gap": "The gate checks that evidence is present, able to fail and honestly labelled; it does not judge whether a check is strong or relevant enough for its claim, which is left to the agent's prose in covers.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether a check is strong enough for its claim is judgement left to the agent."
|
|
},
|
|
{
|
|
"id": "R-D-5",
|
|
"status": "partial",
|
|
"how": "The scorecard records time to first useful result and to validated completion, and sisi status prints their median and p95 per segment.",
|
|
"evidence": "sisi/scorecard.py:195",
|
|
"gap": "Measured and trended only: no mechanism or verdict shows delivery getting faster, and the time values come from telemetry that may be unavailable.",
|
|
"gap_kind": "build",
|
|
"fix": "Derive a trend verdict showing delivery getting faster across comparable units."
|
|
},
|
|
{
|
|
"id": "R-D-6",
|
|
"status": "partial",
|
|
"how": "The router picks the cheapest capable worker, the before-tool hook refuses direct work past a budget and delegations that name no model or the session's own, and the scorecard records tokens and estimated cost per unit.",
|
|
"evidence": "sisi/orchestration.py:443",
|
|
"gap": "Allocation is enforced, but cost per accepted and verified change is not computed or trended (the status trends carry tokens, not cost), and no reduction is demonstrated.",
|
|
"gap_kind": "build",
|
|
"fix": "Compute and trend cost per accepted and verified change across units."
|
|
},
|
|
{
|
|
"id": "R-D-7",
|
|
"status": "partial",
|
|
"how": "The scorecard counts human messages, question dialogs and inferred corrections and trends corrections; the hooks keep the agent inside authorization (contract guard, protected rules, approve needing a typed word).",
|
|
"evidence": "sisi/scorecard.py:217",
|
|
"gap": "Supervision burden is counted, not reduced by any mechanism, corrections are inferred, and a fall in corrections is never set against authorization breaches to show one without the other.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Reducing supervision burden is an outcome of the work; code can only count it."
|
|
},
|
|
{
|
|
"id": "R-D-8",
|
|
"status": "partial",
|
|
"how": "The scorecard records files and lines changed, tests changed with code and public surface touched, and the gate requires invariants for what exists from the integration profile up.",
|
|
"evidence": "sisi/scorecard.py:222",
|
|
"gap": "Lifecycle quality is measured per unit and is not among the trend metrics; nothing checks that quality or evolvability improves.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Whether long-term quality improves is judgement; code can only measure size and surface."
|
|
},
|
|
{
|
|
"id": "R-D-9",
|
|
"status": "partial",
|
|
"how": "At the end of a green turn the gate offers the retro or a pause, a retro needs at least one concrete finding and closes the unit, and the cycle validates a command check by replay before promoting it.",
|
|
"evidence": "sisi/gate.py:213",
|
|
"gap": "Not every engagement: a trivial change is asked nothing and a pause ends the turn with no finding; a finding may be recorded or dropped; and only command checks are validated, the other mechanism kinds take effect unvalidated.",
|
|
"gap_kind": "boundary",
|
|
"fix": "Trivial units and pauses exempt from findings by design; remove the exemption to close it."
|
|
},
|
|
{
|
|
"id": "R-D-10",
|
|
"status": "partial",
|
|
"how": "Learnings in scope are delivered with each prompt, a recurrence after promotion counts against the learning, two flag it, and a cycle that does not revise or revert a flagged learning is refused.",
|
|
"evidence": "sisi/learning.py:517",
|
|
"gap": "sisi reminds and flags but cannot make the organization avoid a known failure; sustained benefit is inferred from absence of recurrence of a resembling finding, not from the expected effect, and no benefit is demonstrated.",
|
|
"gap_kind": "judgement",
|
|
"fix": "Sustained benefit and avoided failures are judgement; absence of recurrence is only a proxy."
|
|
}
|
|
]
|