feat(agent): A1 OKF reuse flywheel — list_tasks curation and plan match
Enrich list_tasks for soft_match curation; expose match/score on plan hits; add offline plan-hit gold. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
d7be903297
commit
07ab7d52c6
7 files changed
+190
-10
No files matched your search
@@ -2306,6 +2306,7 @@ fn plan_result_card(stdout: &str, links: &LinkMode) -> String {
|
||||
};
|
||||
let workbook = v.get("workbook").and_then(|x| x.as_str());
|
||||
let cache = v.get("cache").and_then(|x| x.as_str());
|
||||
let match_kind = v.get("match").and_then(|x| x.as_str());
|
||||
let rounds = v
|
||||
.get("rounds")
|
||||
.and_then(|x| x.as_u64())
|
||||
@@ -2321,6 +2322,9 @@ fn plan_result_card(stdout: &str, links: &LinkMode) -> String {
|
||||
if let Some(c) = cache {
|
||||
meta.push(format!("cache={}", escape(c)));
|
||||
}
|
||||
if let Some(m) = match_kind {
|
||||
meta.push(format!("match={}", escape(m)));
|
||||
}
|
||||
if let Some(r) = rounds {
|
||||
meta.push(format!("rounds={r}"));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user