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>