Skip to content

FlowCharge Core v0.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Oct 11:44
e51e2dd

Added

  • fc-validate reads a replacement text back in place. Where a plan or a task
    list holds the exact text a file will carry after a change, the validator
    reads the smallest unit that encloses it as a reader would, and reports a
    defect there, such as a list that lost its conjunction or a code unit that
    does not parse. It reports such a finding and never applies it.
  • The workstream lease file records a heartbeat, the pipeline stage, the
    artefact in hand, the task keys and a one-line note. The orchestrator
    refreshes it before each leaf task, so a reader can tell a live run from a
    stopped one.

Changed

  • fc-index.mjs measures a lease's staleness from its last heartbeat, and from
    its acquisition only when no heartbeat was written. A run longer than an hour
    no longer has its lease reclaimed by another session.
  • Task-list progress counts only executable tasks: child tasks and tasks with
    no children. A parent task with children is a grouping and adds no step to the
    total. This changes the figure in the workstream listing, on the board card
    and in the index.
  • The executor ticks each subtask in the task list as soon as that subtask
    passes, and ticks the parent task after its last subtask. A reader that
    counts checkboxes now sees progress during a parent task. A re-run of a
    parent task skips the subtasks already ticked.

Fixed

  • fc-index.mjs writes flowcharge/workstreams/*/.lease into .gitignore, so a
    lease file left by a crashed run cannot enter a commit.
  • fc-rename-artefacts.mjs refuses a file whose filename prefix disagrees with
    its frontmatter id and exits 1. It no longer adds a second prefix, which hid
    the file from the generator.
  • fc-index.mjs no longer counts a checkbox line inside a fenced code block as
    an issue or a task.
  • fc-index.mjs reads an unquoted frontmatter value that opens with a bracket,
    such as author: [Bot] Alice, as written. Only the list keys are read as
    inline arrays.
  • An fc-index.mjs run that refuses its own arguments no longer creates or
    changes .gitignore.
  • fc-index.mjs --check reports a stale ids.md header without claiming that
    it rewrote it.
  • fc-index.mjs --sort status ranks an issue's blocked status in the issue
    lifecycle order and sorts an unrecognised status after every known one,
    instead of first.
  • The generator skips a directory named like an artefact instead of crashing.
  • The index's ready-to-start section counts a plan or issue-list dependency as
    met once that artefact is authored, so a task list built from one is listed.
    The README states the same rule.
  • fc-index.mjs treats a leading-slash or trailing-glob .gitignore entry,
    such as /flowcharge/ or flowcharge/**, as covering the paths it manages,
    and appends nothing for them.
  • The second --sync test case checks each closed file against its own
    fixture.
  • The --sync and --new-ws test cases accept the date the generator wrote
    when a run crosses local midnight.
  • The test suite resolves its own folder correctly on Windows.
  • The renamer skips a directory named like an artefact instead of crashing.
  • fc-index.mjs and the release scripts under .github/scripts/ resolve their
    own folder correctly on Windows.
  • The manifest test case accepts the date manifest.mjs wrote when a run
    crosses local midnight.
  • An fc-index.mjs --new-ws run refused for a taken slug no longer creates or
    changes .gitignore.
  • README.md states the four .gitignore lines Core adds, the workstream lease
    files included.
  • setup-labels.mjs runs when started from a path that holds a space, through
    a symlinked folder or on Windows, instead of exiting without doing anything.
  • The test suite imports setup-labels.mjs through a file URL, so its label
    table case runs on Windows and from a folder whose name holds #.
  • CONVENTIONS.md states the four paths the generator keeps out of git, the
    workstream lease files included.
  • The orchestrator and fc-validate no longer say that git status lists, or a
    commit captures, the generated index and board, the ID-claim markers or the
    workstream lease files, which the generator keeps out of git.