Update child gitlinks to the commits carrying the shared shell/rust CI images,
release notification workflows and View rc.5 adaptation; record the actual
pipeline results (shell/rust/Design/Preview/knowledge/lint/prove/View), manual
reconcile #71, cron #72 (idempotent), rc.5 tracking Issue #22 and the
release-event fast-path test in the evidence. The web image/domain browser lane
remains explicitly UNVERIFIED.
Refs cflmy/marqdo#10
- ci/images: immutable shell/rust(/web planned) images built from the released
rc.5 CLI archive and pinned preview bundle, published to the Gitea container
registry; consumers use one image tag and only their own entry command.
- .woodpecker/reconcile.yml + scripts/reconcile-releases.py: protected-branch
manual/cron release discovery, asset byte/SHA verification, idempotent
release-tracking Issues; no gitlink mutation or publish.
- Commit the child CI/norm gitlinks, document the image set and the remaining
limits (web image pull, tool/view migration, release publish workflows).
Refs cflmy/marqdo#10
Add the repository-level development conventions derived from marqdo#10 and the
existing architecture/development authorities, and enforce them:
- docs/REPOSITORY-CONVENTIONS.md: repository admission, two-level governance,
responsibility matrix, minimum active-repository file set, AGENTS rules,
independent CI/CD inputs, four facts and C2→B2→A2 promotion, single sources of
truth, hard anti-bloat list, review checklist and exception records.
- Root AGENTS.md points to the conventions; docs/DEVELOPMENT.md and
docs/REPOSITORY-TASKS.md link them; docs/templates/AGENTS.component.md is the
per-repository template.
- scripts/check-repo-conventions.py + tests enforce active README/AGENTS
marker and link, real entries, no planned entries, no duplicated domain
descendants in the root catalog, no leaf second catalog/.gitmodules and
canonical submodule remotes; added to the CI layout stage.
- Propagated tailored AGENTS.md to every active child repository and the
implemented extension repositories, corrected stale Web planned/active facts,
and pinned those convention commits (plus the CLI docs commit) in the root
gitlinks. Planned/empty repositories intentionally receive no boilerplate.
Refs cflmy/marqdo#10
- scripts/webhook-adapter.py authenticates the raw Gitea body with the repo
webhook secret (HMAC-SHA256), whitelists push/pull_request candidate actions,
resolves the repository from the accepted root graph, uses the accepted pin as
base (payload base is only a hint), aggregates CI strictly, and delegates to
the existing candidate-notify verifier for reachability, dedupe/replay,
baseline revalidation and impact.
- --reconcile scans open PRs in allowlisted repositories, recovers candidates
whose fast notification was lost with the same idempotent state, retries
transient API errors with bounded backoff, fails closed on 401/403, and
reports errors without claiming a downstream success.
- 8 focused adapter tests plus the full 79-test integration suite pass on real
temporary Git fixtures. Docs/evidence record the trust rules and that the
platform webhook/cron deployment itself is still external (#10 M0).
Refs cflmy/marqdo#3, cflmy/marqdo#10
Implement the authorization verifier for candidate notifications (issue #3):
normalized schema, repository allowlist from the accepted root graph remotes,
reachable commit check, exact accepted base SHA for component candidates,
allowlisted https CI success URL, replay-safe (repository, head SHA) state with
new-baseline revalidation, and union-graph impact reuse (full fallback on
undetermined scope). The plan never auto-promotes or auto-merges; a human still
reviews the candidate branch/PR.
Tests build real temporary Git repositories and cover verified component and
root candidates, unknown repository, failed/non-allowlisted CI, unreachable
commit, stale base, replay + revalidation, dry-run state.
Also the impact analyzer's .gitmodules parser now handles the 3-segment Git
config keys correctly.
Refs cflmy/marqdo#3
Implement the ECO-02 impact contract: compare the recursively expanded
(global_id, parent, remote, SHA, state) identities of an accepted root commit
and a candidate, expand domain gitlink changes to child identities, close over
the reverse requires graph built from the union of both revisions, add parent
domains, then reach a fixed point over checks_with. An unexpandable domain is
reported UNVERIFIED and widens the affected set to the full candidate instead of
skipping (--fail-on-unverified makes it fatal).
integration.sh runs it against the accepted root ref (PR target branch or
origin/main) and records changed/affected/checks_with/fallback in the candidate
evidence JSON. Five contract tests build real temporary Git repositories,
including a domain gitlink change and the conservative fallback.
Refs cflmy/marqdo#7
M3 candidate for cflmy/marqdo#9: the root cli gitlink now points at the CLI
Phase B commit that removed the in-repo stdlib sources and pinned the accepted
ecosystem Bundle.
scripts/integration.sh no longer takes a CLI artifact from View's frozen RC.4
script. One candidate derives every input: the root-owned Bundle producer
assembles the Bundle from pinned gitlinks, the CLI and Worker are built from the
pinned cli commit, the release archive is packaged with --stdlib-dir, and
Conformance/View/Knowledge/Prove/Lint plus acceptance-stdlib all use that same
installed binary and adjacent Bundle. Evidence records the exact identities.
Composition gains the print-format equivalence fixture (moved from the CLI) and
a pure-mode Table case; the root acceptance compares stdout line pairs so the
official print/打印 aliases must produce identical formatting.
Refs cflmy/marqdo#9, cflmy/marqdo-cli#11
M0 of cflmy/marqdo#9: the root ledger now records the verified baseline, the
151 public functions of the 20 pre-migration modules, the frozen Bundle-root
paths, the test/assertion ownership and the decisions that replace the earlier
path-plan (which would have changed public std: imports). Nine receiving-repo
sub-issues are linked.
One producer owns Bundle composition from the exact component gitlinks
(scripts/build-stdlib.py + scripts/stdlib-bundle.json): it publishes only
modules/**/*.mq.md of active stdlib components, rejects symlinks, submodules,
case/NFC collisions, tests/ and unsafe paths, generates the current
stdlib.json digest and requires an explicit version bump when content changes.
scripts/acceptance-stdlib.py is the root composition gate with explicit
--cli/--bundle inputs: it verifies the manifest independently, runs each active
component entry, runs the cross-repository composition fixtures (official
aliases, Table split, default-Bundle smoke), enforces fail-closed negatives and
optionally proves deterministic packaging with the CLI packer.
Contract tests build real temporary Git repositories and cover the gitlink
identity path, determinism, all rejection cases and the explicit version bump.
Refs cflmy/marqdo#9
The duplicate-settings guard compared the section field dict with a set
and could raise TypeError instead of reporting the real configuration
error. Compare sets and add a fixture accepting a section name that
differs from its path.
Implement the G01/G02 governance checks of ADR 0001 section 4:
- accept the single `kind = "domain"` role (release none/base, empty
requires, root-level extensions/<id> or stdlib path) while keeping the
existing root-layer rules for direct components;
- with `--checkouts`, expand every active domain at its pinned gitlink,
read that commit's own components.toml/.gitmodules, validate its
gitlinks, remotes, HEAD/dirty state and entries, and refuse a third
gitlink level or implementation files in aggregate layers;
- flatten the recursive tree into one in-memory global graph: unique
ids/remotes, active-never-depends-on-planned, requires DAG acyclic,
checks_with cycles allowed, stdlib/core/tool dependency boundaries and
requires never targeting a domain;
- structured failures name the responsible label/path and never skip
unverified layers silently. Existing six-component tree passes both
modes; 44 integration tests cover positive and negative nested Git
fixtures without network access.
Unified source-verified contracts, accurate evidence grades and independently replayable Lean certificates; version sync, bilingual notes and guarded full release CI. Preserve native AI extension updates from main.
- take the 2.8.0 crate versions, Cargo.lock dependency graph and release workflows
- keep the native workflow inspect/list, resume_dir isolation and repeatable fixtures
- satisfy the 2.8.0 library narrative gate for workflow.tick
- resolve CHANGELOG ordering with the v2.8.0 release entry
- add agent_workflow_inspect/list primitives and ext/ai wrappers
- expose host-relative resume_dir on every workflow operation
- make offline workflow fixture repeatable with a timestamped run id
- fix flow.choose branch scoping contract diagnostic
- build the agent cdylib and drop the removed run --effects flag in CI
Code review after the initial prove commit found and fixed:
1. Calls inside table/list literals were silently dropped — a function
with side-effectful cells lowered to "no ops" and claimed purity in
Lean. lower_expr's fallback now rejects with proof.unsupported
(author must bind the call to a variable first).
2. Same-callee call sites with different arities (optional params)
shared one Op whose ctor declared the first-seen arity, emitting
uncompilable Lean. register_op now suffixes `/N` per arity.
3. proof.name_shadow fired once per walked function (N functions → N
duplicates) and checked params of claim-free functions. Predicate
check runs once per module; param check only for functions that
carry claims.
4. 长度(轨迹) = 2 emitted mqEq (Nat) (Val) — type-mismatched Lean.
Nat-context detection renders trace-length comparisons natively;
untranslatable shapes become comments instead of broken Lean.
Hardening: lean_ident reserves 轨迹₀ / h_前提 (theorem binder
collision); emit_theorems dedups repeated claim ids.
Tests: +4 integration regressions (p2_a..p2_d), 23 prove tests total;
full suite green except the documented env-limited failures (one
host::foreign_session flake passes standalone).
Business validation (doc §12): e-commerce order-approval SKILL with 3
theorems cross-checked against the real interpreter — 5000 → auto
(1-step trace), 20000/60000 → manual ticket T-20000/T-60000
(需人工→创建, exactly 2 steps); corrupted claim tables hit
check --proof codes while staying default-off; double emit
byte-identical.
Send complete op/steps/value records to the Lean decoder for every operation. Preserve companion exit status and a bounded stderr tail on transport failure. Register the smoke fixture read tool explicitly without weakening the allowlist or changing its output assertion.
Validation: 462 library tests and 312 gold tests passed. The repository regression run passed 946 tests with two existing ignored experiments; the previously passed 1000-document scale test was not repeated.
Add root/index and layout skills that force file-partitioned pages and ban
HTML/CSS injection as the default path; wire ext add, docs, and call coverage.
Co-authored-by: Cursor <cursoragent@cursor.com>