Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

What changed in each release. Releases are tagged on `main`; the stories behind each are in [docs/plan.md](docs/plan.md).

## Unreleased

**After the forward-engineering review (28 November 2026)**
- Specifications: rules only about the old screen's mechanics are *legacy interaction*, with no acceptance criterion; an example's criterion states its event, not the rule's condition; a journey's screen with nothing of the capability is named as context, not given an empty table (#393).
- The package: every capability has its service or job task; SQL tables and ORM entities are stored records, rendered with their columns; the copy for the team keeps the application's own e-mail addresses and IDs (#394, #478).
- Golden datasets: values an outcome states are compared by value; an unchecked case is never a pass, and `compare.py` exits 2 until the team asserts it (#421).

## 1.0.0 (27 November 2026)

The first release for anyone to try: with Claude only, or with Claude and AWS Transform. Tested end to end on mainframe code; open source under the MIT License, at github.com/CodeStrata/reframe.
Expand Down
2 changes: 2 additions & 0 deletions docs/any-legacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ The profile is shown by `reframe status`, carried into the reports' About sectio

**Journeys, modern screens and the prototype** work from the screens and flow the reader gives them, whatever made them. The modern screen mapping maps legacy fields, whether a BMS field or a form input.

**After review (28 November 2026, #478):** an SQL table and an ORM entity are stored records, like a mainframe file record: rendered with their columns in each specification and named by the data task, not listed as working storage.

### 5.5 What follows the design (L1-08)

- The package, golden datasets, backlog and reports change only their words: "the legacy source", not "the mainframe". START-HERE names the stack.
Expand Down
16 changes: 16 additions & 0 deletions docs/pipeline-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@ A capability in a signed-off function is **final**; every other one is **draft**
- **40 data contracts**, 113 decision tables with 82 gaps, 485 open SME questions.
- **Checks:** every citation exists, every requirement has a criterion and every technical rule a note; nothing failed. The page is 3.1 MB.

**After the forward-engineering review (28 November 2026, #393).** Three changes, all with no model:
- **Legacy interaction.** A rule only about the old screen's mechanics (a key the screen refuses, cursor placement, a paging or exit key, session plumbing such as `COMMAREA` or a first entry) is classed *legacy interaction*, read from its words. It gets no acceptance criterion, since the modern screen replaces it. Each specification lists it under *Legacy interaction to replace*, and the first screen task carries it. A business rule that only mentions a key or a typed Y or N keeps its criteria, each with a note naming what the modern screen replaces. A technical rule stays a design note. On CardDemo's published specifications the patterns pick about 140 of 1,185 rules; restating the business intent of the rest in channel-neutral words is for a later round with the model.
- **One event per worked example.** An example's criterion no longer restates the rule's condition, which a counter-example does not meet: its WHEN is the event ("the sign-on processes these inputs"), and the GIVEN holds the case. A trigger written as two WHENs reads as one ("x and y"). An event written by the model for each example is for a later round.
- **Screens.** A journey's screen with nothing of the capability is named as context, without an empty component table. The model step still reads every screen of the journeys, so a saved answer still fits and a round redoes nothing for this.

### D7 Package (P4-08)

Written by Reframe from D6, in `outputs/design/package/v<round>/`, in three forms:
Expand Down Expand Up @@ -220,6 +225,12 @@ Every requirement, rule, acceptance criterion and task keeps its ID, so the forw

**On CardDemo** (26 November 2026), in 2 seconds: 1,113 files, 13 MB with the prototype. The 154 capabilities (52 final) have 820 tasks: 222 business rules, 118 data, 114 API, 99 UI modernization, 154 test generation and 113 compliance. No check failed. A cleaned copy left nothing behind. A copy has 85 placeholders in 18 files and 102 draft capabilities left; the *Sign in* slice is USPM-C01 *Sign on to CardDemo*, 19 criteria, still draft.

**After the forward-engineering review (28 November 2026, #394).**
- **Every capability gets its service or job task:** built from the design notes, else from its requirements. A capability that runs online and as a scheduled job names the job's legacy programs.
- **Stored records:** a file record, an SQL table and an ORM entity are all data the capability keeps. They are rendered with their columns in each specification, and the data task names them (L1-06, #478).
- **The copy for the team** (`reframe design --package`) is cleaned of the account, ARNs, S3 locations, the AWS profile, the run's resources, local paths and API keys, but keeps the application's own e-mail addresses and IDs, such as a sample address in a rule or a golden case's input. Anything published is still cleaned of both.
- **Role guardrails:** the UI role builds the modern equivalent of legacy interaction, never the key. The test role treats a criterion's legacy note as the behaviour to replace, and never treats an unchecked golden case as a pass.

### D8 Design page (P4-07, P4-10)

`outputs/design/index.html`, in the review layout: overview first (screens, journeys, mapping counts, final and draft capabilities); then the flow map, each journey with its screens side by side (legacy and modern), the mapping table with filters, and each capability's specification. The reconciliation page links to it, and `reframe publish` includes it with the prototype.
Expand Down Expand Up @@ -278,6 +289,11 @@ Comparisons are exact for money, dates, status codes, IDs and counts, and a diff

**On CardDemo** (run fa1f61, from its 154 specifications, with no model, 26 November 2026): 1,595 cases for 139 capabilities, 633 of them for final capabilities. 1,000 come from worked examples and 595 from decision-table rows; 746 are edge cases, and 900 quote a message or code. 82 combinations are left uncovered for the owner. The cases run against 1,186 screens, 292 jobs and 117 services. The package grew to 1,536 files, and no check failed. The other 15 capabilities have only design notes, so they have no cases.

**After the forward-engineering review (28 November 2026, #421).**
- **Expected values.** An outcome that states a value ("the declined total is 110.00", "(OUT-ACCT-CURR-CYC-DEBIT) is 2525.00", "the account total resets to 0") gives the case that value, with its kind, compared by value. This is read with no model: on CardDemo's published criteria it finds values in about 70 of 1,654, and on JPetStore 4 of its 123 cases have values and 51 have messages. Structured expected values written by the reconciliation's decision step, for every worked example, need a live round and are the next step.
- **Unchecked is never a pass.** A case with nothing to compare is *unchecked*. `compare.py` reports how many cases were verified, and exits 2 when nothing differs but some cases were unchecked, until `--allow-unchecked` says the team's own tests assert them.
- **Legacy interaction has no cases**, like a design note.

### D11 Risk and replacement order (P4-12)

Each capability already has a risk (P3-24) and touches a list of things (money, card data, personal data, security, audit, record updates, reporting only). Reframe orders the capabilities for replacement: low risk and read-only first (reporting, inquiry screens), then updates, and money, security and adjudication last. Within that order, a capability that shares data stores or screens with another follows it. The order is shown on the design page and written into the package's constitution and tasks, each with its reason.
Expand Down
8 changes: 4 additions & 4 deletions docs/plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ Agreed by the owner on 24 November 2026. From the reconciled and reviewed result
| P4-04 | User journeys | [§4 D3](pipeline-4.md) | Done 25 November 2026: screens are grouped into the tasks people do, each journey linked to its capabilities and requirements; on CardDemo 20 journeys over all 21 screens, every answer passing Reframe's checks |
| P4-05 | Modernized screens and their mapping | [§4 D4, §5](pipeline-4.md) | Done 25 November 2026 (#420), and proven in P4-10's live rounds: each journey has modern screen designs. A mapping table takes every legacy screen and field to its new component as kept, merged, dropped or new, with the reason; no legacy field is left unmapped. Each screen also records its role, data and service dependencies, the pain points it removes and test scenarios, and follows a `style-reference/` folder where the design system is silent |
| P4-06 | The clickable prototype | [§4 D5](pipeline-4.md) | Done 25 November 2026: one static HTML app with a route per screen, sample data shaped by the fields and messages written from the rules, each screen beside the legacy screens it replaces; screens and components can be marked *Agree*, *Needs change* or *Question*, journeys signed off, and the marks downloaded |
| P4-07 | Final specifications | [§4 D6, D8](pipeline-4.md) | Done 26 November 2026: per capability, the final requirements and business rules, screen specifications, data contracts from the copybooks, acceptance criteria, decision tables with their gaps, and the questions still open, each citing its sources; each rule and requirement classed as business rule, formatting, error handling, side effect or historical artifact |
| P4-08 | The AI-DLC package | [§4 D7](pipeline-4.md) | Done 26 November 2026, with placeholders and START-HERE.md for what the engineer gives (the stack, house conventions, skills); the *Sign in* build check is the engineer's step (owner's decision). One package in three forms: Kiro (`.kiro/specs/<capability>/` with `requirements.md`, `design.md` and `tasks.md`, and steering files), Claude Code (`CLAUDE.md`, the specifications, the prototype as the UI reference and the tasks) and Spec Kit (a constitution, `specs/<capability>/` and role files under `.claude/agents/`, each task naming its role), every item keeping its requirement and rule IDs. Checked by loading it into Claude Code and building one journey |
| P4-07 | Final specifications | [§4 D6, D8](pipeline-4.md) | Done 26 November 2026: per capability, the final requirements and business rules, screen specifications, data contracts from the copybooks, acceptance criteria, decision tables with their gaps, and the questions still open, each citing its sources; each rule and requirement classed as business rule, formatting, error handling, side effect or historical artifact. Reworked 28 November 2026 after the forward-engineering review (#393): legacy interaction is its own class with no acceptance criterion, an example's WHEN is its event, and context screens have no empty table |
| P4-08 | The AI-DLC package | [§4 D7](pipeline-4.md) | Done 26 November 2026, with placeholders and START-HERE.md for what the engineer gives (the stack, house conventions, skills); the *Sign in* build check is the engineer's step (owner's decision). One package in three forms: Kiro (`.kiro/specs/<capability>/` with `requirements.md`, `design.md` and `tasks.md`, and steering files), Claude Code (`CLAUDE.md`, the specifications, the prototype as the UI reference and the tasks) and Spec Kit (a constitution, `specs/<capability>/` and role files under `.claude/agents/`, each task naming its role), every item keeping its requirement and rule IDs. Checked by loading it into Claude Code and building one journey. Reworked 28 November 2026 after the review (#394): every capability has its service or job task, tables and entities are stored records, and the copy for the team keeps the application's own e-mail addresses and IDs |
| P4-09 | Rounds with more context | [§4 D9](pipeline-4.md) | Done 26 November 2026 (`python -m reframe.design.pipeline`, with `--plan`): added context redoes only the parts it touches; each round versions the package and writes what changed since the last |
| P4-10 | Live acceptance and README | [§8](pipeline-4.md) | Done 26 November 2026 ([results](pipeline-4.md)): rounds 1 and 2 on CardDemo from the CLI; round 2's persona, design system and *Needs change* redid only what they reach, and a kept part now records its pieces so a later round can say why. On CardDemo, from the CLI: the prototype covers every screen, a second round with added context changes only what it should, and the README and `docs/cli.md` describe pipeline 4 from the tested commands |
| P4-11 | Golden datasets and equivalence tests | [§4 D10](pipeline-4.md) | #421 · Done 26 November 2026 (#456; the owner moved it forward from Later, the same day), with no model: per capability, a golden dataset from the worked examples and decision tables in each form of the package, with `golden/compare.py` setting formatting apart from business differences, and the test-generation task naming every case. On CardDemo: 1,595 cases for 139 capabilities, 746 edge cases and 82 combinations left for the owner. Expected outputs come from the rules until P4-13 |
| P4-11 | Golden datasets and equivalence tests | [§4 D10](pipeline-4.md) | #421 · Done 26 November 2026 (#456; the owner moved it forward from Later, the same day), with no model: per capability, a golden dataset from the worked examples and decision tables in each form of the package, with `golden/compare.py` setting formatting apart from business differences, and the test-generation task naming every case. On CardDemo: 1,595 cases for 139 capabilities, 746 edge cases and 82 combinations left for the owner. Expected outputs come from the rules until P4-13. Reworked 28 November 2026 after the review (#421): values an outcome states are compared by value, and an unchecked case is never a pass (`compare.py` exits 2) |
| P4-12 | Risk and replacement order | [§4 D11](pipeline-4.md) | **Later** (the owner, 26 November 2026). Capabilities are ordered for replacement from their risk and what they touch, low-risk and read-only first and money, security and adjudication last, shared data and screens kept together; the order and its reasons are on the design page and in the package's constitution and tasks |
| P4-13 | Spike: real legacy outputs under GnuCOBOL (low priority) | [§4 D12](pipeline-4.md) | #423 · Spike written 28 November 2026 ([spikes/p4-13-gnucobol.md](spikes/p4-13-gnucobol.md)), for the owner: 10 of CardDemo's 12 batch programs compile under GnuCOBOL 3.1.2 in a container and 8 run to a normal end on CardDemo's own data. The reconciled rules for posting and interest agree with the real outputs (300 of 300 reject decisions, 50 of 50 interest amounts), but only when amounts are truncated to the cent, which the interest rule does not say. The real run also shows that one recommended rule is wrong: the interest batch never posts the last account's interest, a CardDemo defect. Proposed: a story for an optional legacy run in the golden datasets |

Expand Down Expand Up @@ -223,7 +223,7 @@ The owner's direction (27 November 2026): Reframe takes any legacy codebase Clau
| L1-03 | A reconciliation in the stack's words | [§5.3](any-legacy.md) | #475 · The prompts and source files come from the profile; the evidence check, the audit and the expert's pack work on a non-mainframe fixture |
| L1-04 | A design without screens | [§5.4](any-legacy.md) | #476 · A batch or service fixture gets its specifications, golden datasets, package and backlog, with journeys, screens and the prototype left out and the page saying why |
| L1-05 | Screens and flow from any stack | [§5.4](any-legacy.md) | #477 · The general reader lists each view's fields and actions and the routes and links between them, each citing lines and checked; patterns that settle a link need no model; what fails twice is unresolved |
| L1-06 | Data contracts from any stack | [§5.4](any-legacy.md) | #478 · SQL DDL is read with no model; entity classes by a checked model step; the target stack's types apply as today |
| L1-06 | Data contracts from any stack | [§5.4](any-legacy.md) | #478 · SQL DDL is read with no model; entity classes by a checked model step; the target stack's types apply as today. Reworked 28 November 2026 after the review (#478): tables and entities are stored records in the package |
| L1-07 | "Runs as" for any stack | [§5.4](any-legacy.md) | #479 · Online, scheduled job, service or library from screens, routes and job definitions, for each fixture |
| L1-08 | Words, README and docs | [§5.5, 6](any-legacy.md) | #480 · The tagline, the README's table by family, the guide and every stage's words follow section 6 |
| L1-09 | Live acceptance on two codebases | [§7](any-legacy.md) | #481 · Section 7's *done when* on eShopModernizing and JPetStore 6, run locally, nothing committed, the results recorded here |
Expand Down
Loading
Loading