feat(markup): finish v0.3 stock migration and green gold
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>
This commit is contained in:
1 parent
bfb10d172b
commit
b5c07385e9
324 files changed
+4572
-4339
No files matched your search
+1
-1
@@ -107,6 +107,6 @@ Exact FIND→REPLACE once in a UTF-8 text file. `find` must match exactly once.
|
||||
|
||||
Apply plan-style triple-angle FIND/REPLACE blocks from `text` to `path`.
|
||||
Also accepts fenced find/replace pairs and minimal Begin Patch hunks.
|
||||
When `soft=True`, *only* “FIND not found” returns `0` (run continues). Empty FIND, multi-match, parse errors, and whole-file FIND still abort — whole-file rewrite is forbidden.
|
||||
When `soft=True`, only “FIND not found” returns `0` (run continues). Empty FIND, multi-match, parse errors, and whole-file FIND still abort — whole-file rewrite is forbidden.
|
||||
|
||||
*> host_apply_patch_blocks path=`path` text=`text` soft=`soft`*
|
||||
+4
-4
@@ -17,7 +17,7 @@ level is debug / info / warn / error.
|
||||
**line = > host_log_line level="debug" text=`text` fields=`fields`**
|
||||
1. `line`
|
||||
> print text=`line`
|
||||
2. **
|
||||
2. *
|
||||
****
|
||||
|
||||
## info
|
||||
@@ -27,7 +27,7 @@ level is debug / info / warn / error.
|
||||
**line = > host_log_line level="info" text=`text` fields=`fields`**
|
||||
1. `line`
|
||||
> print text=`line`
|
||||
2. **
|
||||
2. *
|
||||
****
|
||||
|
||||
## warn
|
||||
@@ -37,7 +37,7 @@ level is debug / info / warn / error.
|
||||
**line = > host_log_line level="warn" text=`text` fields=`fields`**
|
||||
1. `line`
|
||||
> print text=`line`
|
||||
2. **
|
||||
2. *
|
||||
****
|
||||
|
||||
## error
|
||||
@@ -47,5 +47,5 @@ level is debug / info / warn / error.
|
||||
**line = > host_log_line level="error" text=`text` fields=`fields`**
|
||||
1. `line`
|
||||
> print text=`line`
|
||||
2. **
|
||||
2. *
|
||||
****
|
||||
+1
-1
@@ -10,7 +10,7 @@ description: >-
|
||||
+ `at`
|
||||
+ `value`
|
||||
|
||||
Directly update one element. `at=` is a text key, a *1-based* list index, or a list path of keys/indices (same nesting as footnotes).
|
||||
Directly update one element. `at=` is a text key, a 1-based list index, or a list path of keys/indices (same nesting as footnotes).
|
||||
|
||||
*> host_collection_put in=`in` at=`at` value=`value`*
|
||||
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ description: Persist run output in .mq.md (Jupyter-style writeback)
|
||||
+ `key`=None
|
||||
+ `line`=None
|
||||
|
||||
Write `value` to `<!-- marqdo-out … -->` in the entry file. Default: insert or replace the block immediately below the call; `at_end=true` replaces the unkeyed EOF block. With `key=` (e.g. `ok` / `error`), replace or create that *named* slot only — slots do not overwrite each other. Optional `line=` anchors the block under that source line (needed when writing from a subtask).
|
||||
Write `value` to `<!-- marqdo-out … -->` in the entry file. Default: insert or replace the block immediately below the call; `at_end=true` replaces the unkeyed EOF block. With `key=` (e.g. `ok` / `error`), replace or create that named slot only — slots do not overwrite each other. Optional `line=` anchors the block under that source line (needed when writing from a subtask).
|
||||
|
||||
*> host_writeback_record value=`value` at_end=`at_end` key=`key` line=`line`*
|
||||
|
||||
|
||||
+4
-4
@@ -17,7 +17,7 @@ description: 按级别过滤的一行日志(中层 M6 + Mid2 M10 字段)。
|
||||
**line = > host_log_line level="debug" text=`内容` fields=`字段`**
|
||||
1. `line`
|
||||
> 打印 内容=`line`
|
||||
2. **
|
||||
2. *
|
||||
****
|
||||
|
||||
## 信息
|
||||
@@ -27,7 +27,7 @@ description: 按级别过滤的一行日志(中层 M6 + Mid2 M10 字段)。
|
||||
**line = > host_log_line level="info" text=`内容` fields=`字段`**
|
||||
1. `line`
|
||||
> 打印 内容=`line`
|
||||
2. **
|
||||
2. *
|
||||
****
|
||||
|
||||
## 警告
|
||||
@@ -37,7 +37,7 @@ description: 按级别过滤的一行日志(中层 M6 + Mid2 M10 字段)。
|
||||
**line = > host_log_line level="warn" text=`内容` fields=`字段`**
|
||||
1. `line`
|
||||
> 打印 内容=`line`
|
||||
2. **
|
||||
2. *
|
||||
****
|
||||
|
||||
## 错误
|
||||
@@ -47,5 +47,5 @@ description: 按级别过滤的一行日志(中层 M6 + Mid2 M10 字段)。
|
||||
**line = > host_log_line level="error" text=`内容` fields=`字段`**
|
||||
1. `line`
|
||||
> 打印 内容=`line`
|
||||
2. **
|
||||
2. *
|
||||
****
|
||||
+1
-1
@@ -10,7 +10,7 @@ description: >-
|
||||
+ `于`
|
||||
+ `值`
|
||||
|
||||
直接改某一元。`于=` 为文本键、*1-based* 下标,或键/下标组成的路径列表(与脚注嵌套同构)。
|
||||
直接改某一元。`于=` 为文本键、1-based 下标,或键/下标组成的路径列表(与脚注嵌套同构)。
|
||||
|
||||
*> host_collection_put in=`入` at=`于` value=`值`*
|
||||
|
||||
|
||||
Reference in new issue
Block a user