docs(status): record the merged master series and follow-up fixes
CI / fmt + clippy + test (Linux x86_64) (push) Waiting to run
CI / schema instance validation + consumers (push) Waiting to run
CI / runtime contract (macos-latest) (push) Waiting to run
CI / runtime contract (windows-latest) (push) Waiting to run
ci/woodpecker/push/woodpecker Pipeline was successful
CI / fmt + clippy + test (Linux x86_64) (push) Waiting to run
CI / schema instance validation + consumers (push) Waiting to run
CI / runtime contract (macos-latest) (push) Waiting to run
CI / runtime contract (windows-latest) (push) Waiting to run
ci/woodpecker/push/woodpecker Pipeline was successful
Master now contains the fast-forwarded RFC-LANG-0002 series; the former semantics-v2-refactor branch was deleted, so only master remains. - STATUS lists the full linear series (docs, implementation, expression grammar, status, seven follow-up fixes) and the verification at9c1723d: fmt/clippy clean, 507 passed / 0 failed / 2 ignored, stdlib digest verified - counts updated to 49 compile-negative fixtures and 507 workspace tests across README, COMPATIBILITY, CHANGELOG, CURRENT and the migration guide - green evidence pins code commit9c1723dand lists the follow-up fixes; CHANGELOG gains the follow-up correctness section - migration inventory regenerated: 1019 classified files, 0 pending - CURRENT.md baseline is the 40-hex9c1723dcommit required by the docs gate Verified: docs_consistency 4/4, fmt, clippy -D warnings and the full workspace suite green; python3 tools/pack-stdlib.py PASS.
This commit is contained in:
1 parent
9c1723d44f
commit
32d8fe1f7a
8 files changed
+93
-42
No files matched your search
+23
-12
@@ -27,13 +27,23 @@ The repository now has **one** language contract, implemented end to end:
|
||||
normative summary in [`../spec/mapping.md`](../spec/mapping.md) and
|
||||
[`../spec/expression.ebnf`](../spec/expression.ebnf).
|
||||
|
||||
Landed in three commits on `semantics-v2-refactor`:
|
||||
Landed on `master` as one linear series (the former `semantics-v2-refactor`
|
||||
branch was fast-forwarded and deleted; only `master` remains):
|
||||
|
||||
| Step | Commit | Content |
|
||||
|---|---|---|
|
||||
| 1 | `4983542` | docs/spec/ADR/READMEs, historical banners, migration guide and inventory |
|
||||
| 2 | `e029853` | frontend/IR/runtime implementation, `sem.*` diagnostics, migrated stdlib + digest, examples, fixtures and Rust-embedded sources |
|
||||
| 3 | `ffd1cc9` | expression-owned payload statement grammar, extra negative/CLI coverage |
|
||||
| 4 | `bbeb1de` | status/compatibility/README/migration docs flipped to the implemented state + green evidence |
|
||||
| 5 | `b38b769` | function-wide `params(...)` position (across heading segments) + two negatives |
|
||||
| 6 | `361a6cc` | removed the dead `Stmt::Call`/`CallSite`/`CallTarget` IR |
|
||||
| 7 | `d5002ac` | stale pre-RFC role docs and review-aid fixes |
|
||||
| 8 | `9fb97bc` | signatures recognized only from Exec payloads (Knowledge sections inert) |
|
||||
| 9 | `a3f9770` | unmatched `end` diagnostics point at the `end` payload |
|
||||
| 10 | `0bbe0f6` | Setext headings never declare a mode; dead helper removed |
|
||||
| 11 | `b3429cb` | diagnostics sorted by source position then code |
|
||||
| 12 | `9c1723d` | coverage for the removed syntax-selector front-matter probe |
|
||||
|
||||
The breaking behaviour is:
|
||||
|
||||
@@ -47,20 +57,21 @@ The breaking behaviour is:
|
||||
the existing `Branch`/`Loop`/`Return`/`Assign`/`Eval` IR; lists, block quotes
|
||||
and paragraphs are presentation containers;
|
||||
* control frames cannot cross a heading segment;
|
||||
* `params(...)` is legal only as the first direct Exec H2 payload; without it the
|
||||
existing free-variable inference applies and inferred signatures keep the
|
||||
named-arguments-only rule;
|
||||
* `params(...)` is legal only as the first direct Exec H2 payload across the
|
||||
whole function (a later `### @exec` segment cannot add a signature after
|
||||
earlier code ran); without it the existing free-variable inference applies and
|
||||
inferred signatures keep the named-arguments-only rule;
|
||||
* old syntax (`Strong` execute / `Emph` return / list branch/loop / quote call)
|
||||
is **not** executable, and `marqdo_semantics`/`syntax` front-matter selectors
|
||||
are rejected with `sem.unsupported_version_directive`.
|
||||
|
||||
### Verification at `ffd1cc9` (Linux x86_64, Rust 1.100.0)
|
||||
### Verification at `9c1723d` (Linux x86_64, Rust 1.100.0)
|
||||
|
||||
```text
|
||||
cargo fmt --all -- --check PASS
|
||||
cargo clippy --workspace --all-targets -- -D warnings PASS
|
||||
cargo test --workspace --locked --no-fail-fast PASS
|
||||
501 passed, 0 failed, 2 ignored (62 green test targets)
|
||||
507 passed, 0 failed, 2 ignored (62 green test targets)
|
||||
python3 tools/pack-stdlib.py PASS (digest verified)
|
||||
```
|
||||
|
||||
@@ -77,8 +88,8 @@ single remote SHA.
|
||||
|
||||
## 1. Remote baseline and current evidence
|
||||
|
||||
The local language baseline for this snapshot is
|
||||
`ffd1cc9862f7fe6002b42f1210010c1f78671a95` (2026-11-21, semantics v2 implementation). The later
|
||||
The local language baseline for this snapshot is `9c1723d` (2026-11-21,
|
||||
semantics v2 implementation plus follow-up fixes). The later
|
||||
documentation and test migration is recorded by its own commits; re-run the gate
|
||||
before making a release claim.
|
||||
|
||||
@@ -147,7 +158,7 @@ This is still a **local VM lane**, not a self-hosted GitHub Actions security URL
|
||||
> **Historical table note.** Most rows in this section record work executed
|
||||
> before the RFC-LANG-0002 syntax migration. Language-source rows (fixtures,
|
||||
> control mapping, semantic goldens) were re-verified after the rewrite at
|
||||
> `ffd1cc9` (§0); platform/security rows keep their original evidence dates and
|
||||
> `9c1723d` (§0); platform/security rows keep their original evidence dates and
|
||||
> are not refreshed by the language migration.
|
||||
|
||||
| # | Work package | State | Evidence |
|
||||
@@ -157,7 +168,7 @@ This is still a **local VM lane**, not a self-hosted GitHub Actions security URL
|
||||
| 2 | Cross-platform strict `cfg` | **Fixed locally; native CI UNVERIFIED** | `#[cfg]` dispatch + non-Linux regression test |
|
||||
| 3 | Strict probe→launch race | **Fixed locally; GitHub Linux CI UNVERIFIED** | fail-closed CLI contract + probe-OK/launch-EAGAIN seam test |
|
||||
| 4 | Parallel security matrix isolation | **Fixed** | unique paths + helper `OnceLock`; 7/7 in parallel workspace run |
|
||||
| 5 | Markdown/power/control-flow corpus | **Green on semantics v2** | 160 AST + 73 semantic + 47 compile-negative + 2 warning + 21 runtime-negative fixtures; `conformance_ast`/`semantics`/`negative` pass |
|
||||
| 5 | Markdown/power/control-flow corpus | **Green on semantics v2** | 160 AST + 73 semantic + 49 compile-negative + 2 warning + 21 runtime-negative fixtures; `conformance_ast`/`semantics`/`negative` pass |
|
||||
| 6 | Payload/control source spans | **Green on semantics v2** | UTF-8 spans, control-expression offsets and heading boundaries covered by fixtures and CLI tests; old condition headers were removed |
|
||||
| 7 | Independent Tool consumers | **Done locally** | `sample-view`/`sample-knowledge`/`sample-proof` E2E test |
|
||||
| 8 | lock v3 reproducibility | **Implemented; tamper test added** | `package_env` PASS |
|
||||
@@ -173,8 +184,8 @@ This is still a **local VM lane**, not a self-hosted GitHub Actions security URL
|
||||
- Frozen Markdown profile `marqdo.md.v1` with 160 AST goldens and explicit
|
||||
CRLF byte semantics (unchanged by the semantic rewrite).
|
||||
- Native Rust interpreter with the unified semantics: 73 semantic fixtures,
|
||||
47 compile-error fixtures, 2 warning fixtures and 21 runtime-error fixtures
|
||||
all green at `ffd1cc9`; AST profile unchanged (160 goldens).
|
||||
49 compile-error fixtures, 2 warning fixtures and 21 runtime-error fixtures
|
||||
all green at `9c1723d`; AST profile unchanged (160 goldens).
|
||||
- Native `**` power is pinned end-to-end: right associativity, unary-minus
|
||||
precedence, parentheses, float negative exponents, branch/loop conditions,
|
||||
Strong+CodeSpan payloads, and inert prose/code fences.
|
||||
|
||||
@@ -4,7 +4,7 @@ Status: **current architecture overview**. This file summarises the tree as it
|
||||
is today. It is not a release promise, does not reopen a frozen ADR, and does not
|
||||
replace `spec/` or a recorded test log.
|
||||
|
||||
- Baseline: [`ffd1cc9862f7fe6002b42f1210010c1f78671a95`](https://github.com/cflmy/marqdo-cli/commit/ffd1cc9862f7fe6002b42f1210010c1f78671a95) (2026-11-21, RFC-LANG-0002 implementation).
|
||||
- Baseline: [`9c1723d44f403d6b742136f7881515083b413cc2`](https://github.com/cflmy/marqdo-cli/commit/9c1723d44f403d6b742136f7881515083b413cc2) (2026-11-21, RFC-LANG-0002 implementation and follow-up fixes; language code baseline).
|
||||
- Normative behavior: `spec/`; frozen decisions: `docs/adr/`; executed evidence: `docs/STATUS.md` and `docs/evidence/`.
|
||||
- This is the **single current overview**. Do not add a second running "current state" file;
|
||||
update this file, `docs/STATUS.md` and an evidence file together.
|
||||
@@ -12,7 +12,7 @@ replace `spec/` or a recorded test log.
|
||||
> **Language contract and implementation.** The language contract is
|
||||
> [RFC-LANG-0002](RFC-LANG-0002-unified-semantics.md) (adopted by ADR-0052) and
|
||||
> `spec/mapping.md`. The frontend, `marqdo-expression`, IR lowering, runtime and
|
||||
> bundled `stdlib/` implement it. The workspace gate is green at `ffd1cc9`;
|
||||
> bundled `stdlib/` implement it. The workspace gate is green at `9c1723d`;
|
||||
> rollout evidence and historical banners are indexed in
|
||||
> [`../migration/README.md`](../migration/README.md).
|
||||
|
||||
@@ -25,7 +25,7 @@ platform".
|
||||
| Dimension | Current state | Source |
|
||||
|---|---|---|
|
||||
| Implemented | Rust workspace `0.1.0`: RFC-LANG-0002 Markdown/frontend/IR, v2 statement parser, tree-walk runtime, `Memory`, capability host, Tool/Analysis/Trace, Plugin ABI, Foreign kernels, migrated bundled stdlib, CLI composition root | `Cargo.toml`, `crates/`, `stdlib/` |
|
||||
| Tested locally | `cargo test --workspace --locked`: **501 passed, 0 failed, 2 ignored** on Linux x86_64 at the baseline; fmt and clippy clean | `docs/STATUS.md` §0, `docs/evidence/2026-11-21-semantics-v2-green.md` |
|
||||
| Tested locally | `cargo test --workspace --locked`: **507 passed, 0 failed, 2 ignored** on Linux x86_64 at the baseline; fmt and clippy clean | `docs/STATUS.md` §0, `docs/evidence/2026-11-21-semantics-v2-green.md` |
|
||||
| Bundled stdlib released | In-repo bundle `marqdo-stdlib@0.1.0`, SHA-256 digest verified before loading; it is **not** an external registry package | `stdlib/stdlib.json`, `stdlib/README.md` |
|
||||
| Multi-platform verified | Linux local gate is the only executed lane here; Windows/macOS native lanes are **UNVERIFIED**, and the GitHub security lane remains a **VM-only** gate | `docs/STATUS.md` §1, §4 |
|
||||
|
||||
@@ -134,7 +134,7 @@ that a phase is complete.
|
||||
|
||||
| Priority | Gap | State |
|
||||
|---|---|---|
|
||||
| P0 | **Language syntax migration**: RFC-LANG-0002 single contract | **closed at `ffd1cc9`**; implementation, stdlib digest, examples and fixtures green; platform/strict evidence remains separate |
|
||||
| P0 | **Language syntax migration**: RFC-LANG-0002 single contract | **closed at `9c1723d`**; implementation, stdlib digest, examples and fixtures green; platform/strict evidence remains separate |
|
||||
| P0 | Stdlib release is a bundle in this repo; extraction is deferred (ADR-0039) | accepted, keep in repo |
|
||||
| P0 | Documentation drift between `STATUS.md`, the architecture index and the evidence | being fixed by this migration and the docs gate |
|
||||
| P1 | `std:fs/file` read/write/copy, metadata/directory, append/read_at/walk are implemented; watch and binary offset reads remain open | open |
|
||||
|
||||
@@ -1,12 +1,17 @@
|
||||
# 2026-11-21 — RFC-LANG-0002 implementation gate
|
||||
|
||||
Status: **green for the implementation commit `ffd1cc9` on Linux x86_64**.
|
||||
Status: **green for code commit `9c1723d` on Linux x86_64**.
|
||||
This supersedes the intermediate "text migrated, implementation pending" state
|
||||
recorded in [`2026-11-21-semantic-docs-migration.md`](2026-11-21-semantic-docs-migration.md).
|
||||
|
||||
- Repository: `cflmy/marqdo-cli`, branch `semantics-v2-refactor`
|
||||
- Code commit: `ffd1cc9862f7fe6002b42f1210010c1f78671a95`
|
||||
- Previous steps: `4983542` (docs/spec), `e029853` (breaking implementation)
|
||||
- Repository: `cflmy/marqdo-cli`, branch `master` (the former
|
||||
`semantics-v2-refactor` branch was fast-forwarded to `master` and deleted)
|
||||
- Code commit: `9c1723d` (the documentation-sync commit that contains this file
|
||||
is docs-only and directly follows it)
|
||||
- Series: `4983542` docs/spec, `e029853` breaking implementation, `ffd1cc9`
|
||||
expression statement grammar, `bbeb1de` status/evidence, then follow-up fixes
|
||||
`b38b769`, `361a6cc`, `d5002ac`, `9fb97bc`, `a3f9770`, `0bbe0f6`, `b3429cb`,
|
||||
`9c1723d`
|
||||
- Toolchain: Rust 1.100.0, Linux x86_64
|
||||
- Authority: [`../architecture/RFC-LANG-0002-unified-semantics.md`](../architecture/RFC-LANG-0002-unified-semantics.md),
|
||||
[`../adr/0052-unified-markdown-semantics.md`](../adr/0052-unified-markdown-semantics.md)
|
||||
@@ -21,7 +26,7 @@ cargo clippy --workspace --all-targets -- -D warnings
|
||||
PASS
|
||||
|
||||
cargo test --workspace --locked --no-fail-fast
|
||||
PASS: 501 passed, 0 failed, 2 ignored
|
||||
PASS: 507 passed, 0 failed, 2 ignored
|
||||
(62 test binaries/doctest targets all `ok`)
|
||||
|
||||
python3 tools/pack-stdlib.py
|
||||
@@ -56,15 +61,31 @@ docs_consistency 4 passed
|
||||
- `sem.*` diagnostics including mode marker, unit name/duplicate, exec without
|
||||
function, payload nesting/empty, syntax, unmatched/duplicate else/end,
|
||||
unclosed control, signature position, unsupported version directive,
|
||||
inferred-signature lint and `run`'s no-entry-function error;
|
||||
inferred-signature lint and `run`'s no-entry-function error; emitted in the
|
||||
documented stable order (source position, then code);
|
||||
- migrated `stdlib/**/*.mq.md` with a regenerated `stdlib/stdlib.json` digest;
|
||||
- migrated examples, semantics/negative/runtime corpus and Rust-embedded
|
||||
fixtures.
|
||||
|
||||
## Follow-up fixes included in the green commit
|
||||
|
||||
After the first green gate, the concurrency leftovers were reviewed and fixed:
|
||||
|
||||
* `params(...)` position is function-wide: a later `### @exec` segment can no
|
||||
longer add a signature after earlier statements (negatives 48–49);
|
||||
* signatures come only from Exec payloads — a `params(...)` code span in a
|
||||
Knowledge section is inert and no longer becomes `inspect --signature` output;
|
||||
* a stray `end` diagnostic points at the `end` payload, not the previous
|
||||
statement;
|
||||
* Setext headings inherit but never declare a mode, as the spec requires;
|
||||
* diagnostics are sorted by `(span.start, code)` for stable IDE/CI output;
|
||||
* the dead `Stmt::Call`/`CallSite`/`CallTarget` IR representation and the
|
||||
`normalized_heading_name` helper from the removed link-form call are gone.
|
||||
|
||||
## Not claimed by this evidence
|
||||
|
||||
- Windows and macOS native test lanes were **not** run from this checkout
|
||||
(`UNVERIFIED`); no remote CI URL exists for `ffd1cc9`.
|
||||
(`UNVERIFIED`); no remote CI URL exists for `9c1723d`.
|
||||
- The disposable-VM strict security lane was **not** re-run at this SHA. The
|
||||
in-tree `marqdo-sandbox` security tests and the workspace suite pass, but
|
||||
that is not the same evidence.
|
||||
|
||||
@@ -15,14 +15,14 @@ use the single new syntax. Old syntax is not an active language.
|
||||
|
||||
- **Complete.** Specs, active docs, examples, all test/fixture `.mq.md` files,
|
||||
the security-lane embedded fixtures, Rust-embedded literals and the bundled
|
||||
`stdlib/**/*.mq.md` sources use the single syntax. 1015 present tracked+new
|
||||
`stdlib/**/*.mq.md` sources use the single syntax. 1019 present tracked+new
|
||||
files are classified in the inventory: 0 `pending`, 0
|
||||
`pending-implementation`.
|
||||
- **Implementation:** frontend heading modes and segments, the unified payload
|
||||
mapper, the `marqdo-expression` statement grammar, control-stack lowering,
|
||||
`params(...)`/inference and the `sem.*` diagnostics are implemented.
|
||||
- **Verification at `ffd1cc9`:** `cargo fmt --check`, `cargo clippy -D warnings`
|
||||
and `cargo test --workspace --locked` (501 passed, 0 failed, 2 ignored) all
|
||||
- **Verification at `9c1723d`:** `cargo fmt --check`, `cargo clippy -D warnings`
|
||||
and `cargo test --workspace --locked` (507 passed, 0 failed, 2 ignored) all
|
||||
pass; `python3 tools/pack-stdlib.py` verifies the regenerated digest.
|
||||
Evidence: [`../evidence/2026-11-21-semantics-v2-green.md`](../evidence/2026-11-21-semantics-v2-green.md).
|
||||
The earlier intermediate record is kept at
|
||||
|
||||
@@ -219,8 +219,8 @@ docs/architecture/CURRENT.md architecture yes status/index update to RFC-LANG-00
|
||||
docs/architecture/Marqdo_CLI_Latest_Architecture_Audit_and_Refactor_RFC.md architecture no review input historical banner docs review historical
|
||||
docs/architecture/README.md architecture yes status/index update to RFC-LANG-0002 docs docs_consistency migrated
|
||||
docs/architecture/RFC-LANG-0002-unified-semantics.md architecture yes old mapping adopt as sole authority docs review migrated
|
||||
docs/ci.md tutorial yes old mapping rewrite + historical banner where needed docs docs_consistency migrated
|
||||
docs/contributor-guide.md tutorial yes old mapping rewrite + historical banner where needed docs docs_consistency migrated
|
||||
docs/ci.md tutorial yes none reviewed docs review reviewed
|
||||
docs/contributor-guide.md tutorial yes none reviewed docs review reviewed
|
||||
docs/development-credentials.md tutorial yes none reviewed docs review reviewed
|
||||
docs/evidence/2026-11-20-bundled-stdlib-cm-a10.md historical no archived banner only docs review historical
|
||||
docs/evidence/2026-11-20-c-provider.md historical no archived banner only docs review historical
|
||||
@@ -282,9 +282,9 @@ docs/history/README.md historical no archived banner only docs review historical
|
||||
docs/history/STATUS-M0.5-snapshot.md historical no archived banner only docs review historical
|
||||
docs/migration/README.md migration yes n/a maintain inventory/guide docs review migrated
|
||||
docs/migration/semantic-rewrite-inventory.tsv migration yes n/a maintain inventory/guide docs review migrated
|
||||
docs/releasing.md tutorial yes old mapping rewrite + historical banner where needed docs docs_consistency migrated
|
||||
docs/security-gate.md tutorial yes old mapping rewrite + historical banner where needed docs docs_consistency migrated
|
||||
docs/security-vm.md tutorial yes old mapping rewrite + historical banner where needed docs docs_consistency migrated
|
||||
docs/releasing.md tutorial yes none reviewed docs review reviewed
|
||||
docs/security-gate.md tutorial yes none reviewed docs review reviewed
|
||||
docs/security-vm.md tutorial yes none reviewed docs review reviewed
|
||||
examples/factorial.mq.md example yes old syntax migrate source examples examples_r6 / run migrated
|
||||
examples/hello.mq.md example yes old syntax migrate source examples examples_r6 / run migrated
|
||||
examples/kernel-mock/README.md example yes old syntax review examples run reviewed
|
||||
@@ -394,7 +394,7 @@ stdlib/tests/text.mq.md stdlib yes old syntax migrate with frontend + digest std
|
||||
stdlib/tests/utf8.mq.md stdlib yes old syntax migrate with frontend + digest stdlib stdlib_product migrated
|
||||
stdlib/text.mq.md stdlib yes old syntax migrate with frontend + digest stdlib stdlib_product migrated
|
||||
stdlib/text/utf8.mq.md stdlib yes old syntax migrate with frontend + digest stdlib stdlib_product migrated
|
||||
tests/README.md test yes old syntax migrate source/expectations tests negative/properties migrated
|
||||
tests/README.md test yes harness review tests review reviewed
|
||||
tests/abi/capability_plugin.c test yes harness review tests review reviewed
|
||||
tests/architecture/README.md test yes harness review tests review reviewed
|
||||
tests/conformance/ast/001-atx-h1.ast.json test yes harness review tests review reviewed
|
||||
@@ -962,6 +962,10 @@ tests/negative/46-else-under-while.expected.json test yes harness review tests r
|
||||
tests/negative/46-else-under-while.mq.md test yes old negative shape rebuild for sem.* diagnostics tests negative migrated
|
||||
tests/negative/47-signature-position-in-quote.expected.json test yes harness review tests review reviewed
|
||||
tests/negative/47-signature-position-in-quote.mq.md test yes old negative shape rebuild for sem.* diagnostics tests negative migrated
|
||||
tests/negative/48-signature-after-earlier-segment.expected.json test yes harness review tests review reviewed
|
||||
tests/negative/48-signature-after-earlier-segment.mq.md test yes old negative shape rebuild for sem.* diagnostics tests negative migrated
|
||||
tests/negative/49-duplicate-signature-across-segments.expected.json test yes harness review tests review reviewed
|
||||
tests/negative/49-duplicate-signature-across-segments.mq.md test yes old negative shape rebuild for sem.* diagnostics tests negative migrated
|
||||
tests/negative/runtime/01-division-by-zero.expected.json test yes harness review tests review reviewed
|
||||
tests/negative/runtime/01-division-by-zero.mq.md test yes old negative shape rebuild for sem.* diagnostics tests negative migrated
|
||||
tests/negative/runtime/02-type-error.expected.json test yes harness review tests review reviewed
|
||||
|
||||
|
Reference in new issue
Block a user