Commit Graph
27 Commits
Author SHA1 Message Date
cflmy bc30587a0c Merge branch 'codex/issue-10-ci-paths' of /tmp/marqdo-10-next/ci-policy into codex/issue-10-consumer-inputs
ci/woodpecker/pr/eco Pipeline was successful
2026-11-27 21:44:52 +08:00
cflmy 68b7fe0511 ci: reconcile one downstream task per verified release and consumer 2026-11-27 21:43:49 +08:00
cflmy 69212ae01f ci: avoid redundant ecosystem runs for topic pushes and prose
ci/woodpecker/pr/eco Pipeline was canceled
2026-11-27 21:06:12 +08:00
cflmy d014ddb661 ci: verify release evidence before tracking promotion candidates
ci/woodpecker/pr/eco Pipeline is pending
ci/woodpecker/push/eco Pipeline was canceled
2026-11-27 20:45:05 +08:00
cflmy 068f91cd31 ci: publish the web CI image and run the domain browser lane
ci/woodpecker/push/eco Pipeline is pending
ci/woodpecker/pr/eco Pipeline is pending
ci/woodpecker/manual/reconcile Pipeline was successful
ci/woodpecker/cron/reconcile Pipeline was successful
- Update ci/images/Dockerfile.web to build from Ubuntu 24.04 + Node/Playwright
  Chromium from the domestic npmmirror binary source (the MCR base pull was too
  slow) and use the full Chromium channel (headless-shell asset is absent from
  the mirror).
- Pin the Web domain to marqdo-ci-web:3.0.0-rc.5 (digest 0cccda99...) and fix the
  ext-web gitlink to its domain CI commit; pipeline 1 passed all three cases and
  the production API/Chromium E2E.
- Evidence records the image digest, pipeline result and the ghproxy/npmmirror
  mirror decision.

Refs cflmy/marqdo#10
2026-11-27 16:17:23 +08:00
cflmy c5e9180404 ci: pin the verified single-repo image lanes and release reconciliation
ci/woodpecker/pr/eco Pipeline was successful
ci/woodpecker/push/eco Pipeline was successful
ci/woodpecker/cron/reconcile Pipeline was successful
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
2026-11-27 15:26:44 +08:00
cflmy 4cde0e256a ci: publish shared runtime images and add release reconciliation
ci/woodpecker/cron/reconcile Pipeline was successful
ci/woodpecker/pr/eco Pipeline was successful
ci/woodpecker/push/eco Pipeline was successful
ci/woodpecker/manual/reconcile Pipeline was successful
- 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
2026-11-27 14:13:05 +08:00
cflmy 0bf8a68cf5 docs: internalize ecosystem repository development conventions
ci/woodpecker/pr/eco Pipeline was successful
ci/woodpecker/push/eco Pipeline was successful
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
2026-11-27 12:09:22 +08:00
cflmy 277f9c307d release: switch the base release to CLI 3.0.0-rc.5 (c44b0f9)
ci/woodpecker/pr/eco Pipeline was successful
ci/woodpecker/push/eco Pipeline was successful
- Pin the root cli gitlink to the released rc.5 source c44b0f9 (tag
  v3.0.0-rc.5) instead of the pre-release Phase B commit.
- Record the published release identity: archive sha256:fd7a313e..., assets
  verified by download, single external Bundle db905508..., deterministic build,
  smoke, archive-only Ubuntu 24.04 cold install, migrated extensions and frozen
  external conformance on the exact artifact.
- MIGRATION records the base-release switch and the explicit limitations
  recorded in the rc.5 release notes: strict L1 UNVERIFIED (no VM/namespaces in
  the release environment) and shared-node G4 below thresholds but not an
  approved-node PASS. Rollback target is rc.4 source 452e9a3.

Refs cflmy/marqdo#2, cflmy/marqdo-cli#11
2026-11-27 11:07:35 +08:00
cflmy 01fb8ff7d0 docs: record the #2 release readiness candidate without publishing
ci/woodpecker/pr/eco Pipeline was successful
ci/woodpecker/push/eco Pipeline was successful
Real, unpublished release-candidate verification on the current combination:
root 4a92201, CLI deadf6e (same-SHA CI success), external Bundle
sha256:db905508..., and deterministic archives
sha256:377d2787... built twice from the same inputs. The archive passes smoke,
offline Ubuntu 24.04/glibc 2.39 cold install (no network/Cargo, stdlib missing
fails closed), the std: surface, the three migrated extension suites, and the
external conformance gate through the archive binary and RELEASE_INFO.

The evidence states what is NOT satisfied: the artifact reuses the rc.4 version
so it must never be published, a frozen rc.5 release SHA and version/docs
alignment are not started, strict VM and G4 performance evidence are
UNVERIFIED, and the tag/Release needs maintainer sign-off. No tag or asset was
created and the root release identity is unchanged.

Refs cflmy/marqdo#2
2026-11-27 09:51:13 +08:00
cflmy 4a92201708 feat: trusted candidate webhook adapter and lost-notification reconciliation
ci/woodpecker/pr/eco Pipeline was successful
ci/woodpecker/push/eco Pipeline was successful
- 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
2026-11-27 09:30:26 +08:00
cflmy 0655e8f4d5 docs: record the WEB-05 local candidate results
ci/woodpecker/push/eco Pipeline was canceled
ci/woodpecker/pr/eco Pipeline failed
Recursive layout PASS with the active Web domain/entries, 71 root integration
tests OK, Design/Preview component entries PASS, cold web Tool install with an
unchanged CLI digest, and the domain acceptance PASS. The full ecosystem
candidate (consumers/web step) remains evidence-gated by root CI.
2026-11-27 09:08:12 +08:00
cflmy 903f729a4d candidate: activate the Web domain in the root ecosystem (WEB-05)
- Root catalog web domain moves planned→active with entry
  scripts/domain-acceptance.sh; the root gitlink pins the activated domain
  commit f6d0a90 (Design 1b6607f / Preview eff273f active in its catalog).
- integration.sh adds extensions/web to the declared active set and runs the
  domain component entries plus a cold web Tool install: install → generic
  check/preview/handoff → remove with the CLI binary digest unchanged.
- Docs (ARCHITECTURE/MIGRATION/REPOSITORY-TASKS/README) record one active Web
  domain; evidence records candidate identities and the CI-gated result.

Refs cflmy/marqdo#6, cflmy/marqdo-ext-web#2
2026-11-27 09:05:30 +08:00
cflmy d4ccb77003 feat(candidate): authorize, verify and dedupe candidate notifications
ci/woodpecker/pr/eco Pipeline was successful
ci/woodpecker/push/eco Pipeline was successful
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
2026-11-27 02:19:00 +08:00
cflmy 520931ca34 feat(impact): recursive candidate impact analysis over the union graph
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
2026-11-27 02:05:22 +08:00
cflmy f17e23aeec docs: record the promoted stdlib migration combination and M4 cold install
ci/woodpecker/pr/eco Pipeline was successful
ci/woodpecker/push/eco Pipeline was successful
The root candidate is promoted: main pins CLI Phase B (no in-repo stdlib
sources) and the six migrated stdlib components; the root CI candidate passed
with one derived CLI/Worker/Bundle artifact and all consumers. Record the
promotion, the required check pipeline, the release-level offline cold install
result, the archive identity caveat (example binaries built locally differ from
the CI archive) and the remaining non-blocking follow-ups.

Also fix the integration evidence JSON: root_commit must name the root
candidate commit, with cli_source_sha separate.

Refs cflmy/marqdo#9
2026-11-27 01:51:06 +08:00
cflmy e7324edc0f candidate: pin the merged CLI Phase B commit
ci/woodpecker/push/eco Pipeline is pending
ci/woodpecker/pr/eco Pipeline failed
CLI PR #17 was fast-forward merged; the root candidate now pins the accepted
CLI Phase B commit (the earlier candidate commit plus the CI-only contract-lane
and Bundle-materialization fixes). Evidence updated with the merged identity.

Refs cflmy/marqdo#9, cflmy/marqdo-cli#11
2026-11-27 01:32:53 +08:00
cflmy 380d4f95a3 candidate: pin CLI Phase B and derive every artifact from the root candidate
ci/woodpecker/push/eco Pipeline failed
ci/woodpecker/pr/eco Pipeline failed
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
2026-11-27 01:07:31 +08:00
cflmy 4fade3e981 candidate: pin the explicit-package extensions and gate their consumption
ci/woodpecker/push/eco Pipeline was canceled
ci/woodpecker/pr/eco Pipeline failed
Pin ext-http/ext-regex/ext-archive at the merged explicit-Package candidates
(they stay planned, never join the default Bundle) and extend the root
acceptance gate to run any extension checkout that publishes the current
package layout (marqdo.yaml + index.mq.md + scripts/test.sh). Record the actual
package-entry decision in the ledger and evidence: the three domain modules are
consumed through the public @alias import after marqdo lock, with the original
domain tests and baseline terminal values preserved.

Refs cflmy/marqdo#9
2026-11-27 00:10:11 +08:00
cflmy 0c7430ede0 docs: record the stdlib M2 candidate identity, gates and unverified scope
Evidence for the pinned six-component candidate: two byte-identical Bundle
builds (0.2.0, tree digest sha256:db9055...), both verified CLI identities,
component entries, cross-repository composition (including byte-equal Table
split), fail-closed negatives, adjacent offline install and deterministic CLI
packaging. The file explicitly keeps the unchanged main combination, the
existing consumer gates, CLI Phase B and the ext migrations as UNVERIFIED.

Refs cflmy/marqdo#9
2026-11-26 23:51:22 +08:00
cflmy 7475c79cb2 migration: freeze the stdlib relocation ledger and add the unique Bundle producer
ci/woodpecker/pr/eco Pipeline was successful
ci/woodpecker/push/eco Pipeline was successful
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
2026-11-26 23:44:17 +08:00
cflmy 5798999691 fix: mount component directories as real Git submodules
ci/woodpecker/push/eco Pipeline is pending
ci/woodpecker/pr/eco Pipeline failed
2026-11-26 18:55:00 +08:00
cflmy 198b3acc86 docs: adopt hierarchical ecosystem governance and Web domain contract
Replace the flat, one-level submodule policy with the bounded tree
root -> domain aggregate -> component (at most two gitlink levels) and
introduce the single `kind = "domain"` governance role.

- Merge the approved architecture rules into ARCHITECTURE, DEVELOPMENT,
  MIGRATION, REPOSITORY-TASKS, AGENTS and components.toml; keep the full
  implementation spec as ADR 0001 (historical input, not a second
  current authority).
- Register `web` as a planned domain at extensions/web; child records
  live in marqdo-ext-web's own components.toml, never duplicated in the
  root catalog. No placeholder gitlink or fake active entry is created.
- Point the Web domain at the single authoritative contract
  marqdo-ext-web docs/WEB-DESIGN.md; Design and Preview stay planned
  until they have real entries and same-candidate evidence.
- Create the marqdo-ext-web, marqdo-web-design and marqdo-web-preview
  repositories (docs/contracts/issues only) and update the migration
  ledger, task list, extension index and issue/PR templates.
2026-11-26 17:18:14 +08:00
cflmy 8c1ec4c91e docs: explain Marqdo and index independent component repositories
ci/woodpecker/push/eco Pipeline was canceled
ci/woodpecker/pr/eco Pipeline was successful
2026-11-26 14:54:11 +08:00
cflmy b4395416fd docs: route website and VS Code work to independent repositories
ci/woodpecker/push/eco Pipeline is pending
ci/woodpecker/pr/eco Pipeline was successful
2026-11-26 13:55:59 +08:00
cflmy 024d803494 test: verify installed View execution and document migration work
ci/woodpecker/pr/eco Pipeline was canceled
ci/woodpecker/push/eco Pipeline was canceled
2026-11-26 13:25:35 +08:00
cflmy 4c5c102593 refactor: convert Marqdo into the ecosystem integration repository
ci/woodpecker/pr/eco Pipeline was canceled
ci/woodpecker/push/eco Pipeline was canceled
2026-11-26 13:19:26 +08:00