Abstract Wikipedia team/Definition of Done

A Definition of Done (DoD) is a unified understanding of what should be accomplished before a user story, a task or a product release is considered finished.

A Definition of Done can be applied to different development levels, and those depend on the work cycles of every team. This guide is specifically adapted to the workflow and terminology of the Abstract Wikipedia team. We define three main levels of completion: Phase, milestone or epic, and task.

Phabricator templates
Click on these links to:
 * [https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?title=%3CCUJ%20n%3E%20or%20%3CEpic%20n%3E%3A%20%3CTitle%20of%20the%20Core%20User%20Journey%20or%20Epic%3E&description=%2F%2F%3Cerase%20this%20line%3E%20This%20task%20describes%20a%20epic%20or%20milestone%20for%20%5BAW%20or%20Wikifunctions%5D%2F%2F%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20%3CCritical%20User%20Journey%20n%3E%20or%20%3CEpic%20n%3E%3A%20%3CTitle%20of%20the%20CUJ%20or%20Epic%3E%0D%0A%0D%0A**Job%20To%20Be%20Done**%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20a%20brief%20description%20of%20the%20user%20story%20in%20the%20format%20of%20a%20JTBD%3A%2F%2F%0D%0A%0D%0AWhen%20%3Csituation%3E%20I%20want%20to%20%3Cjob%3E%20so%20I%20can%20%3Cexpected%20outcome%20or%20motivation%3E%0D%0A%0D%0A%0D%0A**Acceptance%20criteria**%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20a%20list%20of%20functional%20details%20that%20expand%20the%20JTBD%20detailed%20above%2C%20following%20a%20format%20similar%20to%3A%2F%2F%0D%0A%0D%0AA%20normal%20user...%0D%0A*%20%5B%20%5D%20Should%20be%20able%20to%20%5Bunderstand%20some%20format%5D%0D%0A*%20%5B%20%5D%20Should%20%5Bdisallow%20some%20time%20of%20user%20from%20doing%20some%20type%20of%20action%5D%0D%0A%0D%0AAn%20expert%20user...%0D%0A*%20%5B%20%5D%20Should%20be%20able%20to%20%5Bdo%20expert%20things%5D%0D%0A%0D%0A%0D%0A---%0D%0A%0D%0A%2F%2F%20%3Cerase%20this%20section%2C%20from%20here%3E%2F%2F%0D%0A**Involved%20repositories**%0D%0A**Remove%20all%20the%20non-applicable%20tags%20from%20the%20%22Tags%22%20field%2C%20leave%20only%20the%20tags%20of%20the%20projects%2Frepositories%20related%20to%20this%20task.%20The%20available%20tags%20are%3A**%0D%0A%23function-orchestrator%20%23function-evaluator%20%23function-schemata%20%23wikilambda%20%23abstract_wikipedia_ux%20%0D%0A%2F%2F%3C%2Ftill%20here%3E%2F%2F%0D%0A%0D%0A%0D%0A---%0D%0A%0D%0A%23%23Completion%20checklist%0D%0A%0D%0A%2F%2FDuring%20the%20review%20process%2C%20edit%20and%20check%20these%20items%20to%20reflect%20the%20completion%20status%20of%20this%20epic%2F%2F%0D%0A%0D%0A*%20**Functionality**%0D%0A%20%20*%20%5B%20%5D%20Every%20project%20(repository)%20involved%20in%20this%20user%20story%20has%20its%20separate%20Phabricator%20task%0D%0A%20%20*%20%5B%20%5D%20Every%20related%20task%20should%20passes%20its%20completion%20checklist%0D%0A%20%20*%20%5B%20%5D%20The%20tests%20for%20every%20involved%20project%20pass%20successfully%0D%0A%20%20*%20%5B%20%5D%20The%20build%20process%20for%20every%20involved%20project%20passes%20successfully%0D%0A%20%20*%20%5B%20%5D%20Coverage%20for%20every%20involved%20project%20has%20improved%20or%20stayed%20the%20same%0D%0A*%20**Design**%0D%0A%20%20*%20%5B%20%5D%20Was%20reviewed%20and%20approved%20by%20the%20design%2FUX%20team%0D%0A*%20**Documentation**%0D%0A%20%20*%20%5B%20%5D%20Has%20related%20and%20updated%20documentation%2C%20E.g.%3A%0D%0A%20%20%20%20*%20Internal%20technical%20changes%3A%20internal%20repository%20documentation%20must%20be%20updated%20(README.md%2C%20JSDoc%2C%20PHPDoc)%0D%0A%20%20%20%20*%20Infrastructure%20technical%20changes%3A%20technical%20changes%20that%20reflect%20on%20environment%2C%20infrastructure%2C%20endpoints%20or%20any%20other%20area%20of%20interest%20for%20technical%20contributors%20should%20be%20reflected%20on%20MediaWiki%20extension%20pages.%0D%0A%20%20%20%20*%20Product%20or%20model%20changes%3A%20should%20have%20related%20documentation%20updated%20in%20meta%0D%0A*%20**Versioning**%0D%0A%20%20*%20%5B%20%5D%20If%20changes%20in%20submodule%20packages%20are%20involved%2C%20every%20project%20that%20uses%20this%20submodule%20has%20updated%20submodule%20version%20and%20passes%20tests%20and%20build&projects=Abstract_Wikipedia_team%2C%20function-orchestrator%2C%20function-evaluator%2C%20function-schemata%2C%20wikilambda%2C%20abstract_wikipedia_ux Add a Critical User Journey/Epic to Phabricator]
 * [https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?title=Design%3A%20%3CTitle%20of%20the%20view%20or%20component%20to%20design%3E&description=%2F%2F%3Cerase%20this%20line%3E%20This%20task%20describes%20a%20design-related%20task%20for%20%5BAW%20or%20Wikifunctions%5D%2F%2F%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Description%0D%0A%0D%0A**Preamble**%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20a%20brief%20description%20of%20the%20scenario%20or%20context%20where%20the%20view%2Fcomponent%20will%20be%20used%3A%2F%2F%0D%0A%0D%0A**Devices**%0D%0A%0D%0AThis%20task%20includes%20designs%20for%3A%0D%0A*%20%5B%20%5D%20Desktop%0D%0A*%20%5B%20%5D%20Small%20screens%2Fmobile%0D%0A%0D%0A**Acceptance%20criteria**%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20a%20list%20of%20functional%20details%20to%20keep%20in%20mind%20about%20the%20view%2Fcomponent%20to%20design%3A%2F%2F%0D%0A%0D%0A*%20%5B%20%5D%20Should%20be%20able%20to%20%5Bdisplay%20different%20options%5D%0D%0A*%20%5B%20%5D%20Should%20%5Bbe%20equally%20accessible%20from%20this%20kind%20of%20screen%5D%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Design%20proposal%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20descriptions%20and%20screenshots%20of%20the%20final%20design%20proposal%20when%20ready%2F%2F%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Completion%20checklist%0D%0A%0D%0A%2F%2FDuring%20the%20review%20process%2C%20edit%20and%20check%20these%20items%20to%20reflect%20the%20completion%20status%20of%20this%20epic%2F%2F%0D%0A%0D%0A*%20**Design**%0D%0A%20%20*%20%5B%20%5D%20Designs%20are%20available%20in%20the%20following%20figma%20links%0D%0A%20%20%20%20*%20%5B%20%5D%20Desktop%3A%20https%3A%2F%2Fsome.figma.link%0D%0A%20%20%20%20*%20%5B%20%5D%20Mobile%3A%20https%3A%2F%2Fsome.figma.link%0D%0A%20%20*%20%5B%20%5D%20Designs%20have%20been%20reviewed%20and%20approved%20by%20DS%20team%0D%0A%20%20*%20%5B%20%5D%20Designs%20have%20been%20reviewed%20and%20approved%20by%20PM%0D%0A%20%20*%20%5B%20%5D%20Designs%20have%20been%20reviewed%20and%20validated%20by%20the%20Engineering%20team&projects=Abstract_Wikipedia_team%2C%20Design Add a Design task to Phabricator]
 * [https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?title=%3CComponent%3E%3A%20%3CTitle%20of%20the%20new%20feature%20to%20implement%3E&description=%2F%2F%3Cerase%20this%20line%3E%20This%20task%20describes%20a%20front-end%20task%20for%20%5BAW%20or%20Wikifunctions%5D%2F%2F%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Description%0D%0A%0D%0A**Preamble**%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20a%20brief%20description%20of%20the%20scenario%20or%20context%20where%20the%20view%2Fcomponent%20will%20be%20used%3A%2F%2F%0D%0A%0D%0A%0D%0A**Steps%20to%20reproduce**%0D%0A%0D%0A%23%20Go%20to%20the%20following%20link%20https%3A%2F%2Fwikifunctions.beta.link%20or%20https%3A%2F%2Flocalhost.link.too%0D%0A%23%20Do%20this%20or%20that%2C%20add%20some%20values%2C%20click%20some%20buttons%0D%0A%0D%0A%0D%0A**Expected%20behavior%20(Acceptance%20criteria)**%0D%0A%0D%0A*%20%5B%20%5D%20Should%20get%20modal%20window%20with%20a%20photo%20of%20a%20happy%20hedgehog%0D%0A*%20%5B%20%5D%20Add%20conditional%20behaviors%20that%20may%20apply%2C%20such%20as%3A%0D%0A*%20%5B%20%5D%20**Mobile**%3A%20should%20see%20a%20pangolin%20instead%0D%0A*%20%5B%20%5D%20**An%20anonymous%20user**%3A%20should%20be%20able%20to%20view%20the%20changes%0D%0A*%20%5B%20%5D%20**An%20expert%20sysadmin**%3A%20should%20get%20some%20experty%20treatment%0D%0A%0D%0A%0D%0A**Devices%20and%20Designs**%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20links%20to%20the%20phabricator%20tasks%20or%20figma%20files%20that%20contain%20the%20designs%20of%20this%20component%20or%20view%20for%20the%20applicable%20device.%20Remove%20any%20devices%20that%20are%20not%20applicable%20to%20this%20task%3A%2F%2F%0D%0A*%20Desktop%3A%20https%3A%2F%2Fsome.figma.link%0D%0A*%20Small%20screens%2Fmobile%3A%20https%3A%2F%2For.the.design.phab.task%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Completion%20checklist%0D%0A%0D%0A%2F%2FDuring%20the%20review%20process%2C%20edit%20and%20check%20these%20items%20to%20reflect%20the%20completion%20status%20of%20this%20epic%2F%2F%0D%0A%0D%0A*%20**Functionality**%0D%0A%20%20*%20%5B%20%5D%20The%20solution%20meets%20every%20acceptance%20criteria%20described%20above%0D%0A%20%20*%20%5B%20%5D%20All%20the%20child%20tasks%20are%20closed%0D%0A%20%20*%20%5B%20%5D%20The%20issue%20has%20been%20peer%20reviewed%0D%0A%20%20*%20%5B%20%5D%20The%20issue%20has%20been%20merged%0D%0A*%20**Engineering**%0D%0A%20%20*%20%5B%20%5D%20There%20are%20existing%20and%20passing%20unit%2Fintegration%20tests%20effectively%20testing%20its%20success%20and%20its%20failure%0D%0A%20%20*%20%5B%20%5D%20All%20new%20classes%2Fmethods%20are%20covered%20by%20unit%20tests%0D%0A*%20**Design**%0D%0A%20%20*%20%5B%20%5D%20Desktop%3A%20Design%20team%20has%20reviewed%20and%20approved%20it%20for%20desktop%0D%0A%20%20*%20%5B%20%5D%20Mobile%3A%20Design%20team%20has%20reviewed%20and%20approved%20it%20for%20mobile%20and%20small%20screens%0D%0A*%20**Documentation***%0D%0A%20%20*%20%5B%20%5D%20All%20new%20functions%2Fmethods%20are%20annotated%20(JSDoc%20or%20PHPDoc)%0D%0A%20%20*%20%5B%20%5D%20Related%20documentation%20in%20%5B%5Bmw%3AExtension%3AWikiLambda%7CMediaWiki%20extension%20pages%5D%5D%20or%20%5B%5Bmetawiki%3AAbstract_Wikipedia%7CAbstract%20Wikipedia%20pages%20in%20meta%5D%5D%20should%20be%20updated%20with%20the%20related%20changes%0D%0A%20%20%20%20*%20E.g.%20New%20API%20being%20created%20should%20be%20reflected%20in%20%5B%5Bmw%3AExtension%3AWikiLambda%2FAPI%7CWikiLambda%20API%5D%5D%20help%20page%0D%0A%20%20%20%20*%20E.g.%20New%20error%20types%20being%20added%20should%20be%20reflected%20in%20the%20%5B%5Bmetawiki%3AAbstract_Wikipedia%2FRepresentation_of_errors%7CRepresentation%20of%20errors%5D%5D%20help%20page%0D%0A%20%20%20%20*%20E.g.%20New%20keys%20being%20added%20to%20built-in%20types%20should%20be%20reflected%20in%20the%20%5B%5Bmetawiki%3AAbstract_Wikipedia%2FPre-generic_function_model%7CFunction%20model%5D%5D%20help%20page%0D%0A*%20**Versioning**%0D%0A%20%20*%20%5B%20%5D%20If%20changes%20in%20submodule%20packages%20are%20involved%2C%20every%20project%20that%20uses%20this%20submodule%20should%20pass%20tests%20and%20build&projects=Abstract_Wikipedia_team%2C%20wikilambda%2C%20abstract_wikipedia_ux%20 Add a Front-end task to Phabricator]
 * [https://phabricator.wikimedia.org/maniphest/task/edit/form/43/?title=%3CComponent%3E%3A%20%3CA%20short%20one-sentence%20summary%20that%20explains%20the%20problem%3E&description=%2F%2F%3Cerase%20this%20line%3E%20This%20is%20a%20front-end%20bug%20report%20for%20%5BAW%20or%20Wikifunctions%5D%2F%2F%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Description%0D%0A%0D%0A**Steps%20to%20reproduce**%0D%0A%0D%0A%23%20Go%20to%20the%20following%20link%20from%20Wikifunctions%20beta%20https%3A%2F%2Fwikifunctions.beta.link%0D%0A%23%20Do%20this%20or%20that%2C%20add%20some%20values%2C%20click%20some%20buttons%0D%0A%23%20Detailed%20step-by-step%20explanation%0D%0A%0D%0A**Observed%20behavior**%0D%0A%0D%0A*%20Description%20of%20the%20wrong%20behavior%20observed%20after%20following%20the%20previous%20steps%0D%0A%0D%0A**Expected%20behavior%20(Acceptance%20criteria)**%0D%0A%0D%0A*%20%5B%20%5D%20Should%20get%20modal%20window%20with%20a%20photo%20of%20a%20happy%20hedgehog%0D%0A*%20%5B%20%5D%20Add%20conditional%20behaviors%20that%20may%20apply%2C%20such%20as%3A%0D%0A*%20%5B%20%5D%20**Mobile**%3A%20should%20see%20a%20pangolin%20instead%0D%0A*%20%5B%20%5D%20**An%20anonymous%20user**%3A%20should%20be%20able%20to%20view%20the%20changes%0D%0A*%20%5B%20%5D%20**An%20expert%20sysadmin**%3A%20should%20get%20some%20experty%20treatment%0D%0A%0D%0A%0D%0A**Additional%20information**%0D%0A%0D%0A*%20browser%2C%20screenshots%2C%20mobile%20vs.%20desktop%2C%20etc.%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Completion%20checklist%0D%0A%0D%0A%2F%2FDuring%20the%20review%20process%2C%20edit%20and%20check%20these%20items%20to%20reflect%20the%20completion%20status%20of%20this%20epic%2F%2F%0D%0A%0D%0A*%20**Functionality**%0D%0A%20%20*%20%5B%20%5D%20The%20solution%20meets%20the%20expected%20behavior%2Facceptance%20criteria%20described%20above%0D%0A%20%20*%20%5B%20%5D%20The%20issue%20has%20been%20peer%20reviewed%0D%0A%20%20*%20%5B%20%5D%20The%20issue%20has%20been%20merged%0D%0A*%20**Engineering**%0D%0A%20%20*%20%5B%20%5D%20There%20are%20existing%20and%20passing%20unit%2Fintegration%20tests%20effectively%20testing%20its%20success%20and%20its%20failure%0D%0A%20%20*%20%5B%20%5D%20All%20new%20classes%2Fmethods%20are%20covered%20by%20unit%20tests%0D%0A%20%20*%20%5B%20%5D%20Explicit%20regression%20test%20mentioning%20the%20bug%2C%20if%20applicable%0D%0A*%20**Design**%0D%0A%20%20*%20%5B%20%5D%20Desktop%3A%20Design%20team%20has%20reviewed%20and%20approved%20it%20for%20desktop%0D%0A%20%20*%20%5B%20%5D%20Mobile%3A%20Design%20team%20has%20reviewed%20and%20approved%20it%20for%20mobile%20and%20small%20screens%0D%0A*%20**Versioning**%0D%0A%20%20*%20%5B%20%5D%20If%20changes%20in%20submodule%20packages%20are%20involved%2C%20every%20project%20that%20uses%20this%20submodule%20should%20pass%20tests%20and%20build&projects=Abstract_Wikipedia_team%2C%20wikilambda%2C%20abstract_wikipedia_ux Add a Front-end bug report to Phabricator]
 * [https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?title=%3CTitle%20of%20the%20new%20feature%20to%20implement%3E&description=%2F%2F%3Cerase%20this%20line%3E%20This%20task%20describes%20a%20back-end%20task%20for%20%5BAW%20or%20Wikifunctions%5D%2F%2F%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Description%0D%0A%0D%0A**Preamble**%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20a%20brief%20description%20of%20the%20task%20or%20feature%20to%20implement%20and%20why%2F%2F%0D%0A%0D%0A%0D%0A**Steps%20to%20reproduce**%0D%0A%0D%0A%20%20%23%20Run%20some%20test%20with%20the%20command%20%60npm%20run%20test%3Anolint%20--%20-t%20%22some%20test%20called%20some%20name%22%60%0D%0A%20%20%23%20Send%20a%20request%20to%20the%20following%20API%20https%3A%2F%2Fsandbox.api.full.link%20with%20the%20following%20load%3A%0D%0A%60%60%60%7B%0D%0A%20%20%22Z1K1%22%3A%20%22Z7%22%0D%0A%20%20%22Z7K1%22%3A%20%22some%20function%20with%20some%20parameters%22%0D%0A%7D%60%60%60%0D%0A%0D%0A%0D%0A**Expected%20behavior%2FAcceptance%20criteria%20(returned%20value%2C%20expected%20error%2C%20performance%20expectations%2C%20etc.)**%0D%0A%0D%0A*%20...%0D%0A%0D%0A---%0D%0A%0D%0A%2F%2F%20%3Cerase%20this%20section%2C%20from%20here%3E%2F%2F%0D%0A**Remove%20all%20the%20non-applicable%20tags%20from%20the%20%22Tags%22%20field%2C%20leave%20only%20the%20tags%20of%20the%20projects%2Frepositories%20related%20to%20this%20task.%20The%20available%20tags%20are%3A**%0D%0A%23function-orchestrator%20%23function-evaluator%20%23function-schemata%20%23wikilambda%0D%0A%2F%2F%3C%2Ftill%20here%3E%2F%2F%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Completion%20checklist%0D%0A%0D%0A%2F%2FDuring%20the%20review%20process%2C%20edit%20and%20check%20these%20items%20to%20reflect%20the%20completion%20status%20of%20this%20epic%2F%2F%0D%0A%0D%0A*%20**Functionality**%0D%0A%20%20*%20%5B%20%5D%20The%20solution%20meets%20every%20acceptance%20criteria%20described%20above%0D%0A%20%20*%20%5B%20%5D%20All%20the%20child%20tasks%20are%20closed%0D%0A%20%20*%20%5B%20%5D%20The%20issue%20has%20been%20peer%20reviewed%0D%0A%20%20*%20%5B%20%5D%20The%20issue%20has%20been%20merged%0D%0A*%20**Engineering**%0D%0A%20%20*%20%5B%20%5D%20There%20are%20existing%20and%20passing%20unit%2Fintegration%20tests%20effectively%20testing%20its%20success%20and%20its%20failure%0D%0A%20%20*%20%5B%20%5D%20All%20new%20classes%2Fmethods%20are%20covered%20by%20unit%20tests%0D%0A*%20**Documentation***%0D%0A%20%20*%20%5B%20%5D%20All%20new%20functions%2Fmethods%20are%20annotated%20(JSDoc%20or%20PHPDoc)%0D%0A%20%20*%20%5B%20%5D%20Related%20documentation%20in%20%5B%5Bmw%3AExtension%3AWikiLambda%7CMediaWiki%20extension%20pages%5D%5D%20or%20%5B%5Bmetawiki%3AAbstract_Wikipedia%7CAbstract%20Wikipedia%20pages%20in%20meta%5D%5D%20should%20be%20updated%20with%20the%20related%20changes%0D%0A%20%20%20%20*%20E.g.%20New%20API%20being%20created%20should%20be%20reflected%20in%20%5B%5Bmw%3AExtension%3AWikiLambda%2FAPI%7CWikiLambda%20API%5D%5D%20help%20page%0D%0A%20%20%20%20*%20E.g.%20New%20error%20types%20being%20added%20should%20be%20reflected%20in%20the%20%5B%5Bmetawiki%3AAbstract_Wikipedia%2FRepresentation_of_errors%7CRepresentation%20of%20errors%5D%5D%20help%20page%0D%0A%20%20%20%20*%20E.g.%20New%20keys%20being%20added%20to%20built-in%20types%20should%20be%20reflected%20in%20the%20%5B%5Bmetawiki%3AAbstract_Wikipedia%2FPre-generic_function_model%7CFunction%20model%5D%5D%20help%20page%0D%0A*%20**Versioning**%0D%0A%20%20*%20%5B%20%5D%20If%20changes%20in%20submodule%20packages%20are%20involved%2C%20every%20project%20that%20uses%20this%20submodule%20should%20pass%20tests%20and%20build&projects=Abstract_Wikipedia_team%2C%20function-orchestrator%2C%20function-evaluator%2C%20function-schemata%2C%20wikilambda Add a Back-end task to Phabricator]

Template links have been created with this Phabulous tool.

How to use this document
A Definition of Done specification is relevant in two different phases of the development workflow:
 * 1) During phase/epic/task definition: Any item should include a description with the relevant information (list of user stories, detailed user story, detailed bug definition, etc.) and attach an agreed upon checklist with all the criteria that is relevant for this item.
 * 2) During phase/epic/task review and closure: The checklist that was agreed upon phase/epic/task definition should be used to validate the completion of the item.

To write the DoD for a given item, you can follow these steps:
 * 1) Identify the appropriate item level: Are we describing a phase, an epic or milestone of this phase, or a granular task as part of this epic or a bug?
 * 2) Identify the correct channel for writing down the DoD: Should this be written in our project page? Should this be a Phabricator epic or ticket? Will everyone know where to find it?
 * 3) Use the phase/epic/task definition template to write a clear and specific DoD in the right channel.
 * 4) Use the phase/epic/task checklist template to identify which elements should be also considered to validate the completion of the item. Any items that are agreed to be relevant to this phase/epic/task should be copied below the DoD description.

Phase
A development Phase is a collection of user stories (see the Abstract Wikipedia Phase definitions).

Phase completion checklist

 * Functionality
 * ☑️ Every user story should be covered by a milestone/epic
 * ☑️ Every child milestone/epic must be marked as complete
 * ☑️ Every phase acceptance criterion must be met
 * ☑️ Tests for every project should pass
 * ☑️ Build process for every project should pass
 * ☑️ Coverage for every project should have improved or stayed the same
 * ☑️ All  annotations should be resolved
 * ☑️ All  annotations should have an associated Phabricator task ID
 * Design
 * ☑️ Every user story reflected on a user-facing functionality must follow the design system
 * ☑️ Every user story must be reviewed and approved by the design/UX team
 * Documentation
 * ☑️ Every user story must be have related and updated documentation
 * Internal technical changes: internal repository documentation must be updated (README.md, JSDoc, PHPDoc)
 * Infrastructure technical changes: technical changes that reflect on environment, infrastructure, endpoints or any other area of interest for technical contributors should be reflected on MediaWiki extension pages.
 * Product or model changes: should have related documentation updated in meta
 * User-facing features: should have an initial user guide draft that will be moved to wikifunctions.org
 * ☑️ Phase completion newsletter must be sent
 * Versioning
 * ☑️ All projects must have unified submodule versions
 * ❓ Release version?

Critical User Journey/Epic
A Critical User Journey (CUJ) is described by one Job To Be Done (JTBD) and can involve one or more projects. The JTBD is written from the perspective of the end user/actor/stakeholder, and as such it requires a clear understanding of who this end user is. A JTBD's goal is to clearly understand what the user is trying to achieve, without making strong assumptions about the solution.

The acceptance criteria enriches this narrative by adding functional details to the JTBD, also from the perspective of what the user would expect to accomplish.

CUJ/Epic Phabricator template

 * [https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?title=%3CCUJ%20n%3E%20or%20%3CEpic%20n%3E%3A%20%3CTitle%20of%20the%20Core%20User%20Journey%20or%20Epic%3E&description=%2F%2F%3Cerase%20this%20line%3E%20This%20task%20describes%20a%20epic%20or%20milestone%20for%20%5BAW%20or%20Wikifunctions%5D%2F%2F%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20%3CCritical%20User%20Journey%20n%3E%20or%20%3CEpic%20n%3E%3A%20%3CTitle%20of%20the%20CUJ%20or%20Epic%3E%0D%0A%0D%0A**Job%20To%20Be%20Done**%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20a%20brief%20description%20of%20the%20user%20story%20in%20the%20format%20of%20a%20JTBD%3A%2F%2F%0D%0A%0D%0AWhen%20%3Csituation%3E%20I%20want%20to%20%3Cjob%3E%20so%20I%20can%20%3Cexpected%20outcome%20or%20motivation%3E%0D%0A%0D%0A%0D%0A**Acceptance%20criteria**%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20a%20list%20of%20functional%20details%20that%20expand%20the%20JTBD%20detailed%20above%2C%20following%20a%20format%20similar%20to%3A%2F%2F%0D%0A%0D%0AA%20normal%20user...%0D%0A*%20%5B%20%5D%20Should%20be%20able%20to%20%5Bunderstand%20some%20format%5D%0D%0A*%20%5B%20%5D%20Should%20%5Bdisallow%20some%20time%20of%20user%20from%20doing%20some%20type%20of%20action%5D%0D%0A%0D%0AAn%20expert%20user...%0D%0A*%20%5B%20%5D%20Should%20be%20able%20to%20%5Bdo%20expert%20things%5D%0D%0A%0D%0A%0D%0A**Involved%20projects%20(repositories)**%0D%0A%0D%0A%2F%2FPlease%20add%20all%20the%20following%20tags%20related%20to%20this%20epic%20to%20the%20%22Tags%22%20field%20%3Cthen%20erase%20this%20section%20from%20the%20description%3E%2F%2F%0D%0A%0D%0A%23function-orchestrator%20%23function-evaluator%20%23function-schemata%20%23wikilambda%20%23abstract_wikipedia_ux%20%0D%0A%0D%0A---%0D%0A%0D%0A%0D%0A%23%23Completion%20checklist%0D%0A%0D%0A%2F%2FDuring%20the%20review%20process%2C%20edit%20and%20check%20these%20items%20to%20reflect%20the%20completion%20status%20of%20this%20epic%2F%2F%0D%0A%0D%0A*%20**Functionality**%0D%0A%20%20*%20%5B%20%5D%20Every%20project%20(repository)%20involved%20in%20this%20user%20story%20has%20its%20separate%20Phabricator%20task%0D%0A%20%20*%20%5B%20%5D%20Every%20related%20task%20should%20passes%20its%20completion%20checklist%0D%0A%20%20*%20%5B%20%5D%20The%20tests%20for%20every%20involved%20project%20pass%20successfully%0D%0A%20%20*%20%5B%20%5D%20The%20build%20process%20for%20every%20involved%20project%20passes%20successfully%0D%0A%20%20*%20%5B%20%5D%20Coverage%20for%20every%20involved%20project%20has%20improved%20or%20stayed%20the%20same%0D%0A*%20**Design**%0D%0A%20%20*%20%5B%20%5D%20Was%20reviewed%20and%20approved%20by%20the%20design%2FUX%20team%0D%0A*%20**Documentation**%0D%0A%20%20*%20%5B%20%5D%20Has%20related%20and%20updated%20documentation%2C%20E.g.%3A%0D%0A%20%20%20%20*%20Internal%20technical%20changes%3A%20internal%20repository%20documentation%20must%20be%20updated%20(README.md%2C%20JSDoc%2C%20PHPDoc)%0D%0A%20%20%20%20*%20Infrastructure%20technical%20changes%3A%20technical%20changes%20that%20reflect%20on%20environment%2C%20infrastructure%2C%20endpoints%20or%20any%20other%20area%20of%20interest%20for%20technical%20contributors%20should%20be%20reflected%20on%20MediaWiki%20extension%20pages.%0D%0A%20%20%20%20*%20Product%20or%20model%20changes%3A%20should%20have%20related%20documentation%20updated%20in%20meta%0D%0A*%20**Versioning**%0D%0A%20%20*%20%5B%20%5D%20If%20changes%20in%20submodule%20packages%20are%20involved%2C%20every%20project%20that%20uses%20this%20submodule%20has%20updated%20submodule%20version%20and%20passes%20tests%20and%20build&projects=Abstract_Wikipedia_team%2C%20Epic Add a Critical User Journey/Epic to Phabricator.]

CUJ/Epic completion checklist

 * Functionality
 * ☑️ Every project involved in the user story should have its associated tasks in Phabricator
 * ☑️ Every related task should pass its DoD checklist
 * ☑️ Tests for every involved project should pass
 * ☑️ Build process for every involved project should pass
 * ☑️ Coverage for every involved project should have improved or stayed the same
 * Design
 * ☑️ Must be reviewed and approved by the design/UX team
 * Documentation
 * ☑️ Must be have related and updated documentation
 * Internal technical changes: internal repository documentation must be updated (README.md, JSDoc, PHPDoc)
 * Infrastructure technical changes: technical changes that reflect on environment, infrastructure, endpoints or any other area of interest for technical contributors should be reflected on MediaWiki extension pages.
 * Product or model changes: should have related documentation updated in meta
 * Versioning
 * ☑️ If changes in submodule packages are involved, every project that uses this submodule should pass tests and build

Task/Bug
A task is described by a Phabricator ticket and involves one project only, which should be appropriately tagged in the ticket. Every Phabricator task should follow the AW Phabricator style guide.

Task/Bug Phabricator templates

 * [https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?title=Design%3A%20%3CTitle%20of%20the%20view%20or%20component%20to%20design%3E&description=%2F%2F%3Cerase%20this%20line%3E%20This%20task%20describes%20a%20design-related%20task%20for%20%5BAW%20or%20Wikifunctions%5D%2F%2F%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Description%0D%0A%0D%0A**Preamble**%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20a%20brief%20description%20of%20the%20scenario%20or%20context%20where%20the%20view%2Fcomponent%20will%20be%20used%3A%2F%2F%0D%0A%0D%0A**Devices**%0D%0A%0D%0AThis%20task%20includes%20designs%20for%3A%0D%0A*%20%5B%20%5D%20Desktop%0D%0A*%20%5B%20%5D%20Small%20screens%2Fmobile%0D%0A%0D%0A**Acceptance%20criteria**%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20a%20list%20of%20functional%20details%20to%20keep%20in%20mind%20about%20the%20view%2Fcomponent%20to%20design%3A%2F%2F%0D%0A%0D%0A*%20%5B%20%5D%20Should%20be%20able%20to%20%5Bdisplay%20different%20options%5D%0D%0A*%20%5B%20%5D%20Should%20%5Bbe%20equally%20accessible%20from%20this%20kind%20of%20screen%5D%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Design%20proposal%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20descriptions%20and%20screenshots%20of%20the%20final%20design%20proposal%20when%20ready%2F%2F%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Completion%20checklist%0D%0A%0D%0A%2F%2FDuring%20the%20review%20process%2C%20edit%20and%20check%20these%20items%20to%20reflect%20the%20completion%20status%20of%20this%20epic%2F%2F%0D%0A%0D%0A*%20**Design**%0D%0A%20%20*%20%5B%20%5D%20Designs%20are%20available%20in%20the%20following%20figma%20links%0D%0A%20%20%20%20*%20%5B%20%5D%20Desktop%3A%20https%3A%2F%2Fsome.figma.link%0D%0A%20%20%20%20*%20%5B%20%5D%20Mobile%3A%20https%3A%2F%2Fsome.figma.link%0D%0A%20%20*%20%5B%20%5D%20Designs%20have%20been%20reviewed%20and%20approved%20by%20DS%20team%0D%0A%20%20*%20%5B%20%5D%20Designs%20have%20been%20reviewed%20and%20approved%20by%20PM%0D%0A%20%20*%20%5B%20%5D%20Designs%20have%20been%20reviewed%20and%20validated%20by%20the%20Engineering%20team&projects=Abstract_Wikipedia_team%2C%20Design Add a Design task to Phabricator]
 * [https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?title=%3CComponent%3E%3A%20%3CTitle%20of%20the%20new%20feature%20to%20implement%3E&description=%2F%2F%3Cerase%20this%20line%3E%20This%20task%20describes%20a%20front-end%20task%20for%20%5BAW%20or%20Wikifunctions%5D%2F%2F%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Description%0D%0A%0D%0A**Preamble**%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20a%20brief%20description%20of%20the%20scenario%20or%20context%20where%20the%20view%2Fcomponent%20will%20be%20used%3A%2F%2F%0D%0A%0D%0A%0D%0A**Steps%20to%20reproduce**%0D%0A%0D%0A%23%20Go%20to%20the%20following%20link%20https%3A%2F%2Fwikifunctions.beta.link%20or%20https%3A%2F%2Flocalhost.link.too%0D%0A%23%20Do%20this%20or%20that%2C%20add%20some%20values%2C%20click%20some%20buttons%0D%0A%0D%0A%0D%0A**Expected%20behavior%20(Acceptance%20criteria)**%0D%0A%0D%0A*%20%5B%20%5D%20Should%20get%20modal%20window%20with%20a%20photo%20of%20a%20happy%20hedgehog%0D%0A*%20%5B%20%5D%20Add%20conditional%20behaviors%20that%20may%20apply%2C%20such%20as%3A%0D%0A*%20%5B%20%5D%20**Mobile**%3A%20should%20see%20a%20pangolin%20instead%0D%0A*%20%5B%20%5D%20**An%20anonymous%20user**%3A%20should%20be%20able%20to%20view%20the%20changes%0D%0A*%20%5B%20%5D%20**An%20expert%20sysadmin**%3A%20should%20get%20some%20experty%20treatment%0D%0A%0D%0A%0D%0A**Devices%20and%20Designs**%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20links%20to%20the%20phabricator%20tasks%20or%20figma%20files%20that%20contain%20the%20designs%20of%20this%20component%20or%20view%20for%20the%20applicable%20device.%20Remove%20any%20devices%20that%20are%20not%20applicable%20to%20this%20task%3A%2F%2F%0D%0A*%20Desktop%3A%20https%3A%2F%2Fsome.figma.link%0D%0A*%20Small%20screens%2Fmobile%3A%20https%3A%2F%2For.the.design.phab.task%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Completion%20checklist%0D%0A%0D%0A%2F%2FDuring%20the%20review%20process%2C%20edit%20and%20check%20these%20items%20to%20reflect%20the%20completion%20status%20of%20this%20epic%2F%2F%0D%0A%0D%0A*%20**Functionality**%0D%0A%20%20*%20%5B%20%5D%20The%20solution%20meets%20every%20acceptance%20criteria%20described%20above%0D%0A%20%20*%20%5B%20%5D%20All%20the%20child%20tasks%20are%20closed%0D%0A%20%20*%20%5B%20%5D%20The%20issue%20has%20been%20peer%20reviewed%0D%0A%20%20*%20%5B%20%5D%20The%20issue%20has%20been%20merged%0D%0A*%20**Engineering**%0D%0A%20%20*%20%5B%20%5D%20There%20are%20existing%20and%20passing%20unit%2Fintegration%20tests%20effectively%20testing%20its%20success%20and%20its%20failure%0D%0A%20%20*%20%5B%20%5D%20All%20new%20classes%2Fmethods%20are%20covered%20by%20unit%20tests%0D%0A*%20**Design**%0D%0A%20%20*%20%5B%20%5D%20Desktop%3A%20Design%20team%20has%20reviewed%20and%20approved%20it%20for%20desktop%0D%0A%20%20*%20%5B%20%5D%20Mobile%3A%20Design%20team%20has%20reviewed%20and%20approved%20it%20for%20mobile%20and%20small%20screens%0D%0A*%20**Documentation***%0D%0A%20%20*%20%5B%20%5D%20All%20new%20functions%2Fmethods%20are%20annotated%20(JSDoc%20or%20PHPDoc)%0D%0A%20%20*%20%5B%20%5D%20Related%20documentation%20in%20%5B%5Bmw%3AExtension%3AWikiLambda%7CMediaWiki%20extension%20pages%5D%5D%20or%20%5B%5Bmetawiki%3AAbstract_Wikipedia%7CAbstract%20Wikipedia%20pages%20in%20meta%5D%5D%20should%20be%20updated%20with%20the%20related%20changes%0D%0A%20%20%20%20*%20E.g.%20New%20API%20being%20created%20should%20be%20reflected%20in%20%5B%5Bmw%3AExtension%3AWikiLambda%2FAPI%7CWikiLambda%20API%5D%5D%20help%20page%0D%0A%20%20%20%20*%20E.g.%20New%20error%20types%20being%20added%20should%20be%20reflected%20in%20the%20%5B%5Bmetawiki%3AAbstract_Wikipedia%2FRepresentation_of_errors%7CRepresentation%20of%20errors%5D%5D%20help%20page%0D%0A%20%20%20%20*%20E.g.%20New%20keys%20being%20added%20to%20built-in%20types%20should%20be%20reflected%20in%20the%20%5B%5Bmetawiki%3AAbstract_Wikipedia%2FPre-generic_function_model%7CFunction%20model%5D%5D%20help%20page%0D%0A*%20**Versioning**%0D%0A%20%20*%20%5B%20%5D%20If%20changes%20in%20submodule%20packages%20are%20involved%2C%20every%20project%20that%20uses%20this%20submodule%20should%20pass%20tests%20and%20build&projects=Abstract_Wikipedia_team%2C%20wikilambda%2C%20abstract_wikipedia_ux%20 Add a Front-end task to Phabricator]
 * [https://phabricator.wikimedia.org/maniphest/task/edit/form/43/?title=%3CComponent%3E%3A%20%3CA%20short%20one-sentence%20summary%20that%20explains%20the%20problem%3E&description=%2F%2F%3Cerase%20this%20line%3E%20This%20is%20a%20front-end%20bug%20report%20for%20%5BAW%20or%20Wikifunctions%5D%2F%2F%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Description%0D%0A%0D%0A**Steps%20to%20reproduce**%0D%0A%0D%0A%23%20Go%20to%20the%20following%20link%20from%20Wikifunctions%20beta%20https%3A%2F%2Fwikifunctions.beta.link%0D%0A%23%20Do%20this%20or%20that%2C%20add%20some%20values%2C%20click%20some%20buttons%0D%0A%23%20Detailed%20step-by-step%20explanation%0D%0A%0D%0A**Observed%20behavior**%0D%0A%0D%0A*%20Description%20of%20the%20wrong%20behavior%20observed%20after%20following%20the%20previous%20steps%0D%0A%0D%0A**Expected%20behavior%20(Acceptance%20criteria)**%0D%0A%0D%0A*%20%5B%20%5D%20Should%20get%20modal%20window%20with%20a%20photo%20of%20a%20happy%20hedgehog%0D%0A*%20%5B%20%5D%20Add%20conditional%20behaviors%20that%20may%20apply%2C%20such%20as%3A%0D%0A*%20%5B%20%5D%20**Mobile**%3A%20should%20see%20a%20pangolin%20instead%0D%0A*%20%5B%20%5D%20**An%20anonymous%20user**%3A%20should%20be%20able%20to%20view%20the%20changes%0D%0A*%20%5B%20%5D%20**An%20expert%20sysadmin**%3A%20should%20get%20some%20experty%20treatment%0D%0A%0D%0A%0D%0A**Additional%20information**%0D%0A%0D%0A*%20browser%2C%20screenshots%2C%20mobile%20vs.%20desktop%2C%20etc.%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Completion%20checklist%0D%0A%0D%0A%2F%2FDuring%20the%20review%20process%2C%20edit%20and%20check%20these%20items%20to%20reflect%20the%20completion%20status%20of%20this%20epic%2F%2F%0D%0A%0D%0A*%20**Functionality**%0D%0A%20%20*%20%5B%20%5D%20The%20solution%20meets%20the%20expected%20behavior%2Facceptance%20criteria%20described%20above%0D%0A%20%20*%20%5B%20%5D%20The%20issue%20has%20been%20peer%20reviewed%0D%0A%20%20*%20%5B%20%5D%20The%20issue%20has%20been%20merged%0D%0A*%20**Engineering**%0D%0A%20%20*%20%5B%20%5D%20There%20are%20existing%20and%20passing%20unit%2Fintegration%20tests%20effectively%20testing%20its%20success%20and%20its%20failure%0D%0A%20%20*%20%5B%20%5D%20All%20new%20classes%2Fmethods%20are%20covered%20by%20unit%20tests%0D%0A%20%20*%20%5B%20%5D%20Explicit%20regression%20test%20mentioning%20the%20bug%2C%20if%20applicable%0D%0A*%20**Design**%0D%0A%20%20*%20%5B%20%5D%20Desktop%3A%20Design%20team%20has%20reviewed%20and%20approved%20it%20for%20desktop%0D%0A%20%20*%20%5B%20%5D%20Mobile%3A%20Design%20team%20has%20reviewed%20and%20approved%20it%20for%20mobile%20and%20small%20screens%0D%0A*%20**Versioning**%0D%0A%20%20*%20%5B%20%5D%20If%20changes%20in%20submodule%20packages%20are%20involved%2C%20every%20project%20that%20uses%20this%20submodule%20should%20pass%20tests%20and%20build&projects=Abstract_Wikipedia_team%2C%20wikilambda%2C%20abstract_wikipedia_ux Add a Front-end bug report to Phabricator]
 * [https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?title=%3CTitle%20of%20the%20new%20feature%20to%20implement%3E&description=%2F%2F%3Cerase%20this%20line%3E%20This%20task%20describes%20a%20back-end%20task%20for%20%5BAW%20or%20Wikifunctions%5D%2F%2F%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Description%0D%0A%0D%0A**Preamble**%0D%0A%0D%0A%2F%2F%3Cerase%20this%20line%3E%20Include%20a%20brief%20description%20of%20the%20task%20or%20feature%20to%20implement%20and%20why%2F%2F%0D%0A%0D%0A%0D%0A**Steps%20to%20reproduce**%0D%0A%0D%0A%20%20%23%20Run%20some%20test%20with%20the%20command%20%60npm%20run%20test%3Anolint%20--%20-t%20%22some%20test%20called%20some%20name%22%60%0D%0A%20%20%23%20Send%20a%20request%20to%20the%20following%20API%20https%3A%2F%2Fsandbox.api.full.link%20with%20the%20following%20load%3A%0D%0A%60%60%60%7B%0D%0A%20%20%22Z1K1%22%3A%20%22Z7%22%0D%0A%20%20%22Z7K1%22%3A%20%22some%20function%20with%20some%20parameters%22%0D%0A%7D%60%60%60%0D%0A%0D%0A%0D%0A**Expected%20behavior%2FAcceptance%20criteria%20(returned%20value%2C%20expected%20error%2C%20performance%20expectations%2C%20etc.)**%0D%0A%0D%0A*%20...%0D%0A%0D%0A---%0D%0A%0D%0A%2F%2F%20%3Cerase%20this%20section%2C%20from%20here%3E%2F%2F%0D%0A**Remove%20all%20the%20non-applicable%20tags%20from%20the%20%22Tags%22%20field%2C%20leave%20only%20the%20tags%20of%20the%20projects%2Frepositories%20related%20to%20this%20task.%20The%20available%20tags%20are%3A**%0D%0A%23function-orchestrator%20%23function-evaluator%20%23function-schemata%20%23wikilambda%0D%0A%2F%2F%3C%2Ftill%20here%3E%2F%2F%0D%0A%0D%0A---%0D%0A%0D%0A%23%23%20Completion%20checklist%0D%0A%0D%0A%2F%2FDuring%20the%20review%20process%2C%20edit%20and%20check%20these%20items%20to%20reflect%20the%20completion%20status%20of%20this%20epic%2F%2F%0D%0A%0D%0A*%20**Functionality**%0D%0A%20%20*%20%5B%20%5D%20The%20solution%20meets%20every%20acceptance%20criteria%20described%20above%0D%0A%20%20*%20%5B%20%5D%20All%20the%20child%20tasks%20are%20closed%0D%0A%20%20*%20%5B%20%5D%20The%20issue%20has%20been%20peer%20reviewed%0D%0A%20%20*%20%5B%20%5D%20The%20issue%20has%20been%20merged%0D%0A*%20**Engineering**%0D%0A%20%20*%20%5B%20%5D%20There%20are%20existing%20and%20passing%20unit%2Fintegration%20tests%20effectively%20testing%20its%20success%20and%20its%20failure%0D%0A%20%20*%20%5B%20%5D%20All%20new%20classes%2Fmethods%20are%20covered%20by%20unit%20tests%0D%0A*%20**Documentation***%0D%0A%20%20*%20%5B%20%5D%20All%20new%20functions%2Fmethods%20are%20annotated%20(JSDoc%20or%20PHPDoc)%0D%0A%20%20*%20%5B%20%5D%20Related%20documentation%20in%20%5B%5Bmw%3AExtension%3AWikiLambda%7CMediaWiki%20extension%20pages%5D%5D%20or%20%5B%5Bmetawiki%3AAbstract_Wikipedia%7CAbstract%20Wikipedia%20pages%20in%20meta%5D%5D%20should%20be%20updated%20with%20the%20related%20changes%0D%0A%20%20%20%20*%20E.g.%20New%20API%20being%20created%20should%20be%20reflected%20in%20%5B%5Bmw%3AExtension%3AWikiLambda%2FAPI%7CWikiLambda%20API%5D%5D%20help%20page%0D%0A%20%20%20%20*%20E.g.%20New%20error%20types%20being%20added%20should%20be%20reflected%20in%20the%20%5B%5Bmetawiki%3AAbstract_Wikipedia%2FRepresentation_of_errors%7CRepresentation%20of%20errors%5D%5D%20help%20page%0D%0A%20%20%20%20*%20E.g.%20New%20keys%20being%20added%20to%20built-in%20types%20should%20be%20reflected%20in%20the%20%5B%5Bmetawiki%3AAbstract_Wikipedia%2FPre-generic_function_model%7CFunction%20model%5D%5D%20help%20page%0D%0A*%20**Versioning**%0D%0A%20%20*%20%5B%20%5D%20If%20changes%20in%20submodule%20packages%20are%20involved%2C%20every%20project%20that%20uses%20this%20submodule%20should%20pass%20tests%20and%20build&projects=Abstract_Wikipedia_team%2C%20function-orchestrator%2C%20function-evaluator%2C%20function-schemata%2C%20wikilambda Add a Back-end task to Phabricator]

Task/Bug definition template
Legend: 🔧 applicable to task descriptions 🐛 applicable to bug descriptions

Task/Bug completion checklist

 * Functionality
 * ☑️ The issue has been resolved
 * ☑️ All the child tasks are closed
 * ☑️ The issue has been peer reviewed
 * ☑️ The issue has been merged
 * Engineering
 * ☑️ There are existing and passing unit/integration tests effectively testing its success and its failure
 * ☑️ All new classes/methods are covered by unit tests
 * ☑️ [BUG] Explicit regression test mentioning the bug
 * Design
 * ☑️ If the task is UX/Design related: it must be reviewed and approved by the UX/Design team
 * Documentation
 * ☑️ All new functions/methods are annotated (JSDoc or PHPDoc)
 * ☑️ Related documentation in MediaWiki extension pages or Abstract Wikipedia pages in meta should be updated with the related changes
 * E.g. New API being created should be reflected in WikiLambda API help page
 * E.g. New error types being added should be reflected in the Representation of errors help page
 * E.g. New keys being added to built-in types should be reflected in the Function model help page
 * Versioning
 * ☑️ If changes in submodule packages are involved, every project that uses this submodule should pass tests and build
 * ❓ Is this necessary for task DoD or should this be an item of Epic/Milestone DoD?