[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71S4N6GNEKDGS01HV27T09T":3,"skill-same:01M71S4N6GNEKDGS01HV27T09T":89},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":6,"ownerHtmlUrl":60,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":61,"install":62,"resources":74},"01M71S4N6GNEKDGS01HV27T09T","author-decision-mapping",null,"v4 sub-skill #3. Adds the `decisions:` block to the brief and emits\none Cypher precedent-query file per HITL phase under\n`api\u002Fserver\u002Fservices\u002Fprecedent_queries\u002F\u003Cworkflow_type>_\u003Cphase>.cypher`.","arturcrmbot\u002Fzava-control-plane","arturcrmbot","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F156445312?v=4","01M71R9QBEJ4ZSX5AXBGBYH82C","Artur Zielinski","01M71R9QCJSV19ESCAF5773TWH",1,"MIT","https:\u002F\u002Fgithub.com\u002Farturcrmbot\u002Fzava-control-plane\u002Fblob\u002Fmain\u002Fdocs\u002Fsuperpowers\u002Fskills\u002Fcompose-domain\u002Fsub-skills\u002Fauthor-decision-mapping\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"author decision mapping","author","mapping","decision","decision mapping","only","one","entities","true","entries","time","query","design","decisions","wt","cypher","brief","file","workflow","sandbox","2026-11-10 13:02:02",false,"---\nname: author-decision-mapping\ndescription: |\n  v4 sub-skill #3. Adds the `decisions:` block to the brief and emits\n  one Cypher precedent-query file per HITL phase under\n  `api\u002Fserver\u002Fservices\u002Fprecedent_queries\u002F\u003Cworkflow_type>_\u003Cphase>.cypher`.\naudience: design-time-only\nforbidden-runtime: true\ninputs:\n  - brief.phases (kind: hitl entries)\n  - brief.entities (so decided_on_entities can resolve)\noutputs:\n  - brief.decisions\n  - \u003Csandbox>\u002Fapi\u002Fserver\u002Fservices\u002Fprecedent_queries\u002F\u003Cwt>_\u003Cphase>.cypher\nhands_off_to: author-function-membership\n---\n\n# author-decision-mapping\n\nThis sub-skill encodes the persona-precedent contract: every HITL\nphase that wants to surface \"what did this persona decide last time\non a similar entity?\" gets a Cypher template that the Phase 3\npersona reasoning loop will run with bind params\n``$entity_id`` and ``$limit``.\n\n## Procedure\n\n1. **Read** the v1 brief (now carrying `entities`).\n2. **Propose `decisions:`.** One entry per HITL phase that should\n   record a precedent. Schema:\n\n   ```yaml\n   decisions:\n     - phase: \u003Chitl-phase-name>             # must exist in phases & be kind: hitl\n       persona: \u003Crole>                      # must exist in api\u002Fserver\u002Fpersonae\u002F\n       source_event: \u003CFleetEvent type>      # default: workflow.hitl.requested\n       decided_on_entities: [payload.X.id]  # optional refs from entities[]\n       attributes_from_context:             # optional context map for Decision.attributes\n         \u003Ckey>: payload.\u003Cpath>\n   ```\n\n3. **Validate.** Run `validator.py:validate(brief, ...)`. STOP on\n   `SchemaError`.\n4. **Render.** For each decision, call\n   `codegen.render_cypher(brief, decision)`. Write each to\n   `\u003Csandbox>\u002Fapi\u002Fserver\u002Fservices\u002Fprecedent_queries\u002F\u003Cworkflow_type>_\u003Cphase>.cypher`.\n5. **Hand off** to `author-function-membership`.\n\n## Cypher template (replicated from blueprint §10 decision #4)\n\n```cypher\n\u002F\u002F Auto-generated by compose-domain v4 author-decision-mapping codegen.\nMATCH (d:Decision)-[:DECIDED_ON]->(e {id: $entity_id})\nWHERE d.persona_role = '\u003Cpersona>'\n  AND d.workflow_type = '\u003Cworkflow_type>'\nRETURN d\nORDER BY d.decided_at DESC\nLIMIT $limit\n```\n\nThe persona reasoning loop binds `$entity_id` from the current\nworkflow's entity ref and `$limit` from the per-call cap.\n\n## Constraints\n\n- Exactly one decision per HITL phase (the dedupe triple\n  `(workflow_id, phase, persona_role)` is enforced by Phase 1's\n  reflector).\n- Persona names must reference an existing folder under\n  `api\u002Fserver\u002Fpersonae\u002F`.\n- `source_event` defaults to `workflow.hitl.requested` when omitted.\n","# author-decision-mapping\n\nThis sub-skill encodes the persona-precedent contract: every HITL\nphase that wants to surface \"what did this persona decide last time\non a similar entity?\" gets a Cypher template that the Phase 3\npersona reasoning loop will run with bind params\n``$entity_id`` and ``$limit``.\n\n## Procedure\n\n1. **Read** the v1 brief (now carrying `entities`).\n2. **Propose `decisions:`.** One entry per HITL phase that should\n   record a precedent. Schema:\n\n   ```yaml\n   decisions:\n     - phase: \u003Chitl-phase-name>             # must exist in phases & be kind: hitl\n       persona: \u003Crole>                      # must exist in api\u002Fserver\u002Fpersonae\u002F\n       source_event: \u003CFleetEvent type>      # default: workflow.hitl.requested\n       decided_on_entities: [payload.X.id]  # optional refs from entities[]\n       attributes_from_context:             # optional context map for Decision.attributes\n         \u003Ckey>: payload.\u003Cpath>\n   ```\n\n3. **Validate.** Run `validator.py:validate(brief, ...)`. STOP on\n   `SchemaError`.\n4. **Render.** For each decision, call\n   `codegen.render_cypher(brief, decision)`. Write each to\n   `\u003Csandbox>\u002Fapi\u002Fserver\u002Fservices\u002Fprecedent_queries\u002F\u003Cworkflow_type>_\u003Cphase>.cypher`.\n5. **Hand off** to `author-function-membership`.\n\n## Cypher template (replicated from blueprint §10 decision #4)\n\n```cypher\n\u002F\u002F Auto-generated by compose-domain v4 author-decision-mapping codegen.\nMATCH (d:Decision)-[:DECIDED_ON]->(e {id: $entity_id})\nWHERE d.persona_role = '\u003Cpersona>'\n  AND d.workflow_type = '\u003Cworkflow_type>'\nRETURN d\nORDER BY d.decided_at DESC\nLIMIT $limit\n```\n\nThe persona reasoning loop binds `$entity_id` from the current\nworkflow's entity ref and `$limit` from the per-call cap.\n\n## Constraints\n\n- Exactly one decision per HITL phase (the dedupe triple\n  `(workflow_id, phase, persona_role)` is enforced by Phase 1's\n  reflector).\n- Persona names must reference an existing folder under\n  `api\u002Fserver\u002Fpersonae\u002F`.\n- `source_event` defaults to `workflow.hitl.requested` when omitted.\n",{"name":5,"inputs":44,"outputs":48,"audience":51,"description":52,"hands_off_to":53,"forbidden-runtime":54},[45,47],{"brief.phases (kind":46},"hitl entries)","brief.entities (so decided_on_entities can resolve)",[49,50],"brief.decisions","\u003Csandbox>\u002Fapi\u002Fserver\u002Fservices\u002Fprecedent_queries\u002F\u003Cwt>_\u003Cphase>.cypher","design-time-only","v4 sub-skill #3. Adds the `decisions:` block to the brief and emits\none Cypher precedent-query file per HITL phase under\n`api\u002Fserver\u002Fservices\u002Fprecedent_queries\u002F\u003Cworkflow_type>_\u003Cphase>.cypher`.\n","author-function-membership",true,"main","db273d7d646605c0bf0175dc9c8057b9ad2628b5","docs\u002Fsuperpowers\u002Fskills\u002Fcompose-domain\u002Fsub-skills\u002Fauthor-decision-mapping",2,"https:\u002F\u002Fgithub.com\u002Farturcrmbot\u002Fzava-control-plane","https:\u002F\u002Fgithub.com\u002Farturcrmbot","2026-09-28 17:47:06",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":54},[64,67,70],{"tool":65,"command":66},"npx","npx skills add arturcrmbot\u002Fzava-control-plane --skill author-decision-mapping",{"tool":68,"command":69},"bunx","bunx skills add arturcrmbot\u002Fzava-control-plane --skill author-decision-mapping",{"tool":71,"command":72},"pnpm","pnpm dlx skills add arturcrmbot\u002Fzava-control-plane --skill author-decision-mapping","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Farturcrmbot\u002Fzava-control-plane\u002Fblob\u002Fmain\u002Fdocs\u002Fsuperpowers\u002Fskills\u002Fcompose-domain\u002Fsub-skills\u002Fauthor-decision-mapping\u002FSKILL.md",[75,81,85],{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"__init__.py","SCRIPT","脚本",0,"https:\u002F\u002Fgithub.com\u002Farturcrmbot\u002Fzava-control-plane\u002Fblob\u002Fmain\u002Fdocs\u002Fsuperpowers\u002Fskills\u002Fcompose-domain\u002Fsub-skills\u002Fauthor-decision-mapping\u002F__init__.py",{"path":82,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":83,"sourceHtmlUrl":84},"codegen.py",1388,"https:\u002F\u002Fgithub.com\u002Farturcrmbot\u002Fzava-control-plane\u002Fblob\u002Fmain\u002Fdocs\u002Fsuperpowers\u002Fskills\u002Fcompose-domain\u002Fsub-skills\u002Fauthor-decision-mapping\u002Fcodegen.py",{"path":86,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":87,"sourceHtmlUrl":88},"validator.py",3384,"https:\u002F\u002Fgithub.com\u002Farturcrmbot\u002Fzava-control-plane\u002Fblob\u002Fmain\u002Fdocs\u002Fsuperpowers\u002Fskills\u002Fcompose-domain\u002Fsub-skills\u002Fauthor-decision-mapping\u002Fvalidator.py",[90,111,128,142,150,157],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":39},"01M71SJECD4KXSSJV1B0HSY4T4","proactive-customer-care","Proactively notifies and, where warranted, extends a small bounded goodwill gesture to a customer whose itinerary materially changed.","https:\u002F\u002Fgithub.com\u002Farturcrmbot\u002Fzava-control-plane\u002Fblob\u002Fmain\u002Fverticals\u002Ftravel\u002Fskills\u002Fproactive-customer-care\u002FSKILL.md",[],[97,98,99,100,101,102,103,104,105,106,107,108,109,110],"proactive","customer","proactive customer care","customer care","gesture","action","bounded","status","check","booking","operations","travel","issue","itinerary",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":39},"01M71SJ9VHGNNTB6452H1KRZD6","payment-exception","Resolves a failed balance payment by retrying it to complete the booking, or releasing the booking's inventory when retry is not viable.","https:\u002F\u002Fgithub.com\u002Farturcrmbot\u002Fzava-control-plane\u002Fblob\u002Fmain\u002Fverticals\u002Ftravel\u002Fskills\u002Fpayment-exception\u002FSKILL.md",[],[118,119,120,121,122,106,123,124,125,104,126,127,105,107,108],"payment","payment exception","it","retry","balance","when","release","complete","capacity","inventory",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":39},"01M71SJ6S6XREB0J6CCVCSFZ9E","hotel-supplier-recovery","Restores accommodation for a shortfall-hit hotel allotment by moving contracted rooms from a donor allotment with headroom, resolving the reported supplier shortfall.","https:\u002F\u002Fgithub.com\u002Farturcrmbot\u002Fzava-control-plane\u002Fblob\u002Fmain\u002Fverticals\u002Ftravel\u002Fskills\u002Fhotel-supplier-recovery\u002FSKILL.md",[],[135,136,137,138,105,107,108,139,140,141],"hotel supplier recovery","hotel","recovery","with","move","for","headroom",{"skillNo":143,"name":144,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":39},"01M71SJ4G5MPM50WZ6F66M3PNS","holiday-sales-booking","https:\u002F\u002Fgithub.com\u002Farturcrmbot\u002Fzava-control-plane\u002Fblob\u002Fmain\u002Fverticals\u002Ftravel\u002Fskills\u002Fholiday-sales-booking\u002FSKILL.md",[],[148,106,149],"holiday sales booking","sales",{"skillNo":151,"name":152,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":39},"01M71SJ2AHHWN2C4YV2RKEE947","flight-disruption-recovery","https:\u002F\u002Fgithub.com\u002Farturcrmbot\u002Fzava-control-plane\u002Fblob\u002Fmain\u002Fverticals\u002Ftravel\u002Fskills\u002Fflight-disruption-recovery\u002FSKILL.md",[],[156,137],"flight disruption recovery",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":39},"01M71SHYPK8HNQ80C9XAWSER53","destination-operations","Dispatches a replacement resort transfer when an arrival is at risk, rebinding any travellers on the at-risk transfer to the replacement.","https:\u002F\u002Fgithub.com\u002Farturcrmbot\u002Fzava-control-plane\u002Fblob\u002Fmain\u002Fverticals\u002Ftravel\u002Fskills\u002Fdestination-operations\u002FSKILL.md",[],[164,107,165,166,105,167,108,168,123,169],"destination operations","destination","risk","dispatch","at","transfer"]