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.
Integrate the v2.8.0-based native agent workflow branch:
- durable open/next/inspect/list/commit/cancel step state with resume_dir isolation
- verified small-model choices, scoped context and bounded parallel recovery
- failed-only read-only retry through the Agent ABI plugin
- offline interpreter fixtures, contract checks and focused CI gates
- 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>
Capture the quantum pilot as a checklist-driven guide: layout, root skill
paths, call/session, narration, i18n, install hygiene, and rollout order.
Co-authored-by: Cursor <cursoragent@cursor.com>
Root skills get a choose-a-path table; circuit modules spell the simulate
handoff; call_cli covers ZH bell and stepwise session probabilities.
Co-authored-by: Cursor <cursoragent@cursor.com>
Split ext/quantum into index + modules, add marqdo call --effects/--session/--toget,
narrative-ratio checks, and a same-package 量子/ tree so agents can follow a
decision path for Bell demos without inventing a second API.
Co-authored-by: Cursor <cursoragent@cursor.com>
Expose foreign.oracle_journal/replay_check as values, bump CLI/ext/wasm to
2.4.0, and fix notebook OnceLock wait for MSRV 1.81 so EK can compile.
Co-authored-by: Cursor <cursoragent@cursor.com>
Host exposes oracle journals as language values with refuse/copy gates; bytecode and foreign session paths get modularized; applications and verification replay-policy sources land with Lake builds ignored.
Co-authored-by: Cursor <cursoragent@cursor.com>
Record corr_fresh_functional and host discharge (foreign gold + R1–R3)
for the closed/fresh/functional fragment instead of conformance-only wording.
Co-authored-by: Cursor <cursoragent@cursor.com>
Occlusion left .doc-block open and mid-width CSS stacked the Functions/Variables rail below Structure; close the block and stack by panel container width instead.
Co-authored-by: Cursor <cursoragent@cursor.com>
The same page is the document, the knowledge and the program. marqdo call runs that function with arguments, so reuse, tools and tests do not need a second skill system.
Co-authored-by: Cursor <cursoragent@cursor.com>
Request stream_options.include_usage, emit usage SSE events for collect_usage,
propagate plan tokens through run, and treat unknown prose decisions as DONE.
Co-authored-by: Cursor <cursoragent@cursor.com>
Env port strings must be json.parsed to int; pin main site to 18220 so
inherited MARQDO_SITE_PORT cannot steal the fixture bind.
Co-authored-by: Cursor <cursoragent@cursor.com>
Bump CLI/wasm/ext to 2.1.5; document ResourceView, ToolSpec, CheckpointV2,
EffectLedger, EKC warm-load, and web short/read lane isolation.
Co-authored-by: Cursor <cursoragent@cursor.com>
ResourceView csv render now includes bounded text alongside sanitized
HTML so clients can build interactive tables without re-parsing HTML.
Co-authored-by: Cursor <cursoragent@cursor.com>
ResourceView now carries render.text for JsonPreview/CodePreview and
honors locator.line with capped line locators for navigation.
Co-authored-by: Cursor <cursoragent@cursor.com>
Serve static application/json and text/csv previews with outline/table
limits and flip extract_formats availability for those media types.
Co-authored-by: Cursor <cursoragent@cursor.com>
Persist effects_watermark with resume checkpoints and pass resume_id into
step tool calls so mutating tools share a stable logical_run scope.
Co-authored-by: Cursor <cursoragent@cursor.com>
Prepare/start/commit write and execute tools with idempotent dedupe, and refuse
blind retry while ledger state is unknown or interrupted mid-flight (MA-T03).
Co-authored-by: Cursor <cursoragent@cursor.com>
Open AgentOutputV1/ContextPackV2 capability bits and add EffectLedgerRecordV1
so CheckpointV2 write auto-resume only unlocks on a safe watermark.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add ToolSpecV1 register/search/describe/prepare so CALL and native paths share one schema gate; unauthorized and invalid-arg prepares fail with zero executions.
Co-authored-by: Cursor <cursoragent@cursor.com>
Replace bare resume writes with temp/fsync/rename, mark legacy loads as manual_review, and expose bounded read-only retry decisions while keeping write auto-resume closed without a ledger.
Co-authored-by: Cursor <cursoragent@cursor.com>
Stop full recompile on every knowledge preflight by writing ekc/graph/ir.json
and loading it unless --refresh or missing projections, cutting chat预检 wall time.
Co-authored-by: Cursor <cursoragent@cursor.com>
Isolating every short invoke on the 2-slot worker pool caused no_slot under
normal traffic; keep short paths on parent (execute already off-process) and
background-reap after observer disconnect so zombies release slots.
Co-authored-by: Cursor <cursoragent@cursor.com>
Observer SSE close no longer cancels execute by default; short/read/control
bypass parent INVOKE_LOCK via isolated admission, with read_lane=1 and gold samples.
Co-authored-by: Cursor <cursoragent@cursor.com>
Repeated --without flags were ignored by install.sh (last wins), so
rust-docs still filled /tmp and hit quota; prefer --components= and
a home-cache work dir instead of tmpfs.
Co-authored-by: Cursor <cursoragent@cursor.com>
Long sse-live chats held INVOKE_LOCK indefinitely and starved short routes
(UI freeze). Timed try-lock returns interpreter busy → HTTP 503; ADR 0008
records that HTTP is multi-goroutine while Marqdo evaluation stays single-flight.
Also lands plan/delta streaming and soft map guards used by qdagent chat.
Co-authored-by: Cursor <cursoragent@cursor.com>
Upgrade json invoke routes to the M02 EventBus forwarder for OpenAI-compatible
stream requests, and normalize LLM delta frames to message.delta.payload.delta
so tokens flush before run.completed.
Co-authored-by: Cursor <cursoragent@cursor.com>
Hold analysis locks across compile for concurrent same-snapshot reads,
emit SnapshotManifestV1 for app retention, and add Go drainForward tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add dual-endpoint LLM isolation, usage revision replace, cancel/F08/F11
asserts, and mark the design status Partial until remaining F gaps close.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add capabilities/selection/usage/DocumentView/locator/RunContext with
honest probes, LLM messages+cancel, sse-live cancel bridge, and CI
workbench_contracts gate; record design evidence for verified slices.
Co-authored-by: Cursor <cursoragent@cursor.com>
Make examples/executable-knowledge runnable on both backends, bind same-module
Type.member paths, add closure digests to locks/impact, and gate 100 corpus
units plus CLI smoke so S4–S6 leftover items have reviewable evidence.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add artifact.extract_pure for restricted expression lifting, a runnable
bookstore tax story fixture, and G12 discovery limits so oversized or deep
trees fail with explicit diagnostics instead of hanging.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add comment-line NarrativeRef steps, generation CURRENT snapshots, frontmatter
sources/applicability, digest-guarded artifact.patch, lock change classes, and
an offline CI gate so the documented S0–S6 path has reviewable evidence.
Co-authored-by: Cursor <cursoragent@cursor.com>
Share resolve_for_exec across Tree/Bytecode and semantic projections,
emit bound_calls/dynamic_calls, and require eng_reuse bind_targets before
execute so discovery scores cannot be treated as handles.
Co-authored-by: Cursor <cursoragent@cursor.com>
Imported functions shared the flat call table, so bare same-named calls
could silently bind across imports. Scope tags keep path calls working
while rejecting ambiguous bare names on both backends.
Co-authored-by: Cursor <cursoragent@cursor.com>
Establish author baseline fixtures and offline tests, make SemanticProject
the sole authority for graph edges, classify named steps, and tighten
local reuse so unknown effects are not pure and MLSP binds by SymbolId.
Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the cross-document scope and non-Python/Node adapter designs in the document for future work, but remove them from the current implementation target and priorities.
Enforce the v3 plan boundary: foreign.session must be a top-level binding. Nested plans are diagnosed instead of silently becoming stateless. Tests cover the AST helper and DocumentSession open.
Add view capture to record per-cell outputs and session summary with source hashes. view output --snapshot consumes the capture without re-executing and rejects source drift. Includes snapshot parsing tests.
Export JSON-safe kernel values, cells and journal; restore values into a matching plan; replay cells with recorded stdin. Add /api/session/snapshot/{export,import,replay}.
Persistent Python/Node kernels receive raw program stdin per eval; foreign.session accepts an inputs table and view exposes per-cell stdin. Add session interrupt host API and view control.
Session eval now carries raw stdin, and the Python/Node workers temporarily replace program stdin during evaluation. foreign.session accepts an inputs table; view exposes per-cell stdin and Run All sends a per-cell input map. Stateless and persistent cells share the same input semantics.
Document the remaining foreign runtime gaps: persistent raw stdin, per-cell input, dynamic plan boundaries, runtime plan updates, interrupt, state export/replay, cross-document scope, non-Python/Node adapters, live-to-static snapshots and explicit writeback policy.
Keep descriptive table labels non-callable and suppress call annotations on table blocks. This removes the collapsed call {步骤...} chip while preserving the table and the return 950 chips at the actual foreign/writeback calls.
Track the caller line on CallFrame and use it for return annotations instead of the callee library line. Return 950 stays visible on the actual foreign/writeback calls; the Markdown table remains intact and no longer receives stray return chips.
Wrap foreign.run/session and writeback.record table labels in code spans so the prose table is not traced as executable calls; this removes the stray return 950 chips.
Render contiguous writeback comment lines as one block, and map output-card/writeback tokens to the View dark theme. Static and live pages no longer show three dashed fragments or light output cards on dark.
Move the foreign + writeback demo into the user persistence page. The page runs a Python code fence, records a keyed total slot, and the slot is visible in both source and static rendering. Remove the separate example document.
Move persistence guidance out of the walkthrough into separate static pages. Add examples/foreign-writeback/index.mq.md, which executes a foreign code fence and writes a keyed total slot into its own source.
Add a persistence recommendation to the user-facing foreign walkthrough: static export for published snapshots, and lib/writeback for opt-in result slots in the .mq.md source. Show a readable code-fence based writeback example.
Replace inline source strings with readable Python code fences bound as Marqdo code values. The low-level session evaluates those values; no long escaped source argument remains.
foreign.session accepts a values table and initializes each kernel from ordinary Marqdo values. The static walkthrough now uses two kernels and a shared 订单 value instead of redefining orders inside Python. Static pages embed the session summary so kernel controls and Clean stay visible.
Code cards again show a kernel selector and a Clean button. Clean calls /api/session/cell/clear for live sessions and clears local output in static snapshots, without restarting kernels.
Rewrite the static foreign walkthrough without stdin-driven examples. It now demonstrates session_set from an ordinary Marqdo table, persistent kernel state across evaluations, and a foreign.session view plan sharing state across cells. Static export executes those cells and embeds the real outputs.
Foreign cell examples read stdin with a deterministic fallback, so static exports show real output without tracebacks. Low-level session bindings named 会话 are no longer mistaken for a view plan; static export runs all cells again.
Static export skips cells that read stdin when the document has no preset stdin, and shows a short explanation instead of a traceback. Preset stdin still executes normally.
View gets a Cell stdin/input field wired to cell Run, Step and Run All. Stateless cells receive raw stdin; persistent kernels receive marqdo_input. Static export uses the document preset stdin and the same run_all path.
Run All now records per-cell failures and continues; static export uses the same foreign_doc run_all and injects those records. A cell that succeeds in view therefore succeeds in the static snapshot, and failures match.
Static export opens the foreign document session, runs cells once, and injects stdout/stderr/error into the code cards. Failures are shown as real errors; --no-exec still skips execution.
Static pages now render the same toolbar and Execution Clear button as live view. Clicking any execution control shows a static-export notice instead of hiding controls or pretending to run.
No-session view Run All now runs the document and renders stdout into Execution; Clear outputs clears Execution output, plots and plan cards as well as cell outputs.
Add an Execution Clear button and clear the Execution out/plots/plan card in addition to code-cell outputs. The same clearOutputs path calls /api/session/clear, so ordinary stateless pages and foreign sessions are both wired.
foreign.session returns a handle from ordinary kernel/cell tables; view consumes only the 会话 binding. Sessions live in host foreign_doc. Without 会话, view cells run stateless one-shot. Add /api/session/clear and a Clear outputs button for every view page; clearing keeps persistent kernel state.
Delete the source-line table scanner. 内核表/会话表 are now evaluated as ordinary Marqdo bindings (with simple assignment dependencies) via Interpreter::capture_declarations. Every view page uses the same cell toolbar; run/watch semantics are unchanged; no new CLI or Markdown marker.
Cell controls now appear only when a document declares 内核表/会话表. Remove Notebook branding and Jupyter In/Out prompts; ordinary view pages stay classic. There is no new CLI command or second interactive mode; run remains canonical execution and view is the only interactive surface.
Foreign v2 + document-native notebooks, view contrast/themes/resize, public OKF/EKC and Python examples. Bump CLI/wasm/ext to 1.5.0; no core surface delta.
Rewrite the public foreign reference, add bilingual complex Python notebook and OKF/EKC pages, and expand both homepages with executable foreign, notebook, knowledge and preflight examples.
Legacy view tokens (--ink, --fill, --line, --muted) now resolve from the notebook theme. This fixes dark text and white annotation chips on the dark STRUCTURE surface, including function names, binding labels, tables, and the right rail.
Remove the two conflicting highlight.js stylesheets and define one high-contrast token palette. Dark code foreground is #f0f0f0 on #1e1e1e (14.6:1); light is #24292f on #f6f8fa (13.8:1). Keywords, strings, and comments stay above readable contrast, and base view code blocks are resizable too.
Add native vertical resize to code and output panes; add a VS Code Light token set with Jupyter light syntax highlighting, a toolbar theme toggle, and localStorage persistence. Keep the restored three-column layout.
Keep the original three-column layout (file navigation, main structure, Functions/Variables rail) and execution/source sections; restyle them with the same VS Code dark surface tokens so the notebook remains readable and consistent.
Flat VS Code Dark surfaces and borders, Jupyter In[n]/Out[] cell structure, unified top cell toolbar, consistent typography and spacing, removed gradients, glows, heavy shadows, and multi-color pills.
Five-cell Python notebook sharing one kernel: deterministic order generation, regional/product metrics, z-score anomaly detection, ASCII report + JSON, and an isolated second Python kernel that validates the report through an explicit file bridge.
Notebook and debugger controls now call api/... and open debug?path=... relative to the page, so the same HTML works under a path prefix such as /marqdo-view/<token>/. This enables same-origin DSH preview without publishing another Docker port.
If/else arms that all bind a local (e.g. # llm key/url/mdl/nm) no longer leak it into constructor params. This fixes the missing `key` error in llm.create and restores the agent/llm gold tests. Adds a regression test.
Expose /debug and /api/debug/* on the live view server; add a notebook Debug button so Marqdo statement stepping is reachable from the same page/session as cell stepping.
D3 (partial): reload re-parses the document while preserving kernels, marks changed cells dirty; Journal and Reload view actions; filtered Node variable names for the state panel; per-session timeout parsing before spawn.
D1/D2: 内核表/会话表 parsing, DocumentSession cell index, named/default kernels, shared state + isolation, run_cell/step/run_all/restart/assign, state bridge, journal, POST /api/session/*, and a live-view notebook bar with status badges, per-cell kernel selector, step/run-all and push/pull state form.
F2: call/call_many JSON bridge, run_many ordered parallel execution with per-item isolation and concurrency cap, plus node gold tests for call and call_many.
Record the Jupyter-beyond discussion, decisions, and the document-native notebook syntax (内核表/会话表). Split the design into F (foreign kernel runtime) and D (document session) layers, with roadmaps, state bridge, stepping, journal, and security rules.
Design §8.2 treats the first bold assignment as a declaration, but merging only walked backtick mentions, so n = n + 1 never entered the signature.
Co-authored-by: Cursor <cursoragent@cursor.com>
Miss resolve omitted llm_free and run called bare preflight, which crashed
qdagent on empty OKF. Align miss fields, use self.preflight + json.get, add
regression gold and research note.
Co-authored-by: Cursor <cursoragent@cursor.com>
Capture the 2026-10 landscape (skills, Skill Lift, routing, GEPA) against Marqdo’s code-as-docs assets and list feasible optimize directions without editing doc/next.
Co-authored-by: Cursor <cursoragent@cursor.com>
Give agents a capability-capped run path that stages workspace edits until commit, so generated .mq.md can be verified without polluting the real tree.
Co-authored-by: Cursor <cursoragent@cursor.com>
Unify frame chip ids with marks, reorder chips under anchors, and draw
SVG leaders from underline mid-bottom to chip mid-top so crowded bands
stay readable.
Co-authored-by: Cursor <cursoragent@cursor.com>
Prose-unified control flow, formula meta bind, image writeback, view
inferred params; sync CLI/wasm/ext/VERSION and install docs.
Co-authored-by: Cursor <cursoragent@cursor.com>
Welcome pages put greet calls in # main so CallFrames/pickers appear;
document surface skips fence body lines and Bind chips under formula/code cards.
Adds view-static-interactive design and entry-vs-method regression tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
Browse Structure keeps narration and surfaces post-stmt values, branch
arms, and call/loop pickers; static `view output` shares the same render
path so exported HTML matches live view.
Co-authored-by: Cursor <cursoragent@cursor.com>
Go ServeMux does exact-match routing; a trailing slash caused dynamic
routes like /post/{slug} to fall through to the 404 catch-all. Add
withStripTrailingSlash middleware as the outermost handler wrapper so
all downstream middleware (RBAC, tenant, mux) see the normalized path.
Tested: static routes, dynamic routes, root path, query-string preservation.
Allow path-style redirect_uri (/oidc/callback) so apex/www and
proxied HTTPS share one config; persist the absolute URI for token exchange.
Co-authored-by: Cursor <cursoragent@cursor.com>
marqdo run cli/… sandboxes to the entry directory by default; repo-root
sandbox+cwd lets qdagent keep thin CLI wrappers under cli/ without
escaping .marqdo or polluting cli/.marqdo.
Co-authored-by: Cursor <cursoragent@cursor.com>
Table cells shadowed self/column names (model, usage), so [model](self)
and [total_tokens](usage) raised "footnote index needs list or map" and
blocked live agent.step / qdagent BUILD.
Co-authored-by: Cursor <cursoragent@cursor.com>
Packaging trees and runtime vaults were inflating EKC with duplicate noise; dogfood agents should index product sources only.
Co-authored-by: Cursor <cursoragent@cursor.com>
Give agents Engineering First Information before codegen: L0–L4 catalog,
reuse/preflight (REUSE→ADAPT→CREATE), graph, and CLI surfaces so large
repos stop reinventing existing capabilities.
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire data_source into Document render, register Endpoint handlers via
run_artifact, restore marqdo-blog as an Artifact site, and replace old
compose_* web golds with ADR 0007 fixtures and docs.
Co-authored-by: Cursor <cursoragent@cursor.com>
Replace the monolithic compose_*/configure author surface with file-level
web|endpoint artifacts, split ext/{web,data,security,net}, and lock
no-degrade rules so the model cannot regress to God-object APIs.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add agent_mcp_client and agent_resume_* plugin APIs. Treat jev as a
compat alias of small-llm; auto cascade no longer probes MARQDO_JEV.
Co-authored-by: Cursor <cursoragent@cursor.com>
OpenAI transport prefers llm_chat_completions when the native plugin is
resolvable, and falls back to lib/net HTTP/SSE so CI stays green without the .so.
Co-authored-by: Cursor <cursoragent@cursor.com>
Parse choices[0].message.tool_calls into the ask Result; empty list when
absent. Offline gold covers tool_calls_from.
Co-authored-by: Cursor <cursoragent@cursor.com>
Inject bound frontmatter keys into the entry env as ordinary variables.
Reject body ${env…}; bytecode entry prologue seeds the same locals.
Co-authored-by: Cursor <cursoragent@cursor.com>
Expose entry source via sys.module_source; ask/stream fall back to
prompt_body of the entry document. Add meta-binding and entry-prompt golds.
Co-authored-by: Cursor <cursoragent@cursor.com>
Stop plan from clobbering an existing resources workbook with an explore
skeleton. Add llm.prompt helpers and agent-plan-preserve gold.
Co-authored-by: Cursor <cursoragent@cursor.com>
Launchpad builds only need rustc + cargo + rust-std (debian/rules PATH),
but install.sh was still shipping rust-docs-json-preview / rustfmt /
rls (~1G). Also drop the 1.5G extract dir via EXIT trap when install
fails — the leftover is what filled /tmp last run.
Co-authored-by: Cursor <cursoragent@cursor.com>
The canonical bridge uses ESM exports but, with no package.json in scope,
Node loads untyped .js as CommonJS — tests/wasm/smoke.mjs could not see
applyDomPatch et al (Named export not found). Scope type=module to the js
dir only; marqdo wasm build copies just the single .js file, so nothing
ships differently.
Co-authored-by: Cursor <cursoragent@cursor.com>
b752cd4 stopped auto-gating admin_prefix when admin=false but did not
update the P3 gold, which still expected the removed /admin auto gate
(ng >= 2). Assert the new intent instead: exactly one explicit gate
registered with the declared path.
Co-authored-by: Cursor <cursoragent@cursor.com>
- WS handshake: same-origin CheckOrigin instead of allow-all
- route_ws require_auth/需要登录: broadcast/room need a session by default,
explicit opt-out for public feeds; unauthenticated handshakes get 401
- WS limits: 1 MiB per message, 256 replies per connect; transport errors
return {ok:false, error} instead of an empty success; empty rooms GC'd
- net host: enforce the 8 MiB response cap while reading (incl. error and
SSE error paths) so a peer cannot exhaust memory
- url_encode: %20 for space (URL segment semantics, not form +)
- docs: sync 网页 (route_ws 需要登录, connect caps) and CHANGELOG
- tests: gold expectations, live fixture opt-out, hub GC, ws auth gate
Co-authored-by: Cursor <cursoragent@cursor.com>
Clear the session and land on / when logout_redirect is an OIDC entry
path; also exclude */logout from RBAC gates so exit always runs locally.
Co-authored-by: Cursor <cursoragent@cursor.com>
Skip auto-gating admin_prefix when admin=false, and mount /_rbac/* only
when enable_rbac sets desk/管理台 so custom desks are not interfered with.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add authorization-code OIDC for site auth, treat form action delete as a
generic CRUD primitive, and resolve {param} placeholders in page intros so
custom admin desks can stay in .mq.md without site-specific plugin patches.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add long Cache-Control for /static, version client embed URLs from
asset_version, and delay WASM mount until after load so LCP images win.
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire session_url through app.auth/listen so sites can store sessions in
Redis while keeping Postgres/SQLite for application data.
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire pgx for postgres:// DB URLs, dialect-aware RBAC/sessions, and replace dead marqdo_sid cookies so login forms always get a fresh CSRF token.
Co-authored-by: Cursor <cursoragent@cursor.com>
The js feature pulled __wbindgen_* imports that marqdo-bridge cannot satisfy, breaking theme toggle and all client WASM.
Co-authored-by: Cursor <cursoragent@cursor.com>
Markdown form fields render a dual-pane shell; official boot posts textarea input to /_md for GFM HTML without author business JS.
Co-authored-by: Cursor <cursoragent@cursor.com>
Desk 文案 cancel links stamp redirect so POST leaves the compose page; empty date fields can opt into 空则现在 without blocking custom values.
Co-authored-by: Cursor <cursoragent@cursor.com>
Edit pages can stamp compose_form_load to hydrate forms from DB by route id without author JS. Part slots use {part} so pathParamNames can inject {id} again.
Co-authored-by: Cursor <cursoragent@cursor.com>
Replace author theme.js with framework chrome (nav brand, theme boot,
client mount) plus bridge scroll/observe helpers; add form submit copy
and type=markdown textareas so sites can drop business JS.
Co-authored-by: Cursor <cursoragent@cursor.com>
List binds with 插槽=rail render aside.side-rail and set has-rail; cards honor pinned; pages that load KaTeX auto-render get an official deferred math boot so authors need no volume.js.
Co-authored-by: Cursor <cursoragent@cursor.com>
Custom /login and /desk/login can POST natively: CSRF/next are injected server-side, failures re-render the same site page with localized flash, and compose_auth_form / 鉴权表单 removes the need for author JS.
Co-authored-by: Cursor <cursoragent@cursor.com>
News and other cards with http(s) or root-relative links were incorrectly prefixed with link_prefix, breaking SSR /news.
Co-authored-by: Cursor <cursoragent@cursor.com>
Site-owned GET /login no longer serves the framework form; stamp
csrf-token + session cookie on page render so JS can still POST /login.
Co-authored-by: Cursor <cursoragent@cursor.com>
Replace domain comment hacks with generic session/route/now stamps,
server-only form fields, compose_list for detail+child lists, and a live gold.
Co-authored-by: Cursor <cursoragent@cursor.com>
Bare tables in a function body evaluate as collections without requiring
a name bind; restores welcome-page install tables.
Co-authored-by: Cursor <cursoragent@cursor.com>
Align nav/side/foot slots and shell CSS with table-driven admin desk;
add session login/logout mount and widen form fields for usable create UX.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add compose_intro (属性/值/样式) so page heroes are not HTML strings, and polish examples/web-site for WWW Demo: literary shell, card→detail routes, richer seeds, particle atmosphere without author JS.
Co-authored-by: Cursor <cursoragent@cursor.com>
Unbold code-shaped prose and give log.fields a map so pages and
`view output` stay green under markup v0.3.
Co-authored-by: Cursor <cursoragent@cursor.com>
Pages was failing on leading-backtick narrative (already fixed on main).
Linux job now waits for the Windows release, then uploads .so plugins and a
Linux CLI bundle. Release skill treats those assets as mandatory.
Co-authored-by: Cursor <cursoragent@cursor.com>
--dump-lines tags [decl]/[bold]/[italic]; --dump-ast prints `inferred` params
and `dead=[…]`. Migrate leftover italic-assign unit fixtures to bold/return.
Co-authored-by: Cursor <cursoragent@cursor.com>
Reject `` `n+1` `` as Decl, and when skipping non-decl `` `…` `` advance past the closing tick so inner `*` cannot open italic (fixes `` `OPENAI_*` `` in ext/ai/llm).
Co-authored-by: Cursor <cursoragent@cursor.com>
Treat `` **x = 1 `` as Code and error with a clear unclosed-`**` diagnostic instead of silently skipping it as a comment.
Co-authored-by: Cursor <cursoragent@cursor.com>
Trailing text after a glued default (same terminators as prose Decl) keeps the line narrative so `` `礼貌`=False 时… `` no longer binds a mangled text value.
Co-authored-by: Cursor <cursoragent@cursor.com>
Only `` `name` = … `` binds stay Code; lines like `` `捕获=True` 时… `` are Comment Decl prose so they no longer raise unrecognized statement.
Co-authored-by: Cursor <cursoragent@cursor.com>
Show inferred function parameters with a dashed chip and outline annotation so view surfaces v0.3 param elevation without changing the redundant call surfaces.
Co-authored-by: Cursor <cursoragent@cursor.com>
Track CallExpr.bracket_marked from `[callee]` parse so Structure display keeps `[fn] …` instead of falling back to `> fn …` when there are no pre-modifiers.
Co-authored-by: Cursor <cursoragent@cursor.com>
Prefer [lib.fn] in remaining public/stdlib samples, correct italic returns in structure import modules, and keep lib/系统 narration from starting with backticks.
Co-authored-by: Cursor <cursoragent@cursor.com>
Teach bold-as-code, italic-as-return, link-index, and bracket-marked calls across chapters 1–8/10–14 and Skill reference so teaching matches the runtime.
Co-authored-by: Cursor <cursoragent@cursor.com>
Rewrite chapter 9 and Skill examples around [key](coll), bracket-marked
calls, and ** code / * return; keep footnote get as a transitional note.
Co-authored-by: Cursor <cursoragent@cursor.com>
Migrate remaining footnote-style collection access in examples,
public/structure, and ext/lib smokes to [key](base); teach link-index in
structure pages and use bracket calls in the cafe journal example.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add module intros and per-function purpose lines across EN/ZH libs, with
callable examples on the smaller modules; keep + params and host bodies intact.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add purpose lines and bracket-call examples in EN/ZH libs and public/stdlib
demos; keep explicit + params so function-body prose cannot be mistaken for
link-index or bold code.
Co-authored-by: Cursor <cursoragent@cursor.com>
Stabilize `mod… [callee] args` (modifiers → name=True) alongside link-index
disambiguation; expand in interp/bytecode, show in view, and document lib/view
code-as-docs waves before stdlib rewrite.
Co-authored-by: Cursor <cursoragent@cursor.com>
Drop syntax-teaching asides, rename the tip helper to 印章加一, and keep
return phrasing that the italic heuristic recognizes.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add GFM link-shaped index as the primary get surface, keep footnote
index as transitional compatibility, and align the coffee example.
Co-authored-by: Cursor <cursoragent@cursor.com>
Treat --- as Markdown HR everywhere, end side-effect helpers with empty returns,
and accept soft emphasis, float literals, and dynamic footnote keys so LLM-friendly
.mq.md stays runnable. Ship the weekend coffee example plus gold fixtures.
Co-authored-by: Cursor <cursoragent@cursor.com>
Migrate remaining .mq.md (tests/ext/public/examples), stop elevating local assigns to params, inject form_target in Go libweb, and skip live LLM gold without a real key.
Co-authored-by: Cursor <cursoragent@cursor.com>
Make prose-unified Markup the only runtime: bold segments are executable,
italic is return, params can be inferred from body/prose, with no v0.2 dual
mode. Migrate lib and structure/keywords golds; gate on tests/markup-v03.
Co-authored-by: Cursor <cursoragent@cursor.com>
Port original CSS/JS/assets, rebuild home as four sections with feed
fragments, expand schema (boards/notices/rooms/topics), and add
page.chrome HTML overrides plus invoke html returns so Marqdo can
render Django-class chrome without json glue.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add a GFM-first anlian rewrite under examples/anlian-mq to exercise Go
libweb (lists, detail, gates, login, WS). Wire RBAC/login into listen,
page query/order/detail ABIs, and stop issuing Max-Age=0 CSRF cookies so
browser login sessions stick.
Co-authored-by: Cursor <cursoragent@cursor.com>
Mount media/ws/proxy/invoke routes in httpx, force gold onto Go via
MARQDO_WEB_PLUGIN, and case-fold middleware header checks so all seven
web live golds pass against libweb.so.
Co-authored-by: Cursor <cursoragent@cursor.com>
Switch ext add / gold / release builds to scripts/build-web-plugin.sh,
drop the Rust archive from the Cargo workspace, and resolve libweb from
plugins/web/build (and target copies) without MARQDO_WEB_PLUGIN.
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire existing db.TableInfo through the C ABI so offline admin smoke
can introspect columns before form_from_schema.
Co-authored-by: Cursor <cursoragent@cursor.com>
Emit page.head scripts/styles with defer and asset versioning so
shell/layout, style/head, and nav when/media offline smokes pass.
Co-authored-by: Cursor <cursoragent@cursor.com>
Register route_ws/ws_connect ABIs with an in-process broadcast hub
so offline WS broadcast and access_log smokes pass on libweb.so.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add paginate/meta wiring, RSS and sitemap builders, and app
redirect/error/sitemap/robots route bags so content and W7 offline
smokes pass on libweb.so.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add file: storage, media validate/save, app upload/download/gallery
route bags, and head/images/icons assembly so offline upload, assets,
and P3 smokes pass on libweb.so.
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire begin/commit/rollback, migrations, FTS search, and form
rules/validate/render/submit/from_schema plus mount_form; pass
web-db-w2, web-db-w6, and web-form-smoke against libweb.so.
Co-authored-by: Cursor <cursoragent@cursor.com>
Port table/compose/style/render/db/form/app bags, register ABI symbols,
prefer MARQDO_WEB_PLUGIN over ~/.marqdo, and pass web-smoke + web-zh-smoke.
Co-authored-by: Cursor <cursoragent@cursor.com>
Archive the Rust web plugin and add a Go c-shared skeleton with ABI v2
bridge, build script, design doc/ADR, and smoke test so multi-language
plugins and full web parity can proceed wave by wave.
Co-authored-by: Cursor <cursoragent@cursor.com>
compose_form/表单装配 can inject into intro via target/表单插槽; unresolved
ext/ imports hint to set MARQDO_EXT when unset.
Co-authored-by: Cursor <cursoragent@cursor.com>
Document the proven hk.cflmy.de CONNECT path and ship push-via-hk-jump.py so flaky Clash/reverse-proxy no longer blocks releases.
Co-authored-by: Cursor <cursoragent@cursor.com>
Thicken lib/fs with recursive mkdir/rmdir-tree, metadata maps, and
depth-first walk; add gold tests and public demos.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add read-only TOML subset parse, HTML escape/unescape, and RFC 4648
base32 on encoding; gold tests and public demos included.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add calendar moments as {unix,zone,iso} maps and URL/query parse
helpers in lib/ with thin host_* forwards; gold and public demos.
Co-authored-by: Cursor <cursoragent@cursor.com>
Nested call_registered was clearing the process-wide host pointer to null,
so web_listen lost context for later HTTP invoke rounds after an inner ABI call.
Co-authored-by: Cursor <cursoragent@cursor.com>
Close GAP-01–05 with ext/web streaming reverse proxy and HTTP→## invoke,
transitive object method lookup, corpus_search plugin ensure, and agent MCP
server stdio so downstream apps can drop Python side relays.
Co-authored-by: Cursor <cursoragent@cursor.com>
Alias writeback as wb so the writeback= param does not shadow lib calls; ignore unknown stream event types so live SSE models keep working.
Co-authored-by: Cursor <cursoragent@cursor.com>
Close the mid-tier stdlib waves with filtered one-line logs and cryptographic UUID minting in lib/, plus golds and public demos.
Co-authored-by: Cursor <cursoragent@cursor.com>
Thicken table with sort/unique/chunk/zip/flatten and add lib/cli
flag parsing, with golds and public demos.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add lib/csv parse/stringify and expand lib/text with contains,
replace, case, pad, and related golds plus public demos.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add lib/hash and lib/secrets (EN/ZH) with known-vector golds,
getrandom-backed tokens, and public demos.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add lib/path (EN/ZH) and thicken fs with sandboxed copy_file, move,
and make_temp, with golds and public demos.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add lib/re and lib/encoding (EN/ZH) backed by host_re_* and
host_encoding_*, with golds, public demos, and design docs.
Co-authored-by: Cursor <cursoragent@cursor.com>
Define mid-stdlib admission rules and a phased roadmap so general
primitives land in lib/ instead of ABI plugins.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add la.declare for batch MatrixSymbol from @-record tables, ship
examples/linalg-transpose, and mark formula-doc F2 done.
Co-authored-by: Cursor <cursoragent@cursor.com>
Dispatch +/−/* to the linalg plugin for matrix values, retag for EN/ZH
method chains, and expand # matrix with T/simplify/ascii-style methods.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add dense kernels with element limits, from_formula for $$ matrices,
and linalg-basic-smoke covering 2×2 det/trace/solve/explicit.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add research, design, and roadmap for ext/linalg; cross-link from
stdlib-math and quantum Q7 so classic MatExpr stays out of lib/math.
Co-authored-by: Cursor <cursoragent@cursor.com>
Filter nav/sidebar/footer by auth/guest/hide and emit responsive media CSS; stamp _logged_in from session on listen.
Co-authored-by: Cursor <cursoragent@cursor.com>
Warn or reject numeric CSS values from bare `/` division; support script defer/async/version and page/app asset_version for cache busting.
Co-authored-by: Cursor <cursoragent@cursor.com>
Make auth/admin gates use path segment prefixes, configurable redirect vs 403, and login_path exclusion so /admin-publish and /desk/login are not mis-matched.
Co-authored-by: Cursor <cursoragent@cursor.com>
Stop mounting reserved admin routes when admin=False, nest CRUD under a
configurable prefix, and honor login/logout redirects so custom desks need no JS bypass.
Co-authored-by: Cursor <cursoragent@cursor.com>
Capture route/shell/auth/theme pain points from real sites and lock per-item solution docs before plugin work.
Co-authored-by: Cursor <cursoragent@cursor.com>
Ship bridge effects for file/canvas/audio/observers/drag-drop with
browser-media demo; add lib/browser and marqdo-dev skill so clients
use tables/helpers instead of json.set glue.
Co-authored-by: Cursor <cursoragent@cursor.com>
querySelectorAll patches, add/remove_class, append_html, remove,
clipboard/download, cookie storage; browser-app list delete + fetch_all/ws
panel. Mark E completed; plan F for file/canvas/media.
Co-authored-by: Cursor <cursoragent@cursor.com>
Expand the official bridge with style/focus/list/navigate/storage/ws/
fetch_all/interval effects; relax the design rule to forbid only
author-written JS. Add browser-app demo and L1 list_html/dom_patch keys.
Co-authored-by: Cursor <cursoragent@cursor.com>
Auto-mount via bridge mount/data-mq and client_embed; expand DOM/form
effects; drop hello loader JS; add web-client-site. Document that C+D
cover mid-size interactivity but not most JS apps—route E covers
routing, storage, lists, WebSocket, and richer DOM/timers.
Co-authored-by: Cursor <cursoragent@cursor.com>
Accept ADR 0003: handlers return fetch/after maps; the official bridge
runs Promise/timer work and resumes via mq_call. Add fetch.mq.md demo.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add BrowserSession with shared entry env, mq_boot/mq_call exports,
marqdo wasm build, and a counter page driven only by counter.mq.md.
Co-authored-by: Cursor <cursoragent@cursor.com>
Feature-gate host/CLI deps for wasm-core, add run_source, and ship
crates/marqdo-wasm with a raw mq_run ABI plus examples/browser-hello.
Co-authored-by: Cursor <cursoragent@cursor.com>
Accept route C: ship the interpreter/VM on wasm32 with a thin JS host
bridge, not transpile-to-JS. Add design, roadmap, and cross-links.
Co-authored-by: Cursor <cursoragent@cursor.com>
Ship site icons, head asset tables, and image assembly; absolutize
entry_dir for relative entry scripts so sqlite paths no longer nest.
Co-authored-by: Cursor <cursoragent@cursor.com>
Capture productization, eval, live MCP, resume/HITL, and metrics gaps after the A0–A4 optimize loop; link from roadmap and doc index.
Co-authored-by: Cursor <cursoragent@cursor.com>
Record decision/round/done without requiring stream; render process timeline on view plan cards; keep SSE gated on stream=True.
Co-authored-by: Cursor <cursoragent@cursor.com>
Offline coverage: two precise workbook patches then agent_workbook_solidify
freezes the step worker into a quoted return.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add examples/quantum-entanglement lab, update skill/reference/examples
and public feature page for Q7 density/viz APIs; mark roadmap Q7 complete.
Co-authored-by: Cursor <cursoragent@cursor.com>
Update Marqdo AI skill (SKILL/reference/examples) with ext/web authoring
rules and API summary; reconcile web-net-capabilities conclusions and blog
checklist with shipped W0–W7+P3 surface.
Co-authored-by: Cursor <cursoragent@cursor.com>
Move the Build & export loop into scripts/run-public-pages.sh (explicit
bash, skip files without # main) so CI failures show which demo broke.
Also quote remaining time/json italic string args.
Co-authored-by: Cursor <cursoragent@cursor.com>
Avoid locale-sensitive find -name/?? matching for 工具.mq.md; only run
demos that define # main so import helpers are skipped on all runners.
Co-authored-by: Cursor <cursoragent@cursor.com>
Literal 工具.mq.md in the workflow shell can fail to match on runners;
limit ?? to structure/import so utils/工具 are skipped without dropping
other two-character public docs (数学, 文本, …).
Co-authored-by: Cursor <cursoragent@cursor.com>
Bare identifiers inside *…* are variables; quote text args (and var="x")
so marqdo run on public/*.mq.md succeeds. Narrow pages.yml exclude to
utils.mq.md and 工具.mq.md instead of overly broad ??.mq.md.
Co-authored-by: Cursor <cursoragent@cursor.com>
The pages workflow used a mojibake exclude name, so import helper
工具.mq.md was executed and failed without a # main entry.
Co-authored-by: Cursor <cursoragent@cursor.com>
Complete the remaining network-extension gaps so media sites can
gate by role, auto-stamp rows, declare foreign keys, browse uploads,
and conditional-get downloads.
Co-authored-by: Cursor <cursoragent@cursor.com>
Ship Cache-Control, 301 redirects, custom 404/500, sitemap/robots, and
init unique/index so the web capability roadmap is complete for P0–P2.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add route_ws mode=broadcast with a per-path hub, configure access_log
for stderr request lines, and cover both offline and live gold.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add db.migrate with _marqdo_migrations, db.fts/search (bm25), and gold
covering published filters plus a comments table convention.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add app.upload/download routes over # storage, offline media validate/save
helpers, form type=file + enctype, and curl live gold coverage.
Co-authored-by: Cursor <cursoragent@cursor.com>
URL-scheme backends keep the same # db CRUD author API; add # cache and
Co-authored-by: Cursor <cursoragent@cursor.com>
# storage with offline memory:/file: gold coverage.
Add lib/net markdown_parse, page.meta/paginate and app.route_rss author
APIs, GFM Markdown article bodies, head SEO tags, list pagination nav, and
RSS 2.0 feed routes — keeping tables + class methods as the author surface.
Co-authored-by: Cursor <cursoragent@cursor.com>
Introduce web_style ABI (样式装配) so themes are GFM style tables
(|选择器|属性|值|, optional |媒体| column for @media) assembled by
functions instead of hand-written CSS strings — 文档即代码. The new
examples/marqdo-blog shows a full blog: card grid, dynamic /post/{slug},
tag archive, WebSocket live widget, and session-gated admin CRUD, plus a
smoke test (15 checks) and README.
Co-authored-by: Cursor <cursoragent@cursor.com>
Records the working one-shot command (proxy + larger postBuffer) used
when direct push fails with curl 35/56 connection resets.
Co-authored-by: Cursor <cursoragent@cursor.com>
Parse `` `var`[^key] `` in `` *…* `` segments and quoted strings as an
Index part (chained `` [^a][^b] `` folds into one part) in both the
tree-walk interpreter and the bytecode compiler, and render it back in
`view`. Also make bytecode `_type` stamping always overwrite like the
interpreter does, so child constructors yield the most specific type.
Adds gold/unit tests for interp footnote indexing and a bytecode
inherit-explicit-super case.
Co-authored-by: Cursor <cursoragent@cursor.com>
13 chapters plus a README index covering syntax, variables, functions,
control flow, collections, objects/inheritance, modules and the CLI.
Co-authored-by: Cursor <cursoragent@cursor.com>
Inside italic/bold code segments every bare word is a variable — including
call arguments and method-call receivers — so text literals must be quoted
and receivers no longer need backticks. A bare dotted callee `a.b` resolves
as a method call when `a` is a local variable, otherwise as a library path
(Python-style unified namespace), in both the tree-walk and bytecode backends.
Migrate ~70 tests plus ext/web, ext/quantum, ext/ai and the example projects
to the new idiom; update SKILL.md and the design docs; fix the web/quantum
example data model (db/index.mq.md). Unit and gold suites pass; only the 3
network-live tests fail offline.
Co-authored-by: Cursor <cursoragent@cursor.com>
Value-expression variables inside *…* / **…** segments no longer need
backticks (the segment markers already mark code). Drop trailing spaces
and de-tick value-expression variable names in tests and skill docs;
keep backticks for string interpolation, call args, and method receivers.
Co-authored-by: Cursor <cursoragent@cursor.com>
Markdown list dashes were parsed as loops; quantum.gate name=H failed because plugin bind required matrix. Repair user-site pages and redeploy-ready sources.
Co-authored-by: Cursor <cursoragent@cursor.com>
Document ext add for llm/agent/web/quantum, ship release notes and installer assets for the extension-focused release.
Co-authored-by: Cursor <cursoragent@cursor.com>
Parse $$ pmatrix/[[…]] into executable matrices for quantum.gate matrix=, and make the vars panel open a rich modal without breaking the page script.
Co-authored-by: Cursor <cursoragent@cursor.com>
Extends Q5 with a dissipative jump channel and EN/ZH golds so docs can show energy loss, not only Pauli flips.
Co-authored-by: Cursor <cursoragent@cursor.com>
Barrier/measure/append/state plus bitflip/depolarizing run trajectories let docs show noisy sampling without a full open-system simulator.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add probs/Bloch draw kinds and matches_matrix, plus feature docs; hide the view Stream panel unless llm/agent is imported, and stop rewriting method names like 绘图 through host_plot aliases.
Co-authored-by: Cursor <cursoragent@cursor.com>
Authors can update nested collections via table.put/表.改 instead of json.set chains; view’s right rail adds collapsible Variables from the entry env.
Co-authored-by: Cursor <cursoragent@cursor.com>
Expand the simulator beyond H/CX with Y/Z/S/T/R*/CZ/SWAP and deterministic shot sampling so authors can write full circuits and reproducible measurement checks.
Co-authored-by: Cursor <cursoragent@cursor.com>
Register the quantum catalog package, English/Chinese circuit APIs, and a state-vector plugin that verifies Bell-state probabilities.
Co-authored-by: Cursor <cursoragent@cursor.com>
Admin gets a sidebar shell, flash messages, empty states, and forms in-chrome; listen can nest a public directory under /static (or a custom mount).
Co-authored-by: Cursor <cursoragent@cursor.com>
Stamp _route on app.route pages and emit {path}/_part/{id} slot sources so partials refresh the correct page.
Co-authored-by: Cursor <cursoragent@cursor.com>
listen collects forms from home and routed pages so mount_form is optional; validation errors re-render the owning page shell.
Co-authored-by: Cursor <cursoragent@cursor.com>
Drop bag/scaffold glue and rebuild the web plugin for compose, SQLite CRUD, and listen, with call_lib_path support and a §4 English site sample.
Co-authored-by: Cursor <cursoragent@cursor.com>
Ship the web L1/plugin stack (bind tables, variable-named db.init, live render) and tighten the admin UI with sidebar, toolbar, forms, and activity log.
Co-authored-by: Cursor <cursoragent@cursor.com>
Forward quiet file-subtask EventBus frames while wait blocks, coalesce
DOM updates per rAF, and keep one SSE write per event so Stream stays
live during child work instead of freezing or dumping bursts.
Co-authored-by: Cursor <cursoragent@cursor.com>
Give the plan loop actionable observation (source excerpts, stderr/stdout tails) and short stop rules so the parent can inspect children and use stdlib helpers instead of inventing long patches.
Co-authored-by: Cursor <cursoragent@cursor.com>
Prefer DONE + runtime solidify when the child already returned a value, compact parent observations, drop the SSE 8MiB raw-buffer abort, and drip-stream the view panel via POST /api/run.
Co-authored-by: Cursor <cursoragent@cursor.com>
Reorder non-hit plan pipeline so the parent decomposes before spawning the child, stream DeepSeek thinking (reasoning_content) to TTY, and add Unicode-aware line editing for interactive input to fix CJK backspace corruption.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add net/llm SSE primitives and optional stream/echo/trace on step and plan so callers can watch deltas and rounds without changing final return values.
Co-authored-by: Cursor <cursoragent@cursor.com>
- Parse `# Child = > Parent` object decls (base must be a simple
name after `>`; dotted bases and `# Foo = 1` are diagnostics).
- Validate in load: unknown base types and cyclic inheritance (A → B → A)
fail with line/col.
- Method resolution walks the base chain (most specific first) on both
tree and bytecode backends; `_type` stays the child name; same-name
child ## overrides the parent.
- Add inherit.rs, wire Program.object_bases, gold fixtures
(inherit-parent-method / inherit-override + cycle/unknown-base/bad-rhs)
and public 09-inherit demo pages. Docs: objects.md, markdown-mapping,
roadmap, skill.
Co-authored-by: Cursor <cursoragent@cursor.com>
- 1-col table stays a List; >=2-col becomes a column-oriented Map
(1 data row -> scalar values, >=2 -> Map of Lists).
- First header @ / 行 / row opts into row-oriented List of Maps
(marker column excluded); missing field cols is a diagnostic.
- Footnote index: `xs`[^1] (1-based list), `m`[^key] (map key), chained.
Errors for [^0], out-of-range, missing key, duplicate headers.
- foreach walks list items or map keys; Map values now display as {k: v}.
- Sync both tree and bytecode backends; new gold + error fixtures, docs
(markdown-mapping, roadmap, skill, public), and public 07/08 pages.
- Fix subtask-spawn fixture return value to child_ok (child-ok parses as
subtraction).
Co-authored-by: Cursor <cursoragent@cursor.com>
Capture near-match, agent streaming, inheritance, table/map footnotes, plus
planned web and quantum extensions with ABI and ext-cli install conventions.
Co-authored-by: Cursor <cursoragent@cursor.com>
Quiet spawn still hides child stdout; workbooks solidify to **returns**, agent-kb lives in the plugin, and multi-step follows OKF file relay rather than print-based answers.
Co-authored-by: Cursor <cursoragent@cursor.com>
Document multi-step workbooks in ext-agent-plan, and make step/单步 persist ok/error slots unless writeback is turned off.
Co-authored-by: Cursor <cursoragent@cursor.com>
Bind imports to library names with bare path calls (and use), forward optional host args through mq wrappers, stabilize writeback replacement newlines, and document the M1/M2 decisions.
Co-authored-by: Cursor <cursoragent@cursor.com>
Embed lib/*.mq.md in binary; marqdo version --check; public writeback/subtask pages; restore /vscode-extension/ ignore. VSIX built from branch vscode-extension only (see doc/design/vscode-extension-commit.md).
Co-authored-by: Cursor <cursoragent@cursor.com>
Use + for parameters, ordered-list branches, backtick identifiers, and quoted strings with escapes. Add writeback and subtask host libs, optional parameter defaults, narrative-bold comment fix, and defer view execution until preset stdin is submitted.
Co-authored-by: Cursor <cursoragent@cursor.com>
Consolidate official AI extensions under ext/ai/, add agent history/context host APIs, dynamic call_fn, and a first-pass TOOL:name loop so runbooks can list zero-arg tools in a table.
Co-authored-by: Cursor <cursoragent@cursor.com>
Ship ABI agent plugin helpers, marqdo ext list/add/remove, and document the agent development roadmap (compose LLM, match/assign).
Co-authored-by: Cursor <cursoragent@cursor.com>
Load .dll/.so/.dylib at runtime via libloading, register JSON-wired functions, and ship a Rust cdylib demo with lib/plugin wrappers and gold coverage.
Co-authored-by: Cursor <cursoragent@cursor.com>
Bump crate version, use official Logo for marqdo debug favicon/brand, and document VS Code extension assets in the Windows release script.
Co-authored-by: Cursor <cursoragent@cursor.com>
Correct ---/***/empty-return conventions and spell out marqdo catalog/sync for OKF-style YAML generation.
Co-authored-by: Cursor <cursoragent@cursor.com>
Ship recommended marqdo.exe+lib bundle, a separate stdlib zip, and clear release notes that the standalone exe does not include lib/.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 15:50:10 +08:00
1862 changed files with 291326 additions and 3241 deletions
1. **Do not** restore or reintroduce author-facing `compose_main` / `compose_intro` / `compose_*` fragmented table DSLs, god `# page` mutation piles, or `app.configure(...)` junk-drawer APIs.
2. **Do not** use `json.set` / `json.append` bag glue for pages, routes, or middleware. Tables = data. View schema is only `|type|slot|value|attrs|style|` (ZH aliases allowed).
3. **Do not** call `ensure_plugin` or `host_*` from author programs or from `ext/**` (plugin load is facade/capability only).
4. **Do not** register implicit user routes. Declared routes come from Artifact metadata or `web.route`. System routes (`/_part`, `/_form`, …) must appear in `web.inspect`.
5. **Do not** invent DSL, nested frontmatter under `##`, or new table dialects when the design is silent — **stop and ask**.
6. **Do not** mix EN/ZH API names in one `.mq.md`.
7. **Do not** silently delete capabilities. Removals require design text + tests updated in the same change.
8. **Do not** put DB/auth/cache/storage/websocket author APIs back into `ext/web/web.mq.md` — they live in `ext/data`, `ext/security`, `ext/net`.
description:Write, refactor and verify Marqdo programs, standard libraries and extensions through the executable development handbook. Use native Marqdo file tools and marqdo call; extend capability gaps through plugins or explicit external tools.
---
Read [the executable development entry](../../../skills/marqdo-dev/index.mq.md), then [the programming guide](../../../doc/library-development.mq.md). The same guide governs programs, libraries and executable SKILLs. For installed skills, resolve these paths against the Marqdo source checkout.
Use `**statement**` to execute and `*return*` to return; write `[intent](actual code)` inside executable positions, and `access(coll, key)` to read collections. The guide provides real examples. Native file tasks live in [files.mq.md](../../../skills/marqdo-dev/files.mq.md): read, write, patch, search, inventory, audit and apply. Do not generate Python or shell programs for ordinary file operations.
Prepare the native engineering plugin with the development entry before using its analysis or process tasks. The repository development binary is `target/debug/marqdo`; installed older binaries may need a bootstrap Cargo build through `lib/sys.mq.md exec`. All subsequent task execution uses `marqdo call`. Keep decisions and sequencing in readable mq.md; use a new extension or a documented foreign tool only for a real capability gap.
The guide is authoritative for narrative over 50%, immediate parameter/return tables, inline statements and returns, GFM data, index.mq.md organization, recursive Markdown web components, failure evidence and verification. Read each task's contract and grant its actual effects. External processes retain their OS authority. Do not rewrite intentional test fixtures or restore removed compose_* APIs.
Use the development entry's audit task to discover and review maintained repository sources. Its failed Result retains every finding; write_report=True saves the same evidence under .marqdo/audit. It does not execute inspected source or treat known placeholder warnings as completed logic.
description:Prepare, publish and verify a user-authorized Marqdo full, cli or extension release through its executable mq.md handbook. Use for release versioning, immutable tags, matching CI gates, GitHub/R2 parity and Ubuntu PPA publication.
---
Read [the executable release entry](../../../skills/marqdo-release/index.mq.md) and use its task routing. Version and mode come from the user; an already stated choice remains authorized. Inspection of an old release does not authorize republishing it. Never infer a new version, replace a tag, force-push or bypass hooks.
Use `marqdo call` on the actual handbook headings. The repository development binary is `target/debug/marqdo`; prepare its engineering plugin through [the development entry](../../../skills/marqdo-dev/index.mq.md). File reading and authoring use native [file tools](../../../skills/marqdo-dev/files.mq.md). No Python release orchestrator is required. New OS/service capabilities belong at explicit plugin or external-tool boundaries; version decisions, retries and publication order remain readable mq.md.
The entry preserves full/cli/ext deliverables, separate editor sources, clean-main tagging, bilingual authored notes, exact-commit Release and EK gates, both native platforms, GitHub/R2 identical bytes, VERSION-after-ZIP ordering and Ubuntu source/build/apt evidence. Every applicable obligation must be verified before declaring completion. Default full/cli work includes PPA; gh-pages deployment needs its own instruction.
Read-only status and verification are separate from publication. Grant effects stated by each task. Inspect Result.ok before value; use --require-ok when an external automation must stop on a failed Result. Credentials stay in their existing private stores. Interactive sudo/GPG/dput or a failed service request remains incomplete: report the concrete failure and the exact handbook recovery call, preserving local evidence.
Independent extension releases commit reviewed bilingual notes at doc/releases/ext-X.Y.Z.md before tagging. The [pack handbook](../../../skills/marqdo-release/packs.mq.md) and extension-release.yml run native staging, both platform builds, exact-tag release creation and non-clobbering gh asset upload through marqdo call. An existing upload is inspected rather than replaced. Windows execution remains a CI obligation; a local Linux ZIP cannot prove it.
Use [the executable release entry](../../../skills/marqdo-release/index.mq.md) and [its maintained task reference](../../../skills/marqdo-release/reference.md). File authoring, mode rules, native service/process boundaries and recovery live with the actual mq.md tasks. Do not reconstruct the former Python or terminal playbook from historical copies.
description:Author, run and review readable Marqdo programs, libraries and executable knowledge. Use for .mq.md, marqdo call, Document/Endpoint/Resource web projects and quantum tools; read the executable programming and development handbooks.
---
# Marqdo
<!-- CORE_SYNTAX_V2.1: keep this card within the first 1200 body characters -->
## CORE SYNTAX
Occlusion is the current default. `**…**` executes a statement; `*…*` returns.
Use `[intent](actual code)` in an executable position: the label is prose and
only its payload executes. Empty parentheses are a pending None stub.
Read collections with `access(coll, key)`. Classic indexing is only for explicit
legacy sources and migration. Reading narrative references never runs effects.
Read [the maintained discovery note](../../../skills/marqdo/examples.md) and its actual mq.md source entries. The [programming guide](../../../doc/library-development.mq.md) is authoritative; source examples and real workflow tests stay together rather than being copied into SKILL reference fences.
Read [the maintained discovery note](../../../skills/marqdo/reference.md) and its actual mq.md source entries. The [programming guide](../../../doc/library-development.mq.md) is authoritative; source examples and real workflow tests stay together rather than being copied into SKILL reference fences.
**Marqdo is a Rust-based, document-native runtime for executable AI skills and tools.** Write human-readable prose, GFM tables, parameter contracts, and real functions in one `.mq.md` document. Call a function by its heading, inspect the implementation, and grant side effects explicitly.
Knowledge statements and claims have stable addresses; verified pure contracts compose across static modules and produce independently replayable Lean certificates. Evidence distinguishes abstract `model_proved` from true runtime `proved`. Unsupported runtime effects and semantics are explicitly unverified. [Proof scope and acceptance](doc/design/verified-knowledge-compiler-boundaries.md) · [Release notes](doc/releases/v2.9.0.md).
## One Markdown file. Three views. Real execution.
[](assets/marketing/marqdo-2.7.1-markdown-to-execution.mp4)
**[▶ Watch the 56-second film](assets/marketing/marqdo-2.7.1-markdown-to-execution.mp4)** · [Bilingual captions](assets/marketing/marqdo-2.7.1-markdown-to-execution.srt) · [Reproducible video source](scripts/render-markdown-execution-promo.py)
> **The point is not to invent a new document format.** A `.mq.md` file uses Markdown headings, paragraphs and tables. Ordinary Markdown renderers still show a readable document. Marqdo adds explicit execution semantics and a View that can inspect functions, values and their relationships on the same document.
<sub>**Concept artwork** showing the design principle: **source → ordinary Markdown rendering → Marqdo View**. Illustrative labels are not a live execution trace. The video includes [a real View screenshot](assets/marketing/user-procurement-view.png), [a standard Markdown rendering](assets/marketing/marqdo-procurement-standard-markdown.png) produced from the actual procurement source, and a business example verified with the 2.7.1 CLI.</sub>
| Edit the same Markdown text | Read headings, prose and data tables | Inspect the same document's calls, values and effects |
| No separate prompt or tool implementation specification needed | Works as ordinary readable documentation | Call named functions with `marqdo call` |
## Quickstart — one function, one command
Install the [latest 2.9.0 CLI release for Windows or Linux](https://github.com/cflmy/marqdo/releases/tag/v2.9.0), then run from this repository's root:
The function heading is the callable name. The function's explanation, parameters, return contract, and implementation live **in the same source file**. Use `--json` for machine-readable call results and diagnostics. No LLM key is needed for this quickstart.
## A procurement skill with a ¥600 budget
[Read the complete executable procurement document](examples/procurement/index.mq.md) · [How to run and verify the example](examples/procurement/README.md)
This is a **seven-tool, offline demonstration**. It knows the local supplier directory, queries a static price catalog, checks the budget, and conditionally creates a **simulated** work order. It also documents receipt handling, negotiation and supplier switching as unconnected stubs.

<sub>**Real CLI results**, edited into a short animation; the accepted order is explicitly **simulated** and never sent. [Capture workflow](scripts/capture-procurement-showcase.py) · [Passing checks](https://github.com/cflmy/marqdo/actions/runs/43358288563).</sub>
```bash
# 1. Approve suppliers: paused or blacklisted entries are excluded.
| `SUP_YY` | Supplier on blacklist | Excluded from quote / order |
**Why this matters:** The document doesn't merely tell an agent to obey a limit. The work-order **function itself** calls supplier validation, price lookup, and `查询余额` before returning an order record. Agent instructions and callable business logic can be inspected together.
> **Important limits:** Price and supplier records are fixtures; `已花费` is caller supplied. No authoritative budget ledger, concurrent reservation, live supplier prices, ERP messaging, real receipt, or payment is implemented. A successful **simulated** order is **not** a real transaction. The demo is a testable starting point, not a financial safety guarantee.
## Explore the View
Marqdo 2.7.1 improves the interactive reading experience: implementation details stay open when manually expanded, structured values are presented more clearly, and function/source links are easier to inspect. It **does not introduce new language syntax or APIs**.
```bash
marqdo view examples/procurement --no-open
```

<sub>**Original View screenshot provided by the project author.** Notice the natural document typography, values in the margins, and curved connections originating from function calls in the prose. [Additional automated View capture](assets/marketing/procurement-view.png) · [Static Markdown rendering](assets/marketing/marqdo-procurement-standard-markdown.png).</sub>
| Description and code often separated | Heading, parameter table, return table and implementation in one `.mq.md` |
| Validation may require separate wiring | Named function calls can be checked, executed and tested |
| Prompts ask a model to comply | Runtime permissions control **declared** effects of a function call |
| Hard to follow implementation through files | View links readable content and implementation details |
Agent Skills already support scripts; Marqdo's claim is **one document-native language surface** for authoring, inspecting, executing and reusing functions. This is **not** a claim of full formal verification, zero-delay execution, or OS-level isolation of all plugin/process behavior.
CLI **2.8.0** adds `marqdo prove`: theorem tables in knowledge files compile to Lean 4 and are judged automatically — offline symbolic execution without a toolchain (honest degradation, never impersonating a proof), full proofs with counterexample witnesses when Lean is available.
Ext pack **2.8.1** (CLI remains 2.8.0): plugin-only durable AI workflows with bounded choice, scoped context, failed-only read-only recovery and `inspect`.
<svgxmlns="http://www.w3.org/2000/svg"width="1340"height="720"viewBox="0 0 1340 720"role="img"aria-label="Animated illustration of a procurement skill being called, including a budget denial">
<textx="1154"y="50"fill="#d3d9e4"font-size="15"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">2.7.1 · DEMO</text>
<textx="46"y="109"fill="#f6f5ee"font-size="37"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="700">Your SKILL is now a TOOL.</text>
<textx="47"y="141"fill="#a8b6c7"font-size="17"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">A human-readable document → callable business logic → structured results</text>
<textx="65"y="204"fill="#f5dba9"font-size="20"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="600">index.mq.md</text>
<textx="707"y="204"fill="#e5eaf4"font-size="17"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">$ marqdo call ... 向采购商发工单</text>
<textx="66"y="266"fill="#faf7f1"font-size="27"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="700">## 向采购商发工单</text>
<textx="66"y="307"fill="#a2b2ca"font-size="17"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">Read the rules. Call the function.</text>
<textx="86"y="365"fill="#abd6fa"font-size="19"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">报价 = 查询采购商价格(...)</text>
<textx="86"y="407"fill="#abd6fa"font-size="19"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">预算 = 查询余额(已花费=...)</text>
<textx="86"y="453"fill="#e9ba84"font-size="19"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">1. 剩余额度 < 本单金额 → 拒绝</text>
<textx="65"y="552"fill="#d4e0ee"font-size="18"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">One file: prose + contracts + tables</text>
<textx="65"y="588"fill="#d4e0ee"font-size="17"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">+ executable functions + result records</text>
<textx="706"y="272"fill="#d7deef"font-size="19"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">SUP_JN 数量=8 单价=36</text>
<textx="706"y="311"fill="#98aec9"font-size="18"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">最高预算 = ¥600</text>
<gopacity=".18"><animateattributeName="opacity"values="0.18;0.18;1;1;0.18"keyTimes="0;0.04;0.09;0.91;1"dur="13s"repeatCount="indefinite"/><rectx="704"y="345"width="565"height="45"rx="9"fill="#233248"stroke="none"/><textx="719"y="374"fill="#9db5cf"font-size="17"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">01 SUPPLIER</text><textx="920"y="374"fill="#f5d8aa"font-size="18"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">SUP_JN · active</text></g>
<gopacity=".18"><animateattributeName="opacity"values="0.18;0.18;1;1;0.18"keyTimes="0;0.19;0.24;0.91;1"dur="13s"repeatCount="indefinite"/><rectx="704"y="399"width="565"height="45"rx="9"fill="#233248"stroke="none"/><textx="719"y="428"fill="#9db5cf"font-size="17"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">02 QUOTE</text><textx="920"y="428"fill="#f5d8aa"font-size="18"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">8 × ¥36 = ¥288</text></g>
<gopacity=".18"><animateattributeName="opacity"values="0.18;0.18;1;1;0.18"keyTimes="0;0.35;0.39999999999999997;0.91;1"dur="13s"repeatCount="indefinite"/><rectx="704"y="453"width="565"height="45"rx="9"fill="#233248"stroke="none"/><textx="719"y="482"fill="#9db5cf"font-size="17"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">03 BALANCE</text><textx="920"y="482"fill="#f5d8aa"font-size="18"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">¥600 - already spent</text></g>
<gopacity=".18"><animateattributeName="opacity"values="0.18;0.18;1;1;0.18"keyTimes="0;0.53;0.5800000000000001;0.91;1"dur="13s"repeatCount="indefinite"/><rectx="704"y="507"width="565"height="45"rx="9"fill="#233248"stroke="none"/><textx="719"y="536"fill="#9db5cf"font-size="17"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">04 DECISION</text><textx="920"y="536"fill="#f5d8aa"font-size="18"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">check requested amount</text></g>
<textx="718"y="600"fill="#f8b1bc"font-size="18"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="600">✕ 已花费=360 ¥240 < ¥288</text>
<textx="718"y="625"fill="#fde7ea"font-size="17"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">ok: false · 预算不足,拒绝工单</text>
</g>
<pathd="M 652 430 C 665 429 674 429 688 430"fill="none"stroke="#f0c58c"stroke-width="3"/><circlecx="665"cy="429"r="4"fill="#f0c58c"><animateattributeName="cx"values="656;681;656"dur="2.5s"repeatCount="indefinite"/></circle>
<textx="44"y="698"fill="#7e90a7"font-size="14"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">ILLUSTRATED EXPECTED FLOW · NOT A TERMINAL CAPTURE · NO REAL PURCHASE</text>
<svgxmlns="http://www.w3.org/2000/svg"width="1340"height="740"viewBox="0 0 1340 740"role="img"aria-label="View-inspired editorial concept for the procurement function, not a real screenshot">
<textx="577"y="43"fill="#665d53"font-size="17"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">文档 函数 执行 变量</text>
<textx="1030"y="44"fill="#998773"font-size="13"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">VIEW CONCEPT / NOT CAPTURE</text>
<textx="374"y="238"fill="#5d5851"font-size="17"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">核对准入、价格、交付与预算之后,生成本地模拟工单。</text>
<textx="374"y="463"fill="#5e584f"font-size="18"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">发单前,必须再次查询并核对本轮的可用余额。</text>
<textx="391"y="513"fill="#805b35"font-size="18"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">预算 = [重新查询预算](查询余额(...))</text>
<textx="374"y="565"fill="#7b5b4b"font-size="19"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">1. 剩余额度 < 本单金额</text>
<textx="374"y="612"fill="#a06b5f"font-size="18"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400"> 返回 [预算不足,拒绝模拟工单](...)</text>
<textx="375"y="682"fill="#8c8276"font-size="16"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">仅在全部检查通过时产生“本地模拟、未发送”的结果。</text>
<pathd="M 408 503 C 295 503 278 339 146 339"stroke="#ba9a75"stroke-width="1.7"fill="none"/><circlecx="408"cy="503"r="4.3"fill="#ba9a75"/>
<textx="73"y="281"fill="#a78255"font-size="15"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">BUDGET CHECK</text>
<textx="73"y="315"fill="#756350"font-size="18"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">已花费 ¥360</text>
<textx="73"y="343"fill="#756350"font-size="18"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">剩余额度 ¥240</text>
<pathd="M 823 602 C 1010 586 1026 396 1122 396"stroke="#b7837e"stroke-width="1.7"fill="none"/><circlecx="823"cy="602"r="4.3"fill="#b7837e"/>
<textx="1080"y="319"fill="#a67871"font-size="15"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">REJECTION</text>
<textx="1080"y="354"fill="#945e55"font-size="22"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="700">¥240 < ¥288</text>
<textx="1080"y="393"fill="#945e55"font-size="19"font-family="ui-monospace,Consolas,'Noto Sans CJK SC',monospace"font-weight="400">拒绝工单</text>
Prints size in KiB; runs `wasm-opt -Oz` when Binaryen is on `PATH`.
See [doc/design/browser-marqdo-wasm.md](../../doc/design/browser-marqdo-wasm.md).
Use the maintained [browser-app](../../examples/browser-app/index.mq.md) for a runnable native Document and browser program. The ABI counter fixture lives in tests/wasm/counter.mq.md, with no independent HTML demo host. The former browser-hello and browser-media directories were retired in 2.7.0; their host capabilities remain documented in lib/browser.mq.md.
Loaded 100 of 1862 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.