Open History to see the last commit
1# Law discovery
2
3**Use when:** a bug, example, or implementation exists but the promised behavior
4is unclear; several supplied reports may share a law; or an existing law might
5conflate distinct obligations.
6
7**Inputs:** the question, contract sources, known examples, existing oracle owner
8and limits, and the public observation that matters. A missing authority is an
9input gap, not permission to infer a promise from production.
10
11With several supplied reports or examples, ask whether one caller-visible
12obligation predicts their different symptoms. Name its common preconditions,
13check an apparent outlier and a nearby case it should permit, and split the
14proposal if those cases require different promises. A descriptive cluster is a
15lead, not evidence that one contract governs every item.
16
17## Operation
18
191. State the obligation in domain terms before describing machinery: for which
20 legal inputs or histories, under which preconditions, what must be observable
21 at which checkpoint? Include what can still be pending or unspecified.
222. Trace its authority. Separate accepted contract, observed current behavior,
23 mathematical consequence, and proposed design. Explain why the obligation
24 matters to a caller. A mathematical rule still needs an argument that it is
25 the right rule for this API.
263. Form a plausible rival interpretation. Derive both predictions for the
27 smallest legal case that separates them, without consulting production for
28 the expected answer. If authority does not select a prediction, retain the
29 design question instead of turning one guess into an assertion.
304. Compare an ordinary case with a nearby boundary case. Vary a relevant
31 condition such as cardinality, ordering, identity, authority, or observation
32 time. Keep other conditions fixed where possible. Check the boundary is
33 within the claimed domain.
345. Describe the smallest independent model that can make those predictions.
35 For any proposed merge of model states, ask whether a legal next action can
36 distinguish them. Map model abstractions to the project vocabulary.
37
38**Return:** the candidate law and status, its source, rival predictions, a
39concrete distinguishing witness, and the next experiment or unresolved decision.
40For a simple law, a short paragraph and a worked example suffice.
41
42**Control:** try a legal alternative implementation. Does the proposed law
43reject it only because its scheduling or representation differs? Also try a
44plausible wrong result: could the proposed observation distinguish it?
45
46**Distortion:** freezing an implementation accident into a law; treating a vivid
47edge case as representative; or overstating what is owed at an intermediate cut.
48
49**Stop when:** the law is precise enough to enact independently, or a named
50missing authority or fact prevents choosing between predictions. Continue other
51authorized work while keeping that choice unresolved.
52
53Adapted from Field Lab's assumption mapping and ground-condition probe.