Run a Feature Decision Table Before Writing the Implementation
A feature can sound settled until someone asks about a specific combination of inputs.
An editor can share a document. Inactive members cannot share. What happens when an editor's membership is inactive?
That question can surface in a planning meeting, during implementation, or after release. Intent Workbench provides a small place to examine such cases before the rules are embedded in application code.
Make the disagreement executable
The inputs are explicit facts such as role, visibility, and membership status. The model is a bounded decision table supplied by the team. The evaluator shows which rules match and whether they resolve to a consistent outcome.
The important distinction is between a model that can be parsed and a model whose rules cover a particular case. A structurally valid table can contain conflicting behavior.
For the editor with inactive membership, the bundled v1 model matches rules that produce conflicting outcomes. The evaluator returns a conflict, with the relevant rule IDs and no chosen prediction. It does not use the order of the rules to conceal the disagreement.
Other outcomes need their own explanations. Missing input is different from a case where every required fact is present but no rule matches. A useful feature conversation should be able to distinguish those states.
Explore the conflict
Use Python 3.11 or newer. The CLI runtime uses only the standard library:
git clone https://github.com/asadani/intent-workbench.git cd intent-workbench out_dir="$(mktemp -d)" python -m intent_workbench validate fixtures/sharing-v1.json python -m intent_workbench evaluate fixtures/sharing-v1.json \ --input fixtures/input.json --out "$out_dir/evaluation.json" Validation succeeds. Evaluation exits with status 1, which is expected for the deliberately conflicting case. The resulting JSON has a conflict status, a null outcome, and the matching rules.
Next, compare the proposed revision against saved cases:
python -m intent_workbench compare \ fixtures/sharing-v1.json fixtures/sharing-v2.json \ fixtures/cases.json --out "$out_dir/comparison.json" python -m intent_workbench build fixtures/sharing-v2.json \ --out "$out_dir/workbench.html" The comparison identifies the prediction change for the editor/inactive case. The HTML output is a self-contained workbench for adjusting input values and inspecting outcomes in a browser.
Keep expected behavior separate from predictions
A rule engine can tell you what a table predicts. It cannot tell you whether the product team intended that prediction.
Saved cases therefore distinguish human-confirmed expectations from model predictions. Exporting a case should not promote whichever result the evaluator happened to produce into an approved requirement.
This separation is especially useful when a revision changes several cases. A team can inspect each change, agree on the intended behavior, and retain that expectation for implementation work. A changed prediction is an invitation to discuss the requirement, not an automatic update to the acceptance criteria.
Use a deliberately small language
The current rules support equality, membership, integer bounds, and conjunction across a rule's conditions. They do not contain arbitrary expressions, priorities, prose extraction, or production enforcement.
That boundary keeps the table reviewable. It also means teams must supply the meaning of the inputs. If group inheritance determines membership, another system or discussion must establish that fact. The workbench does not implement the inheritance semantics itself.
The model is useful only if the people responsible for the feature can inspect and accept it. A large table no one understands would move the ambiguity into a different file.
Bring three awkward cases to planning
Start with one feature and a few combinations that could plausibly cause disagreement. Include a normal case, a boundary case, and a case where two rules appear to compete. Inspect the matching rules together before discussing code structure.
The test of value is whether this reveals unresolved decisions early and leaves reusable, confirmed cases. A deterministic answer is easy to produce; an agreed answer is the artifact worth keeping.
The MIT-licensed repository includes the two model revisions, case fixtures, CLI commands, and offline HTML builder.
AI disclosure: This article was drafted with AI assistance using the implementation and documented examples. The sharing policy is a synthetic demonstration, not a report of a production authorization system.