szsdlc-ui-win95
A browser viewer for szsdlc projects, styled like a 1995 desktop and built around one rule: it names no entity type. Every window is assembled from what a project's types can do (their capability flags, fields, workflow and relations), so a project that renames or replaces all of its types still gets a full viewer.
It reads every project through szsdlc itself: backend resolution, the merged config, the entity store, the relation graph and the derived attributes. There is no second loader to drift from the real one.
Install and run
Needs Python 3.12+.
pip install zhaostephen-szsdlc-ui-win95 # or: uv tool install zhaostephen-szsdlc-ui-win95
cd my-project && szsdlc-ui-win95 --open # this project, and every project sdlc store szsdlc has recorded
It serves http://localhost:8095/, on loopback only. It changes a project only
when you edit it, and only through szsdlc's own operations (--read-only turns
editing off).
What opens by default: every project sdlc store szsdlc has recorded (git
clones and dir directories), plus the project you are standing in, if any.
Projects named on the command line open beside them. --no-registered opens
only the projects named, or the current directory. A plain folder opened with
File → Open project… is still forgotten on restart unless you use
--projects-file. --export never adds recorded stores: a snapshot holds only
what the command line names.
Other ways to run it:
szsdlc-ui-win95 ~/code/app ~/code/lab # several projects in one viewer
szsdlc-ui-win95 https://github.com/org/tracker.git # a project kept in a git repository
szsdlc-ui-win95 ~/sdlc-store::~/code/app # ~/code/app is the project asset root, for its documents
szsdlc-ui-win95 --no-registered # only the current project, not the recorded stores
szsdlc-ui-win95 --projects-file ~/.config/szsdlc/viewer.yml # remembered projects
szsdlc-ui-win95 ~/code/app --export app.html # one self-contained HTML snapshot
szsdlc-ui-win95 --port 0 # any free port
szsdlc-ui-win95 --read-only # look, never edit
A project can be opened from any location, whatever backend keeps it: on the command line, in the projects file, or with File → Open project…:
- a folder on this computer: a project, or any folder inside one. When a
repository's settings select a
gitordirsdlc backend, the project sdlc store dir it names is used (created or cloned if needed), and the repository becomes the project asset root, where documents outside the project sdlc root are found; - a repository URL holding the project (
https://host/org/repo.git,git@host:org/repo.git, optionally#branch). It is cloned the first time, exactly as szsdlc's git backend clones it.
A document is labelled by the root it comes from: SDLC (the project sdlc root, with the records) or Assets (a project asset root). These are the words of szsdlc's glossary.
Opening a project it already has brings a clone up to date, but only when that clone has nothing unsent; otherwise the clone is shown as it is. Viewing never writes to a project.
Editing is always on, where the data is shown, on an item's page:
- Status: the status button lists the moves the workflow allows from here, each with its gate ("needs plan.md"). Other… picks any declared status, and asks for a reason, because the move skips the workflow.
- Tags: × removes a tag, and + Tag adds one, suggesting the project's tags.
- Fields: the pencil beside a declared field opens an editor of its kind: a date, a number, a choice, yes/no or text. A list or nested value is edited by hand.
Every edit is one of szsdlc's own operations, so a gate refuses exactly as the
CLI would, with its remedy, and nothing is written. Each edit names the version
of the item it was made on. If the item changed since (an agent, the CLI, a
refresh), the viewer says This item changed on disk. Reload? and overwrites
nothing. After each edit the tray shows szsdlc validate's count, and the
Findings window lists each finding with its fix.
Edits are written to the copy on this computer at once. For a project kept in
git they are unsent changes: a tray icon and a * in the title show them,
and clicking the icon lists them. File → Send changes (or the tray's menu)
runs szsdlc sync once, so all of them become one record. A failed send keeps
them, and leaving the page with changes unsent asks first. A project kept in a
folder here has nothing to send: the folder is the project.
Refresh (View → Refresh, F5, or the taskbar's project menu) takes the sdlc
backend's latest, through szsdlc's own refresh. It sends nothing
and merges nothing, and every open window redraws in place. A project kept in a
folder here is simply read again. If the copy has unsent changes, Refresh asks
before replacing them, and szsdlc keeps what it replaces.
The project on screen also refreshes itself in the background, every minute
by default. The ▾ beside the Refresh button sets how often (Off, 30 seconds, 1
minute or 5 minutes, per browser, the same in every window) and shows it, 1m,
while it is on. It only runs while the tab is visible, and a project
you switch to is refreshed once on arrival. A background refresh never replaces
unsent changes: it skips the project and says so in the status bar. It redraws
only when something arrived, and never in the middle of a drag, an open menu or
typing. It also backs off, up to 15 minutes, while it cannot reach where the
project is kept.
What it does
- Editing through szsdlc: status, tags and fields on an item's page, with gates, forced moves and stale writes refused as the CLI refuses them; unsent changes are listed in the tray and sent with File → Send changes.
- One viewer, many projects. A project button on the taskbar switches
between them. Each project keeps its own windows, and File → Open project…
adds one at runtime (
--no-openturns that off). - Explorer windows, as many as you like. Each has a tree, Back, Forward
and Up, and an address bar that is a breadcrumb or, when clicked, a typed path
(
szsdlc:\Epics\EPIC-0007, or justwi-29). The tree nests items under the configured parent relation and gives each tag a folder; its pane is resizable. - Items are pages. Their tabs follow traits: Children for a parent, Overview (the description beside details, derived attributes and connections), a checklist view of the progress artifact, one tab per Markdown artifact, a node-and-edge relations graph, and documents in tree, out of tree and on the web.
- Every collection has three views, Details, Board and Graph. The board groups by status, type, parent, roadmap horizon, tag or any declared field; the roadmap is a board grouped by horizon, with dependency arrows.
- Hide closed, everywhere in a window: every item in a status declared
terminal(done, dropped and the like). - Markdown, properly. GitHub-flavoured Markdown, sanitised, with heading anchors, ID auto-linking, a Rendered/Source toggle and Copy raw on every document.
- Context menus, as in Windows 95: right-click, Shift+F10, the Menu key or
a long press on an item, folder, document, relation, tab, breadcrumb, window
title or the desktop. Menus offer Open in new window, Copy ID, Copy link and
Properties, and Alt+Space opens a window's own menu. Text fields and document
text keep the browser's menu. A copied link opens what it names:
#<project>--WI-0029,#<project>--type:EPIC,#<project>--doc:store:<path>.
API
The server is a thin JSON API over szsdlc, served by FastAPI on uvicorn; see
the docstring of server.py for the routes,
or /api/openapi.json on a running viewer for the API described. The centrepiece is
/api/p/<project>/schema, the schema descriptor: each type's flags, fields,
workflow (states with terminal, abandoned and gates), artifacts, derived
attributes and relations, as szsdlc resolved them.
Edits are POST /api/p/<project>/entities/<ref>/set, …/tag and …/untag, each
with the item's hash as expect, and POST /api/p/<project>/send. They need
the launch token in the page, like every write. A refusal is
application/problem+json with szsdlc's own refusal as data under refusal:
409 for a stale write, 422 for a gate, 400 for bad input, 404 for an unknown
item.
Develop
uv sync --all-extras --dev
make test # pytest: API, security, export and frontend checks
make test-coverage
make serve # run against the project above the current directory
The frontend is plain HTML, CSS and JS in
src/szsdlc_ui_win95/static/, with no build step;
marked and DOMPurify are vendored with their licences.
Releasing
The same scheme as the other stephen-zhao Python repositories:
- Every push to
mainruns Bump Version. It bumps the part named by the merged pull request's label (bumpversion=major|minor|patch|none; no label means patch), commitsBump version: X → Yand tagsvY. - That run triggers Publish to PyPI, which builds the one new tag, checks
that the tag, the tree's
current_versionand every artifact agree, publishes through PyPI trusted publishing, and creates a GitHub pre-release. - To publish an existing tag by hand, run Publish with
workflow_dispatchand name the exact tag.
Where the work is tracked
This repository's SDLC lives in
szsdlc-szsdlc, alongside
szsdlc's own: .claude/settings.json points szsdlc's
git backend at it. The design and its rationale are SPK-0005 there.
Licence
MIT. See LICENSE.
Metadata
Release files for zhaostephen-szsdlc-ui-win95 0.1.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zhaostephen_szsdlc_ui_win95-0.1.13.tar.gz | 150.8 kB | With provenance | Details for zhaostephen_szsdlc_ui_win95-0.1.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zhaostephen_szsdlc_ui_win95-0.1.13-py3-none-any.whl | Python 3 | none | any | Details for zhaostephen_szsdlc_ui_win95-0.1.13-py3-none-any.whl |
Total release size: 287.2 kB
Release files / zhaostephen_szsdlc_ui_win95-0.1.13.tar.gz
| Download URL | zhaostephen_szsdlc_ui_win95-0.1.13.tar.gz |
|---|---|
| Size | 150.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1a37d0a9b1afa50005bf97b4df9aa76ecfa06a15061a931e9c7d673e77cab11
|
|
BLAKE2b-256 checksum How to use checksums |
bfbdb6d314f17f6d262f69fa804c6adf40e7065d2c4ad1dacb3b9212d5d3795b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / zhaostephen_szsdlc_ui_win95-0.1.13-py3-none-any.whl
| Download URL | zhaostephen_szsdlc_ui_win95-0.1.13-py3-none-any.whl |
|---|---|
| Size | 136.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36708bfeaa92aa30cfb2591e84a0cd8bbeff5a2ea03ea2cd4e62e91b5c4a5a7c
|
|
BLAKE2b-256 checksum How to use checksums |
e752930e2b300320046b88631f96b98a8fa5044719cd069b996ec7e440df5fa4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logSecurity for zhaostephen-szsdlc-ui-win95 0.1.13
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for zhaostephen_szsdlc_ui_win95-0.1.13.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.