Secret finisher
secret-finisher · an adoption of Action legibility, version 1
Use in your game
Opens the authoring tool with these answers and settings already filled in. You still add your game's own rules and tuning.
What is in the ZIP
The ZIP holds the adoption and its acceptance tests. In the authoring tool, choose Add contract and pick this ZIP. If you keep your design as files, put them in contracts/.
The contract behind it
Covers which actions players can discover in each situation, how availability is presented, and what an unavailable action shows. It also covers which action is offered when one control signal has several candidate actions. Physical controls, input timing help, displayed game facts, and event order stay elsewhere.
Questions
The supplied answer is marked on each question. Pick other answers to see what changes. Nothing is saved here: the ZIP and the authoring tool use the supplied answers.
How can players normally discover an action while it matters?
- Asked when
- the action cases list has at least one row.
- If not asked
- With no action case, this adoption makes no game-wide discovery promise.
Why this is asked
Different actions may need different help. This answer supplies the ordinary choice before a particular action states another one.
What normally appears when an action cannot be used?
- Asked when
- the action cases list has at least one row.
- If not asked
- With no action case, this adoption makes no game-wide unavailable-action promise.
Why this is asked
A missing prompt, a dimmed control, and an explanation create different expectations. This answer supplies the ordinary choice.
Numbersno numbers
This contract has no numbers to set.
Rules1 rule
A rule is a check between the numbers. Validation reports a rule that fails.
-
Forbidden when Action discovery default is None, and Unavailable action default is Reason is shown.
Lists3 lists
Each list holds the rows this adoption supplies. A list can be empty.
Action cases
action-cases
| Id | Action declared in | Situation declared in | Discoverability | When unavailable | Presentation rule declared in |
|---|---|---|---|---|---|
secret-finisher | combat.secret-finisher | combat.final-round-range | none | unchanged | combat.secret-finisher-has-no-discovery-route |
Availability presentations
availability-presentations
This adoption declares no availability presentations.
Shared input cases
shared-input-cases
This adoption declares no shared input cases.
Test inputsscope and seeds
Some tests need a scope or seeds from the adoption before they can run.
This adoption supplies none; every test uses its defaults.
Acceptance tests18 tests apply
The contract comes with 52 tests. A test that runs once per row is counted once for each row. Tests that do not apply to these answers are still listed, with the reason.
action-legibility-vocabulary
action legibility uses one action input, action cases, candidates, and offered actions
Applies to secret-finisher.
An action input is one game-facing signal from Control options when that contract is adopted, otherwise from the game's Fixed control rule. An action case is one action in one cited situation. A candidate is an action the input carries whose permission or forgiveness acceptance holds at the accepted moment. An action is offered when selection identifies it to the player.
Test steps and diagnostics
- Given
where the adoption or its cited control rules name an action input; where none is named, this trial asserts nothing; the
secret-finisheradoption and a player-facing physical control- When
- the control path, matching action cases, candidate actions, and offered result are identified
- Then
- the action input is one game-facing signal from Control options when adopted and otherwise from the game's Fixed control rule
- each action case is one action in one cited situation
- a candidate is an action the input carries whose binding context, when one exists, holds and whose ordinary permission or Input forgiveness acceptance holds at the accepted moment
- an action is offered only when it is identified to the player as the result of selection
- Diagnostics
secret-finisher-candidate-setsecret-finisher-offered-action
no-action-case-makes-no-promise
no matching action case makes no action-legibility promise
Applies to secret-finisher.
Where no matching action case exists because the adoption has no action-cases row, the adoption makes no discovery, unavailable-presentation, or availability promise and both game-wide answers are absent. Where an action case exists, this test asserts nothing.
Test steps and diagnostics
- Given
the
secret-finisheradoption, its action-cases rows, and its game-wide answers- When
- the adoption's action-legibility promises are read
- Then
- where no matching action case exists because the adoption has no action-cases row, the adoption makes no discovery, unavailable-presentation, or availability promise and the game-wide discovery and unavailable-action answers are both absent; where an action case exists, this test asserts nothing
- Diagnostics
secret-finisher-declaration-record
action-case-matches-cited-situation · secret-finisher
secret-finisher applies exactly in its cited situations
Applies to the secret-finisher row.
Action case secret-finisher applies in every situation named at combat.final-round-range and does not apply in any situation excluded there. It applies on every platform the adoption covers; platform variation lives only in availability-presentations rows. The test leaves the rule's content to that citation. A situation the citation does not classify asserts nothing.
Test steps and diagnostics
- Given
the action case
secret-finisherand the Fixed situation rule atcombat.final-round-range- When
- the cited covered situations and the nearest similar excluded situations are each reached
- Then
secret-finisherapplies in every situation the citation coverssecret-finisherdoes not apply in any situation the citation excludessecret-finisherapplies on every platform the adoption covers; platform variation lives only in availability-presentations rows- a situation the citation neither covers nor excludes asserts nothing
- Diagnostics
secret-finisher-situation-trace
discovery-looks-usable-override
Row.id looks usable by its row answer
Does not apply to secret-finisher: no row in action-cases matches discoverability looks usable.
discovery-looks-usable-default
Row.id looks usable by the game default
Does not apply to secret-finisher: no row in action-cases matches discoverability use game default.
discovery-explanation-on-demand-override
Row.id has an explanation route by its row answer
Does not apply to secret-finisher: no row in action-cases matches discoverability explanation on demand.
discovery-explanation-on-demand-default
Row.id has an explanation route by the game default
Does not apply to secret-finisher: action discovery default is looks usable, not explanation on demand.
discovery-current-binding-override
Row.id shows the current device control by its row answer
Does not apply to secret-finisher: no row in action-cases matches discoverability current binding is shown.
discovery-current-binding-default
Row.id shows the current device control by the game default
Does not apply to secret-finisher: action discovery default is looks usable, not current binding is shown.
discovery-assistive-name-override
Row.id exposes its name and role by its row answer
Does not apply to secret-finisher: no row in action-cases matches discoverability assistive tech can name it.
discovery-assistive-name-default
Row.id exposes its name and role by the game default
Does not apply to secret-finisher: action discovery default is looks usable, not assistive tech can name it.
discovery-none-override · secret-finisher
secret-finisher promises no discovery route by its row answer
Applies to the secret-finisher row.
Audit class: observer-judged. An observer, not the running game, judges this. The row overrides the game default: secret-finisher promises no identity or availability before the attempt. Accidental discovery and memorable content do not violate this answer; secrecy beyond that promise is outside the contract.
Test steps and diagnostics
- Given
secret-finisherbefore an attempt in every situation atcombat.final-round-range- When
- an observer examines every player-facing presentation before the attempt
- Then
- no presentation promises the action's identity or availability before the attempt
- accidental discovery and memorable authored content do not fail this answer
- Diagnostics
secret-finisher-secret-finisher-observer-resultsecret-finisher-presentation-trace
discovery-none-default
Row.id promises no discovery route by the game default
Does not apply to secret-finisher: action discovery default is looks usable, not none.
action-permission-remains-cited · secret-finisher
secret-finisher uses its cited ordinary permission
Applies to the secret-finisher row.
Ordinary permission for secret-finisher stays at combat.secret-finisher. This contract grants none and does not make an unavailable action succeed. Where the cited rule admits no unavailable state, that comparison asserts nothing. The test restates nothing from the cited action rule.
Test steps and diagnostics
- Given
the action at
combat.secret-finisherin an ordinarily permitted state and, where the cited action rule admits one, an ordinarily unavailable state in a covered situation- When
- the player attempts the action in each state
- Then
- ordinary permission is read from
combat.secret-finisher - this contract grants no permission
- where an unavailable state exists, the unavailable attempt does not succeed because of any discovery route, availability presentation, or shared-input selection; where none exists, this clause asserts nothing
- ordinary permission is read from
- Diagnostics
secret-finisher-permission-trace
presentation-applies-on-covered-platforms
Row.id applies on its covered platform scope
Does not apply to secret-finisher: availability-presentations has no rows.
listed-action-presentations-agree
action presentations agree with the cited action cases
Applies to secret-finisher.
Audit class: observer-judged. An observer, not the running game, judges this. Every player-facing presentation of a covered action agrees with that action case's Fixed action citation and never presents it as another covered action. A presentation outside the stated scope asserts nothing.
Test steps and diagnostics
- Scope
every player-facing prompt, explanation, control reminder, and availability presentation
- Holds
each presentation of an action case agrees with its Fixed action citation and never presents one covered action as another; a player-facing presentation outside this scope asserts nothing
- Diagnostics
secret-finisher-observer-resultsecret-finisher-presentation-trace
remapped-prompt-updates-override
Row.id prompts update after a binding change by its row answer
Does not apply to secret-finisher: no row in action-cases matches discoverability current binding is shown.
remapped-prompt-updates-default
Row.id prompts update after a binding change by the game default
Does not apply to secret-finisher: action discovery default is looks usable, not current binding is shown.
unavailable-hidden-override
Row.id is hidden while unavailable by its row answer
Does not apply to secret-finisher: no row in action-cases matches when-unavailable hidden.
unavailable-hidden-default
Row.id is hidden while unavailable by the game default
Does not apply to secret-finisher: no row in action-cases matches when-unavailable use game default.
unavailable-shown-override
Row.id stays identifiable and distinctly unavailable by its row answer
Does not apply to secret-finisher: no row in action-cases matches when-unavailable shown unavailable.
unavailable-shown-default
Row.id stays identifiable and distinctly unavailable by the game default
Does not apply to secret-finisher: unavailable action default is hidden, not shown unavailable.
unavailable-reason-override
Row.id names its current block by its row answer
Does not apply to secret-finisher: no row in action-cases matches when-unavailable reason is shown.
unavailable-reason-default
Row.id names its current block by the game default
Does not apply to secret-finisher: unavailable action default is hidden, not reason is shown.
unavailable-unchanged-override · secret-finisher
secret-finisher looks identical across availability states by its row answer
Applies to the secret-finisher row.
Audit class: observer-judged. An observer, not the running game, judges this. The row overrides the game default: any player-facing presentation of secret-finisher that exists is identical while available and unavailable. If none exists, the comparison asserts nothing.
Test steps and diagnostics
- Given
any player-facing presentation of
secret-finisherthat exists once the action is available and once it is unavailable in the same covered situation- When
- an observer compares the two states
- Then
- where a player-facing presentation exists, it is identical across the available and unavailable states; where none exists, this comparison asserts nothing
- Diagnostics
secret-finisher-secret-finisher-observer-resultsecret-finisher-presentation-trace
unavailable-unchanged-default
Row.id looks identical across availability states by the game default
Does not apply to secret-finisher: unavailable action default is hidden, not unchanged.
unavailable-never-override
Row.id has no reachable unavailable state by its row answer
Does not apply to secret-finisher: no row in action-cases matches when-unavailable never unavailable.
unavailable-never-default
Row.id has no reachable unavailable state by the game default
Does not apply to secret-finisher: unavailable action default is hidden, not never unavailable.
action-channel-announces
Row.id presents its channel form through Bind channel phrase alone
Does not apply to secret-finisher: availability-presentations has no rows.
shared-input-stays-one
one action input stays one signal with its candidates
Applies to secret-finisher.
Where the adoption or its cited control rules name an action input, one action input is consumed once with all its candidates; where none is named, this trial asserts nothing. With exactly one candidate at the accepted moment, that candidate is offered and no shared-input-cases row is needed, as the contract says. With no candidate or several candidates, that offering clause asserts nothing.
Test steps and diagnostics
- Given
where the adoption or its cited control rules name an action input; where none is named, this trial asserts nothing; one action input carrying its candidate actions at an accepted moment
- When
- the candidate set is read
- Then
- the action input is consumed once with all its candidates and is never split into several inputs
- when exactly one candidate remains, that candidate is offered and no shared-input-cases row is needed, as the contract says
- when no candidate or several candidates remain, the at-most-one clause asserts nothing
- Diagnostics
secret-finisher-candidate-setsecret-finisher-offered-action
shared-input-rule-selects-one
Row.id offers one rule-selected candidate
Does not apply to secret-finisher: shared-input-cases has no rows.
shared-input-player-selects-one
Row.id offers one player-selected candidate
Does not apply to secret-finisher: shared-input-cases has no rows.
buffered-shared-input-reads-accepted-situation
Row.id reads a buffered shared input in its accepted situation
Does not apply to secret-finisher: shared-input-cases has no rows.
presentation-refreshes-after-change
availability and offered-action presentations refresh after relevant changes
Applies to secret-finisher.
Where an availability or offered-action presentation exists, a change in availability, situation, platform, binding, or candidate eligibility recomputes it from the fresh situation and declarations. A previous prompt or selection stays current only when the cited rules still select it. Without a presentation, or for a change the adoption cannot construct, the corresponding clause asserts nothing.
Test steps and diagnostics
- Given
where the adoption has a live availability or offered-action presentation, that presentation followed separately by a change in availability, situation, platform, binding, or candidate eligibility; where it has none, this trial asserts nothing
- When
- each change settles
- Then
- the presentation is recomputed from the fresh situation and matching declarations
- the previous prompt or selection remains current only when the cited rules still select it
- a kind of change the adoption cannot construct asserts nothing
- Diagnostics
secret-finisher-refresh-logsecret-finisher-prompt-bindingssecret-finisher-offered-action
action-legibility-authority-order
action legibility keeps its authority order
Applies to secret-finisher.
The contract reads situation, row defaults, ordinary permission, discovery, unavailable presentation, candidate set, shared-input selection at the accepted moment with its offered-action presentation, one action proposal, current-device binding, and refresh in that order. A part this adoption does not exercise asserts nothing.
Test steps and diagnostics
- Given
a covered action input and situation that exercise every applicable part of the
secret-finisheradoption- When
- the action input is settled
- Then
- the game reads situation, row defaults, ordinary permission, discovery, unavailable presentation, candidate set, shared-input selection at the accepted moment with its offered-action presentation, one action proposal, current-device binding, and refresh in that order
- a part the adoption does not exercise asserts nothing
- Diagnostics
secret-finisher-presentation-tracesecret-finisher-candidate-setsecret-finisher-offered-actionsecret-finisher-refresh-log
legibility-boundaries
the adoption makes no promise beyond action legibility
Applies to secret-finisher.
Physical controls, input timing help, displayed game facts, and event order each assert nothing here. A route that highlights without naming an action or explaining how to attempt it is not a discovery answer. A control layout the game's Fixed rules do not make a cited situation is not a situation of this contract.
Test steps and diagnostics
- Given
the
secret-finisheradoption and features outside its declared answers and rows- When
- the adoption's promise boundary is reviewed
- Then
- physical controls assert nothing
- input timing help asserts nothing
- displayed game facts assert nothing
- event order asserts nothing
- a route that highlights without naming an action or explaining how to attempt it is not a discovery answer
- a control layout the game's Fixed rules do not make a cited situation is not a situation of this contract
- Diagnostics
secret-finisher-declaration-record
effective-answers-have-legal-presentation-shape · secret-finisher
declaration check: secret-finisher has the presentation shape its effective answers require
Applies to the secret-finisher row.
This declaration check reads the adoption, not the running game. The action-cases description supplies all three duties. Resolve secret-finisher's effective answers from its row and the game defaults. For every platform the case covers, every effective discovery answer except none requires an applicable presentation row; none requires no presentation row; and none cannot pair with reason-is-shown. The inapplicable branch asserts nothing. Any other shape is a defect this test fails by construction.
Test steps and diagnostics
- Given
the
secret-finisheradoption, its two answers, and action casesecret-finisher, not the running game- When
- a reviewer resolves the row's effective discovery and unavailable answers
- Then
- when the effective discovery answer is not none, then for each platform the case covers, at least one availability-presentations row that applies on that platform names
secret-finisher, as the action-cases description requires; under none, this clause asserts nothing - when the effective discovery answer is none, no availability-presentations row names
secret-finisher, as the action-cases description requires; under another answer, this clause asserts nothing - the effective answers are never none together with reason-is-shown, as the action-cases description requires
- a missing row, forbidden row, or forbidden effective pair is a defect this test fails by construction
- when the effective discovery answer is not none, then for each platform the case covers, at least one availability-presentations row that applies on that platform names
- Diagnostics
secret-finisher-declaration-record
presentation-action-case-join
declaration check: Row.id names an action case in this adoption
Does not apply to secret-finisher: availability-presentations has no rows.
shared-input-completeness
declaration check: Row.id lists every candidate and always selects one
Does not apply to secret-finisher: shared-input-cases has no rows.
multi-candidate-input-has-one-row
declaration check: every multi-candidate input has exactly one matching row
Applies to secret-finisher.
This declaration check reads the adoption and its cited prose, not the running game. Every situation where one action input has several candidates must have exactly one matching shared-input-cases row. An input with at most one candidate asserts nothing in that comparison. A missing or duplicate match is a defect this test fails by construction.
Test steps and diagnostics
- Given
the
secret-finisheradoption and every cited situation where one action input can have several candidates, not the running game- When
- a reviewer matches shared-input-cases rows to those situations and inputs
- Then
- each action input with several candidates has exactly one matching shared-input-cases row
- an input with at most one candidate needs no row and asserts nothing in the multi-candidate comparison
- a missing or duplicate match is a defect this test fails by construction
- Diagnostics
secret-finisher-declaration-record
rows-do-not-repeat-or-overlap
declaration check: presentation pairs do not repeat and action cases do not overlap
Applies to secret-finisher.
This declaration check reads the adoption and its cited prose, not the running game. The availability-presentations description forbids a repeated action-case and channel pair, and the action-cases description forbids two cases for the same action in overlapping situations. The contract sets no maximum row count. A repetition or overlap is a defect this test fails by construction.
Test steps and diagnostics
- Given
the
secret-finisheradoption and its cited prose, not the running game- When
- a reviewer compares every presentation-row pair and every pair of action cases
- Then
- no two availability-presentations rows repeat one action-case and channel pair
- no two action-cases rows cover the same action in overlapping situations
- the contract imposes no maximum row count
- a repeated pair or overlapping action case is a defect this test fails by construction
- Diagnostics
secret-finisher-declaration-record
action-citation-duty · secret-finisher
declaration check: secret-finisher's action citation states its duty
Applies to the secret-finisher row.
This declaration check reads the adoption and combat.secret-finisher, not the running game. The citation must name secret-finisher's action, ordinary permission, and complete effect. A missing duty is a defect this test fails by construction. The test names the address and restates nothing from it.
Test steps and diagnostics
- Given
the
secret-finisheradoption andcombat.secret-finisher, not the running game- When
- a reviewer checks the citation's meaning
- Then
combat.secret-finishernames the action, its ordinary permission, and its complete effect- a missing duty is a defect this test fails by construction
- Diagnostics
secret-finisher-declaration-record
action-situation-citation-duty · secret-finisher
declaration check: secret-finisher's situation citation states its duty
Applies to the secret-finisher row.
This declaration check reads the adoption and combat.final-round-range, not the running game. The citation must name every covered play situation and the nearest similar excluded situations for secret-finisher. A missing duty is a defect this test fails by construction. The test names the address and restates nothing from it.
Test steps and diagnostics
- Given
the
secret-finisheradoption andcombat.final-round-range, not the running game- When
- a reviewer checks the citation's meaning
- Then
combat.final-round-rangenames every play situation covered bysecret-finisherand the nearest similar situations excluded from it- a missing duty is a defect this test fails by construction
- Diagnostics
secret-finisher-declaration-record
action-presentation-citation-duty · secret-finisher
declaration check: secret-finisher's presentation citation states its duty
Applies to the secret-finisher row.
This declaration check reads the adoption and combat.secret-finisher-has-no-discovery-route, not the running game. The citation must state every discovery route and unavailable state for secret-finisher, including an explicit no-route statement where applicable. A missing duty is a defect this test fails by construction. The test names the address and restates nothing from it.
Test steps and diagnostics
- Given
the
secret-finisheradoption andcombat.secret-finisher-has-no-discovery-route, not the running game- When
- a reviewer checks the citation's meaning
- Then
combat.secret-finisher-has-no-discovery-routestates every discovery route and unavailable state forsecret-finisher, including an explicit statement when no route exists- a missing duty is a defect this test fails by construction
- Diagnostics
secret-finisher-declaration-record
presentation-platform-citation-duty
declaration check: Row.id's platform citation states its duty
Does not apply to secret-finisher: availability-presentations has no rows.
channel-rule-citation-duty
declaration check: Row.id's channel citation states its duty
Does not apply to secret-finisher: availability-presentations has no rows.
shared-situation-citation-duty
declaration check: the situation citation of Row.id states its duty
Does not apply to secret-finisher: shared-input-cases has no rows.
shared-actions-citation-duty
declaration check: the candidate citation of Row.id states its duty
Does not apply to secret-finisher: shared-input-cases has no rows.
shared-action-input-citation-duty
declaration check: the action-input citation of Row.id states its duty
Does not apply to secret-finisher: shared-input-cases has no rows.
shared-selection-citation-duty
declaration check: the selection citation of Row.id states its duty
Does not apply to secret-finisher: shared-input-cases has no rows.
shared-presentation-citation-duty
declaration check: the presentation citation of Row.id states its duty
Does not apply to secret-finisher: shared-input-cases has no rows.
legibility-holds
action legibility holds for the whole run
Applies to secret-finisher.
Across every covered situation of the audited run on every covered platform, every available covered action meets its effective discovery promise; every unavailable covered action meets its effective unavailable answer; every channel distinguishes the states it promises; every shared input offers exactly one action before the attempt; and no prompt names a stale binding. A case the adoption cannot construct asserts nothing.
Test steps and diagnostics
- Holds
every available covered action met its effective discovery promise; every unavailable covered action met its effective unavailable answer; every availability-presentation channel distinguished the states it promises; every shared input offered exactly one action before the attempt; no prompt named a stale binding; a case the adoption cannot construct asserts nothing
- Seeds
["audit-a","audit-b"]- Scope
every covered situation of the audited run on every covered platform- Diagnostics
secret-finisher-observer-resultsecret-finisher-presentation-tracesecret-finisher-prompt-bindingssecret-finisher-candidate-setsecret-finisher-offered-actionsecret-finisher-refresh-log
JSONthe adoption as one file
The adoption file as supplied. Answers you try on this page are not written into it; to change an adoption, open it in the authoring tool.
{
"contract": "action-legibility",
"version": 1,
"summary": "Covers which actions players can discover in each situation, how availability is presented, and what an unavailable action shows. It also covers which action is offered when one control signal has several candidate actions. Physical controls, input timing help, displayed game facts, and event order stay elsewhere.",
"questions": {
"action-discovery-default": {
"asks": "How can players normally discover an action while it matters?",
"rationale": "Different actions may need different help. This answer supplies the ordinary choice before a particular action states another one.",
"when": {
"row-count": {
"action-cases": "non-empty"
}
},
"otherwise": "With no action case, this adoption makes no game-wide discovery promise.",
"options": {
"looks-usable": {
"meaning": "The action looks possible before it is tried. A platformer marks a climbable ledge with a clear edge shape.",
"semantics": "At least one player-facing presentation identifies that the action can be attempted in the current situation before the attempt."
},
"explanation-on-demand": {
"meaning": "An explanation is available while the action matters. An adventure game can name the key needed beside a sealed door.",
"semantics": "A player-facing route available in the current situation names the action and explains how to attempt it."
},
"current-binding-is-shown": {
"meaning": "The action prompt shows its current control. A racing game updates the pit-stop prompt after confirm moves to another button.",
"semantics": "Every prompt for the action names the current device's actual control under the applicable control rule. A wrong-device glyph, an old binding, or a hardware glyph in place of the actual touch region or gesture fails this promise."
},
"assistive-tech-can-name-it": {
"meaning": "Assistive technology can name the action and its purpose. A strategy game's screen reader identifies the end-turn control.",
"semantics": "A player-facing interface element exposes a determinable action name and role to supported assistive technology."
},
"none": {
"meaning": "The game gives no discovery route for the action. A fighting game leaves a secret finisher for players to uncover outside ordinary prompts.",
"semantics": "No player-facing presentation promises the action's identity or availability before it is attempted; accidental discovery and memorable authored content do not violate this answer."
}
}
},
"unavailable-action-default": {
"asks": "What normally appears when an action cannot be used?",
"rationale": "A missing prompt, a dimmed control, and an explanation create different expectations. This answer supplies the ordinary choice.",
"when": {
"row-count": {
"action-cases": "non-empty"
}
},
"otherwise": "With no action case, this adoption makes no game-wide unavailable-action promise.",
"options": {
"hidden": {
"meaning": "The action disappears while unavailable. A racing boost prompt vanishes while the boost meter is empty.",
"semantics": "The action's availability presentation is absent while the action cannot be attempted."
},
"shown-unavailable": {
"meaning": "The action stays visible but clearly unavailable. A card game dims a card that cannot be played this turn.",
"semantics": "The presentation keeps the action identifiable and carries a distinct unavailable state without promising a reason."
},
"reason-is-shown": {
"meaning": "The action stays visible and states why it is unavailable. A survival recipe says that two pieces of wood are missing.",
"semantics": "The presentation identifies the action, marks it unavailable, and states the current blocking reason."
},
"unchanged": {
"meaning": "Nothing changes when the action is unavailable. A mystery game's bookcase gives no hint that its hidden passage is locked.",
"semantics": "The action's player-facing presentation is identical across its available and unavailable states."
},
"never-unavailable": {
"meaning": "Nothing unavailable ever appears, because covered actions stay usable. A rhythm game's pause action works throughout every playable song moment.",
"semantics": "No reachable state in a covered situation makes the action unavailable."
}
}
}
},
"declares": {
"values": {},
"rows": {
"action-cases": {
"description": "Actions in the situations where their discovery and unavailable presentation are promised. A case whose effective discovery answer is not none has, on each platform it covers, at least one availability-presentations row; a case whose effective answer is none has no presentation row; and no case pairs an effective none with an effective reason-is-shown. No two cases cover the same action in overlapping situations.",
"when-empty": "No action receives a legibility promise from this adoption.",
"record": {
"id": {
"type": "string",
"required": true,
"pattern": "kebab-case",
"unique": true,
"description": "A stable game-facing case name, such as open-door-nearby or jump-at-gap."
},
"action-declared-in": {
"type": "citation",
"required": true,
"description": "The Fixed rule naming the action, its ordinary permission, and its complete effect."
},
"situation-declared-in": {
"type": "citation",
"required": true,
"description": "The Fixed rule naming every play situation covered by this case and the nearest similar situations excluded from it."
},
"discoverability": {
"type": "string",
"required": true,
"options": [
"use-game-default",
"looks-usable",
"explanation-on-demand",
"current-binding-is-shown",
"assistive-tech-can-name-it",
"none"
],
"description": "The minimum discovery promise for this action case, or the game's ordinary answer. A secret arcade command may state that no discovery route exists."
},
"when-unavailable": {
"type": "string",
"required": true,
"options": [
"use-game-default",
"hidden",
"shown-unavailable",
"reason-is-shown",
"unchanged",
"never-unavailable"
],
"description": "What the player-facing presentation does while the action cannot be used, or the game's ordinary answer. A crafting action may remain visible with its missing material named."
},
"presentation-rule-declared-in": {
"type": "citation",
"required": true,
"description": "The Fixed rule for every player-facing discovery route and unavailable state in this case, including an explicit statement when no route exists."
}
}
},
"availability-presentations": {
"description": "Independent channels that present one action case's availability. No two rows repeat one action case and channel pair.",
"when-empty": "No action case promises a player-facing availability channel.",
"record": {
"id": {
"type": "string",
"required": true,
"pattern": "kebab-case",
"unique": true,
"description": "A stable name for one action case and one channel, such as jump-at-gap-shape."
},
"action-case": {
"type": "string",
"required": true,
"pattern": "kebab-case",
"description": "The id of the action-cases row of this adoption presented through this channel."
},
"channel": {
"type": "string",
"required": true,
"options": [
"text",
"icon",
"shape",
"outline-or-contrast",
"audio-cue",
"spatial-audio",
"narration",
"audio-description",
"haptic"
],
"description": "The independent presentation channel. Text and icons can name or depict an action; shape, contrast, sound, position, speech, description, and touch can distinguish availability under their cited rules."
},
"platform-declared-in": {
"type": "citation",
"description": "The Fixed platform rule on which this presentation applies. Absence means the presentation applies on every platform covered by the action case."
},
"channel-rule-declared-in": {
"type": "citation",
"required": true,
"description": "The Fixed rule for this channel in available and unavailable states; for a case whose effective unavailable answer is never-unavailable or unchanged, the available form alone. It states whether the channel also identifies the action. A channel is judged by an observer who meets that channel alone."
}
}
},
"shared-input-cases": {
"description": "Situations where one game-facing action input can offer several actions and one choice must be made visible.",
"when-empty": "No action input offers several actions in one situation.",
"record": {
"id": {
"type": "string",
"required": true,
"pattern": "kebab-case",
"unique": true,
"description": "A stable situation name, such as porch-interactions."
},
"situation-declared-in": {
"type": "citation",
"required": true,
"description": "The Fixed rule naming the situation in which several actions share one action input."
},
"actions-declared-in": {
"type": "citation",
"required": true,
"description": "The Fixed list of candidate actions and the conditions that make each candidate eligible."
},
"action-input": {
"type": "string",
"required": true,
"pattern": "kebab-case",
"description": "The name of the one game-facing action input carrying these candidates, such as porch-interact."
},
"action-input-declared-in": {
"type": "citation",
"required": true,
"description": "The game's Fixed control rule naming this shared input and the physical activation that produces it."
},
"selection": {
"type": "string",
"required": true,
"options": [
"rule-selects-one",
"player-selects-one"
],
"description": "Whether the cited rule selects one candidate by ordering or a situation test, or the player chooses before the attempt. A village interact may prefer talking over picking up an item."
},
"selection-rule-declared-in": {
"type": "citation",
"required": true,
"description": "The Fixed rule that selects exactly one offered action and breaks every reachable tie."
},
"presentation-rule-declared-in": {
"type": "citation",
"required": true,
"description": "The Fixed rule that identifies the selected action before the shared input becomes an action attempt."
}
}
}
}
},
"rules": {
"secret-default-cannot-explain-a-block": {
"forbid": {
"all": [
{
"flag": {
"action-discovery-default": [
"none"
]
}
},
{
"flag": {
"unavailable-action-default": [
"reason-is-shown"
]
}
}
]
},
"message": "A secret action cannot use a game-wide default that names it and explains why it is blocked."
}
},
"origin": "https://opengdd.org/contracts/action-legibility-1",
"mechanism": [
"This is the single normative authority for action discovery, availability presentation, and shared-input selection. Questions and rows describe choices and cite game rules; they do not define another sequence.",
"An **action input** is one game-facing signal declared by Control options when that contract is adopted; otherwise it comes from the game's Fixed control rule. Control options owns how bindings emit it; this contract consumes one action input and the candidate actions it carries. The current binding comes from the same optional source. An **action case** is one action in one cited situation. A **candidate** is an action carried by the input whose optional binding context holds and whose Fixed permission rule — or a forgiveness acceptance from Input forgiveness — accepts it in the situation at the accepted moment. Forgiveness applies per candidate: each candidate action's forgiveness rows read the shared input as that action's input, and an acceptance shifted for one candidate shifts the accepted moment this settlement reads. An action is **offered** when it is identified to the player as the result of selection.",
"1. Read the current situation and every matching action case — action cases are platform-neutral — then every presentation row whose optional platform citation applies on the current platform. No matching action case creates no legibility promise from this adoption. 2. Resolve each row's effective discovery and unavailable answers. A row value other than `use-game-default` wins; otherwise the matching question answer applies. 3. Read ordinary action permission from the cited Fixed action rule. This contract does not grant permission and does not make an unavailable action succeed. 4. While an action is available, apply its effective discovery promise through the matching presentation rows. Under `none`, no discovery route is promised. 5. While an action is unavailable, apply its effective unavailable answer. Hidden removes its presentation. Shown-unavailable keeps identity and marks the state. Reason-is-shown also names the current block. Unchanged exposes no availability difference. Never-unavailable admits no unavailable state in the cited situation. 6. Read the one action input and all of its candidate actions. This settlement consumes one input carrying its candidates; it never splits one input into several. 7. When the action input has at most one candidate at the accepted moment, that candidate is offered and no shared-input-cases row is needed. A physical input may differ by platform without changing this step. 8. When the action input has several candidates, exactly one matching `shared-input-cases` row applies. Under `rule-selects-one`, its cited rule uses its declared ordering or situation test. Under `player-selects-one`, an explicit choice is required. The row consumes one input with N candidates and offers exactly one. Present that offered action under the row's cited presentation rule before the accepted input becomes an action attempt. Other candidates may remain visible, but none is presented as what will happen now. While an input waits in a buffer, this presentation makes no winner promise; the promise binds at the accepted moment. 9. Physical input → Control options (when adopted) emits the action input → Input forgiveness (when adopted) may shift the accepted moment → this contract selects the offered candidate at the accepted moment → one action proposal. Thus an interact buffered during a cutscene evaluates candidates in the situation where the input is accepted, not the situation where it was pressed. Event resolution owns ordering, rejection, and effects after the proposal. 10. Whenever a presentation shows the current binding, it shows the actual current device control, including the touch region or gesture on a touch platform. 11. When availability, situation, platform, binding, or candidate eligibility changes, recompute the presentation from step 1. A previous prompt or selection does not remain current unless the cited rules still select it.",
"The authority order is therefore: situation, row defaults, ordinary permission, discovery, unavailable presentation, candidate set, shared-input selection at the accepted moment with its offered-action presentation, one action proposal, current-device binding, and refresh."
],
"answers": {
"action-discovery-default": "looks-usable",
"unavailable-action-default": "hidden"
},
"values": {},
"rows": {
"action-cases": [
{
"id": "secret-finisher",
"action-declared-in": "combat.secret-finisher",
"situation-declared-in": "combat.final-round-range",
"discoverability": "none",
"when-unavailable": "unchanged",
"presentation-rule-declared-in": "combat.secret-finisher-has-no-discovery-route"
}
],
"availability-presentations": [],
"shared-input-cases": []
},
"pack": "sha256:3db629b447d4abfb21e3d23f2610dfa503b36a9da22e671d416145ce62dd1f12"
}