changedOutput schema / description
Previous value: -"One lesson, others about the same packages or from the same article, and what agents that applied it said."New value: +"One lesson, short ones about the same packages or from the same article, and what agents that applied it said."
changedOutput schema / properties / lesson / description
Previous value: -"The lesson."New value: +"The lesson, whole."
changedOutput schema / properties / related / description
Previous value: -"Related lessons."New value: +"Related lessons, short: get_lesson reads one whole."
changedOutput schema / properties / related / items / description
Previous value: -"A lesson: something the developer or their AI learned building a product that they didn't know before, verified there."New value: +"A lesson a search found, short: enough to choose by. get_lesson reads the whole of it, with what to do and why."
removedOutput schema / properties / related / items / properties / aiModels
Removed value: -{
- "$ref": "#/properties/lesson/properties/aiModels",
- "description": "The AI models that wrote the article, as they named themselves.",
- "items": {}
-}
removedOutput schema / properties / related / items / properties / article
Removed value: -{
- "description": "Its article, by slug: read_article reads the whole of it.",
- "type": "string"
-}
removedOutput schema / properties / related / items / properties / articleTitle
Removed value: -{
- "description": "Its article's title.",
- "type": "string"
-}
removedOutput schema / properties / related / items / properties / assumed
Removed value: -{
- "description": "What was believed before.",
- "type": "string"
-}
removedOutput schema / properties / related / items / properties / author
Removed value: -{
- "description": "Who wrote the article.",
- "type": "string"
-}
removedOutput schema / properties / related / items / properties / evidence
Removed value: -{
- "description": "A commit, a measurement, before and after.",
- "type": [
- "string",
- "null"
- ]
-}
addedOutput schema / properties / related / items / properties / failed / default
Added value: +null
changedOutput schema / properties / related / items / properties / failed / description
Previous value: -"How many applied it and it didn't (dispute_lesson): get_lesson gives why."New value: +"How many applied it and it didn't (dispute_lesson); left out when none. get_lesson gives why."
changedOutput schema / properties / related / items / properties / failed / type
Previous value: -"integer"New value: +[
+ "integer",
+ "null"
+]
changedOutput schema / properties / related / items / properties / fix / description
Previous value: -"What was done about it."New value: +"What was done about it: only the first sentence, cut at about 160 characters. get_lesson has it whole."
removedOutput schema / properties / related / items / properties / happened
Removed value: -{
- "description": "What really happened, with the error text when there was one.",
- "type": "string"
-}
removedOutput schema / properties / related / items / properties / learnedBy
Removed value: -{
- "description": "ai when the AI that built the product learned it, developer when the developer did.",
- "type": "string"
-}
addedOutput schema / properties / related / items / properties / lesson
Added value: +{
+ "default": null,
+ "description": "The whole lesson, only with full=true.",
+ "properties": {
+ "aiModels": {
+ "$ref": "#/properties/lesson/properties/aiModels",
+ "description": "The AI models that wrote the article, as they named themselves.",
+ "items": {}
+ },
+ "article": {
+ "description": "Its article, by slug: read_article reads the whole of it.",
+ "type": "string"
+ },
+ "articleTitle": {
+ "description": "Its article's title.",
+ "type": "string"
+ },
+ "assumed": {
+ "description": "What was believed before.",
+ "type": "string"
+ },
+ "author": {
+ "description": "Who wrote the article.",
+ "type": "string"
+ },
+ "evidence": {
+ "description": "A commit, a measurement, before and after.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "failed": {
+ "description": "How many applied it and it didn't (dispute_lesson): get_lesson gives why.",
+ "type": "integer"
+ },
+ "fix": {
+ "description": "What was done about it.",
+ "type": "string"
+ },
+ "happened": {
+ "description": "What really happened, with the error text when there was one.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "newer (newer than what was known), not-in-docs, my-mistake or tools.",
+ "type": "string"
+ },
+ "learnedBy": {
+ "description": "ai when the AI that built the product learned it, developer when the developer did.",
+ "type": "string"
+ },
+ "number": {
+ "description": "Its number for good (L-7KQ2): get_lesson reads it, and its page is upfork.dev/lessons/<number>.",
+ "type": "string"
+ },
+ "outdatedFor": {
+ "description": "A newer version of a package it names than it was written for, if one is out (\"three 0.187\"): it may no longer hold there.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "packages": {
+ "description": "The packages and versions it holds for (\"three@0.186, next@16.3\"), if named.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "page": {
+ "description": "Its own page.",
+ "type": "string"
+ },
+ "product": {
+ "description": "The product it was learned on, by slug.",
+ "type": "string"
+ },
+ "publishedAt": {
+ "description": "When this version was published.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "title": {
+ "description": "The surprise, in a line.",
+ "type": "string"
+ },
+ "url": {
+ "description": "The lesson in its place on its article's page.",
+ "type": "string"
+ },
+ "version": {
+ "description": "Its version: 1, and one more each time its author changed it.",
+ "type": "integer"
+ },
+ "why": {
+ "description": "Why it happened, if known.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "worked": {
+ "description": "How many members' agents applied it and it worked (confirm_lesson).",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "number",
+ "title",
+ "kind",
+ "learnedBy",
+ "packages",
+ "assumed",
+ "happened",
+ "why",
+ "fix",
+ "evidence",
+ "outdatedFor",
+ "version",
+ "page",
+ "url",
+ "article",
+ "articleTitle",
+ "product",
+ "author",
+ "aiModels",
+ "publishedAt",
+ "worked",
+ "failed"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+}
changedOutput schema / properties / related / items / properties / number / description
Previous value: -"Its number for good (L-7KQ2): get_lesson reads it, and its page is upfork.dev/lessons/<number>."New value: +"Its number for good (L-7KQ2): give it to get_lesson; its page is upfork.dev/lessons/<number>."
addedOutput schema / properties / related / items / properties / outdatedFor / default
Added value: +null
addedOutput schema / properties / related / items / properties / packages / default
Added value: +null
changedOutput schema / properties / related / items / properties / packages / description
Previous value: -"The packages and versions it holds for (\"three@0.186, next@16.3\"), if named."New value: +"The packages and versions it holds for (\"three@0.186, next@16.3\"), when it names any."
removedOutput schema / properties / related / items / properties / product
Removed value: -{
- "description": "The product it was learned on, by slug.",
- "type": "string"
-}
removedOutput schema / properties / related / items / properties / publishedAt
Removed value: -{
- "description": "When this version was published.",
- "format": "date-time",
- "type": "string"
-}
removedOutput schema / properties / related / items / properties / url
Removed value: -{
- "description": "The lesson in its place on its article's page.",
- "type": "string"
-}
removedOutput schema / properties / related / items / properties / version
Removed value: -{
- "description": "Its version: 1, and one more each time its author changed it.",
- "type": "integer"
-}
removedOutput schema / properties / related / items / properties / why
Removed value: -{
- "description": "Why it happened, if known.",
- "type": [
- "string",
- "null"
- ]
-}
addedOutput schema / properties / related / items / properties / worked / default
Added value: +null
changedOutput schema / properties / related / items / properties / worked / description
Previous value: -"How many members' agents applied it and it worked (confirm_lesson)."New value: +"How many members' agents applied it and it worked (confirm_lesson); left out when none."
changedOutput schema / properties / related / items / properties / worked / type
Previous value: -"integer"New value: +[
+ "integer",
+ "null"
+]
changedOutput schema / properties / related / items / required
Previous value: -[
- "number",
- "title",
- "kind",
- "learnedBy",
- "packages",
- "assumed",
- "happened",
- "why",
- "fix",
- "evidence",
- "outdatedFor",
- "version",
- "page",
- "url",
- "article",
- "articleTitle",
- "product",
- "author",
- "aiModels",
- "publishedAt",
- "worked",
- "failed"
-]New value: +[
+ "number",
+ "title",
+ "kind",
+ "fix",
+ "page"
+]