Skip to content

Add the in_effect decision status and two decision gate Plays so built and standing-rule decisions need no marker field #4388

Done

Description

@mstomar125

What

Decided by the core owner (#3729 (comment)) and approved by the owner: a decision records that it is built or a rule in force through its status, not through a separate field. This replaces the work_status field and described_by relationship that were added to decision as a custom declaration on one device (schemas do not sync, so a fresh device parked the 82 decisions that carried the field).

Do

  • decision_status gains in_effect (proposed: under discussion or agreed with no work filed; accepted: agreed with work outstanding; in_effect: built or a rule in force; superseded unchanged), closed and core-protected, with the regenerated node types sheet, shape record and change-log entry.
  • Two core Plays in core_plays.rs, user-editable and disableable: a decision cannot be set to accepted unless a linked task is not done or cancelled; a decision cannot be set to in_effect while a linked task is open (no linked task: proposed may go straight to in_effect). They read directly linked tasks (tasks reverse) only and fire on a status change, not a link change.
  • No typed described_by in core: a decision points at the page that describes it with a mention in its content.
  • After the core release is installed on the owner's device, the workspace cleanup (steps in the PR): set the marked decisions to in_effect, replace described_by edges with mentions, remove the custom declarations, retire or rewrite the saved query and skill.

Acceptance

  • decision_status has in_effect in core; sheet, shape record and change-log entry regenerated
  • The accepting and in-effect Plays ship, are enabled, and are covered by tests including a decision linked from both a task and a spec
  • The workspace cleanup steps are written in the PR (done after the release is installed, not in this change)

Activity

  1. changed the title [-]Declare work_status and described_by on core's decision type so the 82 marked decisions apply on every device[/-] [+]Add the in_effect decision status and two decision gate Plays so built and standing-rule decisions need no marker field[/+] on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions