Woodpecker executes the job commands as one shell script; the inline contract
block plus its trailing commands exceeded the runner's command buffer and the
last command was truncated mid-argument (the raw log shows the shell received
'python3 tools/c'). Move the lane into tools/ci/contract_lane.sh and keep the
CI commands short, preserving every check.
CI jobs share one workspace, so a second job saw 'output already exists' from
the first fetch. The helper now reuses an output only after verifying it against
the pin, builds into a temporary sibling and moves it into place atomically.
Refs cflmy/marqdo-cli#11
Phase B of ADR-0070 (issue #11): the CLI no longer owns standard-library
sources. The pin names the accepted ecosystem Bundle (marqdo-stdlib@0.2.0,
root commit + tree/alias digests); tools/ci/fetch_ecosystem_bundle.py
materializes it from the pinned root commit and stdlib gitlinks and verifies
the digests. bundle.py and the test harness require an explicit verified Bundle
for the accepted identity, and runtime discovery has no compile-time source
fallback in any profile.
Delete stdlib/ (modules, self-tests, aliases manifest). Module and domain tests
stay with their component owners; the CLI product lane now verifies the
external Bundle's public surface, std: resolution and official print/打印 alias
routing (tests/product-stdlib). Composition assertions whose owner is the
ecosystem (Table split, print-format equivalence) moved to the root Bundle
acceptance; the generic TCP round-trip stays a CLI test. Spawned-CLI tests name
the verified Bundle explicitly.
CI (Woodpecker + GitHub) materializes the pinned Bundle before product tests,
packaging and performance lanes; packaging and release take --stdlib-dir from
that artifact. Docs, STATUS, ADR-0070 and a Phase B evidence record updated.
Refs cflmy/marqdo#9, cflmy/marqdo-cli#11
- mark the old 0.12 remaining-work line as superseded by 0.13;
- record Woodpecker #112 success for the revert code commit in the evidence.
Docs-only change; no code/lock/protocol bytes move.
The pre-stable line prioritizes atomic ABI/header/spec/SDK/loader changes over
a premature repository boundary. ADR-0073 supersedes ADR-0072:
- restore crates/marqdo-plugin-sdk as a contract-only CLI workspace crate
(marqdo-plugin-abi + serde; no loader/host/worker dependency);
- restore tests/sdk-plugin and tools/ci/check_plugin_sdk.py, including the real
CLI invocation and tampered-digest negative case;
- restore workspace/lock/architecture/dependency/docs/CI references; the SDK is
a reviewed workspace member again and must not become a remote repo, mirror
or submodule in this stage;
- ADR-0072 and the old issue #15 evidence are marked superseded; ADR-0073 and
the split-revert evidence record the decision and the deleted remote repo;
- logical ADR-0071 boundaries are unchanged.
Workspace: 636 passed / 0 failed / 2 ignored; fmt, clippy, docs, architecture,
dependency, SDK gate and engine differential all PASS.
Refs #13, #15
Implements ADR-0072 and the SDK physical migration tracked by issue #15:
- remove crates/marqdo-plugin-sdk, tests/sdk-plugin and the CLI-side
check_plugin_sdk.py; the public cflmy/marqdo-plugin-sdk repository now owns
the SDK workspace, lock, fixture, docs, AGENTS rules and CI definition.
- SDK consumes marqdo-plugin-abi at the exact CLI contract rev
2585915e16906dac75f8571bed02e7f6f868c6bc; no path/submodule/copied contract.
- CLI does not depend on the SDK and must not re-add it as a workspace member
or copy; dependency/architecture gates enforce this.
- docs: ADR-0072, CURRENT responsibility map/dependency graph, ADR-0071
amendment, indexes, README, spec/plugin-abi, CI and developer entries.
- evidence: clean-clone SDK build/tests and real frozen 3.0.0-rc.4 CLI
invocation (Int 42; tampered digest rejected).
CLI workspace: 631 passed / 0 failed / 0 ignored; fmt/clippy/docs/architecture/
dependency gates green.
Refs #15, #13
Docs-only delta on top of the verified code SHA 9b4f0a0:
- Woodpecker PR pipeline #101 (test/minimum-rust/build all green, including
archive smoke and frozen external conformance).
- domain-service ledger stays DEFERRED under ADR-0062 (no new domain op).
- STATUS/evidence update; no code, lock or protocol change.
Implements the core M0-M3 boundary work from issue #13 / ADR-0071 without
changing language semantics or any public protocol:
- add marqdo-host-contract owning Host/HostOp/ExecutionContext/ResourceRead
and the runtime observation facts; the engine depends on it only.
- marqdo-runtime no longer links marqdo-host; the native host implements the
contract and has no reverse edge to runtime/frontend/IR.
- reduce marqdo-plugin-abi to the public C ABI/wire/error contract; move
manifest/artifact/loader/worker execution into marqdo-host::plugin so the
SDK carries no loader/worker/host dependency.
- add a real independent consumer (tests/embedding, own workspace+lock) that
runs Markdown -> frontend -> IR -> runtime with bounded budgets and explicit
effect refusal, plus differential CLI comparison.
- add an SDK-only third-party plugin fixture and real CLI invocation gate.
- replace the frozen-crate architecture test with a reviewed responsibility
graph enforced from Cargo metadata, with negative unit cases.
- consolidate current docs/entry: ADR-0071, CURRENT responsibility map,
developers/architecture indexes, historical banners, STATUS and evidence.
- record keep-in-workspace for Engine/Native Host; no empty candidate repo.
Evidence: docs/evidence/2026-11-26-issue-13-engine-host-boundary.md
Refs #13
Update STATUS, the architecture overview, README and tests/README with
the explicit Bundle input, pinned test/perf lanes and the independent
build. Add the Phase A evidence record: bundle identity, failure paths,
deterministic pack/package digests, independent build, archive smoke,
cold install and the 634-passed workspace gate. Phase B remains
explicitly unclaimed.
Add tools/ci/independent_build.py: export HEAD without stdlib/, build
both shipped binaries with --locked, run a language-only check/call, and
require a stdlib-dependent run to fail closed with no sibling stdlib.
Add tests/independent/language-only.mq.md and run the lane as its own
GitHub job and Woodpecker step.
Perf runner resolves the pinned Bundle (--stdlib-dir/--bundle-pin),
exports it to every workload and records it in the report; GitHub and
Woodpecker lanes verify the pin and pass the product tests an explicit
Bundle. docs/ci.md and performance docs describe the lanes.
package.py now requires --stdlib-dir and accepts --bundle-pin; it
verifies the manifest, required files, tree/alias digests and the pin
before staging, copies exactly that Bundle next to the binary, and
records stdlib.source{kind,repository,commit,path} in RELEASE_INFO.
Digest logic moves to tools/stdlib/bundle.py. GitHub/Woodpecker
release steps and docs/releasing.md pass the pinned input.
Record ADR-0070 (one explicit stdlib Bundle build input) and the
issue #11 Phase A inventory of every direct checkout-stdlib reference.
Baseline 4bbefc9; bundle source 2cbde54; no runtime contract change.
Record the RC_RELEASE_CANDIDATE gate manifest, same-SHA CI #94, frozen
extension 7/7, archive smoke, Ubuntu 24.04 cold install, disposable-VM strict
L1 PASS (uid 1000), archived-binary VM verification and the maintainer-approved
shared-node performance WARN for this named RC. Document that stable/LTS still
requires a dedicated fixed node and link the downstream view/lint issues.
RC candidates may use a maintainer-approved shared node with a recorded WARN;
stable/LTS still requires a dedicated fixed node. Add the migration guide for
marqdo-view and marqdo-lint covering exact source/AST consumption, the changed
unit span meaning, the stateful reference contract and the rejection of old
same-revision artifacts.
Pipeline 91 is fully green for the CI-helper follow-up commit b1fc211; the
shipped-code candidate remains e0645f3 and the release decision remains
DO_NOT_RELEASE because strict VM and the approved G4 result are unavailable.
Record pipeline #89 (all four lanes PASS) for e0645f3, the CI and local archive
hashes, archive smoke, Ubuntu 24.04 cold install and frozen extension 7/7.
The SHA-bound gate aggregate is DO_NOT_RELEASE: strict VM is UNVERIFIED and no
approved G4 node result exists, so rc.4 is not tagged or published.
The packaged 3.0.0-rc.4 archive passes the archive-only smoke (stdlib digests,
Analysis/Observation consumers, Tool dispatch, workers, strict refusal) and the
container-only cold install on Ubuntu 24.04 with no Cargo and no network.
Bump the workspace product version, document the in-place Analysis contract
replacement, update the current-facing guides and architecture overview, and
record the local gate plus the 101-module/rc.3 performance comparison. The
candidate is not a release: same-SHA CI, archive cold install, frozen external
conformance and the strict VM gate are still required before tagging.
Add ADR-0069 and replace the program-only Analysis v3 shape in place with the
one public projection consumed by independent static tools: project entry and
snapshot identity, exact source, document AST, heading scope facts, anchors,
functions, calls, resources and stateful references. Update the Markdown
profile, reference and observation specs to point at the single resolver and
the same encoder/digest rule.
- docs/evidence/2026-11-24-rc.3-release.md: per-gate record for the tagged SHA
(same-SHA Linux CI pipeline #80, archive smoke, clean install, frozen
extensions 7/7, strict L1 disposable VM with the published archive
re-verified in the guest, three paired shared-node G4 runs with the
maintainer-approved WARN, and the RSS sampler investigation).
- docs/evidence/ci/<sha>/manifest.json: RC_RELEASE_CANDIDATE gate manifest.
- STATUS/COMPATIBILITY/CHANGELOG: publication record, release link, evidence
paths and the released version heading.
Post-release docs commit: it references the tagged SHA and does not move the
release source.
- docs/STATUS.md: snapshot the 3.0.0-rc.3 candidate, publish the reviewed local
gate counts (607 workspace tests, docs-consistency 7, tools/ci 41) and add
the review-closure record; label the earlier pipeline #70 results as the
first pre-review candidate build.
- Mark the beta-era third-party integration guide as historical and point to
the current spec/ and developer entry points from README and
docs/developers/README.md.
- CHANGELOG: add the Apache-2.0-only licensing change, the removed --trace
path, the contract/test CI split with the checked-in stream verifier, the
analysis-observation rename, and the post-review fixes; replace the stale
pipeline #70/archive claim with the evidence-bound wording.
- docs/ci.md: describe the actual contract, test, minimum-rust and build lanes,
the manual performance workflow and the new docs gate.
- Annotate RFC-OBS-0001, ADR-0059 and the Execution Events evidence as
historical so their retired spec references are not read as current.
- spec/security.md: replace the retired --json/EffectTrace/--trace-file
sections with the current strict output contract (text or one snapshot from
the verified child, live/file destinations refused) and Observation effect
events; drop the deleted trace.rs implementation row.
- spec/package-format.md, spec/value-wire.md, spec/evaluation.md,
spec/resource-provider-v2.md, spec/foreign.md: describe the current
--output/--observation-file and Observation events instead of run/call
--json and Execution Events.
- spec/analysis.md: a load failure removes the previous artifact, not only a
compile error.
- COMPATIBILITY.md and docs/developers/*: current axes are Analysis v3,
Observation v1 and CLI Tool revision 1; Rust 1.89; rc.3 candidate status.
- Fix the Analysis v2 / Trace v2 / trace-file references in README,
architecture overview, contributor guide, tool example, source comments and
AGENTS.md.
- Add a docs-consistency gate that fails when spec/ or the current developer
guides document a retired interface or a deleted spec path.