Repository navigation
Releases
v0.3.0
WingFoil UI v0.3.0. Install: npx wingfoil-ui@0.3.0 (npm). Built, tested, smoked and staged by run 44130478400; attached: the tarball staged on npm, coverage-totals.json and test-results.md from that run.
Project state. See where a project stands — the progress card, recent activity, traceability,
the element page — and configure the console per project with .wingfoil/ui.yaml and its presets.
Supports WingFoil 0.2.2 to 0.3.x (contract-tested: 0.2.2 and 0.3.1). On npm as
wingfoil-ui@0.3.0, the first version published through the pipeline: staged by the npm trusted
publisher and approved by the approver with 2FA (docs/publishing.md).
Added
- Recent activity on Today (task-080, US-T-08; spec-012 §6): the last card of Today lists the
last 5 Memory events, newest first — the element's id as a link to its side panel, the transition
or created, who did it and how long ago — refreshed by itself on every change of the
repository; commits that are not Memory events are not listed. No link to a Timeline yet (v0.4). - The progress card on Today (task-065, US-T-12 … US-T-15, US-X-10 X-10.4, US-C-04 C-04.1;
spec-012 §3): after the greeting, the current scope (the most advanced element of the
progress.scopetype, No current or Whole project) with its state, then the project
completion with its bar and its explanation on hover and keyboard focus, the phase figures
read-only with their reason, Iterated: x/y, Open: n and Pending gates n — each
shown figure a link to the Memory list filtered on its elements. A completion that cannot be
computed says why (Completion needs references — see Configuration › Taxonomy, No references
linked in ); an ignoredui.yamlis named above the card. The figures follow the
repository by themselves, a change announced to screen readers, and the tab title of Today carries
the project completion (kanban · 40 % · Today — WingFoil UI). - Traceability (task-067, US-R-01, US-C-04 C-04.3; spec-012 §4): a page in the sidebar's
Work group lists every reference — an element's frontmatter value that is another element's id,
or that matches aui.yamlpattern — with its linked elements as chips (short id, state colour,
full title, id and state on hover and focus) and its completion, in natural id order. The scope
follows the current release by default, or the whole project; the figures show project
completion with Today's explanation, phase completion (read-only) and reference coverage. A search and the category and
status filters, with counts, are kept in the address. The elements missing required references
are listed with Show in Memory; withoutui.yamla note says only references between Memory
elements are recognised, and an ignored file shows its warning. - Traceability's inline detail (task-081, US-R-01 R-01.2; ux-reference §4.8): a click on a row,
or Enter or Space on its toggle, opens its detail under it, one at a time — the reference, its
completion x/y and each linked element with its state and who must act, in the words of Today's
Waiting on others (nothing for a done element), each opening the element's page. The page
follows the repository by itself: an open row stays open while its reference exists, the focus
stays where it is and a refresh announces nothing. - Configuration › Taxonomy and › Progress (task-064, US-C-01, US-C-04 C-04.2; spec-005 §1–§4,
spec-012 §2): two tabs after UI settings show how the console reads the project's
.wingfoil/ui.yaml, each value marked declared, inferred or derived as the server serves
it. Taxonomy explains the 8 UI categories and lists every Memory type with its category (or
No category — not counted in progress figures), the references each type must carry and the
reference patterns as written; Progress listsmode,scopewith its current element as a
link to its page,phases,iterates,defectsand the held gates, each with its meaning and
allowed values. A file the console cannot use is named at the top of both tabs, "ui.yaml
ignored:" and its first problem, and every value is then inferred. - Use preset on Configuration › Taxonomy (task-079, US-C-02, US-C-03; spec-005 §5): for a
project with no.wingfoil/ui.yaml, Use a preset right after the tab's intro offers Kanban,
Scrum and WingFoil sw-life-cycle; the dialog names the file and the commit it will make,
chore(ui): apply the <Preset> preset, and Confirm writes it alone — other staged changes stay
staged. A toast names the commit (and whether it was pushed); a refusal is a red toast with its
reason, such as "ui.yaml not written: type service is not declared in memory.yaml". The control is
not shown when aui.yamlexists or to a user who is not in the team, and is disabled with the
reason while the copy is behind (with Update), diverged or detached, or WingFoil is outside the
supported range. - The element's document (task-078, US-G-03, US-G-08): the summary of an element is its body's
first paragraph rendered as Markdown, and Open document opens the whole body in a dialog,
rendered or as its source, on the element page and in the side panel alike. The rendering is the
Documentation view's — raw HTML shown as text, no image loaded, relative links read from the
element file's folder (another element's file opens its page) — and leaves the body's HTML
comments out, only the comments: the text after one is kept, and the source keeps them. When the
summary and the document cannot be loaded (a tab left open across an upgrade), their place says
so and offers Reload the page; the rest of the element stays. A decision-log is read and
decided from its element by a product owner holdingapprover. - The side panel in the address (task-077, US-G-01 G-01.8, US-S-21 S-21.4; spec-011 §2, §6):
Today's rows and the notification bell's items open the element in a side
panel over the current view, which stays as it was (Today keeps its filters); the address carries
it as?panel=<id>, so a reload keeps it, and Close or Escape remove it and keep every other
parameter, the focus back on the control that opened it. Opening another element while the panel
is open replaces it, so one Close returns to the view. On the element page a bell item opens
that item's page. A short id inpanel=is rewritten to the full id; an ambiguous one lists its
candidates in the panel; any other value is looked up only as an element of the current project
(not found otherwise). - The element page (task-062, US-G-01 G-01.4 … G-01.7; spec-011 §2, §3): an element opens as a
page of the main region, with the sidebar — from its address, the Memory list and a link inside
a document, a directive or another element — with the same content and footer as the v0.2 panel,
the footer in a bar at the bottom of the window (the toasts stay above it). An address with a
short id (/p/<project>/e/task-046) opens its element and is rewritten to the full id; a short
id that names several elements lists them, each a link to its page, instead of not found; an
element whose id is longer than 100 characters is opened and decided like any other. - Progress figures and missing references in the API (task-059, TT-STATE-08; spec-012 §2,
§3, §5):GET /api/p/:pid/progressserves the progress card's figures of a repository state —
the current element of theui.yamlscope (the most advanced release, derived on every WingFoil
version), the completion of therequirementandfeaturereferences linked in that scope,
the iterated elements done, the open defects and the pending gates (held gates excluded), each
with the ids a Memory list filter will use, the phase figures read-only until WingFoil's
workflow statusis consumed.GET /api/p/:pid/elementsnames, per element, the categories
taxonomy.requiresasks of its type that it carries no reference of, and whether that filter
is offered;/configfillsui.progress.scope.current. Computed once per state from the
reference index, no CLI process added; titles and reference ids escaped. The screens are later
tasks'. - Traceability in the API (task-074, US-R-01; spec-012 §4):
GET /api/p/:pid/traceability?scope=current|projectserves every reference with a category — a
taxonomy.patternsvalue or another Memory element's id — with its linked elements in the
current release (default) or the whole project, their done count, percent and status
(completed, in progress, not started, no elements), the project completion, the reference
coverage, the elements missing required references and every element named, as the Memory
list's rows. Computed once per state from the reference index, no CLI process added; titles and
reference ids escaped. The page is a later task's. - Today's cards (task-061, US-T-02 T-02.4 … T-02.7;
ux-reference.md§4.1 v0.3): Requires
you and Waiting on others each have a type and a state filter, listing the types and states of
that card's rows with their counts (a filter applies to its own card; the greeting and the bell
count every row); each card shows its first 10 rows, then Show all () / Show fewer; each
row names its element by the short id the API serves (else the full id) and shows the date it
entered its current state, the full time as the accessible description of the date and of the
row's link. - Held gates (task-069, US-S-24 S-24.5, S-24.6; spec-003 §3, §5, §8; spec-005 §4a): a gate the
project's.wingfoil/ui.yaml(or its preset) holds inholdsoffers no Approve —never
("Approved outside the console (ui.yaml)") orwhen-references-donewhile elements referencing
it are not done ("Wai...
v0.2.0
WingFoil UI v0.2.0 — Unblock. Install: npx wingfoil-ui (npm), or from the tag (README).
This first npm version was published by hand by the approver from the tarball attached here — built, smoked and checked by run 39497286374 (gate, stage; promote rejected by design) — so it carries no provenance statement (docs/publishing.md, checklist step 4). The attached test results come from the local pre-release checks of the release tree; later releases attach the pipeline's own reports.
Unblock. Decide gates and submit work from Today, keep the copy in sync with its remote.
Supports WingFoil 0.2.2 to 0.2.x (contract-tested: 0.2.2), as v0.1. The first version on npm:
npx wingfoil-ui (README); published by hand by the approver from the tag
run's smoked tarball, without a provenance statement (docs/publishing.md, checklist step 4).
Added
- Today (US-T-01…US-T-06, US-T-11): the greeting with what requires you in your role view;
Requires you — type, title, reason (time in the state, your rejected work first with the
reason, Action required for an undeclared state), state and one action opening the element
panel; Waiting on others with who must act (a member, the members of a role, or the workflow
engine). Live-refreshed; read-only for a user not in the team, with How to join. - Notification bell and all-roles summary (US-S-21, US-S-23, US-T-07): a bell in the header of
every project view counts what requires you in your role view and opens To unblock (the
Requires you items) and Updates (the last 10 Memory events); Today shows, to a member holding
several roles, one line per role with its count and first three items, a switch to that role
view; the explicit Nothing requires you state, also after the last action. - Gate footer (US-G-04…US-G-07, US-G-09, US-S-24): the element panel decides a gate — every
outcome side by side (Approve → …, each Reject → …), a reason required for every outcome and
pre-filled for an approval, two clicks from Today; an informational footer for a member without
the gate's role, a read-only line for a user not in the team, and the Waiting for the workflow
engine and Final state notes where no action is possible. - Submit and action feedback (US-G-10, US-G-11, US-G-13, US-G-14, US-X-07, REQ-PERF-02): the
element panel submits a draft or rejected work with Submit → ; gate and submit actions
are disabled, with the reason as their description, while the element has local changes; every
decision or submit ends with a toast — the result and thewf(…)commit with its short hash,
pushed when auto-push pushed it or why it was not pushed — and a refusal with a red toast
carrying WingFoil's own message, or This element changed since you opened it when it moved
meanwhile; toasts are announced to screen readers (refusals assertively). The commits of these
actions are recorded in the action log of the local state (hash and time only, at most Entries
kept of them). - How to join (US-C-08, US-C-09): for a user not in the team, the not in team badge and the
header notice open a panel naming the project's tech leads (or saying none, or no member, is
declared) with the exactwingfoil dna add team.members …command for the user's git email and
a Copy command button. - Git status in the sidebar (US-Y-01…US-Y-04, US-S-11): the bottom of the project sidebar
shows the branch and short hash (or a detached HEAD), the local changes and, when the repository
has a remote, In sync with git or the commits ahead and behind, Fetch with Cancel, and a
failed fetch with the time of the last successful one and git's message; without a remote no
sync control is shown. A governed action on a detached HEAD reads Blocked: no branch checked
out. - Update and Push from the sidebar (US-Y-05…US-Y-08, US-G-12): Update while the copy is
behind (git pull --ff-only, never a merge, rebase or stash; refusals name the command to run in
a terminal), "N commits to push" and Push (with Cancel) while it is only ahead, whatever
Auto-push says; one transport at a time; a rejected push is a red toast with git's message
(local folders and URL credentials redacted); governed actions blocked while behind end with an
Update link; Update and Push read-only for a user who is not one member of the team. The
update only fast-forwards whatever the configuration says (branch.<b>.mergeOptions,
pull.twohead,--squashdo not apply) and neither it nor Fetch prunes a local tag or branch;
a remote whose fetch refspecs write outsiderefs/remotes/, or that has none, is refused by both
(Not fetched or updated: this remote has no fetch refspec, or one writes outside refs/remotes/…;
bug-014, found before release). - Automatic sync with the remote (US-Y-02, US-Y-05, US-Y-07, REQ-PERF-07): the console fetches
every opened project's remote every 60 s (on by default), can fast-forward a copy that is behind
right after (Auto-update, off by default) and push the branch after each decision made in the
console (Auto-push, off by default; the push is the branch's, the user's own unpushed commits
included). The automatic fetch and update start no repository hook, no fsmonitor and no askpass
program, and do not run at all when the repository's configuration includes another file; an
automatic fetch or an auto-push is stopped after 60 s; stopping the console lets a running
automatic update finish. Declared risk: Auto-update does on a timer whatgit pulldoes —
incoming commits can run commands your own git configuration points at (filters,
core.sshCommand, credential helpers, aliases) when they read project files; it is off by
default. - UI settings and the theme setting (US-C-07, X-08.3): Configuration › UI settings, pinned at
the bottom of the sidebar, shows and changes Auto-fetch and its interval, Auto-update (with its
declared risk next to it), Auto-push, Theme (System, Light, Dark — overrides the system
preference), Confirm agent launch (takes effect from WingFoil 0.3) and the number of action-log
entries kept. Settings are kept on this computer for every project, never committed, and apply
without a restart; other tabs follow. - npm publish pipeline (maintainers; dl-004, RP-54):
.github/workflows/publish.ymlruns for
a pushedvX.Y.Ztag — the repository gates, a staging smoke on a local registry
(npm run test:publish-smoke), thennpm stage publishthrough an npm trusted publisher after
the approver's deployment approval; a version goes live only when the approver approves it on
npm with 2FA. The registry-side setup is the approver's checklist indocs/publishing.md. A
name with no version cannot have a trusted publisher yet, so0.2.0itself was published by hand
(checklist step 4); later versions go through the pipeline.
Changed
- A project opens on Today (US-T-01):
/p/<id>lands on Today, the first sidebar entry;
v0.1 opened the Memory list. - Supported browsers verified on three engines (REQ-INT-08): the end-to-end suite runs on
Chromium, Firefox and WebKit (Chrome, Edge, Firefox, Safari); v0.1 ran it on Chromium only. - The package is publishable (task-029): the root
package.jsonis no longerprivate(the
workspaces stay private) and names the repository; a plainnpm publishfrom a checkout stops
with a pointer to the publish pipeline (--ignore-scriptsskips that guard: the control is the
registry setup indocs/publishing.md). The tarball's files are unchanged.
Fixed
- A console URL pasted into an open tab is read without a reload (bug-016): the page reads the
new#token=…, exchanges it and shows the console as a new tab does; a page whose session is
still valid ignores a token it did not need. - No temporary folder left by a killed console (bug-008): a clone no longer creates the empty
hooks folderwfui-no-hooks-*in the system temporary directory; git runs with its hooks path
on a regular file of the console's own installation, so no hook runs and nothing is left behind
when the console is killed (kill -9). - The focus comes back to the Today control that opened the element panel (bug-018): a panel
opened from a Requires you action or title, a Waiting on others row or an item of the roles
summary, and closed with the gate footer's Cancel, with Escape or with its Close gives the
focus back to that control, as the Memory list does for its row; to the main region only when it
is no longer listed (e.g. the gate was decided).
Security
- Governed changes only through WingFoil (task-032): submit, approve and reject run the
project's ownwingfoil memory submit,approveorreject, one at a time per repository,
after checking that the element is still in the state the page showed and has no local changes
(a residual window is listed under Known limitations); only the action's ownwf(…)commit is
reported and logged (a concurrent commit is not); auto-push, when on, pushes the branch (see
Automatic sync above). - Git transports (task-033, task-034): fetch, update and push, like a clone (bug-013 below),
allow only thehttps,http,ssh,gitandfiletransports; they never prompt in a
terminal (an askpass program the user configured may still open its dialog, except in the
automatic fetch and update), run ssh in batch mode unless an ssh command is configured, keep only
the absolutePATHentries and turn off git's automatic maintenance; a local remote of another
user is refused (as a clone source, bug-010 below); git's messages lose the URL credentia...