feat(parser): remove step number prefixes from recipe extraction

- Update RECIPE_EXTRACTION_PROMPT to v2.1
- Remove instruction to number steps sequentially
- Update OUTPUT FORMAT and both few-shot examples
- Remove 'All steps numbered sequentially' from quality checklist
- Update fallback parser system prompt in parseRecipeWithStandardCompletion
- Frontend <ol> element already handles auto-numbering
- Tandoor integration unaffected (uses array index for step numbers)

Fixes double-numbering bug where steps appeared as '1. 1. Step text'
All 34 tests passing

Implementation follows execution plan in docs/plans/RemoveStepNumberPrefixes.md
Documented in docs/outcomes/RemoveStepNumberPrefixes.md
This commit is contained in:
Giancarmine Salucci
2025-12-21 04:46:38 +01:00
parent 2c731adaf9
commit f5a1089936
5 changed files with 740 additions and 33 deletions

View File

@@ -5,7 +5,7 @@
"value": "SDRORLyWEsWWty2ZoVGdER",
"domain": ".instagram.com",
"path": "/",
"expires": 1800846591.249928,
"expires": 1800848369.155388,
"httpOnly": false,
"secure": true,
"sameSite": "Lax"
@@ -45,7 +45,7 @@
"value": "59661903731",
"domain": ".instagram.com",
"path": "/",
"expires": 1774062591.25003,
"expires": 1774064369.155498,
"httpOnly": false,
"secure": true,
"sameSite": "None"
@@ -55,21 +55,11 @@
"value": "1280x720",
"domain": ".instagram.com",
"path": "/",
"expires": 1766891391,
"expires": 1766893170,
"httpOnly": false,
"secure": true,
"sameSite": "Lax"
},
{
"name": "rur",
"value": "\"CLN\\05459661903731\\0541797822590:01fead5659017d4efdfdc9bb90a2cf855f93490046a238de613e340be499e36e5962d8bb\"",
"domain": ".instagram.com",
"path": "/",
"expires": -1,
"httpOnly": true,
"secure": true,
"sameSite": "Lax"
},
{
"name": "sessionid",
"value": "59661903731%3AbekaIlo4nn7x2n%3A29%3AAYig82sWcnm2bGaQlry72PN7OrhFZ4YYZt4_qM78dA",
@@ -79,6 +69,16 @@
"httpOnly": true,
"secure": true,
"sameSite": "Lax"
},
{
"name": "rur",
"value": "\"CLN\\05459661903731\\0541797824369:01fe8c862f2dd54b808a334f6088f2bf4dad9b4c8965f2abd3762be986fe5c03e8e410df\"",
"domain": ".instagram.com",
"path": "/",
"expires": -1,
"httpOnly": true,
"secure": true,
"sameSite": "Lax"
}
],
"origins": [
@@ -87,7 +87,7 @@
"localStorage": [
{
"name": "chatd-deviceid",
"value": "60986038-5bc5-49ed-80c4-d723c6d5ea59"
"value": "712a4dc5-cc51-4b0c-a373-611ef9b65c23"
},
{
"name": "hb_timestamp",
@@ -95,7 +95,7 @@
},
{
"name": "IGSession",
"value": "6m2tlb:1766288392093"
"value": "6m2tlb:1766290170601"
},
{
"name": "pixel_fire_ts",
@@ -107,7 +107,7 @@
},
{
"name": "Session",
"value": "0c19f1:1766286627093"
"value": "wayu8j:1766288405601"
},
{
"name": "has_interop_upgraded",