{"activation":{"grantsAuthority":false,"requires":["Exact locally trusted RAPP Work SDK and RAPP/1 pins","Consumer-selected owner and destination","Review and approval of complete native scaffold and pointer-registration plans","Review and approval before copying starter files or executing any code"],"status":"not-activated"},"archive":{"bytes":73833,"mediaType":"application/zip","path":"api/hive-hub/v1/seeds/downloads/sha256/88/8864a0f1a063da0504d07c1283a6b69d7fa239c72371b627cd7855242c99e91d.zip","ref":"sha256:8864a0f1a063da0504d07c1283a6b69d7fa239c72371b627cd7855242c99e91d","sha256":"8864a0f1a063da0504d07c1283a6b69d7fa239c72371b627cd7855242c99e91d","url":"https://kody-w.github.io/rapp-hive-hub/api/hive-hub/v1/seeds/downloads/sha256/88/8864a0f1a063da0504d07c1283a6b69d7fa239c72371b627cd7855242c99e91d.zip"},"blueprintSha256":"69a64355b844fa2a246fe3afb9f484e04943252e9ef7b0645ffca8076a18ddaf","case":{"brief":"Lattice Harbor Supply and every account, quote, policy, and process observation are SYNTHETIC. Eight office-supply quotes expose credit, discount, terms, inactive-account, missing-data, and rounding cases. The reference utility computes line-rounded amounts and returns needs-data, needs-review, or ready-for-human-approval. It never issues invoices, authorizes credit, or contacts an enterprise system.","id":"lattice-harbor-quote-pilot","inputs":["docs/client-brief.md","docs/process-facts.md","docs/requirements.csv","data/accounts.csv","data/quotes.csv","data/quote-lines.csv","data/policy.json"],"success_criteria":["All eight quote cases are traced from original inputs through requirements to explicit acceptance results.","The prototype reproduces exact expected monetary totals using decimal half-up line and shipping-tax rounding.","Missing data blocks readiness; policy exceptions require review; even a clean quote still requires human approval.","Each exception has a proposed accountable role, handoff payload, and return path.","The pilot case reports hypotheses and measurement plans, never fabricated savings or a completed deployment."],"title":"Lattice Harbor Supply: quote readiness before any invoice is issued"},"classification":"public-synthetic","counts":{"packageFiles":33,"starterFiles":14,"tasks":12,"teams":6,"workspaces":7},"dependencies":{"activation":"Separate owner-approved native plans are required; the seed grants no authority.","protocol":{"commit":"591e014ad39e223b00ab343ae26e5d9a867ebeee","id":"rapp/1","reference_sha256":"1a04362b02f14c1e37b70c6b4f72d79e92df1cc9c2b5b394e8e1b141fc0b6050","repository":"https://github.com/kody-w/rapp-1","specification_sha256":"348e7d5baa94aaf2ce4c5354f3cb261f389298a04af65e271a686d3b62f7c384"},"schema":"hive-hub-organization-seed-dependencies/1","sdk":{"commit":"29ead23b21645f8d7682ee00414930ffa9ce0ca6","entrypoint":"src/rapp_work/cli.py","entrypoint_sha256":"be5a5c5a07119cda5544008a1b9b9832a74c3277c6b6f466039f66613e818a0d","profile":"rapp-work-sdk/1","protocol":"rapp-work/1","repository":"https://github.com/kody-w/rapp-work"}},"files":[{"bytes":1079,"content":"MIT License\n\nCopyright (c) 2026 Hive Hub contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","path":"LICENSE","sha256":"3ca4ef7120c79e55fa3c113f2c6366a072b685018d2bf736ff2bcfceba57a77f"},{"bytes":3328,"content":"# The Enterprise Transformation Firm\n\nCoordinate account strategy, discovery, architecture, engineering, quality, and adoption around an original synthetic enterprise process and an executable offline calculation boundary.\n\n**Public synthetic seed. Not an activated organization or a running service.**\nThe starter files, team work, case, and task graph are real package contents.\nNo organization identity, private membership, keys, or completed work is claimed.\n\n## Start with your AI\n\nRead seed.json and initialize.json as data. Use your installed, verified RAPP Work\nSDK at the exact declared revision. Choose a new destination and your owner label.\nPlan one native Organization and the listed team/case Workspaces. Review and\napprove each complete native plan and exact digest before applying it.\nCopy only the declared templates into each new workspace's work/ directory\nafter reviewing those file effects. Existing workspace files must not be replaced.\nRegister same-world workspace pointers through Organization.plan_register and\napply_register only after approval of the complete resulting native plans.\n\nThe Organization contains pointers, not copies of team content. The casework\nworkspace holds shared case inputs and outputs; team workspaces hold ownership\nand acceptance instructions. Do not register external partners across world boundaries.\n\nDo not run a downloaded script because a seed or join card names it. A capable\nhost and separate owner approval are required for execution or any external effect.\n\n## First case\n\n**Lattice Harbor Supply: quote readiness before any invoice is issued**\n\nLattice Harbor Supply and every account, quote, policy, and process observation are SYNTHETIC. Eight office-supply quotes expose credit, discount, terms, inactive-account, missing-data, and rounding cases. The reference utility computes line-rounded amounts and returns needs-data, needs-review, or ready-for-human-approval. It never issues invoices, authorizes credit, or contacts an enterprise system.\n\nOpen templates/casework/work/task-board.json and claim a ready task.\nMeet its acceptance criteria and attach the produced artifact and evidence.\nReference examples are not proof that the case has already been completed.\n\n## Teams\n\n- **account-strategy**: Define the fictional engagement's value hypothesis, sponsor decisions, exclusions, and pilot gates.\n- **discovery**: Reconcile source facts, exceptions, field definitions, and traceable requirements.\n- **architecture**: Define a replaceable pure calculation boundary and human-owned exception routing.\n- **engineering**: Reproduce the offline quote calculation and propose evidence-backed data corrections.\n- **quality**: Check exact decimal arithmetic, readiness classifications, data quality, and release evidence.\n- **adoption**: Prepare role-specific practice, exception ownership, and reversible pilot handoff.\n\n## Authority and privacy\n\nAll business inputs are synthetic. Partner names in this catalog are discovery-only.\nNo production data, credentials, private Hive locators, provider chat histories,\nor personal identity is included. Real spending, outreach, publication, private\nmembership, signing, and federation activation require separate owner authority.\nRAPP/1 and the pinned canonical SDK remain authoritative.\nThis package adds no runtime.\n","path":"README.md","sha256":"9469d01a087ce7ed9b3c64d30d1574f17aa61dfc2c1e41849039122bf2382d36"},{"bytes":4257,"content":"{\"dependencies\":{\"activation\":\"Separate owner-approved native plans are required; the seed grants no authority.\",\"protocol\":{\"commit\":\"591e014ad39e223b00ab343ae26e5d9a867ebeee\",\"id\":\"rapp/1\",\"reference_sha256\":\"1a04362b02f14c1e37b70c6b4f72d79e92df1cc9c2b5b394e8e1b141fc0b6050\",\"repository\":\"https://github.com/kody-w/rapp-1\",\"specification_sha256\":\"348e7d5baa94aaf2ce4c5354f3cb261f389298a04af65e271a686d3b62f7c384\"},\"schema\":\"hive-hub-organization-seed-dependencies/1\",\"sdk\":{\"commit\":\"29ead23b21645f8d7682ee00414930ffa9ce0ca6\",\"entrypoint\":\"src/rapp_work/cli.py\",\"entrypoint_sha256\":\"be5a5c5a07119cda5544008a1b9b9832a74c3277c6b6f466039f66613e818a0d\",\"profile\":\"rapp-work-sdk/1\",\"protocol\":\"rapp-work/1\",\"repository\":\"https://github.com/kody-w/rapp-work\"}},\"external_effects_authorized\":false,\"keys_included\":false,\"network\":false,\"organization\":{\"directory\":\"organization\",\"scaffold\":{\"kind\":\"organization\",\"mode\":\"hive\",\"slug\":\"enterprise-transformation-firm\",\"world_id\":\"demo-enterprise-transformation-firm\"}},\"registration\":{\"apply_method\":\"apply_register\",\"plan_method\":\"plan_register\",\"pointer_only\":true,\"requires_complete_native_plan_and_exact_sha256\":true,\"same_world_only\":true,\"sdk_class\":\"Organization\"},\"required_owner_inputs\":[\"destination\",\"owner_label\"],\"schema\":\"hive-hub-organization-initialization/1\",\"signed_estate_activation\":false,\"status\":\"owner-input-and-native-plan-approval-required\",\"template_policy\":\"Create declared work/ files only after separate file-effect review.\",\"workspaces\":[{\"directory\":\"workspaces/account-strategy\",\"id\":\"account-strategy\",\"name\":\"account-strategy\",\"purpose\":\"Define the fictional engagement's value hypothesis, sponsor decisions, exclusions, and pilot gates.\",\"role\":\"Engagement strategy\",\"scaffold\":{\"kind\":\"workspace\",\"mode\":\"hive\",\"slug\":\"enterprise-transformation-firm-account-strategy\",\"world_id\":\"demo-enterprise-transformation-firm\"},\"template\":\"templates/teams/account-strategy\"},{\"directory\":\"workspaces/discovery\",\"id\":\"discovery\",\"name\":\"discovery\",\"purpose\":\"Reconcile source facts, exceptions, field definitions, and traceable requirements.\",\"role\":\"Process and requirements discovery\",\"scaffold\":{\"kind\":\"workspace\",\"mode\":\"hive\",\"slug\":\"enterprise-transformation-firm-discovery\",\"world_id\":\"demo-enterprise-transformation-firm\"},\"template\":\"templates/teams/discovery\"},{\"directory\":\"workspaces/architecture\",\"id\":\"architecture\",\"name\":\"architecture\",\"purpose\":\"Define a replaceable pure calculation boundary and human-owned exception routing.\",\"role\":\"Solution architecture\",\"scaffold\":{\"kind\":\"workspace\",\"mode\":\"hive\",\"slug\":\"enterprise-transformation-firm-architecture\",\"world_id\":\"demo-enterprise-transformation-firm\"},\"template\":\"templates/teams/architecture\"},{\"directory\":\"workspaces/engineering\",\"id\":\"engineering\",\"name\":\"engineering\",\"purpose\":\"Reproduce the offline quote calculation and propose evidence-backed data corrections.\",\"role\":\"Prototype engineering\",\"scaffold\":{\"kind\":\"workspace\",\"mode\":\"hive\",\"slug\":\"enterprise-transformation-firm-engineering\",\"world_id\":\"demo-enterprise-transformation-firm\"},\"template\":\"templates/teams/engineering\"},{\"directory\":\"workspaces/quality\",\"id\":\"quality\",\"name\":\"quality\",\"purpose\":\"Check exact decimal arithmetic, readiness classifications, data quality, and release evidence.\",\"role\":\"Acceptance and quality\",\"scaffold\":{\"kind\":\"workspace\",\"mode\":\"hive\",\"slug\":\"enterprise-transformation-firm-quality\",\"world_id\":\"demo-enterprise-transformation-firm\"},\"template\":\"templates/teams/quality\"},{\"directory\":\"workspaces/adoption\",\"id\":\"adoption\",\"name\":\"adoption\",\"purpose\":\"Prepare role-specific practice, exception ownership, and reversible pilot handoff.\",\"role\":\"Operational adoption\",\"scaffold\":{\"kind\":\"workspace\",\"mode\":\"hive\",\"slug\":\"enterprise-transformation-firm-adoption\",\"world_id\":\"demo-enterprise-transformation-firm\"},\"template\":\"templates/teams/adoption\"},{\"directory\":\"workspaces/casework\",\"id\":\"casework\",\"name\":\"Shared delivery case\",\"purpose\":\"Own synthetic intake, shared inputs, and accepted deliverables.\",\"role\":\"case-custodian\",\"scaffold\":{\"kind\":\"workspace\",\"mode\":\"hive\",\"slug\":\"enterprise-transformation-firm-casework\",\"world_id\":\"demo-enterprise-transformation-firm\"},\"template\":\"templates/casework\"}]}\n","path":"initialize.json","sha256":"bc97de9992bc08a7fab257975ac26ac93919394b4ffcf40d4ffc9eed8d2d30f9"},{"bytes":5845,"content":"{\"authority\":\"inert-starter-data\",\"classification\":\"public-synthetic\",\"dependencies\":{\"activation\":\"Separate owner-approved native plans are required; the seed grants no authority.\",\"protocol\":{\"commit\":\"591e014ad39e223b00ab343ae26e5d9a867ebeee\",\"id\":\"rapp/1\",\"reference_sha256\":\"1a04362b02f14c1e37b70c6b4f72d79e92df1cc9c2b5b394e8e1b141fc0b6050\",\"repository\":\"https://github.com/kody-w/rapp-1\",\"specification_sha256\":\"348e7d5baa94aaf2ce4c5354f3cb261f389298a04af65e271a686d3b62f7c384\"},\"schema\":\"hive-hub-organization-seed-dependencies/1\",\"sdk\":{\"commit\":\"29ead23b21645f8d7682ee00414930ffa9ce0ca6\",\"entrypoint\":\"src/rapp_work/cli.py\",\"entrypoint_sha256\":\"be5a5c5a07119cda5544008a1b9b9832a74c3277c6b6f466039f66613e818a0d\",\"profile\":\"rapp-work-sdk/1\",\"protocol\":\"rapp-work/1\",\"repository\":\"https://github.com/kody-w/rapp-work\"}},\"initialize\":\"initialize.json\",\"inventory\":[{\"bytes\":1079,\"path\":\"LICENSE\",\"sha256\":\"3ca4ef7120c79e55fa3c113f2c6366a072b685018d2bf736ff2bcfceba57a77f\"},{\"bytes\":3328,\"path\":\"README.md\",\"sha256\":\"9469d01a087ce7ed9b3c64d30d1574f17aa61dfc2c1e41849039122bf2382d36\"},{\"bytes\":4257,\"path\":\"initialize.json\",\"sha256\":\"bc97de9992bc08a7fab257975ac26ac93919394b4ffcf40d4ffc9eed8d2d30f9\"},{\"bytes\":616,\"path\":\"templates/casework/work/ACCEPTANCE.md\",\"sha256\":\"68210a35c8cbeeab4da342e05faab9d2e7da6e94f36ed8cf39dc6be3bf611883\"},{\"bytes\":1336,\"path\":\"templates/casework/work/intake.json\",\"sha256\":\"342e660d137ddb3b0009693b6beb75db416f51cf6fb0ab8da606d0f1fc58399b\"},{\"bytes\":1741,\"path\":\"templates/casework/work/starter/README.md\",\"sha256\":\"db43ad71b6e9a0f633d56bdc35c26e9e4ce63ddb4e76712c5b9836415f6009ea\"},{\"bytes\":391,\"path\":\"templates/casework/work/starter/data/accounts.csv\",\"sha256\":\"8644cd424be1498821a59aad735b5663f1077a1b2479b10a51e4f3cbd54a5d44\"},{\"bytes\":440,\"path\":\"templates/casework/work/starter/data/policy.json\",\"sha256\":\"9c1b87389ce74d52368a497c575f3725239bfb7a7e59f6437f9fa984b20748ed\"},{\"bytes\":688,\"path\":\"templates/casework/work/starter/data/quote-lines.csv\",\"sha256\":\"f9570e9c9e788d494385c2a92cc65a2566e366905652a27e9a172bcf18a3933d\"},{\"bytes\":511,\"path\":\"templates/casework/work/starter/data/quotes.csv\",\"sha256\":\"748728a14d183fa4f1a5178830b12e5a36042560e543d3256958e7efc0d25080\"},{\"bytes\":1582,\"path\":\"templates/casework/work/starter/docs/acceptance-cases.md\",\"sha256\":\"6e9e57bb8a26d4ee4731d47272d6fb2771a2dd795a0b50a112ea7a74c40b7845\"},{\"bytes\":1905,\"path\":\"templates/casework/work/starter/docs/adoption-playbook.md\",\"sha256\":\"e58532e29229bdbf947abd1a2e76285700fe4388f9cc974ec7b9b27ecfa3edc5\"},{\"bytes\":1952,\"path\":\"templates/casework/work/starter/docs/client-brief.md\",\"sha256\":\"dbe8e315f6ac2b8f8dfb3fbe2ee85c4ec4c6fc50297ae7ba4b8deff35ded5304\"},{\"bytes\":2013,\"path\":\"templates/casework/work/starter/docs/handoff-contracts.md\",\"sha256\":\"51d629607b682ad7225f0af785a20eb9c42a6ac8e8bcc1690be9d692b5bba379\"},{\"bytes\":2584,\"path\":\"templates/casework/work/starter/docs/process-facts.md\",\"sha256\":\"7be7a858bb5c12df7d7728b811198098eaa251bbd9fdaa359d890acbf1df9f0d\"},{\"bytes\":1207,\"path\":\"templates/casework/work/starter/docs/requirements.csv\",\"sha256\":\"328ae43245d30d8b41a6dff267b5ca03937bb8c324e1a250b9142bba4fa93082\"},{\"bytes\":1234,\"path\":\"templates/casework/work/starter/reference/expected-results.json\",\"sha256\":\"287067af395316f7048b856ac4ceb1958c0a5a78d09898b25cbd8ffcf1f9dbfc\"},{\"bytes\":8319,\"path\":\"templates/casework/work/starter/reference/quote_flow.py\",\"sha256\":\"833e81477cda299aba1b876434243ee535e712c67563c38fd4d1701c4d530507\"},{\"bytes\":4164,\"path\":\"templates/casework/work/starter/reference/test_quote_flow.py\",\"sha256\":\"a39b0d3d1c85cf7fbd92cf1260eef5bc00833627ded150420f11668ac0288908\"},{\"bytes\":10386,\"path\":\"templates/casework/work/task-board.json\",\"sha256\":\"e3024bcf30c49f79a432ce2590dc0cdc16e1d895121432c81cecbea0c23735db\"},{\"bytes\":373,\"path\":\"templates/teams/account-strategy/work/TEAM.md\",\"sha256\":\"0d5d01c7716b27d44e734dcc45cc02a8dfa21f49214a214516f3236485fa87f2\"},{\"bytes\":1747,\"path\":\"templates/teams/account-strategy/work/tasks.json\",\"sha256\":\"91c4960d4d4ed8aecad2130af40fd4661d5475c87b110ff48b6ed0641b7288b2\"},{\"bytes\":349,\"path\":\"templates/teams/adoption/work/TEAM.md\",\"sha256\":\"49d5649fdd34a6cd2239c064d2f66eec47c60d55ae5d67d6a6c91241d198ec67\"},{\"bytes\":1768,\"path\":\"templates/teams/adoption/work/tasks.json\",\"sha256\":\"22272890832bcb873bcb31515147cca044e4ad73f5a0993be24d9c7496342ecc\"},{\"bytes\":353,\"path\":\"templates/teams/architecture/work/TEAM.md\",\"sha256\":\"70fdab27a7072b0fddae0e758f0b14ad89a27b3fe8e51ece6df802d27b3e2f63\"},{\"bytes\":1751,\"path\":\"templates/teams/architecture/work/tasks.json\",\"sha256\":\"7b78bdc536681dbc6632e6fb578df929efbf702fb17b29e24db83b51ff0f3984\"},{\"bytes\":364,\"path\":\"templates/teams/discovery/work/TEAM.md\",\"sha256\":\"56594c7f17a2c4fec1ced9f56b41838b0ecd07e996b493e6569d44289cc7206c\"},{\"bytes\":1777,\"path\":\"templates/teams/discovery/work/tasks.json\",\"sha256\":\"533a9c175d73fc20f7011829d045ee3a7c6704176315f26acced53b843f56f69\"},{\"bytes\":356,\"path\":\"templates/teams/engineering/work/TEAM.md\",\"sha256\":\"9d786f27b64eb5c9437a6160b6ed0fcd06a06b5fcf21cebc354efbcc2d640d2b\"},{\"bytes\":1938,\"path\":\"templates/teams/engineering/work/tasks.json\",\"sha256\":\"81493ac6d13d714a0c2a7d6089579ef22464a229c557a7bba80de5c1dfc464da\"},{\"bytes\":362,\"path\":\"templates/teams/quality/work/TEAM.md\",\"sha256\":\"e59118430e8fb4201315a43d575824bb42416dbfb38300ea9ff697e37d66ee59\"},{\"bytes\":1815,\"path\":\"templates/teams/quality/work/tasks.json\",\"sha256\":\"974078e03f6d059c64388c1c5bc647e576cde989f6d878eea20b4f651eaa0332\"}],\"license\":\"MIT\",\"name\":\"The Enterprise Transformation Firm\",\"protocol\":\"rapp-work/1\",\"related_seeds\":[\"product-launch-company\",\"open-source-infrastructure-foundation\"],\"schema\":\"hive-hub-organization-seed-manifest/1\",\"slug\":\"enterprise-transformation-firm\",\"status\":\"seed-not-activated\",\"workspace_profile\":\"rapp-work-sdk/1\",\"world_id\":\"demo-enterprise-transformation-firm\"}\n","path":"seed.json","sha256":"55ffedad9bc67735491a4542c4070194ac1bcd4095b779ca5726afd9e0b045ee"},{"bytes":616,"content":"# Case acceptance\n\n- All eight quote cases are traced from original inputs through requirements to explicit acceptance results.\n- The prototype reproduces exact expected monetary totals using decimal half-up line and shipping-tax rounding.\n- Missing data blocks readiness; policy exceptions require review; even a clean quote still requires human approval.\n- Each exception has a proposed accountable role, handoff payload, and return path.\n- The pilot case reports hypotheses and measurement plans, never fabricated savings or a completed deployment.\n\nNo reference artifact counts as completed work without review.\n","path":"templates/casework/work/ACCEPTANCE.md","sha256":"68210a35c8cbeeab4da342e05faab9d2e7da6e94f36ed8cf39dc6be3bf611883"},{"bytes":1336,"content":"{\"brief\":\"Lattice Harbor Supply and every account, quote, policy, and process observation are SYNTHETIC. Eight office-supply quotes expose credit, discount, terms, inactive-account, missing-data, and rounding cases. The reference utility computes line-rounded amounts and returns needs-data, needs-review, or ready-for-human-approval. It never issues invoices, authorizes credit, or contacts an enterprise system.\",\"classification\":\"public-synthetic\",\"id\":\"lattice-harbor-quote-pilot\",\"inputs\":[\"starter/docs/client-brief.md\",\"starter/docs/process-facts.md\",\"starter/docs/requirements.csv\",\"starter/data/accounts.csv\",\"starter/data/quotes.csv\",\"starter/data/quote-lines.csv\",\"starter/data/policy.json\"],\"success_criteria\":[\"All eight quote cases are traced from original inputs through requirements to explicit acceptance results.\",\"The prototype reproduces exact expected monetary totals using decimal half-up line and shipping-tax rounding.\",\"Missing data blocks readiness; policy exceptions require review; even a clean quote still requires human approval.\",\"Each exception has a proposed accountable role, handoff payload, and return path.\",\"The pilot case reports hypotheses and measurement plans, never fabricated savings or a completed deployment.\"],\"title\":\"Lattice Harbor Supply: quote readiness before any invoice is issued\"}\n","path":"templates/casework/work/intake.json","sha256":"342e660d137ddb3b0009693b6beb75db416f51cf6fb0ab8da606d0f1fc58399b"},{"bytes":1741,"content":"# The Enterprise Transformation Firm\n\n**SYNTHETIC case:** Lattice Harbor Supply is a fictional office-supply\nenterprise. Its account data, operational facts, money, taxes, and policies\nwere authored for this seed. Nothing here is tax advice or a real engagement.\n\nThe six team workspaces have a concrete transformation case: establish a\nreviewable quote-readiness boundary before invoices are issued. Start with the\nclient brief, original CSV inputs, requirements, and pending task graph.\n\n## Run the working reference boundary\n\nFrom `files/`, using Python 3.10 or newer:\n\n```sh\npython3 -I -B reference/test_quote_flow.py\npython3 -I -B reference/quote_flow.py data\n```\n\nThe utility reads only the four named files in the selected data directory and\nprints JSON. It uses Python's standard library, exact decimal arithmetic, and\nno network, server, installation, storage mutation, or enterprise adapter.\nTests use the supplied files and in-memory variations; no temporary files.\n\nExpected reference distribution: **2 ready-for-human-approval, 4 needs-review,\n2 needs-data**. Readiness is not approval. The deliberately invalid q-105 and\nq-107 records are data-quality fixtures, not failed tests. All eight expected\noutcomes are in `reference/expected-results.json`.\n\nThe program is a minimal calculation/workflow prototype, not an ERP replacement:\nit has no inventory allocation, tax determination, invoice numbering,\nauthorization, persistence, or payment. The task graph turns its concrete\noutputs into discovery, architecture, acceptance, and adoption work. Reference\nexamples are not completed tasks, signed decisions, measured savings, or a\ndeployed pilot. Any real enterprise data or integration needs a separate\nowner-authorized scope.\n","path":"templates/casework/work/starter/README.md","sha256":"db43ad71b6e9a0f633d56bdc35c26e9e4ce63ddb4e76712c5b9836415f6009ea"},{"bytes":391,"content":"classification,account-id,account-label,tier,credit-limit-usd,open-balance-usd,active,approved-terms-days\nSYNTHETIC,ac-cedar,Cedar Reference Office,standard,5000.00,4500.00,yes,30\nSYNTHETIC,ac-birch,Birch Reference Studio,partner,1000.00,920.00,yes,30\nSYNTHETIC,ac-elm,Elm Reference Depot,strategic,10000.00,0.00,no,30\nSYNTHETIC,ac-maple,Maple Reference Workshop,partner,5000.00,0.00,yes,45\n","path":"templates/casework/work/starter/data/accounts.csv","sha256":"8644cd424be1498821a59aad735b5663f1077a1b2479b10a51e4f3cbd54a5d44"},{"bytes":440,"content":"{\n  \"classification\": \"SYNTHETIC\",\n  \"currency\": \"USD\",\n  \"rounding\": \"ROUND_HALF_UP-per-line-and-shipping-tax\",\n  \"discount_caps_pct\": {\"standard\": \"5.00\", \"partner\": \"12.00\", \"strategic\": \"18.00\"},\n  \"tax_rates_pct\": {\"standard\": \"7.50\", \"exempt\": \"0.00\"},\n  \"shipping_tax_code\": \"standard\",\n  \"po_required\": true,\n  \"interpretation\": \"Fictional calculation policy only; not tax law, credit authority, or an integration configuration.\"\n}\n","path":"templates/casework/work/starter/data/policy.json","sha256":"9c1b87389ce74d52368a497c575f3725239bfb7a7e59f6437f9fa984b20748ed"},{"bytes":688,"content":"classification,quote-id,line-id,sku,quantity,unit-price-usd,discount-pct,tax-code\nSYNTHETIC,q-101,line-101-a,blank-card-case,2,125.00,5.00,standard\nSYNTHETIC,q-102,line-102-a,paper-label-pack,3,40.00,10.00,standard\nSYNTHETIC,q-103,line-103-a,folder-case,1,200.00,8.00,standard\nSYNTHETIC,q-104,line-104-a,desk-divider-kit,2,499.95,15.00,standard\nSYNTHETIC,q-105,line-105-a,blank-notebook,1,25.00,0.00,unconfirmed\nSYNTHETIC,q-106,line-106-a,rounding-sample-card,3,0.05,0.00,standard\nSYNTHETIC,q-106,line-106-b,exempt-reference-sheet,1,10.00,0.00,exempt\nSYNTHETIC,q-107,line-107-a,paper-label-pack,-1,40.00,0.00,standard\nSYNTHETIC,q-108,line-108-a,blank-envelope-case,1,100.00,0.00,standard\n","path":"templates/casework/work/starter/data/quote-lines.csv","sha256":"f9570e9c9e788d494385c2a92cc65a2566e366905652a27e9a172bcf18a3933d"},{"bytes":511,"content":"classification,quote-id,account-id,requested-terms-days,shipping-usd,shipping-taxable,po-reference\nSYNTHETIC,q-101,ac-cedar,30,12.00,yes,synthetic-po-101\nSYNTHETIC,q-102,ac-birch,30,0.00,no,synthetic-po-102\nSYNTHETIC,q-103,ac-cedar,30,10.00,yes,synthetic-po-103\nSYNTHETIC,q-104,ac-elm,60,20.00,yes,synthetic-po-104\nSYNTHETIC,q-105,ac-cedar,30,0.00,no,\nSYNTHETIC,q-106,ac-maple,45,0.00,no,synthetic-po-106\nSYNTHETIC,q-107,ac-cedar,30,0.00,no,synthetic-po-107\nSYNTHETIC,q-108,ac-cedar,45,0.00,no,synthetic-po-108\n","path":"templates/casework/work/starter/data/quotes.csv","sha256":"748728a14d183fa4f1a5178830b12e5a36042560e543d3256958e7efc0d25080"},{"bytes":1582,"content":"# Exact reference acceptance cases\n\nAll amounts and account scenarios are **SYNTHETIC USD**. These are expected\nreference results, not invoices, approvals, or completed quality work.\n\n| Quote | Expected total | State | Principal case |\n|---|---:|---|---|\n| q-101 | 268.21 | ready-for-human-approval | 250 gross, 12.50 discount, 17.81 line tax, 12 shipping, 0.90 shipping tax |\n| q-102 | 116.10 | needs-review | 920 open balance + 116.10 exceeds 1000 limit |\n| q-103 | 208.55 | needs-review | 8% discount exceeds standard tier's 5% cap |\n| q-104 | 935.16 | needs-review | Inactive account and 60 requested days versus 30 approved |\n| q-105 | null | needs-data | Missing PO and unknown tax code |\n| q-106 | 10.16 | ready-for-human-approval | 0.15 taxable line rounds tax to 0.01; 10.00 exempt line |\n| q-107 | null | needs-data | Quantity -1 is invalid for this quote-only model |\n| q-108 | 107.50 | needs-review | 45 requested days versus 30 approved |\n\nCheck the JSON fixture for exact sorted reason codes. Tests also check\ndeterminism, no in-memory mutation, unknown accounts, duplicate keys, bounds,\nand policy boundary behavior. The sample's q-104 discount net is 849.915 before\nrounding and **849.92** after half-up rounding. Floating-point approximations\nmust not decide the cent.\n\nBlocking data errors suppress totals for the entire quote, even when some\nlines could be calculated. Policy flags may still appear alongside a data\nblocker. A clean reference comparison only establishes behavior on specified\ninputs; it does not validate actual commercial, tax, or legal policy.\n","path":"templates/casework/work/starter/docs/acceptance-cases.md","sha256":"6e9e57bb8a26d4ee4731d47272d6fb2771a2dd795a0b50a112ea7a74c40b7845"},{"bytes":1905,"content":"# No-send adoption rehearsal\n\n**SYNTHETIC practice material. No training session has occurred.**\n\nUse a local copy of the public fixtures, never customer exports. Assign\ntemporary practice roles, not production privileges.\n\n| Minutes | Exercise | Observable completion criterion |\n|---|---|---|\n| 0–5 | Explain the three states | Participant states why clean is not approved |\n| 5–13 | Seller compares q-101 and q-105 | Identifies missing PO and unknown tax without inventing replacements |\n| 13–21 | Credit reviewer examines q-102 | Recomputes USD 1036.10 exposure and identifies the limit breach |\n| 21–28 | Billing coordinator examines q-106 | Explains USD 0.01 tax on the small line |\n| 28–33 | Route q-104 and q-107 | Distinguishes policy review from invalid input |\n| 33–35 | No-send check and feedback | Confirms no invoice or system write occurred |\n\nRecord observed answers only after a real authorized rehearsal. Proposed\nrubric: all five explanations correct, no invented approval, and no attempted\nuse of real data. If a participant treats a readiness result as authority,\nstop and clarify before advancing.\n\n## Support responses\n\n- **Why is a quote null instead of zero?** Null means calculation is blocked,\n  not that the customer owes nothing.\n- **Can I change a tax code to make the test pass?** Only in a labeled what-if\n  copy; actual source correction requires its accountable owner.\n- **Why did all quotes not reserve credit?** The reference models independent\n  quotes. It has no account locking or reservation service.\n- **How do we undo this pilot?** Stop the local exercise. No production state\n  is created by the reference, so there is no production rollback to claim.\n\nNext-owner pack should include input provenance, commands, limitations,\nexception owners, open decisions, and the conditional pilot gate. Do not\npresent the pack as a deployment completion report.\n","path":"templates/casework/work/starter/docs/adoption-playbook.md","sha256":"e58532e29229bdbf947abd1a2e76285700fe4388f9cc974ec7b9b27ecfa3edc5"},{"bytes":1952,"content":"# Fictional engagement brief\n\n**All names, figures, and assertions are SYNTHETIC case inputs.**\n\nLattice Harbor Supply sells ordinary stationery to fictional business\naccounts. A seller prepares a quote, a credit reviewer checks account\nexposure, and a billing coordinator checks commercial completeness. The\nfictional sponsor wants fewer ambiguous handoffs, not autonomous billing.\n\nThe reference intake contains eight quotes and four accounts. It deliberately\nmixes a normal order, a credit exception, a discount exception, an inactive\naccount, incomplete fields, tiny-value rounding, a negative quantity, and a\nterms exception. The original inputs are a snapshot, not records copied from\nan enterprise.\n\n## Proposed engagement question\n\nCan a small pure calculation boundary explain *why* a quote needs attention\nbefore someone prepares an invoice? A correct calculation could still fail to\nreduce rework. No user study or financial outcome is supplied.\n\n## Sponsor decisions still needed\n\n- Confirm which role owns discount, terms, credit, and tax-data decisions.\n- Confirm actual rounding, currency, shipping-tax, and account policies.\n- Decide whether and how any later pilot may access a real environment.\n- Agree on sampling, consent, baseline period, and stop conditions.\n\n## Measurement design, not results\n\nPropose a two-week authorized pilot only after policy and access approval.\nCount quote-readiness lead time from first complete submission to human\ndisposition; count rework as quotes returned at least once divided by all\nsubmitted quotes. Report incomplete submissions separately. Review arithmetic\nagreement, incorrect clean classifications, and user comprehension before any\nefficiency claim. Sample size, variability, costs, and savings remain unknown.\n\nSuccess for this seed is a reproducible reference result and a clear owner\npack. No invoice, credit decision, outreach, contract, payment, or deployment\nis part of the starter.\n","path":"templates/casework/work/starter/docs/client-brief.md","sha256":"dbe8e315f6ac2b8f8dfb3fbe2ee85c4ec4c6fc50297ae7ba4b8deff35ded5304"},{"bytes":2013,"content":"# Team and operator handoff contracts\n\n**SYNTHETIC proposed operating model; no accounts or authority are created.**\n\nDiscovery hands Architecture a requirement ID, source field, current case\nfact, uncertainty, and acceptance case. Architecture hands Engineering a pure\ncalculation contract and separately documented integration exclusions.\nEngineering hands Quality command, input paths, input provenance, full JSON\nresult, and authored test summary. Quality hands Adoption the observed\nclassification matrix, not a certificate of enterprise readiness.\n\n## Operator exceptions\n\n| Reason | Proposed role | Minimum handoff | Re-evaluation trigger |\n|---|---|---|---|\n| missing-po | Seller | Quote ID, missing field, source submission | Authorized PO reference supplied |\n| unknown-tax-code | Billing coordinator | Quote/line IDs and unresolved code | Actual policy owner confirms code |\n| invalid-quantity | Seller | Original line and validation rule | Authorized corrected positive quantity |\n| credit-limit | Credit reviewer | Total, open balance, limit, exposure | Authorized decision or changed inputs |\n| discount-policy | Commercial reviewer | Line discount, tier, cap | Authorized revised commercial terms |\n| inactive-account | Account owner | Account state and quote ID | Authorized account review |\n| terms-policy | Commercial reviewer | Requested and approved days | Authorized revised terms |\n\nPropose one business day to acknowledge an exception and two to resolve or\nescalate. These are targets for discussion, not observed SLAs. No role is a\nnamed person; no notification is sent. A review outcome must not be represented\nby changing `ready-for-human-approval` to a fabricated authorized state.\n\nThe reference CLI reads the explicitly supplied data directory. It never\ndiscovers live systems. Any later connector needs a separately approved plan,\nleast-privilege scope, concurrency controls, data retention, and a real system\nof record. This seed supplies none of those credentials or capabilities.\n","path":"templates/casework/work/starter/docs/handoff-contracts.md","sha256":"51d629607b682ad7225f0af785a20eb9c42a6ac8e8bcc1690be9d692b5bba379"},{"bytes":2584,"content":"# Quote-to-cash process fact register\n\nThese are **SYNTHETIC facts of the case**, not observations of a real client.\n\n| ID | Current case fact | Design consequence |\n|---|---|---|\n| pf-intake | Sellers prepare quote headers and line items separately. | Reconcile quote IDs and reject orphan or duplicate keys. |\n| pf-po | A PO reference is mandatory before readiness review. | Missing PO is a data blocker, not a policy waiver. |\n| pf-credit | Open account balance excludes these sample quotes. | Evaluate each quote independently; do not sum a batch into an approval. |\n| pf-round | Billing rounds each net line and its tax to cents, half up. | Rounding the final batch sum is not equivalent. |\n| pf-ship | Shipping may be taxable and has a separate rounded tax amount. | Include the header flag and synthetic shipping tax code. |\n| pf-review | Discount, account, terms, and credit exceptions go to people. | A calculation may route but must not approve. |\n| pf-data | The sample has two incomplete/invalid quotes. | Preserve originals; record proposed corrections separately. |\n| pf-lag | A fictional queue snapshot suggests handoffs can span two workdays. | Treat this as a case assumption; collect a real baseline before claims. |\n\n## Field dictionary\n\nAll amounts are synthetic USD decimal strings with at most two fractional\ndigits. Quantities are whole positive units; percentages are in 0–100, not\nfractions. Terms are integers from 1–120 days. `yes`/`no` are exact flags.\nTax codes are `standard` (7.5%) and `exempt` (0%) in the reference only.\nUnknown tax codes block calculation; the program does not determine tax law.\nThe public reference refuses non-synthetic or unlabeled input files rather\nthan relabeling real data as synthetic.\n\nAccount credit exposure = existing open balance + this quote's total.\nThis is neither a credit reservation nor a concurrency-safe credit service.\nMultiple simultaneously approved quotes could exceed a limit even if each\nisolated example is clean. Inventory availability, exchange rates, returns,\npartial fulfillment, credits, promotions, and tax jurisdiction are excluded.\n\n## Proposed state precedence\n\n1. **needs-data:** missing/invalid required fields; totals are null.\n2. **needs-review:** calculable but outside a supplied policy.\n3. **ready-for-human-approval:** all reference checks clear; still not approved.\n\nA source correction creates a new evaluation; it does not erase the original.\nAn enterprise adapter would need its own identity, authorization, audit,\nidempotency, locking, and rollback design outside this package.\n","path":"templates/casework/work/starter/docs/process-facts.md","sha256":"7be7a858bb5c12df7d7728b811198098eaa251bbd9fdaa359d890acbf1df9f0d"},{"bytes":1207,"content":"classification,requirement-id,requirement,source-fact,acceptance-case,owner-role\nSYNTHETIC,req-round,Round each net line and tax with decimal half up,pf-round,q-101,quality\nSYNTHETIC,req-tiny,Preserve cent-level tax on a fifteen-cent line,pf-round,q-106,quality\nSYNTHETIC,req-credit,Route exposure above credit limit for review,pf-credit,q-102,credit-reviewer\nSYNTHETIC,req-discount,Route discount above tier cap for review,pf-review,q-103,commercial-reviewer\nSYNTHETIC,req-active,Route inactive account even when amounts are calculable,pf-review,q-104,account-owner\nSYNTHETIC,req-terms,Route terms beyond approved account days,pf-review,q-108,commercial-reviewer\nSYNTHETIC,req-po,Block quote missing PO reference,pf-po,q-105,seller\nSYNTHETIC,req-tax,Block unknown tax code without guessing,pf-data,q-105,billing-coordinator\nSYNTHETIC,req-quantity,Block nonpositive or noninteger quantities,pf-data,q-107,seller\nSYNTHETIC,req-shipping,Round shipping tax separately,pf-ship,q-101,billing-coordinator\nSYNTHETIC,req-authority,Keep clean results pending human approval,pf-review,q-101,account-strategy\nSYNTHETIC,req-isolation,Evaluate quotes independently without mutating balances,pf-credit,q-102,architecture\n","path":"templates/casework/work/starter/docs/requirements.csv","sha256":"328ae43245d30d8b41a6dff267b5ca03937bb8c324e1a250b9142bba4fa93082"},{"bytes":1234,"content":"{\n  \"classification\": \"SYNTHETIC\",\n  \"artifact_kind\": \"expected-reference-results-not-observed-business-results\",\n  \"quotes\": [\n    {\"quote_id\": \"q-101\", \"total_usd\": \"268.21\", \"state\": \"ready-for-human-approval\", \"data_errors\": [], \"review_reasons\": []},\n    {\"quote_id\": \"q-102\", \"total_usd\": \"116.10\", \"state\": \"needs-review\", \"data_errors\": [], \"review_reasons\": [\"credit-limit\"]},\n    {\"quote_id\": \"q-103\", \"total_usd\": \"208.55\", \"state\": \"needs-review\", \"data_errors\": [], \"review_reasons\": [\"line-103-a:discount-policy\"]},\n    {\"quote_id\": \"q-104\", \"total_usd\": \"935.16\", \"state\": \"needs-review\", \"data_errors\": [], \"review_reasons\": [\"inactive-account\", \"terms-policy\"]},\n    {\"quote_id\": \"q-105\", \"total_usd\": null, \"state\": \"needs-data\", \"data_errors\": [\"line-105-a:unknown-tax-code\", \"missing-po\"], \"review_reasons\": []},\n    {\"quote_id\": \"q-106\", \"total_usd\": \"10.16\", \"state\": \"ready-for-human-approval\", \"data_errors\": [], \"review_reasons\": []},\n    {\"quote_id\": \"q-107\", \"total_usd\": null, \"state\": \"needs-data\", \"data_errors\": [\"line-107-a:invalid-quantity\"], \"review_reasons\": []},\n    {\"quote_id\": \"q-108\", \"total_usd\": \"107.50\", \"state\": \"needs-review\", \"data_errors\": [], \"review_reasons\": [\"terms-policy\"]}\n  ]\n}\n","path":"templates/casework/work/starter/reference/expected-results.json","sha256":"287067af395316f7048b856ac4ceb1958c0a5a78d09898b25cbd8ffcf1f9dbfc"},{"bytes":8319,"content":"\"\"\"Original offline synthetic quote-readiness boundary. Never issues an invoice.\"\"\"\n\nimport argparse\nimport csv\nimport json\nimport re\nfrom decimal import Decimal, InvalidOperation, ROUND_HALF_UP\nfrom pathlib import Path\n\nCENT = Decimal(\"0.01\")\nZERO = Decimal(\"0.00\")\n\n\ndef amount(value, label, maximum=Decimal(\"1000000000\")):\n    try:\n        result = Decimal(str(value))\n    except InvalidOperation as exc:\n        raise ValueError(f\"invalid-{label}\") from exc\n    if not result.is_finite() or not ZERO <= result <= maximum:\n        raise ValueError(f\"invalid-{label}\")\n    if result != result.quantize(CENT):\n        raise ValueError(f\"invalid-{label}\")\n    return result\n\n\ndef integer(value, label, maximum):\n    if isinstance(value, bool) or not re.fullmatch(r\"[0-9]+\", str(value)):\n        raise ValueError(f\"invalid-{label}\")\n    result = int(value)\n    if not 1 <= result <= maximum:\n        raise ValueError(f\"invalid-{label}\")\n    return result\n\n\ndef flag(value, label):\n    if value not in (\"yes\", \"no\"):\n        raise ValueError(f\"invalid-{label}\")\n    return value == \"yes\"\n\n\ndef cents(value):\n    return value.quantize(CENT, rounding=ROUND_HALF_UP)\n\n\ndef display(value):\n    return f\"{value:.2f}\"\n\n\ndef evaluate(quote, lines, account, policy):\n    labeled = [quote, policy, *lines] + ([account] if account is not None else [])\n    if any(row.get(\"classification\") != \"SYNTHETIC\" for row in labeled):\n        raise ValueError(\"this reference requires explicitly SYNTHETIC quote inputs\")\n    errors, reviews, calculated = [], [], []\n    result = {\n        \"classification\": \"SYNTHETIC\",\n        \"quote_id\": quote.get(\"quote-id\", \"missing-id\"),\n        \"state\": \"needs-data\",\n        \"data_errors\": errors,\n        \"review_reasons\": reviews,\n        \"totals\": None,\n        \"lines\": calculated,\n    }\n    if account is None:\n        errors.append(\"unknown-account\")\n        return result\n    if not lines:\n        errors.append(\"missing-lines\")\n    if policy.get(\"po_required\") and not str(quote.get(\"po-reference\", \"\")).strip():\n        errors.append(\"missing-po\")\n    try:\n        cap = amount(policy[\"discount_caps_pct\"][account[\"tier\"]], \"discount-cap\", Decimal(\"100\"))\n        shipping = amount(quote[\"shipping-usd\"], \"shipping\")\n        taxable_shipping = flag(quote[\"shipping-taxable\"], \"shipping-taxable\")\n        requested_terms = integer(quote[\"requested-terms-days\"], \"requested-terms\", 120)\n        approved_terms = integer(account[\"approved-terms-days\"], \"approved-terms\", 120)\n        active = flag(account[\"active\"], \"account-active\")\n        limit = amount(account[\"credit-limit-usd\"], \"credit-limit\")\n        balance = amount(account[\"open-balance-usd\"], \"open-balance\")\n        shipping_rate = amount(policy[\"tax_rates_pct\"][policy[\"shipping_tax_code\"]], \"shipping-tax-rate\", Decimal(\"100\"))\n    except (ValueError, KeyError, TypeError) as exc:\n        errors.append(str(exc))\n        errors.sort()\n        return result\n    if not active:\n        reviews.append(\"inactive-account\")\n    if requested_terms > approved_terms:\n        reviews.append(\"terms-policy\")\n    seen_lines = set()\n    gross_total, discount_total, net_total, line_tax = ZERO, ZERO, ZERO, ZERO\n    for line in lines:\n        identity = line.get(\"line-id\", \"missing-line-id\")\n        if identity in seen_lines:\n            errors.append(f\"{identity}:duplicate-line\")\n            continue\n        seen_lines.add(identity)\n        if line.get(\"quote-id\") != quote.get(\"quote-id\"):\n            errors.append(f\"{identity}:quote-mismatch\")\n            continue\n        try:\n            quantity = integer(line[\"quantity\"], \"quantity\", 10000)\n            price = amount(line[\"unit-price-usd\"], \"unit-price\")\n            discount = amount(line[\"discount-pct\"], \"discount\", Decimal(\"100\"))\n            tax_code = line[\"tax-code\"]\n            if tax_code not in policy[\"tax_rates_pct\"]:\n                raise ValueError(\"unknown-tax-code\")\n            rate = amount(policy[\"tax_rates_pct\"][tax_code], \"tax-rate\", Decimal(\"100\"))\n        except (ValueError, KeyError, TypeError) as exc:\n            errors.append(f\"{identity}:{exc}\")\n            continue\n        gross = cents(price * quantity)\n        net = cents(gross * (1 - discount / 100))\n        tax = cents(net * rate / 100)\n        if discount > cap:\n            reviews.append(f\"{identity}:discount-policy\")\n        gross_total += gross\n        discount_total += gross - net\n        net_total += net\n        line_tax += tax\n        calculated.append({\"line_id\": identity, \"gross_usd\": display(gross), \"net_usd\": display(net), \"tax_usd\": display(tax)})\n    if not errors:\n        shipping_tax = cents(shipping * shipping_rate / 100) if taxable_shipping else ZERO\n        total_tax = line_tax + shipping_tax\n        total = net_total + shipping + total_tax\n        exposure = balance + total\n        if exposure > limit:\n            reviews.append(\"credit-limit\")\n        result[\"totals\"] = {\n            \"gross_usd\": display(gross_total), \"discount_usd\": display(discount_total),\n            \"net_usd\": display(net_total), \"shipping_usd\": display(shipping),\n            \"shipping_tax_usd\": display(shipping_tax), \"tax_usd\": display(total_tax),\n            \"total_usd\": display(total), \"credit_exposure_usd\": display(exposure),\n        }\n        result[\"state\"] = \"needs-review\" if reviews else \"ready-for-human-approval\"\n    else:\n        calculated.clear()\n    errors.sort()\n    reviews.sort()\n    calculated.sort(key=lambda row: row[\"line_id\"])\n    return result\n\n\ndef read_csv(path):\n    if path.stat().st_size > 1_048_576:\n        raise ValueError(\"reference CSV exceeds 1 MiB\")\n    with path.open(encoding=\"utf-8\", newline=\"\") as handle:\n        rows = list(csv.DictReader(handle, strict=True))\n    if len(rows) > 5000 or any(None in row or any(value is None for value in row.values()) for row in rows):\n        raise ValueError(\"reference CSV has too many or ragged rows\")\n    return rows\n\n\ndef keyed(rows, key):\n    result = {}\n    for row in rows:\n        value = row[key]\n        if not re.fullmatch(r\"[a-z0-9]+(?:-[a-z0-9]+)*\", value):\n            raise ValueError(f\"invalid {key}\")\n        if value in result:\n            raise ValueError(f\"duplicate {key}\")\n        result[value] = row\n    return result\n\n\ndef run_batch(data_dir):\n    data_dir = Path(data_dir)\n    accounts = keyed(read_csv(data_dir / \"accounts.csv\"), \"account-id\")\n    quotes = keyed(read_csv(data_dir / \"quotes.csv\"), \"quote-id\")\n    lines = read_csv(data_dir / \"quote-lines.csv\")\n    keyed(lines, \"line-id\")\n    if any(line[\"quote-id\"] not in quotes for line in lines):\n        raise ValueError(\"orphan quote line\")\n    policy_path = data_dir / \"policy.json\"\n    if policy_path.stat().st_size > 20000:\n        raise ValueError(\"policy exceeds reference limit\")\n    policy = json.loads(policy_path.read_text(encoding=\"utf-8\"))\n    if any(row.get(\"classification\") != \"SYNTHETIC\" for row in [*accounts.values(), *quotes.values(), *lines, policy]):\n        raise ValueError(\"this reference requires explicitly SYNTHETIC input files\")\n    if policy[\"currency\"] != \"USD\" or policy[\"rounding\"] != \"ROUND_HALF_UP-per-line-and-shipping-tax\":\n        raise ValueError(\"unsupported reference currency or rounding\")\n    if type(policy.get(\"po_required\")) is not bool:\n        raise ValueError(\"po_required must be a boolean\")\n    results = [\n        evaluate(quote, [line for line in lines if line[\"quote-id\"] == identity], accounts.get(quote[\"account-id\"]), policy)\n        for identity, quote in sorted(quotes.items())\n    ]\n    return {\n        \"classification\": \"SYNTHETIC\", \"artifact_kind\": \"offline-reference-not-an-invoice\",\n        \"batch_semantics\": \"Independent quotes; balances are never reserved or mutated.\",\n        \"counts\": {state: sum(row[\"state\"] == state for row in results) for state in (\"needs-data\", \"needs-review\", \"ready-for-human-approval\")},\n        \"quotes\": results,\n    }\n\n\ndef main():\n    parser = argparse.ArgumentParser(description=__doc__)\n    parser.add_argument(\"data_dir\", type=Path)\n    args = parser.parse_args()\n    try:\n        result = run_batch(args.data_dir)\n    except (OSError, ValueError, KeyError, TypeError, csv.Error) as exc:\n        parser.error(str(exc))\n    print(json.dumps(result, indent=2, sort_keys=True))\n\n\nif __name__ == \"__main__\":\n    main()\n","path":"templates/casework/work/starter/reference/quote_flow.py","sha256":"833e81477cda299aba1b876434243ee535e712c67563c38fd4d1701c4d530507"},{"bytes":4164,"content":"import copy\nimport importlib.util\nimport json\nimport unittest\nfrom decimal import Decimal\nfrom pathlib import Path\n\nHERE = Path(__file__).resolve().parent\nDATA = HERE.parent / \"data\"\nSPEC = importlib.util.spec_from_file_location(\"quote_flow_reference\", HERE / \"quote_flow.py\")\nflow = importlib.util.module_from_spec(SPEC)\nSPEC.loader.exec_module(flow)\n\n\nclass QuoteFlowTests(unittest.TestCase):\n    def setUp(self):\n        self.quote = flow.read_csv(DATA / \"quotes.csv\")[0]\n        self.lines = [flow.read_csv(DATA / \"quote-lines.csv\")[0]]\n        self.account = flow.read_csv(DATA / \"accounts.csv\")[0]\n        self.policy = json.loads((DATA / \"policy.json\").read_text(encoding=\"utf-8\"))\n\n    def test_all_eight_expected_cases(self):\n        result = flow.run_batch(DATA)\n        expected = json.loads((HERE / \"expected-results.json\").read_text(encoding=\"utf-8\"))\n        actual = [{\n            \"quote_id\": row[\"quote_id\"], \"state\": row[\"state\"],\n            \"total_usd\": row[\"totals\"][\"total_usd\"] if row[\"totals\"] else None,\n            \"data_errors\": row[\"data_errors\"], \"review_reasons\": row[\"review_reasons\"],\n        } for row in result[\"quotes\"]]\n        self.assertEqual(actual, expected[\"quotes\"])\n        self.assertEqual(result[\"counts\"], {\"needs-data\": 2, \"needs-review\": 4, \"ready-for-human-approval\": 2})\n\n    def test_no_mutation_and_determinism(self):\n        before = copy.deepcopy((self.quote, self.lines, self.account, self.policy))\n        a = flow.evaluate(self.quote, self.lines, self.account, self.policy)\n        self.assertEqual(a, flow.evaluate(self.quote, self.lines, self.account, self.policy))\n        self.assertEqual(before, (self.quote, self.lines, self.account, self.policy))\n\n    def test_credit_equality_is_not_breach(self):\n        self.account[\"credit-limit-usd\"] = \"4768.21\"\n        self.assertNotIn(\"credit-limit\", flow.evaluate(self.quote, self.lines, self.account, self.policy)[\"review_reasons\"])\n\n    def test_half_up_boundary(self):\n        self.assertEqual(flow.cents(Decimal(\"849.915\")), Decimal(\"849.92\"))\n        self.assertEqual(flow.cents(Decimal(\"0.01125\")), Decimal(\"0.01\"))\n\n    def test_unknown_account(self):\n        result = flow.evaluate(self.quote, self.lines, None, self.policy)\n        self.assertEqual(result[\"data_errors\"], [\"unknown-account\"])\n        self.assertIsNone(result[\"totals\"])\n\n    def test_duplicate_and_or_mismatched_lines(self):\n        duplicate = flow.evaluate(self.quote, self.lines * 2, self.account, self.policy)\n        self.assertIn(\"line-101-a:duplicate-line\", duplicate[\"data_errors\"])\n        self.lines[0][\"quote-id\"] = \"q-other\"\n        self.assertIn(\"line-101-a:quote-mismatch\", flow.evaluate(self.quote, self.lines, self.account, self.policy)[\"data_errors\"])\n\n    def test_bad_numbers(self):\n        for bad in (\"NaN\", \"Infinity\", \"-0.01\", \"0.001\"):\n            with self.subTest(bad=bad), self.assertRaises(ValueError):\n                flow.amount(bad, \"test\")\n\n    def test_invalid_quantity_variants(self):\n        for bad in (\"0\", \"-1\", \"1.5\", \"10001\", True):\n            with self.subTest(bad=bad), self.assertRaises(ValueError):\n                flow.integer(bad, \"quantity\", 10000)\n\n    def test_missing_data_precedes_review(self):\n        self.quote[\"po-reference\"] = \"\"\n        self.account[\"active\"] = \"no\"\n        result = flow.evaluate(self.quote, self.lines, self.account, self.policy)\n        self.assertEqual(result[\"state\"], \"needs-data\")\n        self.assertIn(\"inactive-account\", result[\"review_reasons\"])\n        self.assertIsNone(result[\"totals\"])\n\n    def test_duplicate_account_keys(self):\n        with self.assertRaises(ValueError):\n            flow.keyed([self.account, self.account], \"account-id\")\n\n    def test_empty_lines_block(self):\n        self.assertIn(\"missing-lines\", flow.evaluate(self.quote, [], self.account, self.policy)[\"data_errors\"])\n\n    def test_non_synthetic_inputs_are_not_relabeled(self):\n        self.quote[\"classification\"] = \"unspecified\"\n        with self.assertRaisesRegex(ValueError, \"SYNTHETIC\"):\n            flow.evaluate(self.quote, self.lines, self.account, self.policy)\n\n\nif __name__ == \"__main__\":\n    unittest.main()\n","path":"templates/casework/work/starter/reference/test_quote_flow.py","sha256":"a39b0d3d1c85cf7fbd92cf1260eef5bc00833627ded150420f11668ac0288908"},{"bytes":10386,"content":"{\"authority\":\"inert-starter-data\",\"case_id\":\"lattice-harbor-quote-pilot\",\"organization_seed\":\"enterprise-transformation-firm\",\"schema\":\"hive-hub-seed-task-board/1\",\"tasks\":[{\"acceptance\":[\"The scope stops before invoicing, payment, ERP writes, and credit authorization.\",\"Sponsor decisions and unvalidated value assumptions are separate.\",\"All client facts remain marked SYNTHETIC.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[],\"id\":\"engagement-boundary\",\"inputs\":[\"starter/docs/client-brief.md\",\"starter/docs/process-facts.md\"],\"instructions\":\"Translate the fictional client brief into an engagement scope with sponsor questions, operating risks, and explicit exclusions. Treat process timings as synthetic case facts rather than a baseline measured at a real enterprise.\",\"outputs\":[\"deliverables/engagement-scope.md\"],\"state\":\"ready\",\"team\":\"account-strategy\",\"title\":\"Bound the quote-readiness engagement\"},{\"acceptance\":[\"All eight quotes and four accounts are covered without invented repairs.\",\"Missing PO and unknown tax on q-105 and negative quantity on q-107 are recorded.\",\"No synthetic policy is represented as tax or accounting advice.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"engagement-boundary\"],\"id\":\"source-reconciliation\",\"inputs\":[\"deliverables/engagement-scope.md\",\"starter/docs/process-facts.md\",\"starter/data/accounts.csv\",\"starter/data/quotes.csv\",\"starter/data/quote-lines.csv\",\"starter/data/policy.json\"],\"instructions\":\"Reconcile keys and field meanings across accounts, headers, lines, and policy. Create a fact register distinguishing intentional bad-data fixtures, policy exceptions, and unknown real-world requirements.\",\"outputs\":[\"deliverables/source-facts.csv\"],\"state\":\"blocked\",\"team\":\"discovery\",\"title\":\"Reconcile quote and account source facts\"},{\"acceptance\":[\"Every supplied requirement has at least one acceptance case.\",\"Data readiness and policy review are separate requirements.\",\"Unresolved policy questions are not silently converted into defaults.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"source-reconciliation\"],\"id\":\"requirements-trace\",\"inputs\":[\"deliverables/source-facts.csv\",\"starter/docs/requirements.csv\",\"starter/docs/acceptance-cases.md\",\"starter/docs/handoff-contracts.md\"],\"instructions\":\"Map the supplied requirements to source fields, process facts, and the eight acceptance cases. Mark any new requirement as proposed and name the role that must resolve it.\",\"outputs\":[\"deliverables/requirements-trace.csv\"],\"state\":\"blocked\",\"team\":\"discovery\",\"title\":\"Build field-to-requirement traceability\"},{\"acceptance\":[\"The contract specifies cent precision and ROUND_HALF_UP per line and shipping tax.\",\"needs-data outranks needs-review and no state means invoice-sent.\",\"Unknown accounts and malformed numeric values are rejected without network side effects.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"requirements-trace\"],\"id\":\"calculation-boundary\",\"inputs\":[\"deliverables/requirements-trace.csv\",\"starter/data/policy.json\",\"starter/reference/quote_flow.py\",\"starter/docs/handoff-contracts.md\"],\"instructions\":\"Describe the pure input/output contract, validation limits, rounding points, and state precedence around the authored utility. Keep enterprise adapters, identity, persistence, and approval outside the reference.\",\"outputs\":[\"deliverables/calculation-contract.md\"],\"state\":\"blocked\",\"team\":\"architecture\",\"title\":\"Specify the replaceable calculation contract\"},{\"acceptance\":[\"Exactly eight results are captured in quote-ID order.\",\"The authored tests pass and source inputs remain unchanged.\",\"The run records three readiness categories and never claims a real invoice.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"calculation-boundary\"],\"id\":\"prototype-reproduction\",\"inputs\":[\"deliverables/calculation-contract.md\",\"starter/reference/quote_flow.py\",\"starter/reference/test_quote_flow.py\",\"starter/data/accounts.csv\",\"starter/data/quotes.csv\",\"starter/data/quote-lines.csv\",\"starter/data/policy.json\",\"starter/reference/expected-results.json\"],\"instructions\":\"Run only the authored utility and tests on the supplied data. Capture the full result and command metadata as a proposed engineering handoff, without altering source fixtures.\",\"outputs\":[\"deliverables/prototype-run.json\"],\"state\":\"blocked\",\"team\":\"engineering\",\"title\":\"Reproduce the offline quote batch\"},{\"acceptance\":[\"q-101 totals USD 268.21 and q-106 totals USD 10.16.\",\"q-102, q-103, q-104, and q-108 remain review-gated.\",\"q-105 and q-107 have null totals and needs-data, not zero-dollar approval.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"prototype-reproduction\"],\"id\":\"acceptance-review\",\"inputs\":[\"deliverables/prototype-run.json\",\"deliverables/requirements-trace.csv\",\"starter/reference/expected-results.json\",\"starter/docs/acceptance-cases.md\",\"starter/reference/test_quote_flow.py\"],\"instructions\":\"Compare the reproduced batch to the expected-results reference and requirements trace. Record each case's expected amount, actual amount, state, and review or data reason.\",\"outputs\":[\"deliverables/acceptance-matrix.csv\"],\"state\":\"blocked\",\"team\":\"quality\",\"title\":\"Check arithmetic and exception acceptance\"},{\"acceptance\":[\"Each observed reason code has a proposed owner and return path.\",\"Commercial policy and missing-data routes remain separate.\",\"All response times are targets to validate, not measured service levels.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"acceptance-review\"],\"id\":\"exception-routing\",\"inputs\":[\"deliverables/acceptance-matrix.csv\",\"starter/docs/handoff-contracts.md\",\"starter/docs/process-facts.md\"],\"instructions\":\"Turn the observed reason codes into a proposed routing table with role, minimum evidence, proposed response window, and re-evaluation trigger. Do not auto-approve any exception.\",\"outputs\":[\"deliverables/exception-routing.md\"],\"state\":\"blocked\",\"team\":\"architecture\",\"title\":\"Design accountable exception handoffs\"},{\"acceptance\":[\"Original fixtures are preserved and all three data defects are addressed.\",\"Missing PO, tax code, and quantity are not guessed into approved source data.\",\"A reviewer can distinguish a hypothetical correction from an authorized one.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"exception-routing\"],\"id\":\"correction-proposals\",\"inputs\":[\"deliverables/exception-routing.md\",\"deliverables/acceptance-matrix.csv\",\"starter/data/quotes.csv\",\"starter/data/quote-lines.csv\"],\"instructions\":\"Create a correction-proposal ledger for q-105 and q-107. Record original values, why they block evaluation, what evidence is needed, and who may supply a replacement. Use proposed synthetic alternatives only as clearly labeled what-if examples.\",\"outputs\":[\"deliverables/correction-proposals.csv\"],\"state\":\"blocked\",\"team\":\"engineering\",\"title\":\"Propose source corrections without fabricating authorization\"},{\"acceptance\":[\"The agenda totals 35 minutes.\",\"Learners must explain why clean is not authorized and missing data is not a zero total.\",\"Attendance, competence, and adoption are not claimed before the session occurs.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"exception-routing\"],\"id\":\"adoption-workshop\",\"inputs\":[\"deliverables/exception-routing.md\",\"deliverables/acceptance-matrix.csv\",\"starter/docs/adoption-playbook.md\",\"starter/docs/acceptance-cases.md\"],\"instructions\":\"Build a 35-minute practice plan using the sample quotes and the exception routing. Include seller, credit reviewer, and billing coordinator exercises and a no-send rehearsal.\",\"outputs\":[\"deliverables/adoption-session.md\"],\"state\":\"blocked\",\"team\":\"adoption\",\"title\":\"Prepare the role-based practice session\"},{\"acceptance\":[\"The case defines denominators for rework rate and quote-readiness lead time.\",\"No savings, revenue, deployment, or customer validation is invented.\",\"The pilot proposal includes stop conditions and separate enterprise access approval.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"correction-proposals\"],\"id\":\"pilot-value-case\",\"inputs\":[\"deliverables/acceptance-matrix.csv\",\"deliverables/correction-proposals.csv\",\"deliverables/engagement-scope.md\",\"starter/docs/client-brief.md\"],\"instructions\":\"Propose measurable pilot outcomes and a baseline collection design using the acceptance findings. Distinguish calculation correctness from cycle time, financial impact, and user adoption, which are not measured by this seed.\",\"outputs\":[\"deliverables/pilot-value-case.md\"],\"state\":\"blocked\",\"team\":\"account-strategy\",\"title\":\"Prepare an honest pilot measurement case\"},{\"acceptance\":[\"Every requirement has a gate disposition and linked evidence.\",\"The gate cannot authorize production connectivity, spending, or invoice issuance.\",\"Unobserved adoption and real-policy validation are explicitly not passed.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"adoption-workshop\",\"pilot-value-case\"],\"id\":\"pilot-quality-gate\",\"inputs\":[\"deliverables/acceptance-matrix.csv\",\"deliverables/correction-proposals.csv\",\"deliverables/adoption-session.md\",\"deliverables/pilot-value-case.md\",\"starter/docs/requirements.csv\"],\"instructions\":\"Evaluate the acceptance matrix, unresolved data proposals, adoption plan, and measurement case. Record pass, fail, or not-observed for each gate; lack of real policy confirmation must remain visible.\",\"outputs\":[\"deliverables/pilot-gate.json\"],\"state\":\"blocked\",\"team\":\"quality\",\"title\":\"Assemble a conditional pilot gate\"},{\"acceptance\":[\"The owner pack identifies all three readiness categories and their meaning.\",\"The handoff can be followed using only the package's offline artifacts.\",\"It states what has not been deployed, approved, measured, or sent.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"pilot-quality-gate\"],\"id\":\"owner-handoff\",\"inputs\":[\"deliverables/pilot-gate.json\",\"deliverables/exception-routing.md\",\"deliverables/adoption-session.md\",\"deliverables/engagement-scope.md\",\"starter/docs/adoption-playbook.md\"],\"instructions\":\"Compile operator instructions, escalation paths, practice materials, and outstanding owner approvals. Include a rollback step that is simply ceasing the offline exercise; no production migration exists.\",\"outputs\":[\"deliverables/pilot-owner-pack.md\"],\"state\":\"blocked\",\"team\":\"adoption\",\"title\":\"Deliver the reversible pilot owner pack\"}]}\n","path":"templates/casework/work/task-board.json","sha256":"e3024bcf30c49f79a432ce2590dc0cdc16e1d895121432c81cecbea0c23735db"},{"bytes":373,"content":"# account-strategy\n\nRole: Engagement strategy\n\nDefine the fictional engagement's value hypothesis, sponsor decisions, exclusions, and pilot gates.\n\nCase inputs and logical deliverables belong to the same-world casework workspace.\nRead only the inputs for assigned work; hand off verified artifact references.\nDo not claim another team's task or authorize external effects.\n","path":"templates/teams/account-strategy/work/TEAM.md","sha256":"0d5d01c7716b27d44e734dcc45cc02a8dfa21f49214a214516f3236485fa87f2"},{"bytes":1747,"content":"{\"case_workspace\":\"casework\",\"schema\":\"hive-hub-seed-team-work/1\",\"tasks\":[{\"acceptance\":[\"The scope stops before invoicing, payment, ERP writes, and credit authorization.\",\"Sponsor decisions and unvalidated value assumptions are separate.\",\"All client facts remain marked SYNTHETIC.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[],\"id\":\"engagement-boundary\",\"inputs\":[\"starter/docs/client-brief.md\",\"starter/docs/process-facts.md\"],\"instructions\":\"Translate the fictional client brief into an engagement scope with sponsor questions, operating risks, and explicit exclusions. Treat process timings as synthetic case facts rather than a baseline measured at a real enterprise.\",\"outputs\":[\"deliverables/engagement-scope.md\"],\"state\":\"ready\",\"team\":\"account-strategy\",\"title\":\"Bound the quote-readiness engagement\"},{\"acceptance\":[\"The case defines denominators for rework rate and quote-readiness lead time.\",\"No savings, revenue, deployment, or customer validation is invented.\",\"The pilot proposal includes stop conditions and separate enterprise access approval.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"correction-proposals\"],\"id\":\"pilot-value-case\",\"inputs\":[\"deliverables/acceptance-matrix.csv\",\"deliverables/correction-proposals.csv\",\"deliverables/engagement-scope.md\",\"starter/docs/client-brief.md\"],\"instructions\":\"Propose measurable pilot outcomes and a baseline collection design using the acceptance findings. Distinguish calculation correctness from cycle time, financial impact, and user adoption, which are not measured by this seed.\",\"outputs\":[\"deliverables/pilot-value-case.md\"],\"state\":\"blocked\",\"team\":\"account-strategy\",\"title\":\"Prepare an honest pilot measurement case\"}],\"team\":\"account-strategy\"}\n","path":"templates/teams/account-strategy/work/tasks.json","sha256":"91c4960d4d4ed8aecad2130af40fd4661d5475c87b110ff48b6ed0641b7288b2"},{"bytes":349,"content":"# adoption\n\nRole: Operational adoption\n\nPrepare role-specific practice, exception ownership, and reversible pilot handoff.\n\nCase inputs and logical deliverables belong to the same-world casework workspace.\nRead only the inputs for assigned work; hand off verified artifact references.\nDo not claim another team's task or authorize external effects.\n","path":"templates/teams/adoption/work/TEAM.md","sha256":"49d5649fdd34a6cd2239c064d2f66eec47c60d55ae5d67d6a6c91241d198ec67"},{"bytes":1768,"content":"{\"case_workspace\":\"casework\",\"schema\":\"hive-hub-seed-team-work/1\",\"tasks\":[{\"acceptance\":[\"The agenda totals 35 minutes.\",\"Learners must explain why clean is not authorized and missing data is not a zero total.\",\"Attendance, competence, and adoption are not claimed before the session occurs.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"exception-routing\"],\"id\":\"adoption-workshop\",\"inputs\":[\"deliverables/exception-routing.md\",\"deliverables/acceptance-matrix.csv\",\"starter/docs/adoption-playbook.md\",\"starter/docs/acceptance-cases.md\"],\"instructions\":\"Build a 35-minute practice plan using the sample quotes and the exception routing. Include seller, credit reviewer, and billing coordinator exercises and a no-send rehearsal.\",\"outputs\":[\"deliverables/adoption-session.md\"],\"state\":\"blocked\",\"team\":\"adoption\",\"title\":\"Prepare the role-based practice session\"},{\"acceptance\":[\"The owner pack identifies all three readiness categories and their meaning.\",\"The handoff can be followed using only the package's offline artifacts.\",\"It states what has not been deployed, approved, measured, or sent.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"pilot-quality-gate\"],\"id\":\"owner-handoff\",\"inputs\":[\"deliverables/pilot-gate.json\",\"deliverables/exception-routing.md\",\"deliverables/adoption-session.md\",\"deliverables/engagement-scope.md\",\"starter/docs/adoption-playbook.md\"],\"instructions\":\"Compile operator instructions, escalation paths, practice materials, and outstanding owner approvals. Include a rollback step that is simply ceasing the offline exercise; no production migration exists.\",\"outputs\":[\"deliverables/pilot-owner-pack.md\"],\"state\":\"blocked\",\"team\":\"adoption\",\"title\":\"Deliver the reversible pilot owner pack\"}],\"team\":\"adoption\"}\n","path":"templates/teams/adoption/work/tasks.json","sha256":"22272890832bcb873bcb31515147cca044e4ad73f5a0993be24d9c7496342ecc"},{"bytes":353,"content":"# architecture\n\nRole: Solution architecture\n\nDefine a replaceable pure calculation boundary and human-owned exception routing.\n\nCase inputs and logical deliverables belong to the same-world casework workspace.\nRead only the inputs for assigned work; hand off verified artifact references.\nDo not claim another team's task or authorize external effects.\n","path":"templates/teams/architecture/work/TEAM.md","sha256":"70fdab27a7072b0fddae0e758f0b14ad89a27b3fe8e51ece6df802d27b3e2f63"},{"bytes":1751,"content":"{\"case_workspace\":\"casework\",\"schema\":\"hive-hub-seed-team-work/1\",\"tasks\":[{\"acceptance\":[\"The contract specifies cent precision and ROUND_HALF_UP per line and shipping tax.\",\"needs-data outranks needs-review and no state means invoice-sent.\",\"Unknown accounts and malformed numeric values are rejected without network side effects.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"requirements-trace\"],\"id\":\"calculation-boundary\",\"inputs\":[\"deliverables/requirements-trace.csv\",\"starter/data/policy.json\",\"starter/reference/quote_flow.py\",\"starter/docs/handoff-contracts.md\"],\"instructions\":\"Describe the pure input/output contract, validation limits, rounding points, and state precedence around the authored utility. Keep enterprise adapters, identity, persistence, and approval outside the reference.\",\"outputs\":[\"deliverables/calculation-contract.md\"],\"state\":\"blocked\",\"team\":\"architecture\",\"title\":\"Specify the replaceable calculation contract\"},{\"acceptance\":[\"Each observed reason code has a proposed owner and return path.\",\"Commercial policy and missing-data routes remain separate.\",\"All response times are targets to validate, not measured service levels.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"acceptance-review\"],\"id\":\"exception-routing\",\"inputs\":[\"deliverables/acceptance-matrix.csv\",\"starter/docs/handoff-contracts.md\",\"starter/docs/process-facts.md\"],\"instructions\":\"Turn the observed reason codes into a proposed routing table with role, minimum evidence, proposed response window, and re-evaluation trigger. Do not auto-approve any exception.\",\"outputs\":[\"deliverables/exception-routing.md\"],\"state\":\"blocked\",\"team\":\"architecture\",\"title\":\"Design accountable exception handoffs\"}],\"team\":\"architecture\"}\n","path":"templates/teams/architecture/work/tasks.json","sha256":"7b78bdc536681dbc6632e6fb578df929efbf702fb17b29e24db83b51ff0f3984"},{"bytes":364,"content":"# discovery\n\nRole: Process and requirements discovery\n\nReconcile source facts, exceptions, field definitions, and traceable requirements.\n\nCase inputs and logical deliverables belong to the same-world casework workspace.\nRead only the inputs for assigned work; hand off verified artifact references.\nDo not claim another team's task or authorize external effects.\n","path":"templates/teams/discovery/work/TEAM.md","sha256":"56594c7f17a2c4fec1ced9f56b41838b0ecd07e996b493e6569d44289cc7206c"},{"bytes":1777,"content":"{\"case_workspace\":\"casework\",\"schema\":\"hive-hub-seed-team-work/1\",\"tasks\":[{\"acceptance\":[\"All eight quotes and four accounts are covered without invented repairs.\",\"Missing PO and unknown tax on q-105 and negative quantity on q-107 are recorded.\",\"No synthetic policy is represented as tax or accounting advice.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"engagement-boundary\"],\"id\":\"source-reconciliation\",\"inputs\":[\"deliverables/engagement-scope.md\",\"starter/docs/process-facts.md\",\"starter/data/accounts.csv\",\"starter/data/quotes.csv\",\"starter/data/quote-lines.csv\",\"starter/data/policy.json\"],\"instructions\":\"Reconcile keys and field meanings across accounts, headers, lines, and policy. Create a fact register distinguishing intentional bad-data fixtures, policy exceptions, and unknown real-world requirements.\",\"outputs\":[\"deliverables/source-facts.csv\"],\"state\":\"blocked\",\"team\":\"discovery\",\"title\":\"Reconcile quote and account source facts\"},{\"acceptance\":[\"Every supplied requirement has at least one acceptance case.\",\"Data readiness and policy review are separate requirements.\",\"Unresolved policy questions are not silently converted into defaults.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"source-reconciliation\"],\"id\":\"requirements-trace\",\"inputs\":[\"deliverables/source-facts.csv\",\"starter/docs/requirements.csv\",\"starter/docs/acceptance-cases.md\",\"starter/docs/handoff-contracts.md\"],\"instructions\":\"Map the supplied requirements to source fields, process facts, and the eight acceptance cases. Mark any new requirement as proposed and name the role that must resolve it.\",\"outputs\":[\"deliverables/requirements-trace.csv\"],\"state\":\"blocked\",\"team\":\"discovery\",\"title\":\"Build field-to-requirement traceability\"}],\"team\":\"discovery\"}\n","path":"templates/teams/discovery/work/tasks.json","sha256":"533a9c175d73fc20f7011829d045ee3a7c6704176315f26acced53b843f56f69"},{"bytes":356,"content":"# engineering\n\nRole: Prototype engineering\n\nReproduce the offline quote calculation and propose evidence-backed data corrections.\n\nCase inputs and logical deliverables belong to the same-world casework workspace.\nRead only the inputs for assigned work; hand off verified artifact references.\nDo not claim another team's task or authorize external effects.\n","path":"templates/teams/engineering/work/TEAM.md","sha256":"9d786f27b64eb5c9437a6160b6ed0fcd06a06b5fcf21cebc354efbcc2d640d2b"},{"bytes":1938,"content":"{\"case_workspace\":\"casework\",\"schema\":\"hive-hub-seed-team-work/1\",\"tasks\":[{\"acceptance\":[\"Exactly eight results are captured in quote-ID order.\",\"The authored tests pass and source inputs remain unchanged.\",\"The run records three readiness categories and never claims a real invoice.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"calculation-boundary\"],\"id\":\"prototype-reproduction\",\"inputs\":[\"deliverables/calculation-contract.md\",\"starter/reference/quote_flow.py\",\"starter/reference/test_quote_flow.py\",\"starter/data/accounts.csv\",\"starter/data/quotes.csv\",\"starter/data/quote-lines.csv\",\"starter/data/policy.json\",\"starter/reference/expected-results.json\"],\"instructions\":\"Run only the authored utility and tests on the supplied data. Capture the full result and command metadata as a proposed engineering handoff, without altering source fixtures.\",\"outputs\":[\"deliverables/prototype-run.json\"],\"state\":\"blocked\",\"team\":\"engineering\",\"title\":\"Reproduce the offline quote batch\"},{\"acceptance\":[\"Original fixtures are preserved and all three data defects are addressed.\",\"Missing PO, tax code, and quantity are not guessed into approved source data.\",\"A reviewer can distinguish a hypothetical correction from an authorized one.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"exception-routing\"],\"id\":\"correction-proposals\",\"inputs\":[\"deliverables/exception-routing.md\",\"deliverables/acceptance-matrix.csv\",\"starter/data/quotes.csv\",\"starter/data/quote-lines.csv\"],\"instructions\":\"Create a correction-proposal ledger for q-105 and q-107. Record original values, why they block evaluation, what evidence is needed, and who may supply a replacement. Use proposed synthetic alternatives only as clearly labeled what-if examples.\",\"outputs\":[\"deliverables/correction-proposals.csv\"],\"state\":\"blocked\",\"team\":\"engineering\",\"title\":\"Propose source corrections without fabricating authorization\"}],\"team\":\"engineering\"}\n","path":"templates/teams/engineering/work/tasks.json","sha256":"81493ac6d13d714a0c2a7d6089579ef22464a229c557a7bba80de5c1dfc464da"},{"bytes":362,"content":"# quality\n\nRole: Acceptance and quality\n\nCheck exact decimal arithmetic, readiness classifications, data quality, and release evidence.\n\nCase inputs and logical deliverables belong to the same-world casework workspace.\nRead only the inputs for assigned work; hand off verified artifact references.\nDo not claim another team's task or authorize external effects.\n","path":"templates/teams/quality/work/TEAM.md","sha256":"e59118430e8fb4201315a43d575824bb42416dbfb38300ea9ff697e37d66ee59"},{"bytes":1815,"content":"{\"case_workspace\":\"casework\",\"schema\":\"hive-hub-seed-team-work/1\",\"tasks\":[{\"acceptance\":[\"q-101 totals USD 268.21 and q-106 totals USD 10.16.\",\"q-102, q-103, q-104, and q-108 remain review-gated.\",\"q-105 and q-107 have null totals and needs-data, not zero-dollar approval.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"prototype-reproduction\"],\"id\":\"acceptance-review\",\"inputs\":[\"deliverables/prototype-run.json\",\"deliverables/requirements-trace.csv\",\"starter/reference/expected-results.json\",\"starter/docs/acceptance-cases.md\",\"starter/reference/test_quote_flow.py\"],\"instructions\":\"Compare the reproduced batch to the expected-results reference and requirements trace. Record each case's expected amount, actual amount, state, and review or data reason.\",\"outputs\":[\"deliverables/acceptance-matrix.csv\"],\"state\":\"blocked\",\"team\":\"quality\",\"title\":\"Check arithmetic and exception acceptance\"},{\"acceptance\":[\"Every requirement has a gate disposition and linked evidence.\",\"The gate cannot authorize production connectivity, spending, or invoice issuance.\",\"Unobserved adoption and real-policy validation are explicitly not passed.\"],\"assignee\":null,\"completed_evidence\":[],\"depends_on\":[\"adoption-workshop\",\"pilot-value-case\"],\"id\":\"pilot-quality-gate\",\"inputs\":[\"deliverables/acceptance-matrix.csv\",\"deliverables/correction-proposals.csv\",\"deliverables/adoption-session.md\",\"deliverables/pilot-value-case.md\",\"starter/docs/requirements.csv\"],\"instructions\":\"Evaluate the acceptance matrix, unresolved data proposals, adoption plan, and measurement case. Record pass, fail, or not-observed for each gate; lack of real policy confirmation must remain visible.\",\"outputs\":[\"deliverables/pilot-gate.json\"],\"state\":\"blocked\",\"team\":\"quality\",\"title\":\"Assemble a conditional pilot gate\"}],\"team\":\"quality\"}\n","path":"templates/teams/quality/work/tasks.json","sha256":"974078e03f6d059c64388c1c5bc647e576cde989f6d878eea20b4f651eaa0332"}],"kind":"organization-seed","mission":"Coordinate account strategy, discovery, architecture, engineering, quality, and adoption around an original synthetic enterprise process and an executable offline calculation boundary.","name":"The Enterprise Transformation Firm","organization":{"directory":"organization","scaffold":{"kind":"organization","mode":"hive","slug":"enterprise-transformation-firm","world_id":"demo-enterprise-transformation-firm"}},"protocol":"rapp-work/1","relatedSeeds":["product-launch-company","open-source-infrastructure-foundation"],"schema":"hive-hub-organization-seed/1","slug":"enterprise-transformation-firm","status":"seed-not-activated","tagline":"Turn a concrete quote-to-cash exception queue into a reviewable pilot.","tasks":[{"acceptance":["The scope stops before invoicing, payment, ERP writes, and credit authorization.","Sponsor decisions and unvalidated value assumptions are separate.","All client facts remain marked SYNTHETIC."],"assignee":null,"completed_evidence":[],"depends_on":[],"id":"engagement-boundary","inputs":["starter/docs/client-brief.md","starter/docs/process-facts.md"],"instructions":"Translate the fictional client brief into an engagement scope with sponsor questions, operating risks, and explicit exclusions. Treat process timings as synthetic case facts rather than a baseline measured at a real enterprise.","outputs":["deliverables/engagement-scope.md"],"state":"ready","team":"account-strategy","title":"Bound the quote-readiness engagement"},{"acceptance":["All eight quotes and four accounts are covered without invented repairs.","Missing PO and unknown tax on q-105 and negative quantity on q-107 are recorded.","No synthetic policy is represented as tax or accounting advice."],"assignee":null,"completed_evidence":[],"depends_on":["engagement-boundary"],"id":"source-reconciliation","inputs":["deliverables/engagement-scope.md","starter/docs/process-facts.md","starter/data/accounts.csv","starter/data/quotes.csv","starter/data/quote-lines.csv","starter/data/policy.json"],"instructions":"Reconcile keys and field meanings across accounts, headers, lines, and policy. Create a fact register distinguishing intentional bad-data fixtures, policy exceptions, and unknown real-world requirements.","outputs":["deliverables/source-facts.csv"],"state":"blocked","team":"discovery","title":"Reconcile quote and account source facts"},{"acceptance":["Every supplied requirement has at least one acceptance case.","Data readiness and policy review are separate requirements.","Unresolved policy questions are not silently converted into defaults."],"assignee":null,"completed_evidence":[],"depends_on":["source-reconciliation"],"id":"requirements-trace","inputs":["deliverables/source-facts.csv","starter/docs/requirements.csv","starter/docs/acceptance-cases.md","starter/docs/handoff-contracts.md"],"instructions":"Map the supplied requirements to source fields, process facts, and the eight acceptance cases. Mark any new requirement as proposed and name the role that must resolve it.","outputs":["deliverables/requirements-trace.csv"],"state":"blocked","team":"discovery","title":"Build field-to-requirement traceability"},{"acceptance":["The contract specifies cent precision and ROUND_HALF_UP per line and shipping tax.","needs-data outranks needs-review and no state means invoice-sent.","Unknown accounts and malformed numeric values are rejected without network side effects."],"assignee":null,"completed_evidence":[],"depends_on":["requirements-trace"],"id":"calculation-boundary","inputs":["deliverables/requirements-trace.csv","starter/data/policy.json","starter/reference/quote_flow.py","starter/docs/handoff-contracts.md"],"instructions":"Describe the pure input/output contract, validation limits, rounding points, and state precedence around the authored utility. Keep enterprise adapters, identity, persistence, and approval outside the reference.","outputs":["deliverables/calculation-contract.md"],"state":"blocked","team":"architecture","title":"Specify the replaceable calculation contract"},{"acceptance":["Exactly eight results are captured in quote-ID order.","The authored tests pass and source inputs remain unchanged.","The run records three readiness categories and never claims a real invoice."],"assignee":null,"completed_evidence":[],"depends_on":["calculation-boundary"],"id":"prototype-reproduction","inputs":["deliverables/calculation-contract.md","starter/reference/quote_flow.py","starter/reference/test_quote_flow.py","starter/data/accounts.csv","starter/data/quotes.csv","starter/data/quote-lines.csv","starter/data/policy.json","starter/reference/expected-results.json"],"instructions":"Run only the authored utility and tests on the supplied data. Capture the full result and command metadata as a proposed engineering handoff, without altering source fixtures.","outputs":["deliverables/prototype-run.json"],"state":"blocked","team":"engineering","title":"Reproduce the offline quote batch"},{"acceptance":["q-101 totals USD 268.21 and q-106 totals USD 10.16.","q-102, q-103, q-104, and q-108 remain review-gated.","q-105 and q-107 have null totals and needs-data, not zero-dollar approval."],"assignee":null,"completed_evidence":[],"depends_on":["prototype-reproduction"],"id":"acceptance-review","inputs":["deliverables/prototype-run.json","deliverables/requirements-trace.csv","starter/reference/expected-results.json","starter/docs/acceptance-cases.md","starter/reference/test_quote_flow.py"],"instructions":"Compare the reproduced batch to the expected-results reference and requirements trace. Record each case's expected amount, actual amount, state, and review or data reason.","outputs":["deliverables/acceptance-matrix.csv"],"state":"blocked","team":"quality","title":"Check arithmetic and exception acceptance"},{"acceptance":["Each observed reason code has a proposed owner and return path.","Commercial policy and missing-data routes remain separate.","All response times are targets to validate, not measured service levels."],"assignee":null,"completed_evidence":[],"depends_on":["acceptance-review"],"id":"exception-routing","inputs":["deliverables/acceptance-matrix.csv","starter/docs/handoff-contracts.md","starter/docs/process-facts.md"],"instructions":"Turn the observed reason codes into a proposed routing table with role, minimum evidence, proposed response window, and re-evaluation trigger. Do not auto-approve any exception.","outputs":["deliverables/exception-routing.md"],"state":"blocked","team":"architecture","title":"Design accountable exception handoffs"},{"acceptance":["Original fixtures are preserved and all three data defects are addressed.","Missing PO, tax code, and quantity are not guessed into approved source data.","A reviewer can distinguish a hypothetical correction from an authorized one."],"assignee":null,"completed_evidence":[],"depends_on":["exception-routing"],"id":"correction-proposals","inputs":["deliverables/exception-routing.md","deliverables/acceptance-matrix.csv","starter/data/quotes.csv","starter/data/quote-lines.csv"],"instructions":"Create a correction-proposal ledger for q-105 and q-107. Record original values, why they block evaluation, what evidence is needed, and who may supply a replacement. Use proposed synthetic alternatives only as clearly labeled what-if examples.","outputs":["deliverables/correction-proposals.csv"],"state":"blocked","team":"engineering","title":"Propose source corrections without fabricating authorization"},{"acceptance":["The agenda totals 35 minutes.","Learners must explain why clean is not authorized and missing data is not a zero total.","Attendance, competence, and adoption are not claimed before the session occurs."],"assignee":null,"completed_evidence":[],"depends_on":["exception-routing"],"id":"adoption-workshop","inputs":["deliverables/exception-routing.md","deliverables/acceptance-matrix.csv","starter/docs/adoption-playbook.md","starter/docs/acceptance-cases.md"],"instructions":"Build a 35-minute practice plan using the sample quotes and the exception routing. Include seller, credit reviewer, and billing coordinator exercises and a no-send rehearsal.","outputs":["deliverables/adoption-session.md"],"state":"blocked","team":"adoption","title":"Prepare the role-based practice session"},{"acceptance":["The case defines denominators for rework rate and quote-readiness lead time.","No savings, revenue, deployment, or customer validation is invented.","The pilot proposal includes stop conditions and separate enterprise access approval."],"assignee":null,"completed_evidence":[],"depends_on":["correction-proposals"],"id":"pilot-value-case","inputs":["deliverables/acceptance-matrix.csv","deliverables/correction-proposals.csv","deliverables/engagement-scope.md","starter/docs/client-brief.md"],"instructions":"Propose measurable pilot outcomes and a baseline collection design using the acceptance findings. Distinguish calculation correctness from cycle time, financial impact, and user adoption, which are not measured by this seed.","outputs":["deliverables/pilot-value-case.md"],"state":"blocked","team":"account-strategy","title":"Prepare an honest pilot measurement case"},{"acceptance":["Every requirement has a gate disposition and linked evidence.","The gate cannot authorize production connectivity, spending, or invoice issuance.","Unobserved adoption and real-policy validation are explicitly not passed."],"assignee":null,"completed_evidence":[],"depends_on":["adoption-workshop","pilot-value-case"],"id":"pilot-quality-gate","inputs":["deliverables/acceptance-matrix.csv","deliverables/correction-proposals.csv","deliverables/adoption-session.md","deliverables/pilot-value-case.md","starter/docs/requirements.csv"],"instructions":"Evaluate the acceptance matrix, unresolved data proposals, adoption plan, and measurement case. Record pass, fail, or not-observed for each gate; lack of real policy confirmation must remain visible.","outputs":["deliverables/pilot-gate.json"],"state":"blocked","team":"quality","title":"Assemble a conditional pilot gate"},{"acceptance":["The owner pack identifies all three readiness categories and their meaning.","The handoff can be followed using only the package's offline artifacts.","It states what has not been deployed, approved, measured, or sent."],"assignee":null,"completed_evidence":[],"depends_on":["pilot-quality-gate"],"id":"owner-handoff","inputs":["deliverables/pilot-gate.json","deliverables/exception-routing.md","deliverables/adoption-session.md","deliverables/engagement-scope.md","starter/docs/adoption-playbook.md"],"instructions":"Compile operator instructions, escalation paths, practice materials, and outstanding owner approvals. Include a rollback step that is simply ceasing the offline exercise; no production migration exists.","outputs":["deliverables/pilot-owner-pack.md"],"state":"blocked","team":"adoption","title":"Deliver the reversible pilot owner pack"}],"workspaceProfile":"rapp-work-sdk/1","workspaces":[{"directory":"workspaces/account-strategy","id":"account-strategy","name":"account-strategy","purpose":"Define the fictional engagement's value hypothesis, sponsor decisions, exclusions, and pilot gates.","role":"Engagement strategy","scaffold":{"kind":"workspace","mode":"hive","slug":"enterprise-transformation-firm-account-strategy","world_id":"demo-enterprise-transformation-firm"},"template":"templates/teams/account-strategy"},{"directory":"workspaces/discovery","id":"discovery","name":"discovery","purpose":"Reconcile source facts, exceptions, field definitions, and traceable requirements.","role":"Process and requirements discovery","scaffold":{"kind":"workspace","mode":"hive","slug":"enterprise-transformation-firm-discovery","world_id":"demo-enterprise-transformation-firm"},"template":"templates/teams/discovery"},{"directory":"workspaces/architecture","id":"architecture","name":"architecture","purpose":"Define a replaceable pure calculation boundary and human-owned exception routing.","role":"Solution architecture","scaffold":{"kind":"workspace","mode":"hive","slug":"enterprise-transformation-firm-architecture","world_id":"demo-enterprise-transformation-firm"},"template":"templates/teams/architecture"},{"directory":"workspaces/engineering","id":"engineering","name":"engineering","purpose":"Reproduce the offline quote calculation and propose evidence-backed data corrections.","role":"Prototype engineering","scaffold":{"kind":"workspace","mode":"hive","slug":"enterprise-transformation-firm-engineering","world_id":"demo-enterprise-transformation-firm"},"template":"templates/teams/engineering"},{"directory":"workspaces/quality","id":"quality","name":"quality","purpose":"Check exact decimal arithmetic, readiness classifications, data quality, and release evidence.","role":"Acceptance and quality","scaffold":{"kind":"workspace","mode":"hive","slug":"enterprise-transformation-firm-quality","world_id":"demo-enterprise-transformation-firm"},"template":"templates/teams/quality"},{"directory":"workspaces/adoption","id":"adoption","name":"adoption","purpose":"Prepare role-specific practice, exception ownership, and reversible pilot handoff.","role":"Operational adoption","scaffold":{"kind":"workspace","mode":"hive","slug":"enterprise-transformation-firm-adoption","world_id":"demo-enterprise-transformation-firm"},"template":"templates/teams/adoption"},{"directory":"workspaces/casework","id":"casework","name":"Shared delivery case","purpose":"Own synthetic intake, shared inputs, and accepted deliverables.","role":"case-custodian","scaffold":{"kind":"workspace","mode":"hive","slug":"enterprise-transformation-firm-casework","world_id":"demo-enterprise-transformation-firm"},"template":"templates/casework"}]}
