Files
egutierrez e821246556 chore: auto-commit (1 archivos)
- app.md

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 00:31:31 +02:00

82 lines
2.1 KiB
Markdown

---
name: counter_kt
domain: tools
version: 0.1.0
description: "Counter demo: validates FnTheme + Material3 + state + tests"
tags: [demo, counter, kotlin, compose, android]
lang: kt
framework: compose
entry_point: "app/src/main/kotlin/com/fnregistry/counterkt/MainActivity.kt"
dir_path: "apps/counter_kt"
repo_url: "https://gitea.organic-machine.com/dataforge/counter_kt"
uses_functions:
- fn_theme_kt_ui
- fn_tokens_kt_ui
- fn_spacing_kt_ui
uses_types: []
e2e_checks:
- id: unit
cmd: "fn run gradle_unit_test_bash_infra apps/counter_kt"
timeout_s: 240
- id: screenshot
cmd: "fn run gradle_screenshot_test_bash_infra apps/counter_kt"
timeout_s: 240
- id: build
cmd: "fn run gradle_assemble_debug_bash_infra apps/counter_kt"
timeout_s: 360
- id: emu_start
cmd: "fn run android_emulator_start_bash_infra Medium_Phone_API_35"
timeout_s: 240
- id: instrumented
cmd: "fn run gradle_instrumented_test_bash_infra apps/counter_kt"
timeout_s: 600
- id: emu_stop
cmd: "fn run android_emulator_stop_bash_infra"
severity: warning
timeout_s: 30
---
# counter_kt
Counter demo: validates FnTheme + Material3 + state + tests
## Build
```bash
fn run gradle_assemble_debug_bash_infra apps/counter_kt
```
## Tests unitarios + Roborazzi screenshots
```bash
fn run gradle_unit_test_bash_infra apps/counter_kt
fn run gradle_screenshot_test_bash_infra apps/counter_kt
```
## Tests instrumentados (requiere emulador)
```bash
fn run android_emulator_start_bash_infra Medium_Phone_API_35
fn run gradle_instrumented_test_bash_infra apps/counter_kt
fn run android_emulator_stop_bash_infra
```
## Package
`com.fnregistry.counterkt`
## FnTheme
La app usa FnTheme y FnTokens via composite build en `kotlin/functions/ui`.
Para cambiar colores o tipografia, editar el modulo del registry.
## Capability growth log
Una linea por bump SemVer. Bump-type segun `.claude/commands/version.md`:
- `major`: breaking observable (CLI args, schema BBDD propia, formato wire).
- `minor`: feature aditiva (nuevo panel, endpoint, opcion).
- `patch`: bugfix sin cambio observable.
- v0.1.0 (2026-05-18) — baseline.