[{"data":1,"prerenderedAt":468},["ShallowReactive",2],{"navigation_docs":3,"-decisions-0007-compiler-flags-from-sbt-tpolecat":223,"-decisions-0007-compiler-flags-from-sbt-tpolecat-surround":463},[4,26,96,105,202],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"The first app","\u002Fgetting-started\u002Ffirst-app","1.getting-started\u002F2.first-app","i-lucide-play",{"title":21,"path":22,"stem":23,"icon":24},"The first test","\u002Fgetting-started\u002Ffirst-test","1.getting-started\u002F3.first-test","i-lucide-flask-conical",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Guide","i-lucide-book-open","\u002Fguide","2.guide",[32,37,42,47,52,57,62,67,72,77,81,86,91],{"title":33,"path":34,"stem":35,"icon":36},"Components","\u002Fguide\u002Fcomponents","2.guide\u002F01.components","i-lucide-component",{"title":38,"path":39,"stem":40,"icon":41},"Inputs and forms","\u002Fguide\u002Finputs-and-forms","2.guide\u002F02.inputs-and-forms","i-lucide-text-cursor-input",{"title":43,"path":44,"stem":45,"icon":46},"Scrolling and viewports","\u002Fguide\u002Fscrolling","2.guide\u002F03.scrolling","i-lucide-scroll-text",{"title":48,"path":49,"stem":50,"icon":51},"Overlays and layers","\u002Fguide\u002Foverlays","2.guide\u002F04.overlays","i-lucide-layers",{"title":53,"path":54,"stem":55,"icon":56},"Styles and theme","\u002Fguide\u002Fstyles","2.guide\u002F05.styles","i-lucide-palette",{"title":58,"path":59,"stem":60,"icon":61},"Composables","\u002Fguide\u002Fcomposables","2.guide\u002F06.composables","i-lucide-puzzle",{"title":63,"path":64,"stem":65,"icon":66},"Widgets","\u002Fguide\u002Fwidgets","2.guide\u002F07.widgets","i-lucide-blocks",{"title":68,"path":69,"stem":70,"icon":71},"The assistant","\u002Fguide\u002Fassistant","2.guide\u002F08.assistant","i-lucide-message-square",{"title":73,"path":74,"stem":75,"icon":76},"The same app on the web","\u002Fguide\u002Fweb","2.guide\u002F09.web","i-lucide-globe",{"title":78,"path":79,"stem":80,"icon":24},"Testing","\u002Fguide\u002Ftesting","2.guide\u002F10.testing",{"title":82,"path":83,"stem":84,"icon":85},"Running and packaging","\u002Fguide\u002Fpackaging","2.guide\u002F11.packaging","i-lucide-package",{"title":87,"path":88,"stem":89,"icon":90},"The terminal contract","\u002Fguide\u002Fterminal","2.guide\u002F12.terminal","i-lucide-square-terminal",{"title":92,"path":93,"stem":94,"icon":95},"Benchmarks","\u002Fguide\u002Fbenchmarks","2.guide\u002F13.benchmarks","i-lucide-gauge",{"title":97,"icon":98,"path":99,"stem":100,"children":101,"page":25},"AI and agents","i-lucide-bot","\u002Fai","3.ai",[102],{"title":97,"path":103,"stem":104,"icon":98},"\u002Fai\u002Fagents","3.ai\u002F1.agents",{"title":106,"icon":107,"path":108,"stem":109,"children":110},"Decisions","i-lucide-scale","\u002Fdecisions","4.decisions",[111,114,118,122,126,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,194,198],{"title":112,"path":108,"stem":113,"icon":46},"All decisions","4.decisions\u002Findex",{"title":115,"path":116,"stem":117},"0001. kyo-ui is the DSL","\u002Fdecisions\u002F0001-kyo-ui-is-the-dsl","4.decisions\u002F0001-kyo-ui-is-the-dsl",{"title":119,"path":120,"stem":121},"0002. jatatui renders the cells","\u002Fdecisions\u002F0002-jatatui-renders-the-cells","4.decisions\u002F0002-jatatui-renders-the-cells",{"title":123,"path":124,"stem":125},"0003. Pin Kyo 1.0.0-RC7 and JDK 25","\u002Fdecisions\u002F0003-pin-kyo-rc7-and-jdk-25","4.decisions\u002F0003-pin-kyo-rc7-and-jdk-25",{"title":127,"path":128,"stem":129},"0004. Public Kyo APIs only","\u002Fdecisions\u002F0004-public-kyo-apis-only","4.decisions\u002F0004-public-kyo-apis-only",{"title":131,"path":132,"stem":133},"0005. A SOFT frame contract and an own watcher loop","\u002Fdecisions\u002F0005-soft-frame-contract-and-own-watcher-loop","4.decisions\u002F0005-soft-frame-contract-and-own-watcher-loop",{"title":135,"path":136,"stem":137},"0006. Purity: edge files, lint and a pure painter","\u002Fdecisions\u002F0006-purity-edge-files-and-lint","4.decisions\u002F0006-purity-edge-files-and-lint",{"title":139,"path":140,"stem":141},"0007. Compiler flags from sbt-tpolecat","\u002Fdecisions\u002F0007-compiler-flags-from-sbt-tpolecat","4.decisions\u002F0007-compiler-flags-from-sbt-tpolecat",{"title":143,"path":144,"stem":145},"0008. The artifact split: runner, app, testkit and core","\u002Fdecisions\u002F0008-artifact-split-runner-app-testkit-core","4.decisions\u002F0008-artifact-split-runner-app-testkit-core",{"title":147,"path":148,"stem":149},"0009. tui4s-use and tui4s-widgets, cross-built","\u002Fdecisions\u002F0009-use-and-widgets-cross-built","4.decisions\u002F0009-use-and-widgets-cross-built",{"title":151,"path":152,"stem":153},"0010. The flagship assistant is the blueprint of a real app","\u002Fdecisions\u002F0010-the-flagship-assistant-as-blueprint","4.decisions\u002F0010-the-flagship-assistant-as-blueprint",{"title":155,"path":156,"stem":157},"0011. The web target: a standalone Scala.js app and one theme","\u002Fdecisions\u002F0011-web-target-standalone-scalajs-and-one-theme","4.decisions\u002F0011-web-target-standalone-scalajs-and-one-theme",{"title":159,"path":160,"stem":161},"0012. The documentation is example-first","\u002Fdecisions\u002F0012-documentation-is-example-first","4.decisions\u002F0012-documentation-is-example-first",{"title":163,"path":164,"stem":165},"0013. Benchmarks in the repository, with their own build","\u002Fdecisions\u002F0013-benchmarks-in-repo-with-own-build","4.decisions\u002F0013-benchmarks-in-repo-with-own-build",{"title":167,"path":168,"stem":169},"0014. Release per module, by tag, as 0.1.0-RC1","\u002Fdecisions\u002F0014-release-per-module-tags-and-rc1","4.decisions\u002F0014-release-per-module-tags-and-rc1",{"title":171,"path":172,"stem":173},"0015. Packaging: the AOT cache in the start scripts, native-image as an option","\u002Fdecisions\u002F0015-packaging-aot-cache-and-native-image","4.decisions\u002F0015-packaging-aot-cache-and-native-image",{"title":175,"path":176,"stem":177},"0016. Process: lean mode and agent roles","\u002Fdecisions\u002F0016-process-lean-mode-and-agent-roles","4.decisions\u002F0016-process-lean-mode-and-agent-roles",{"title":179,"path":180,"stem":181},"0017. Deferred: templates, mouse, the kitty keyboard protocol and Windows","\u002Fdecisions\u002F0017-deferred-templates-mouse-and-kitty","4.decisions\u002F0017-deferred-templates-mouse-and-kitty",{"title":183,"path":184,"stem":185},"0018. pini4s is a vendored Git submodule","\u002Fdecisions\u002F0018-pini4s-as-a-vendored-submodule","4.decisions\u002F0018-pini4s-as-a-vendored-submodule",{"title":187,"path":188,"stem":189},"0019. Upstream issues are drafts that the user posts","\u002Fdecisions\u002F0019-upstream-kyo-issues-as-drafts","4.decisions\u002F0019-upstream-kyo-issues-as-drafts",{"title":191,"path":192,"stem":193},"0020. Release from the Actions form","\u002Fdecisions\u002F0020-release-from-the-actions-form","4.decisions\u002F0020-release-from-the-actions-form",{"title":195,"path":196,"stem":197},"0021. The rulebook is CONTRIBUTING.md","\u002Fdecisions\u002F0021-the-rulebook-is-contributing-md","4.decisions\u002F0021-the-rulebook-is-contributing-md",{"title":199,"path":200,"stem":201},"0022. The logo is text","\u002Fdecisions\u002F0022-the-logo-is-text","4.decisions\u002F0022-the-logo-is-text",{"title":203,"icon":204,"path":205,"stem":206,"children":207,"page":25},"Project","i-lucide-compass","\u002Fproject","5.project",[208,213,218],{"title":209,"path":210,"stem":211,"icon":212},"Roadmap","\u002Fproject\u002Froadmap","5.project\u002F1.roadmap","i-lucide-map",{"title":214,"path":215,"stem":216,"icon":217},"Contributing","\u002Fproject\u002Fcontributing","5.project\u002F2.contributing","i-lucide-git-pull-request",{"title":219,"path":220,"stem":221,"icon":222},"Security","\u002Fproject\u002Fsecurity","5.project\u002F3.security","i-lucide-shield",{"id":224,"title":139,"body":225,"description":456,"extension":457,"links":458,"meta":459,"navigation":460,"path":140,"seo":461,"stem":141,"__hash__":462},"docs\u002F4.decisions\u002F0007-compiler-flags-from-sbt-tpolecat.md",{"type":226,"value":227,"toc":445},"minimark",[228,233,237,241,249,253,307,311,368,372,406,410,430,434],[229,230,232],"h2",{"id":231},"status","Status",[234,235,236],"p",{},"Accepted",[229,238,240],{"id":239},"date","Date",[234,242,243,244,248],{},"2026-10-11 (gate 0: D-8 changed by the user). The CI mode was ASSUMED on 2026-10-12 (the user did not answer) and is in ",[245,246,247],"code",{},"ci.yml"," since.",[229,250,252],{"id":251},"context","Context",[254,255,256,278,285,288,297],"ul",{},[257,258,259,260,263,264,263,267,263,270,273,274,277],"li",{},"The first build had hand-written flags: ",[245,261,262],{},"-Yexplicit-nulls",", ",[245,265,266],{},"-Wunused:all",[245,268,269],{},"-Wvalue-discard",[245,271,272],{},"-Wnonunit-statement",", but no fatal-warning flag. A green ",[245,275,276],{},"sbt check"," did not prove that the code had no warnings (D-8 facts).",[257,279,280,281,284],{},"The plan recommended ",[245,282,283],{},"-Werror"," in every build (D-8 a). Its cost: an unused import in work-in-progress code stops the compile.",[257,286,287],{},"The user changed it: \"warnings of unused and stuff are warnings, use sbt-tpolecat\".",[257,289,290,291,293,294,296],{},"Spike S6 found gaps of the strict flags at the Java boundary: ",[245,292,272],{}," does not see a Java call in statement position, and ",[245,295,262],{}," gives flexible types to Java results.",[257,298,299,302,303,306],{},[245,300,301],{},"-Ycheck-all-patmat"," reports a match on Kyo's opaque ",[245,304,305],{},"Maybe"," as not exhaustive. That is a false alarm.",[229,308,310],{"id":309},"decision","Decision",[254,312,313,320,327,341,358,365],{},[257,314,315,316,319],{},"sbt-tpolecat 0.5.7 sets the scalac options (",[245,317,318],{},"build.sbt",", \"Compiler options\").",[257,321,322,323,326],{},"The default mode is ",[245,324,325],{},"DevMode",": on a developer machine the warnings stay warnings.",[257,328,329,330,333,334,336,337,340],{},"GitHub Actions sets ",[245,331,332],{},"SBT_TPOLECAT_CI=1",", which adds ",[245,335,283],{},". A local ",[245,338,339],{},"tpolecatCiMode"," gives the CI behaviour.",[257,342,343,344,346,347,350,351,354,355,357],{},"The build adds ",[245,345,262],{}," and one ",[245,348,349],{},"-Wconf"," rule for the noise of inlined Kyo ",[245,352,353],{},"@nowarn",", and excludes ",[245,356,301],{},".",[257,359,360,361,364],{},"One exception stays fatal in every mode: a non-exhaustive match in ",[245,362,363],{},"EventMapping.scala"," is an error, so a new crossterm event case stops the build on a developer machine too.",[257,366,367],{},"The code stays free of warnings. A null check is written by hand where a Java source or JNI contract allows null.",[229,369,371],{"id":370},"alternatives-considered","Alternatives considered",[254,373,374,384,394,400],{},[257,375,376,383],{},[377,378,379,380,382],"strong",{},"Hand-written flags with ",[245,381,283],{}," everywhere"," (D-8 a, the plan's recommendation). The user rejected it: unused-code warnings must not stop local work.",[257,385,386,393],{},[377,387,388,389,392],{},"Fatal only when the ",[245,390,391],{},"CI"," variable is set, with the hand-written flags"," (D-8 b). Close to the decision. The user named sbt-tpolecat instead of a hand-kept flag list; the notes give no other reason.",[257,395,396,399],{},[377,397,398],{},"No fatal mode, a warning count in each PR body"," (D-8 c). Warnings can pile up while CI is green.",[257,401,402,405],{},[377,403,404],{},"Warnings everywhere, also in CI."," The mode was ASSUMED (dev locally, fatal in CI) when the user did not answer; one build line flips it.",[229,407,409],{"id":408},"consequences","Consequences",[254,411,412,415,418,427],{},[257,413,414],{},"Good: CI holds the line at 0 warnings, and local work is not blocked by an unused import.",[257,416,417],{},"Good: the flag set follows sbt-tpolecat upgrades, not a hand-kept list.",[257,419,420,421,423,424,426],{},"Bad: a local ",[245,422,276],{}," is weaker than CI unless the developer runs ",[245,425,339],{},". A warning can reach CI and fail there.",[257,428,429],{},"Bad: the flags do not see some Java-boundary mistakes (spike S6). Reviews must check for null at those calls.",[229,431,433],{"id":432},"references","References",[254,435,436,439,442],{},[257,437,438],{},"Decision log: eighth round (D-8 changed); handoff \"Open items for the user\" (the mode, assumed).",[257,440,441],{},"Plan: D-8, D-26; gates.md G6 (S6).",[257,443,444],{},"CONTRIBUTING.md: \"Toolchain\" (sbt-tpolecat), \"Rules for code\" (the Java boundary). ",{"title":446,"searchDepth":447,"depth":447,"links":448},"",2,[449,450,451,452,453,454,455],{"id":231,"depth":447,"text":232},{"id":239,"depth":447,"text":240},{"id":251,"depth":447,"text":252},{"id":309,"depth":447,"text":310},{"id":370,"depth":447,"text":371},{"id":408,"depth":447,"text":409},{"id":432,"depth":447,"text":433},"sbt-tpolecat sets the scalac options; warnings stay warnings on a developer machine, and CI (SBT_TPOLECAT_CI) turns them into errors.","md",null,{},true,{"title":139,"description":456},"kmndjtHBEDg7MwiK7GK3TlDWYgcUUsd0EMAWQF17VX0",[464,466],{"title":135,"path":136,"stem":137,"description":465,"children":-1},"The functional rewrite (L0, phases P1 to P6) keeps impure code in nine edge files and a few marked KEEP sites, checked by scalafix DisableSyntax, with a pure painter, a synchronous release stack and one fiber gauge.",{"title":143,"path":144,"stem":145,"description":467,"children":-1},"tui4s-core becomes a composite of three artifacts in this repository: tui4s-runner, tui4s-app and tui4s-testkit, each with its own version and tag, in the same packages, with tui4s.internal sealed.",1792528756358]