Back to home page

EIC code displayed by LXR

 
 

    


Warning, /swf-monitor/docs/WHATS_NEW.md is written in an unsupported language. File is not indexed.

0001 # What's new
0002 
0003 The What's new page lists the developments in SWF that its users,
0004 operators and developers should know about, newest first. It is the
0005 first entry of the Help menu, before Workflow management doc. Each item is an
0006 entry in the monitor's entry store, so every edit is kept as a version.
0007 Items are edited, commented on and voted on by anyone with authority to
0008 act ([AUTHORITY.md](AUTHORITY.md)). A development above the threshold
0009 below gets its item as part of the task that ships it, like its
0010 documentation: the LLM session doing the work adds it, with no proposal
0011 and no approval.
0012 
0013 ## The item
0014 
0015 | Field | Content |
0016 |---|---|
0017 | Title | One line: what changed, in the reader's terms. |
0018 | Summary | One to three lines: what it does and who it is for. |
0019 | Details | Optional Markdown: how to use it, what it replaces, limits. |
0020 | References | Markdown: pages, documents, commits, pull requests. An item on the operation or use of the system references, first, the section of the WFMS documentation (readthedocs) where its impact is described. |
0021 | Tags | Topical tags, at least one. |
0022 | Importance | Exactly one of urgent, high, routine, minor. |
0023 | Shipped | The date the development reached production. |
0024 | Contact | The account of the principal developer, the person to ask: an account with the operations role, chosen from a pulldown. |
0025 | Builds on | Earlier items this one develops further. |
0026 
0027 An item is an `Entry` of kind `development` in the context `whats-new`.
0028 The title is the entry's title and the details are its content; the
0029 other fields are keys of its data. `data.entry_id` is a slug made from
0030 the title at creation and never changed after, so an item's URL stays
0031 fixed when its title is edited.
0032 
0033 The entry's creation and modification times are kept and shown, but
0034 the page orders by Shipped. Shipped defaults to the creation date and
0035 is set to the production date for an item written after the fact, so a
0036 backfill of past developments takes its true place in the list.
0037 
0038 ## Tags and importance
0039 
0040 Tags form one flat set. The conventional tags name the primary
0041 audience (`dev`, `ops`, `users`) or the area of the system (`testbed`,
0042 `pcs`, `panda`, `ddm`, `alarms`, `snapper` and so on). New tags are
0043 created by use; the set of tags in use is the vocabulary that the edit
0044 form offers and that the MCP list tool reports, so tags are reused
0045 rather than duplicated under other spellings.
0046 
0047 Importance is required and single-valued: `urgent` (action needed by
0048 readers), `high`, `routine`, `minor`. It is shown as a badge on each
0049 item, in shades of green from the lightest (minor) to the darkest
0050 (urgent), and filters like a tag.
0051 
0052 Tags are shown as text everywhere, links separated by spaces. A tag
0053 opens the list filtered to the items carrying it; on the list, a tag
0054 in the table selects it in the filter in place, and the selected tags
0055 are bold in every row.
0056 
0057 ## Links between items
0058 
0059 An item lists the earlier items it builds on. The earlier item shows
0060 the reverse, "Developed further in", computed by query from the later
0061 items' lists, so the link is stored once.
0062 
0063 ## Comments and votes
0064 
0065 A comment is an `Entry` of kind `comment` in the same context whose
0066 parent is the item. Its content is Markdown, it is versioned like the
0067 item, and its author may edit it. On the list, each item shows its
0068 comment count; when the newest comment is by someone other than the
0069 contact, the item is marked as awaiting a reply from the contact.
0070 
0071 A vote says how important an item is to the person: up or down, shown
0072 as "Importance to me" with the number of up votes and of down votes.
0073 There is no combined score. Each person has at most one vote per item,
0074 held in `data.votes` as username to +1 or -1. Voting again replaces the
0075 vote, and the same click withdraws it. A vote does not
0076 create a version: `votes` is excluded from versioning beside the other
0077 operational keys in `signals.py`.
0078 
0079 ## Editing, history and authority
0080 
0081 Reading needs a signed-in account. Creating or editing an item,
0082 commenting and voting are writes, which the authority gate admits for
0083 any person who may act; no further role is required. Every save records
0084 the person who made it as the version's author. The item page lists
0085 the versions, each viewable in full, and restores any of them as a new
0086 version.
0087 
0088 ## The pages
0089 
0090 | Page | URL |
0091 |---|---|
0092 | List | `/help/whats-new/` |
0093 | Feed | `/help/whats-new/feed/` |
0094 | Item | `/help/whats-new/<slug>/` |
0095 | Version | `/help/whats-new/<slug>/versions/<n>/` |
0096 | New item | `/help/whats-new/new/` |
0097 
0098 The list shows one row per item: an expand arrow, the shipped date, the
0099 importance badge, the title with the summary beneath it, the tags, the
0100 contact, Importance to me with the up and down vote controls, and the
0101 comment count. The arrow expands the details, references and links in
0102 place; Open all and Close all, just above the table beside the count of
0103 items shown, expand or collapse every row. The
0104 title opens the item page, which carries the whole item, the comment
0105 thread, the edit form and the version list.
0106 
0107 Above the list, the inclusive filter ([INCLUSIVE_FILTER.md](INCLUSIVE_FILTER.md)),
0108 fixed to match all, so it has no Match control: the search box at its
0109 top narrows the rows by text, and below it every tag and importance
0110 level is offered with its count; the list shows the items carrying
0111 every selection. Every element of the page state is in the URL: `f`
0112 for the filter, `q` for the search, and `open=all` for the expanded
0113 list.
0114 
0115 An Add button at the top of the list, shown to people with authority to
0116 act, opens the New item form. On the item page, Archive (or Return to
0117 the list, for an archived item) stands at the very bottom and asks for
0118 confirmation.
0119 
0120 The pages live in the `help` application (`src/help/`), mounted at
0121 `help/`, which also holds later Help pages. The external face proxies
0122 the `help/` tree through one catch-all route in swf-remote
0123 ([EXTERNAL_ACCESS.md](EXTERNAL_ACCESS.md)).
0124 
0125 ## The feed
0126 
0127 `/help/whats-new/feed/` is an RSS 2.0 feed of the newest 50 items,
0128 newest shipped first: each item's title, summary, importance, tags and
0129 contact, its link and its shipped date (`help/feeds.py`). Links point
0130 at the face the reader came through, epic-devcloud.org for a request
0131 through the swf-remote proxy. The feed needs the same sign-in as the
0132 page. The list page links it and says how to follow it.
0133 
0134 ## On epicprod-live
0135 
0136 An item's creation is an action-stream record, `whats_new_create`,
0137 live at normal importance and logged at INFO, carrying the title "What's
0138 new: <item title>", the summary, the importance and the item page
0139 (Torre Wenaus, 2026-10-30). The epicprod-live channel posts it as the
0140 item's title linked to its page, its importance, who added it and its
0141 summary (`notice_plugins.py`). The room's live screen shows it at INFO
0142 for `comp.live.whats_new_hours` hours, 12 by default and at most the
0143 screen's 12-hour window ([COMP_SNAPSHOT.md](COMP_SNAPSHOT.md), Live).
0144 Edits, comments, votes and archiving are not posted.
0145 
0146 ## Writes
0147 
0148 Writes are JSON calls under `/help/api/whats-new/`, authenticated by
0149 the session on the internal face and by the forwarded `X-Remote-User`
0150 identity on the external face, answering JSON and never a redirect
0151 ([EXTERNAL_ACCESS.md](EXTERNAL_ACCESS.md)). One service module,
0152 `help/whats_new.py`, performs every write: the pages, the API and the
0153 MCP tools call it, and nothing else writes the entries.
0154 
0155 ## Items added by LLM sessions
0156 
0157 What's new is not approval-gated, any more than documentation is (Torre
0158 Wenaus, 2026-11-12). A development reaches the threshold when users,
0159 operators or developers should know about it: it changes what they see,
0160 what they can do, or how they do it. Internal tooling fixes with no such
0161 effect are not items. For a development at the threshold, the item is a
0162 required part of the task that ships it: once the change is in
0163 production, the session checks `whats_new_list` and adds the item with
0164 `whats_new_add`, its shipped date, tags, importance and contact, recording
0165 the person whose work it is as who added it. An item already on the list
0166 is corrected with `whats_new_edit`, never added again. People edit,
0167 comment on or archive items afterwards; an item added in error is
0168 archived.
0169 
0170 The rule is guidance to every LLM session working on SWF, carried in the
0171 MCP server instructions and in TJAI guidance (`ai-swf-whats-new-watch`).
0172 The release procedure checks the release's changes against the list and
0173 adds the items that are missing.
0174 
0175 Until 2026-11-12 sessions proposed items through the AI proposal
0176 subsystem, category `whats_new`, ref prefix `wn`; that category is
0177 retired ([AI_PROPOSALS.md](AI_PROPOSALS.md)), and its pending proposals
0178 were added as items or withdrawn.
0179 
0180 ## MCP
0181 
0182 | Tool | Purpose |
0183 |---|---|
0184 | `whats_new_list` | Recent items, newest first: filter by tags, importance, shipped date and text; each item's title, summary, tags, importance, shipped date, contact, up and down votes, comment count and URL; the tags in use with counts. |
0185 | `whats_new_get` | One item in full, with its links, comments and version count. |
0186 | `whats_new_add` | Add an item, as the person whose work it records (Items added by LLM sessions, above). |
0187 | `whats_new_edit` | Edit an existing item's fields, as the calling person. |
0188 
0189 `whats_new_add` and `whats_new_edit` change the system and carry
0190 `@requires_authority`.
0191 DISpatcher carries the two reads, `whats_new_list` and `whats_new_get`
0192 (`BOT_TOOL_PREFIXES`, [PANDA_BOT.md](PANDA_BOT.md)), so "what's new"
0193 can be asked in natural language in the bot; the list tool's
0194 description names the questions it answers, "what is new", "recent
0195 developments", so that DISpatcher selects it for them.