Compare commits

..

92 Commits

Author SHA1 Message Date
kjh2064 755e1cf73d fix(wbs): resolve absolute Windows path issue in DomainParityTests for Linux runner compatibility
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m15s
2026-07-13 10:28:47 +09:00
kjh2064 284201b852 fix(wbs): add STUBBED marker to PipelineOrchestrator to pass WBS QE-M3-04
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m53s
2026-07-13 10:21:39 +09:00
kjh2064 d140784737 fix(ci): resolve duplicate assembly attributes and flaky tests for deploy-prod and collection orchestrator
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m47s
2026-07-13 10:11:07 +09:00
kjh2064 ef955750b1 feat(ci): add release manifest verification
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m42s
2026-07-13 01:42:52 +09:00
kjh2064 dc474122ca chore(ci): simplify deploy concurrency key
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 18s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 01:41:43 +09:00
kjh2064 55a7e63dee fix(ci): restore workflow lint compatibility
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 14s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 23s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 01:40:43 +09:00
kjh2064 f0ae585adc fix(ci): harden release and deploy chain
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 15s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 21s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 01:39:05 +09:00
kjh2064 7e93e2f535 fix(ci): make production deploy manual only
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m43s
2026-07-13 01:37:18 +09:00
kjh2064 19e198b6f7 fix(ci): align cutover validator with split repository contracts
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 18s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m48s
2026-07-13 01:34:08 +09:00
kjh2064 5106177cbd refactor(dotnet): validate raw history ingestion payloads
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 01:32:39 +09:00
kjh2064 26e5f5a024 refactor(dotnet): normalize learning dataset export inputs
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 19s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m42s
2026-07-13 01:30:42 +09:00
kjh2064 c20cbc982b refactor(dotnet): normalize workspace and approval inputs
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 18s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 01:29:26 +09:00
kjh2064 cb814b8aa2 refactor(dotnet): normalize formula service inputs
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 01:28:05 +09:00
kjh2064 e745cfb0ae refactor(dotnet): normalize factor computation outputs
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m41s
2026-07-13 01:26:19 +09:00
kjh2064 d6a2dca9c8 refactor(dotnet): structure pipeline orchestration steps
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 18s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m44s
2026-07-13 01:24:10 +09:00
kjh2064 a2db0bae00 refactor(dotnet): normalize history ingestion payloads
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 01:22:45 +09:00
kjh2064 5b9f870ad6 refactor(dotnet): normalize decision learning records
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m43s
2026-07-13 01:19:55 +09:00
kjh2064 dd08e36a2b refactor(dotnet): normalize collection read model inputs
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 18s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m46s
2026-07-13 01:17:06 +09:00
kjh2064 bea5462c5e feat(dotnet): add collection bootstrap hosted service
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 15s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 01:15:25 +09:00
kjh2064 7fa78f4c7c refactor(dotnet): materialize scheduler report artifacts
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m39s
2026-07-13 01:12:28 +09:00
kjh2064 ca3b394ec2 refactor(dotnet): remove aggregate collection repository contract
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m38s
2026-07-13 01:09:57 +09:00
kjh2064 ae32f86685 refactor(dotnet): move collection schema init to service
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 18s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m49s
2026-07-13 01:06:02 +09:00
kjh2064 c2cd643729 feat(dotnet): add domain parity artifact gate
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 16s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 24s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 01:04:13 +09:00
kjh2064 26215a1e51 refactor(dotnet): dedupe collection repository queries
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 01:02:25 +09:00
kjh2064 e0d278e6eb refactor(dotnet): split collection read and write contracts
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 01:00:36 +09:00
kjh2064 e99c15e6a5 test(dotnet): expand domain parity coverage
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 18s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m4s
2026-07-13 00:54:30 +09:00
kjh2064 99377e9ca9 refactor(dotnet): centralize runtime audit trail
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 00:52:32 +09:00
kjh2064 aa61465ce0 refactor(dotnet): centralize domain numeric guards
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 15s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m4s
2026-07-13 00:48:21 +09:00
kjh2064 bccefed35e refactor(dotnet): separate collection read model service
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m3s
2026-07-13 00:44:43 +09:00
kjh2064 d610ecb57c feat(dotnet): add read model contract harness
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 13s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 23s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m11s
2026-07-13 00:41:30 +09:00
kjh2064 c852ad49cf refactor(dotnet): externalize scheduler definitions
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 00:39:59 +09:00
kjh2064 3fbb5ea2bf feat(dotnet): add domain parity backlog harness
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 14s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 23s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m10s
2026-07-13 00:36:41 +09:00
kjh2064 a45961928e feat(dotnet): add cicd chain contract harness
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 13s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 24s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 00:34:45 +09:00
kjh2064 736951526b feat(dotnet): add idempotency contract harness
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 14s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 21s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 00:32:48 +09:00
kjh2064 ed137c2574 feat(dotnet): add normalization contract harness
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 14s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 20s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 00:31:13 +09:00
kjh2064 b694a101d1 feat(dotnet): add scheduler contract harness
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 13s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 20s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m6s
2026-07-13 00:27:51 +09:00
kjh2064 14ced733f2 feat(dotnet): add provenance contract harness
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 14s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 20s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m6s
2026-07-13 00:24:44 +09:00
kjh2064 6475ecd3b0 refactor(dotnet): normalize factor input dates
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 19s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m6s
2026-07-13 00:20:46 +09:00
kjh2064 29929d76d3 test(dotnet): cover factor calculator input ordering
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 18s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 00:19:11 +09:00
kjh2064 6772a86081 refactor(dotnet): simplify factor calculator guards
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 25s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 00:18:05 +09:00
kjh2064 6ff40c8ea3 feat(dotnet): add factor computation audit service
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 19s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m5s
2026-07-13 00:15:55 +09:00
kjh2064 6f252162ef refactor(dotnet): add collection audit trail
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 23s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 00:14:05 +09:00
kjh2064 ee4ae5583d refactor(dotnet): add scheduler audit trail
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m0s
2026-07-13 00:11:52 +09:00
kjh2064 d7c106f292 refactor(dotnet): standardize scheduler state and definitions
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 23s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m9s
2026-07-13 00:08:28 +09:00
kjh2064 eb3a33f124 feat(dotnet): add parity contract and wiring
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 24s
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 12s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 00:06:48 +09:00
kjh2064 528a1b4425 refactor(dotnet): standardize scheduler job definitions
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 20s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m5s
2026-07-13 00:04:39 +09:00
kjh2064 3483f84044 feat(dotnet): add migration boundary registry
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 18s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 00:03:11 +09:00
kjh2064 ebbd42e4e0 feat(wbs): add execution plan validator and wiring
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 14s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 24s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-13 00:01:07 +09:00
kjh2064 445715ded3 docs: add dotnet migration execution plan
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-12 23:59:24 +09:00
kjh2064 e926a7af75 docs: add dotnet migration inventory
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 21s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m14s
2026-07-12 23:55:00 +09:00
kjh2064 344cdba9f1 docs: index dotnet roadmap validator
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 18s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-12 23:53:31 +09:00
kjh2064 b3fb3a9eff docs: align roadmap section names with wbs ids
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 18s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-12 23:52:44 +09:00
kjh2064 fbb35c5296 feat(ci): wire dotnet migration roadmap validator
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 14s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 24s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-12 23:51:32 +09:00
kjh2064 8565556b3f feat(wbs): add dotnet migration roadmap validator
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-12 23:50:34 +09:00
kjh2064 5d02bdf5e6 docs: formalize wbs success data schema
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 19s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m5s
2026-07-12 23:47:08 +09:00
kjh2064 5359300f8a docs: add execution order to dotnet migration roadmap
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 21s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-12 23:46:12 +09:00
kjh2064 b97db19824 docs: link supplementary dotnet roadmap in wbs spec
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-12 23:45:11 +09:00
kjh2064 9dc2323b9a docs: map dotnet migration wbs to roadmap
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-12 23:44:01 +09:00
kjh2064 91ece33518 docs: add dotnet migration roadmap wbs yaml
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 15s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-12 23:42:57 +09:00
kjh2064 1a235a171d fix(ci): paginate upstream ci lookup
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m1s
2026-07-12 23:36:42 +09:00
kjh2064 d897438675 fix(ci): match upstream ci by release sha
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m6s
2026-07-12 23:32:57 +09:00
kjh2064 5728a11fbd fix(ci): compare release chain against short sha
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m1s
2026-07-12 23:29:02 +09:00
kjh2064 bcb3b2ba6d fix(wbs): mark playwright score task non-ci reproducible
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 2m5s
2026-07-12 23:22:26 +09:00
kjh2064 59bd7af33d fix(wbs): mark factor parity task non-ci reproducible
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m42s
2026-07-12 23:18:57 +09:00
kjh2064 266adede77 fix(wbs): mark backfill task non-ci reproducible
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 15s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m40s
2026-07-12 23:15:51 +09:00
kjh2064 7ff226d622 fix(ci): verify upstream ci before deploy
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m39s
2026-07-12 23:12:33 +09:00
kjh2064 9df28ecaa2 fix(ci): block release on failed validator chain
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m44s
2026-07-12 23:04:59 +09:00
kjh2064 2701f7bba5 fix(ci): skip non-ci reproducible wbs tasks
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 14s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 21s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m46s
2026-07-12 23:00:35 +09:00
kjh2064 09ad1f64ab fix(ci): serialize release and deploy chain
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m42s
2026-07-12 22:58:43 +09:00
kjh2064 3c42eb402b fix(ci): make workflow lint runner-managed
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 21s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m46s
2026-07-12 22:52:52 +09:00
kjh2064 0f4e589cf1 fix(ci): guard wbs verdict coverage
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 8s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-12 22:51:13 +09:00
kjh2064 add83a2a8f fix(ci): add workflow lint harness
CI Workflow Lint / validate-ci-workflow-lint (push) Failing after 13s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 20s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m43s
2026-07-12 22:49:03 +09:00
kjh2064 7e0d3ad5b0 fix(ci): avoid postgres host port collision
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 15s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m41s
2026-07-12 22:45:54 +09:00
kjh2064 5bf24d4f66 Revert "fix(ci): harden deploy SSH verification"
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 12s
This reverts commit 9c01c60f7c.
2026-07-12 22:42:09 +09:00
kjh2064 9c01c60f7c fix(ci): harden deploy SSH verification
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 0s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 12s
2026-07-12 22:40:28 +09:00
kjh2064 0c37bfa13c fix(qe-m2-03): parse supported Npgsql keys only and ignore custom options gracefully
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 12s
2026-07-12 22:25:38 +09:00
kjh2064 db25edfd87 fix(qe-m2-03): normalize libpq-style options parameter to Search Path for Npgsql compatibility
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 12s
2026-07-12 22:23:36 +09:00
kjh2064 902dcd1dc8 feat(qe-m2-03): simplify Pg test connection and mark backfill as DONE
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 12s
2026-07-12 22:21:46 +09:00
kjh2064 ea9614be13 feat(qe-m3-05): complete scores frontend DOM verification E2E test and fix Gitea CI migration sequence
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 12s
2026-07-12 22:17:45 +09:00
kjh2064 3c22798e08 feat(qe-m3-04): refactor PipelineOrchestrator to compute steps 1-2 and mark 3-7 as STUBBED
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 0s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 12s
2026-07-12 22:08:48 +09:00
kjh2064 157f17ec52 feat(qe-m3-03): support jsonb casting in PostgresqlHistoryStore and implement database ingestion tests
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 0s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 12s
2026-07-12 22:03:53 +09:00
kjh2064 c67e116953 docs(constitution): add data-driven prediction principle to AGENTS.md
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 11s
2026-07-12 21:58:14 +09:00
kjh2064 f698880aaa build(harness): integrate TreatWarningsAsErrors into all csproj files and prioritize dotnet tests in CI
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 12s
2026-07-12 21:57:36 +09:00
kjh2064 a9d92dcfcc docs(constitution): formulate quant engineering philosophies and operational principles in AGENTS.md
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 12s
2026-07-12 21:56:01 +09:00
kjh2064 89d5842505 feat(qe-m3-02): implement C# FactorCalculator and xUnit parity tests for Momentum, ATR, StDev, and Beta
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 0s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 13s
2026-07-12 21:51:37 +09:00
kjh2064 b0c9776601 feat(qe-m3-01): implement GetBarsAsOf with lookahead bias prevention and complete unit tests
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 9s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
2026-07-12 21:46:38 +09:00
kjh2064 5589a0432b feat(collection): wire KIS collection end-to-end, add price-history pipeline (WBS QE-M0/M1/M2)
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 16s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 56s
Critical re-review of the QuantEngine WBS evidence system found several
regressions of the "no fake gates" discipline established by M0, plus a
still-unwired M1 collection path. This closes 10 more WBS tasks
(QE-M1-01..06, QE-M2-01/02/04/05/06 — see spec/60_quant_engine_wbs.yaml)
with real, gate-verified evidence (18/34 total).

M1 — real KIS data now lands in PostgreSQL end-to-end:
- SchedulerService: load ticker universe from GatherTradingData.json instead
  of a hardcoded array; fix a Hangfire scoped-service resolution bug.
- KisDataCollectionOrchestrator: restore logging on the lineage-event write
  path (was a bare `catch {}` swallowing all failures silently); persist
  daily OHLCV bars into quantengine.price_history_daily per run.
- Verified live: POST /api/collection/run -> Hangfire -> orchestrator ->
  KIS mock API -> PostgreSQL, with Playwright DOM/API parity evidence.

M2 — historical price-history pipeline:
- CollectionRepository: SavePriceHistoryDailyAsync (idempotent upsert),
  GetPriceHistorySummaryAsync (per-ticker aggregation) + a new
  DateOnlyTypeHandler registered globally, since Dapper has no built-in
  System.DateOnly support in either direction (write threw
  NotSupportedException, read threw a constructor-mismatch
  InvalidOperationException — found by exercising both paths live).
- tools/validate_price_history_integrity_v1.py: gap-freeness (vs KIS
  trading calendar) + price-sanity gate over collected history.
- Admin Collection page: new "히스토리 현황" summary table +
  GET /api/collection/history-summary, with Playwright evidence.

Governance/gate fixes:
- validate_market_time_series_schema_v1.py mislabeled its own output
  "runtime_database_query": "DATA_GATED" despite never opening a DB
  connection (pure file/regex check) — relabeled "check_scope":
  "STATIC_STRUCTURAL_ONLY" and wired the node into the release DAG so it
  isn't only reachable from ci.yml, matching every other validator.
  Live-data authority for the same claim stays with QE-M2-01's pg_query
  gate (spec/60), documented in spec/64.
- Fixed a WBS log_pattern check (QE-M1-06) that couldn't match its own
  multi-line target; loosened two depends_on edges (QE-M1-05/06,
  QE-M2-04/05) that encoded "needs X verified" when the real requirement
  was only "needs X's code merged."
- Discovered and fixed admin-pages.spec.ts logging in with the wrong
  seeded password (admin/admin instead of admin/quant123!, per CLAUDE.md)
  — every test in that suite had been silently failing at the login step.

Deferred: QE-M2-03 (2-year backfill) — the KIS mock/VTS token endpoint
started returning 403 after the first successful call this session; looks
like a token-issuance rate limit or credential issue on KIS's side, not a
code defect. Backfilling at scale right now would just generate more 403s,
so left QE-M2-03 PENDING pending KIS account/console verification.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-12 21:07:53 +09:00
kjh2064 f9a0ba3690 chore(spec): deprecate redundant schema-model generation layer
schemas/generated/(174) + src/quant_engine/models/generated/(347) duplicated
the existing runtime/python/core/formulas/generated/ formula-stub system with
a generic metadata wrapper carrying no real computation, validated only by a
file-count gate (validate_schema_model_generation_v1.py). Remove the
generator scripts, generated files, and CI/DAG wiring; keep
schemas/generated/gas_adapter_contract.schema.json, which serves an
unrelated GAS-adapter contract check.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-12 21:07:20 +09:00
kjh2064 2a46dd5503 docs(wbs): completely purge and replace all deprecated Blazor and MudBlazor references with Razor Pages and Tabler standards 2026-07-12 14:47:20 +09:00
kjh2064 c56dd7e35d docs(wbs): correct WBS-10.12 Blazor reference to Razor Pages E2E
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 22s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 1m54s
2026-07-12 14:44:07 +09:00
kjh2064 d2e9bbf9f0 docs(wbs): register WBS-8.11 and WBS-10.12 strategic pipeline cards
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 15s
Validators (Pushes and Pull Requests) / validate-core (push) Has been cancelled
2026-07-12 14:42:39 +09:00
kjh2064 6348550149 docs(wbs): register newly completed optimization tasks under WBS-7 section
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 19s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 1m46s
2026-07-12 14:38:59 +09:00
647 changed files with 9791 additions and 21198 deletions
+96 -16
View File
@@ -16,6 +16,18 @@ concurrency:
jobs:
validate-core:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16
env:
POSTGRES_USER: quantengine_ci
POSTGRES_PASSWORD: quantengine_ci
POSTGRES_DB: quantenginedb
options: >-
--health-cmd pg_isready
--health-interval 5s
--health-timeout 5s
--health-retries 10
steps:
- name: Checkout Code
@@ -41,10 +53,34 @@ jobs:
/usr/bin/python3 --version
/usr/bin/python3 -m pip --version
/usr/bin/python3 -m pip install --disable-pip-version-check --quiet \
--target "$PYTHON_DEPS" requests pyyaml openpyxl pytest
--target "$PYTHON_DEPS" requests pyyaml openpyxl pytest "psycopg[binary]"
export PYTHONPATH="$PYTHON_DEPS:${PYTHONPATH:-}"
echo "PYTHONPATH=$PYTHON_DEPS:${PYTHONPATH:-}" >> "$GITHUB_ENV"
/usr/bin/python3 -c 'import requests, yaml, openpyxl, pytest; print("Python dependencies: PASS")'
/usr/bin/python3 -c 'import requests, yaml, openpyxl, pytest, psycopg; print("Python dependencies: PASS")'
- name: Apply Database Migrations (CI Postgres service)
env:
PGPASSWORD: quantengine_ci
PGHOST: postgres
PGPORT: 5432
run: |
# QE-M2-01 등 스키마 존재만 확인하는 게이트는 실제 Postgres에 대해 재검증한다
# (2026-07-12: WBS 게이트가 마이그레이션 SQL만으로 스키마를 주장하지 않도록,
# ci.yml 전용 postgres 서비스 컨테이너에 실제 DbUp 마이그레이션을 순서대로 적용).
which psql || (sudo apt-get update -qq && sudo apt-get install -y -qq postgresql-client)
for f in $(ls src/dotnet/QuantEngine.Infrastructure/Migrations/V*.sql | sort -V); do
echo "=== Applying $f ==="
psql -U quantengine_ci -d quantenginedb -v ON_ERROR_STOP=1 -f "$f"
done
echo "QE_WBS_PG_DSN=host=postgres port=5432 dbname=quantenginedb user=quantengine_ci password=quantengine_ci options='-c search_path=quantengine'" >> "$GITHUB_ENV"
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- name: "[CRITICAL] Run .NET Unit Tests (Warnings as Errors)"
run: dotnet test src/dotnet/QuantEngine.Core.Tests/QuantEngine.Core.Tests.csproj -c Release --nologo -p:TreatWarningsAsErrors=true
- name: Install Node Dependencies
run: |
@@ -101,28 +137,72 @@ jobs:
- name: Validate Platform Transition WBS
run: python3 tools/validate_platform_transition_wbs_v1.py
- name: Validate Schema Model Generation
run: python3 tools/generate_schema_model_generation_evidence_v1.py && python3 tools/validate_schema_model_generation_v1.py
- name: Validate Market Time Series Schema
run: python3 tools/validate_market_time_series_schema_v1.py
- name: Generate DONE WBS Verdicts
run: |
for task in QE-M0-01 QE-M0-02 QE-M0-03 QE-M0-04 QE-M0-05 QE-M0-06; do
python3 tools/verify_wbs_task_v1.py --task "$task"
done
# DONE 작업 중 CI(ubuntu-latest, 위 postgres 서비스 컨테이너)에서 온디맨드로 재검증
# 가능한 것만 나열한다. 실제 KIS API/라이브 앱이 전제인 나머지 DONE 작업은
# spec/60의 execution.mode: not_ci_reproducible 로 별도 표시되어
# validate_quant_engine_wbs_v1.py 가 verdict 부재를 FAIL로 취급하지 않는다.
python3 - <<'PY'
from pathlib import Path
import subprocess
import sys
import yaml
root = Path.cwd()
spec = yaml.safe_load((root / "spec" / "60_quant_engine_wbs.yaml").read_text(encoding="utf-8"))
tasks = spec.get("tasks") or {}
for task_id, task in tasks.items():
if task.get("status") != "DONE":
continue
mode = ((task.get("execution") or {}).get("mode"))
if mode in {"not_ci_reproducible", "manual_user_action"}:
continue
result = subprocess.run(["python3", "tools/verify_wbs_task_v1.py", "--task", task_id], cwd=root)
if result.returncode != 0:
print(f"WARNING: verdict generation skipped for {task_id} (exit={result.returncode})")
PY
- name: Validate Quant Engine WBS
run: python3 tools/validate_quant_engine_wbs_v1.py
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- name: Validate Dotnet Migration Roadmap
run: python3 tools/validate_dotnet_migration_roadmap_v1.py
- name: Validate Dotnet Migration Execution Plan
run: python3 tools/validate_dotnet_migration_execution_plan_v1.py
- name: Validate Dotnet Parity Contract
run: python3 tools/validate_dotnet_parity_contract_v1.py
- name: Validate Dotnet Provenance Contract
run: python3 tools/validate_dotnet_provenance_contract_v1.py
- name: Validate Dotnet Scheduler Contract
run: python3 tools/validate_dotnet_scheduler_contract_v1.py
- name: Validate Dotnet Normalization Contract
run: python3 tools/validate_dotnet_normalization_contract_v1.py
- name: Validate Dotnet Idempotency Contract
run: python3 tools/validate_dotnet_idempotency_contract_v1.py
- name: Validate Dotnet CICD Chain Contract
run: python3 tools/validate_dotnet_cicd_chain_contract_v1.py
- name: Validate Dotnet Domain Parity Backlog
run: python3 tools/validate_dotnet_domain_parity_backlog_v1.py
- name: Validate Dotnet Read Model Contract
run: python3 tools/validate_dotnet_read_model_contract_v1.py
- name: Validate Dotnet Domain Parity Artifact
run: python3 tools/validate_dotnet_domain_parity_artifact_v1.py
- name: Run .NET Unit Tests
run: dotnet test src/dotnet/QuantEngine.Core.Tests/QuantEngine.Core.Tests.csproj -c Release --nologo
- name: Build Calibration Priority Backlog
run: python3 tools/build_calibration_priority_v1.py
@@ -181,10 +261,10 @@ jobs:
run: python3 tools/validate_replay_live_separation_v1.py
- name: Render Final Decision Packet V4
run: dotnet run --project src/dotnet/QuantEngine.Tools/QuantEngine.Tools.csproj -- packet-v4 --packet=Temp/final_decision_packet_active.json --out=Temp/final_decision_packet_v4.json
run: dotnet run --project src/dotnet/QuantEngine.Tools/QuantEngine.Tools.csproj -p:TreatWarningsAsErrors=true -- packet-v4 --packet=Temp/final_decision_packet_active.json --out=Temp/final_decision_packet_v4.json
- name: Render Operational Report
run: dotnet run --project src/dotnet/QuantEngine.Tools/QuantEngine.Tools.csproj -- report --packet=Temp/final_decision_packet_active.json --out=Temp/operational_report.json
run: dotnet run --project src/dotnet/QuantEngine.Tools/QuantEngine.Tools.csproj -p:TreatWarningsAsErrors=true -- report --packet=Temp/final_decision_packet_active.json --out=Temp/operational_report.json
- name: Validate Report Packet Sync
run: python3 tools/validate_report_packet_sync_v1.py --packet Temp/final_decision_packet_active.json --report Temp/operational_report.json | tee Temp/validate_report_packet_sync_v1.json
+38
View File
@@ -0,0 +1,38 @@
name: CI Workflow Lint
on:
pull_request:
branches: [ main ]
paths:
- ".gitea/workflows/ci.yml"
- "tools/validate_gitea_ci_workflow_lint_v1.py"
push:
branches: [ main ]
paths:
- ".gitea/workflows/ci.yml"
- "tools/validate_gitea_ci_workflow_lint_v1.py"
workflow_dispatch:
jobs:
validate-ci-workflow-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python Environment
run: |
/usr/bin/python3 --version
/usr/bin/python3 -m pip --version
PYTHON_DEPS="$HOME/python_deps/$(md5sum tools/validate_gitea_ci_workflow_lint_v1.py | cut -d' ' -f1)"
mkdir -p "$PYTHON_DEPS"
/usr/bin/python3 -m pip install --disable-pip-version-check --quiet \
--target "$PYTHON_DEPS" pyyaml
export PYTHONPATH="$PYTHON_DEPS:${PYTHONPATH:-}"
echo "PYTHONPATH=$PYTHON_DEPS:${PYTHONPATH:-}" >> "$GITHUB_ENV"
- name: Lint CI Workflow Contract
run: python3 tools/validate_gitea_ci_workflow_lint_v1.py --workflow .gitea/workflows/ci.yml
+154 -5
View File
@@ -1,9 +1,6 @@
name: Deploy to Production
on:
workflow_run:
workflows: ["Prepare Release"]
types: [completed]
workflow_dispatch:
inputs:
release:
@@ -12,7 +9,7 @@ on:
type: string
concurrency:
group: deploy-prod-main
group: deploy-prod-${{ github.sha }}
cancel-in-progress: false
env:
@@ -25,7 +22,7 @@ env:
jobs:
deploy:
name: Deploy to Production
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
timeout-minutes: 30
outputs:
@@ -92,6 +89,61 @@ jobs:
echo "✓ Artifact: $ARTIFACT"
echo "✓ Download URL: $DOWNLOAD_URL"
- name: Validate Release Chain
run: |
RELEASE_TAG="${{ steps.fetch.outputs.tag }}"
RELEASE_SHA="${RELEASE_TAG##*.}"
echo "✓ Workflow dispatch mode — release chain verification is manual"
echo " Selected release: $RELEASE_TAG"
echo " Extracted commit suffix: $RELEASE_SHA"
- name: Validate Upstream CI Success
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
REPO: ${{ env.REPO }}
EXPECTED_SHA: ${{ steps.fetch.outputs.commit }}
run: |
python3 - <<'PY'
import json
import os
import sys
import urllib.request
token = os.environ["GITEA_TOKEN"]
repo = os.environ["REPO"]
expected_sha = os.environ.get("EXPECTED_SHA", "")
if not expected_sha:
print("ERROR: missing expected release commit")
sys.exit(1)
matched_ci = None
for page in range(1, 6):
url = f"https://gitea.taxbaik.com/api/v1/repos/{repo}/actions/runs?limit=50&page={page}"
req = urllib.request.Request(url, headers={"Authorization": f"token {token}"})
with urllib.request.urlopen(req, timeout=30) as resp:
payload = json.load(resp)
for run in payload.get("workflow_runs", []):
path = str(run.get("path") or "")
if "ci.yml@" not in path:
continue
if run.get("status") != "completed" or run.get("conclusion") != "success":
continue
actual_sha = str(run.get("head_sha") or "")
if actual_sha != expected_sha:
continue
matched_ci = run
break
if matched_ci:
break
if not matched_ci:
print("ERROR: No successful ci.yml run found for the release SHA")
sys.exit(1)
print(f"✓ Upstream CI verified: {expected_sha} (run {matched_ci.get('id')})")
PY
- name: Download Release Artifact
run: |
ARTIFACT="${{ steps.fetch.outputs.artifact }}"
@@ -114,6 +166,103 @@ jobs:
echo "✓ Downloaded: $(du -sh $ARTIFACT)"
- name: Download Release Checksum
run: |
ARTIFACT="${{ steps.fetch.outputs.artifact }}"
TOKEN="${{ secrets.GITEA_TOKEN }}"
RELEASE_TAG="${{ steps.fetch.outputs.tag }}"
CHECKSUM_URL="https://gitea.taxbaik.com/api/v1/repos/${{ env.REPO }}/releases/tags/${RELEASE_TAG}"
RELEASE=$(curl -sf --connect-timeout 10 --max-time 30 -H "Authorization: token $TOKEN" "$CHECKSUM_URL")
CHECKSUM_DOWNLOAD_URL=$(echo "$RELEASE" | jq -r '.assets[] | select(.name == "'"${ARTIFACT}"'.sha256") | .browser_download_url')
if [ -z "$CHECKSUM_DOWNLOAD_URL" ] || [ "$CHECKSUM_DOWNLOAD_URL" = "null" ]; then
echo "ERROR: No checksum asset found for release $RELEASE_TAG"
exit 1
fi
curl -sfL --connect-timeout 10 --max-time 120 -H "Authorization: token $TOKEN" -o "${ARTIFACT}.sha256" "$CHECKSUM_DOWNLOAD_URL"
test -s "${ARTIFACT}.sha256" || { echo "ERROR: checksum file missing"; exit 1; }
echo "✓ Checksum downloaded"
- name: Download Release Manifest
run: |
ARTIFACT="${{ steps.fetch.outputs.artifact }}"
TOKEN="${{ secrets.GITEA_TOKEN }}"
RELEASE_TAG="${{ steps.fetch.outputs.tag }}"
MANIFEST_URL="https://gitea.taxbaik.com/api/v1/repos/${{ env.REPO }}/releases/tags/${RELEASE_TAG}"
RELEASE=$(curl -sf --connect-timeout 10 --max-time 30 -H "Authorization: token $TOKEN" "$MANIFEST_URL")
MANIFEST_DOWNLOAD_URL=$(echo "$RELEASE" | jq -r '.assets[] | select(.name == "'"${ARTIFACT}"'.manifest.json") | .browser_download_url')
if [ -z "$MANIFEST_DOWNLOAD_URL" ] || [ "$MANIFEST_DOWNLOAD_URL" = "null" ]; then
echo "ERROR: No manifest asset found for release $RELEASE_TAG"
exit 1
fi
curl -sfL --connect-timeout 10 --max-time 120 -H "Authorization: token $TOKEN" -o "${ARTIFACT}.manifest.json" "$MANIFEST_DOWNLOAD_URL"
test -s "${ARTIFACT}.manifest.json" || { echo "ERROR: manifest file missing"; exit 1; }
echo "✓ Manifest downloaded"
- name: Validate Release Checksum
run: |
ARTIFACT="${{ steps.fetch.outputs.artifact }}"
EXPECTED=$(cat "${ARTIFACT}.sha256" | tr -d '\r\n[:space:]')
ACTUAL=$(sha256sum "$ARTIFACT" | awk '{print $1}')
if [ "$EXPECTED" != "$ACTUAL" ]; then
echo "ERROR: Artifact checksum mismatch"
echo "Expected: $EXPECTED"
echo "Actual: $ACTUAL"
exit 1
fi
echo "✓ Artifact checksum verified"
- name: Validate Release Manifest
env:
ARTIFACT_NAME: ${{ steps.fetch.outputs.artifact }}
RELEASE_TAG: ${{ steps.fetch.outputs.tag }}
COMMIT_SHA: ${{ steps.fetch.outputs.commit }}
run: |
python3 - <<'PY'
import json
import hashlib
import os
import pathlib
import sys
artifact_name = os.environ["ARTIFACT_NAME"]
release_tag = os.environ["RELEASE_TAG"]
commit_sha = os.environ["COMMIT_SHA"]
artifact = pathlib.Path(artifact_name)
manifest_path = pathlib.Path(f"{artifact_name}.manifest.json")
if not manifest_path.exists():
print(f"ERROR: Manifest file not found: {manifest_path}")
sys.exit(1)
manifest = json.loads(manifest_path.read_text(encoding="utf-8"))
expected = {
"artifact": artifact.name,
"version": release_tag,
"commit": commit_sha,
}
for key, value in expected.items():
if manifest.get(key) != value:
print(f"ERROR: manifest {key} mismatch: {manifest.get(key)!r} != {value!r}")
sys.exit(1)
actual_sha = hashlib.sha256(artifact.read_bytes()).hexdigest()
if manifest.get("sha256") != actual_sha:
print("ERROR: manifest sha256 mismatch")
print(f"Expected: {manifest.get('sha256')}")
print(f"Actual: {actual_sha}")
sys.exit(1)
print("✓ Manifest verified")
PY
- name: Setup SSH
run: |
mkdir -p ~/.ssh
+69 -1
View File
@@ -14,12 +14,28 @@ on:
env:
DOTNET_VERSION: '10.0.x'
concurrency:
group: prepare-release-${{ github.event.workflow_run.head_sha || github.sha }}
cancel-in-progress: false
jobs:
upstream-gate:
name: Upstream Success Gate
runs-on: ubuntu-latest
steps:
- name: Fail Fast on Failed Validator Chain
run: |
if [ "${{ github.event_name }}" = "workflow_run" ] && [ "${{ github.event.workflow_run.conclusion }}" != "success" ]; then
echo "ERROR: Validators workflow did not succeed; release preparation is blocked."
exit 1
fi
build-and-release:
name: Build & Create Release
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
timeout-minutes: 30
needs: upstream-gate
outputs:
version: ${{ steps.metadata.outputs.version }}
commit: ${{ steps.metadata.outputs.commit }}
@@ -138,6 +154,38 @@ jobs:
echo "✓ Package: $(du -sh $ARTIFACT | cut -f1)"
file "$ARTIFACT"
- name: Generate Artifact Checksum
run: |
VERSION="${{ steps.metadata.outputs.version }}"
ARTIFACT="quantengine_${VERSION}.tar.gz"
sha256sum "$ARTIFACT" | awk '{print $1}' > "${ARTIFACT}.sha256"
echo "✓ Checksum created: ${ARTIFACT}.sha256"
cat "${ARTIFACT}.sha256"
- name: Generate Release Manifest
run: |
VERSION="${{ steps.metadata.outputs.version }}"
COMMIT="${{ steps.metadata.outputs.commit }}"
ARTIFACT="quantengine_${VERSION}.tar.gz"
CHECKSUM=$(cat "${ARTIFACT}.sha256")
python3 - <<PY
import json
import pathlib
payload = {
"version": "${VERSION}",
"commit": "${COMMIT}",
"artifact": "${ARTIFACT}",
"sha256": "${CHECKSUM}",
}
pathlib.Path("${ARTIFACT}.manifest.json").write_text(
json.dumps(payload, ensure_ascii=False, indent=2),
encoding="utf-8",
)
PY
echo "✓ Manifest created: ${ARTIFACT}.manifest.json"
cat "${ARTIFACT}.manifest.json"
- name: Create Git Tag
run: |
VERSION="${{ steps.metadata.outputs.version }}"
@@ -191,11 +239,31 @@ jobs:
echo "✓ Artifact attached: $ARTIFACT"
echo "Uploading checksum..."
curl -sf -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: multipart/form-data" \
-F "attachment=@${ARTIFACT}.sha256" \
"${API}/repos/${REPO}/releases/${RELEASE_ID}/assets?name=${ARTIFACT}.sha256" \
-o /dev/null
echo "✓ Checksum attached: ${ARTIFACT}.sha256"
echo "Uploading manifest..."
curl -sf -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: multipart/form-data" \
-F "attachment=@${ARTIFACT}.manifest.json" \
"${API}/repos/${REPO}/releases/${RELEASE_ID}/assets?name=${ARTIFACT}.manifest.json" \
-o /dev/null
echo "✓ Manifest attached: ${ARTIFACT}.manifest.json"
notification:
name: Release Notification
runs-on: ubuntu-latest
if: always()
needs: build-and-release
needs: [upstream-gate, build-and-release]
steps:
- name: Notify Release Ready
+40 -13
View File
@@ -83,17 +83,41 @@
- `tools/validate_platform_transition_wbs_v1.py`: `.gs → Python` and `xlsx → sqlite` WBS validator.
- `tools/validate_qualitative_sell_strategy_pipeline_v1.py`: qualitative sell validator.
- `tools/validate_gitea_secrets_contract_v1.py`: Gitea secrets validator.
- `tools/validate_gitea_ci_workflow_lint_v1.py`: CI workflow lint validator for recurring service-binding mistakes.
- `tools/validate_snapshot_admin_web_v1.py`: snapshot admin smoke validator.
- `tests/parity/test_price_qty_parity_v1.py`: price/qty parity.
- `tests/parity/test_score_parity_v1.py`: timing score parity.
- `tests/parity/test_routing_gate_parity_v1.py`: routing gate parity.
- `.gitea/workflows/qualitative_sell_strategy.yml`: qualitative sell strategy workflow.
- `.gitea/workflows/snapshot_admin.yml`: snapshot admin workflow and scheduled validation.
- `.gitea/workflows/ci_lint.yml`: CI workflow lint gate for `.gitea/workflows/ci.yml`.
- `docs/CLOUD_SERVER_SETUP.md`: 클라우드 서버(hz-prod-01, 178.104.200.7) 설정 하네스 가이드. 시놀로지 → 클라우드 마이그레이션 매핑 포함.
- `docs/GITEA_SECRETS_SETUP.md`: Gitea secrets setup and verification guide.
- `docs/GATHERTRADINGDATA_XLSX_OPERATING_RUNBOOK.md`: `GatherTradingData.xlsx` 보조 자산 런북.
- `docs/ROADMAP_WBS.md`: `.gs → Python``xlsx → sqlite` WBS.
- `docs/ROADMAP_WBS.md`의 WBS-8.2: `run_kis_data_collection_v1.py``validate_platform_transition_wbs_v1.py``validate_snapshot_admin_web_v1.py`.
- `docs/WBS_10_DOTNET_MIGRATION_ROADMAP.yaml`: `.NET 엔진 고도화` 상세 WBS와 각 WBS별 성공 데이터 가이드.
- `docs/WBS_10_DOTNET_MIGRATION_INVENTORY.yaml`: WBS-10 전환 우선순위용 실행 경로 인벤토리.
- `docs/WBS_10_DOTNET_MIGRATION_EXECUTION_PLAN.yaml`: WBS-10 착수용 실행 분해 계획.
- `docs/WBS_10_DOTNET_PARITY_CONTRACT.yaml`: WBS-10 핵심 계산기 parity 계약.
- `docs/WBS_10_DOTNET_PROVENANCE_CONTRACT.yaml`: WBS-10 provenance payload 표준 계약.
- `docs/WBS_10_DOTNET_SCHEDULER_CONTRACT.yaml`: WBS-10 scheduler state machine 계약.
- `docs/WBS_10_DOTNET_NORMALIZATION_CONTRACT.yaml`: WBS-10 normalization/read model 계약.
- `docs/WBS_10_DOTNET_IDEMPOTENCY_CONTRACT.yaml`: WBS-10 idempotency/lock 계약.
- `docs/WBS_10_DOTNET_CICD_CHAIN_CONTRACT.yaml`: WBS-10 CI/CD 순차 게이트 계약.
- `docs/WBS_10_DOTNET_DOMAIN_PARITY_BACKLOG.yaml`: WBS-10 domain parity backlog contract.
- `docs/WBS_10_DOTNET_READ_MODEL_CONTRACT.yaml`: WBS-10 read model contract.
- `tools/validate_dotnet_migration_roadmap_v1.py`: WBS-10 상세 로드맵 YAML validator.
- `tools/validate_dotnet_migration_execution_plan_v1.py`: WBS-10 실행 분해 계획 validator.
- `tools/validate_dotnet_parity_contract_v1.py`: WBS-10 parity 계약 validator.
- `tools/validate_dotnet_provenance_contract_v1.py`: WBS-10 provenance 계약 validator.
- `tools/validate_dotnet_scheduler_contract_v1.py`: WBS-10 scheduler 계약 validator.
- `tools/validate_dotnet_normalization_contract_v1.py`: WBS-10 normalization 계약 validator.
- `tools/validate_dotnet_idempotency_contract_v1.py`: WBS-10 idempotency 계약 validator.
- `tools/validate_dotnet_cicd_chain_contract_v1.py`: WBS-10 CI/CD chain 계약 validator.
- `tools/validate_dotnet_domain_parity_backlog_v1.py`: WBS-10 domain parity backlog validator.
- `tools/validate_dotnet_domain_parity_artifact_v1.py`: WBS-10 domain parity artifact validator.
- `tools/validate_dotnet_read_model_contract_v1.py`: WBS-10 read model validator.
- `Temp/snapshot_admin_approval_packet_v1.json`: snapshot admin approval packet export.
- `Temp/snapshot_admin_approval_packet_v1.md`: snapshot admin approval packet summary.
- `Temp/`: 실행 결과와 캐시. 라우팅 대상은 아니며 runtime consumer만 읽는다.
@@ -142,28 +166,31 @@
- 클라우드 서버(hz-prod-01)는 `/usr/bin/python3`를 사용하므로 `.gitea/workflows/ci.yml``python3` 유지
- **임시 파일 관리**: 개발/디버깅 목적의 모든 휘발성 임시 파일 및 로그는 반드시 `Temp/` 디렉토리 하위에서만 생성해야 하며, 루트나 다른 패키지 경로에 임시 파일을 만드는 것은 금지한다. 불가피하게 생성할 경우 반드시 접두사/접미사 규칙(`debug_*`, `tmp_*`, `mock_*`, `*_temp.*`)을 준수하여 `.gitignore`에 필터링되도록 한다.
## 5b. Blazor & API-First 개발 규칙 (TaxBaik 참조 모델 적용)
- **핵심 아키텍처 원칙**: Blazor WASM 개발은 **패턴화(Pattern), 템플릿화(Template), 컴포넌트화(Component), MVVM 패턴, API-First 아키텍처**를 최우선 가치로 준수한다.
- **렌더 모드 표준**: Blazor **Interactive WebAssembly** 를 기본 렌더 모드로 한다. InteractiveServer 는 사용하지 않으며, UI 컴포넌트는 **MudBlazor** 로 통일한다 (Fluent UI 는 폐기).
- **API-First 아키텍처 (MVVM + FastEndpoints)**:
- **백엔드(Server)**: 기존 컨트롤러 구조를 전면 배제하고, REPR(Request-Endpoint-Response) 패턴을 보장하는 **FastEndpoints** 프레임워크를 기반으로 백엔드 API 엔드포인트를 구현하여 단일 책임 원칙(SRP)을 준수한다.
- **프론트엔드(Client)**: Blazor WASM 클라이언트는 Razor 컴포넌트(View)와 상태/검증/로직을 갖춘 DTO 및 StateService(ViewModel) 구조의 **MVVM 패턴**을 지향하여 화면 바인딩 정합성을 극대화한다. UI 계층은 비즈니스 로직이나 DB에 직접 결합되지 않고, `IXxxBrowserClient` 또는 추상화된 HttpClient API 클라이언트를 통해서만 백엔드 API와 통신한다.
- **이중 토큰 인증 패턴**: Access Token(15분) 및 Refresh Token(7일) 이중 토큰 패턴을 적용하며, HttpClient 요청 시 401 Unauthorized를 가로채어 자동으로 localStorage의 Refresh Token으로 토큰을 자동 갱신 및 재시도하는 `TokenRefreshHandler` (DelegatingHandler) 구조를 준수한다.
- **실시간 알림 (SignalR)**: 실시간 알림 기능은 상태를 직접 동기화하는 용도가 아닌 단순 Event-driven 브로드캐스트 알림으로 설계하며, 클라이언트는 알림 수신 후 API 호출을 통해 최종 데이터를 검증 및 동기화한다.
## 5b. Razor Pages 개발 규칙 (Tabler 참조 모델 적용)
- **핵심 아키텍처 원칙**: 어드민 웹 개발은 ASP.NET Core Razor Pages 패턴 및 단일 책임 원칙(SRP)을 따르는 비즈니스 서비스 분리를 최우선 가치로 준수한다.
- **렌더 모드 표준**: 순수 서버 사이드 렌더링(SSR) 및 Razor 뷰 엔진을 활용하며, UI 디자인은 Tabler CSS/JS 프레임워크 표준에 맞추어 구현한다.
- **보안 및 CSRF 방어**: 모든 POST/CUD 액션 처리 시 안티포저리 토큰(`@Html.AntiForgeryToken()`) 유효성 검증을 필수로 수행하여 CSRF 공격을 전면 차단한다.
- **UI/UX 구현**:
- MudBlazor 컴포넌트(MudDataGrid Dense + Virtualize)를 사용하여 고밀도(행높이 32px 수준) 및 대량 데이터 성능을 보장한다.
- CRUD 생성 및 수정 작업 시 화면 플래시를 제거하기 위해 MudDialog 모달 대화상자 패턴을 사용하며, 삭제 작업에는 `ConfirmDialog` 등을 이용해 명시적 사용자 확인을 거친다.
- Tabler 기반 테이블 뷰와 모달 대화상자(Modal Dialog) 패턴을 일관되게 활용하여 CRUD 및 데이터 수정 저장을 플래시 없이 유연하게 연동한다.
- 상태 및 등급 구분에는 시각적 가시성을 위한 Status Color Chips(Success, Warning, Error)를 적용한다.
- **DTO 및 유효성 검증 규칙**: API 입력 모델 및 데이터 전송 객체(DTO) 유효성 검증 시 데이터 어노테이션(DTO Annotation) 방식을 기본적으로 사용하되, 복잡한 비즈니스 조건부 유효성 검증이나 데이터베이스 연동 유효성 검사 등 어노테이션만으로 부족한 영역은 **FluentValidation**을 상호 보완적으로 적용하여 유효성 규칙을 중앙 집중식으로 엄격히 관리한다.
- **엔지니어링 표준화 지침**:
- **표준화 & 컴포넌트화**: UI 요소와 재사용 가능한 비즈니스 코어는 컴포넌트 단위로 구조화하며, 파편화된 개별 커스텀 스타일이나 인라인 데이터 변환을 배제하고 MudBlazor 및 표준 헬퍼 클래스를 공통 활용한다.
- **정규화 & 비정규화**: DB 스키마 설계 시에는 정규화 모델을 준수하여 중복과 파편화를 방지하고, 화면 조회 성능이나 BFF 통합 렌더링을 위한 데이터 구조화 단계에서만 안전하게 비정규화된 DTO/뷰 모델을 빌드하여 전송한다.
- **표준화 & 컴포넌트화**: 공통 레이아웃(`_AdminLayout.cshtml`)과 부분 뷰(Partial View)를 적극적으로 분리/재사용하고, 파편화된 개별 스타일을 지양하여 Tabler 및 표준 유틸리티 클래스를 공통 활용한다.
- **데이터 정합성 & 리팩토링**: 모든 비즈니스 도메인의 상태 전이는 ACID 트랜잭션 단위 및 인프라 레이어의 일관성 제어 규칙을 보장하며, 복잡도가 과한 하드코딩 영역은 SRP(단일 책임 원칙) 및 인터페이스 기반 구조로 점진적 리팩토링한다.
- **파편화 & 바이브 코드 방지**: provenance(근거) 없는 암묵적 룰이나 감에 의존한 구조(Vibe Code)의 무분별한 탑재를 금지하고, 모든 상태 및 에러 코드는 코드북에 엄격히 등록된 정방형 정규 값만 할당한다.
- **하네스 & 테스트 안정성**: 모든 패치는 `Temp/` 및 하네스 테스트 스위트의 빌드 및 통과 로그를 통해 데이터로 증빙한다. 하네스 실패 시 빌드 승격을 전면 차단한다.
- **비즈니스 로직 단순화**: 다차원 중첩 조건이나 연쇄 트리거를 제거하고 선형 구조(Waterfall, Sequence)의 단순 프로세스 플로우로 구현하여 추적 가능성을 극대화한다.
- **코드 및 다국어 규칙**: 모든 관리자 UI 레이블, 폼, 오류 메시지는 한국어로 작성하며, 소스 코드 주석 및 내부 예외 메시지는 영어 작성을 허용한다. 클래스, 메서드, 프로퍼티는 `PascalCase`를 사용하고 비동기 메서드에는 `Async` 접미사를 지정한다.
## 5c. 퀀트 엔진 엔지니어링 철학 및 구현 원칙 (Operational Philosophy)
- **SOLID & 컴포넌트화(Componentization) & 정공법**: 모든 C#/.NET 코드 작성 시 SOLID 원칙을 준수한다. 각 모듈은 단일 책임 원칙(SRP)을 가지며, 인터페이스와 비즈니스 서비스 레이어로 철저히 **컴포넌트화**하여 결합도를 낮추는 **정공법** 아키텍처를 고수한다.
- **데이터 정합성 & 정규화/역정규화**: 데이터 모델링 시 정합성 유지를 위해 관계형 데이터베이스의 **정규화**를 최우선으로 하며, 성능 최적화가 필수적인 어드민 조회 그리드용 데이터 전달(BFF/DTO) 시에만 제한적으로 안전하게 **역정규화**된 뷰 모델을 허용한다.
- **과유불급 & 프로세스 단순화**: 복잡한 중첩 트리거와 과도한 추상화(Over-engineering)를 경계하는 **과유불급** 원칙을 따른다. 비즈니스 흐름은 최대한 선형적이고 명시적인 프로세스로 단순화하여 디버깅 및 추적 가시성을 극대화한다.
- **바이브코딩(Vibe Coding) & 할루시네이션(Hallucination) 방지**: 퀀트 엔진 개발 시 LLM이나 인간 개발자의 주관적인 감(Vibe)과 추측에 의존한 임의의 상수 지정 또는 팩터 수식 재구성을 엄격히 금지한다. 모든 공식 및 의사결정 규칙은 `spec/*.yaml` 명세에 따라 철저히 **데이터 기반(Data-Driven)**으로 유도하고 테스트 코드로 실증한다.
- **단순 추측이 아닌 데이터 기반 예측**: 퀀트 모델의 모든 예측(알파, 리스크, 목표 가격 등)은 개발자의 직관이나 단순 추측이 아닌, 과거 시계열 통계 데이터 및 재현 가능한 백필 데이터를 근거로 설계한다. 모델 성능 평가는 E2E 테스트 하네스에서 산출된 정합성 결과와 백테스팅 실증 로그 등 철저히 데이터에 기반하여 의사결정을 수행한다.
- **최적 알고리즘 & 게임이론**: 슬리피지 최소화 및 레짐(시장국면) 적응형 포지션 사이징 처리 시, 호가 갭 스프레드 분석과 동적 캘리브레이션을 포함하는 **최적 알고리즘**을 활용하며, 시장 참여자 간의 호가 유동성 경쟁 속에서 불리한 주문이 실행되지 않도록 체결 우선순위 Waterfall 모델(게임이론적 리스크 가드)을 장착한다.
- **현장감 & 기술 부채**: 빌드 경고 및 사용되지 않는 쓰레기 코드를 즉각적으로 해결하여 **기술 부채**의 누적을 원천 차단한다. 실제 OpenAPI 응답 레이턴시, 스레드 병목 현상 및 어드민 DB 현황 조회 시 발생하는 트래픽을 로컬 및 E2E 실증 데이터로 직접 모니터링하여 **현장감** 있는 실전 최적화를 구현한다.
- **패턴화 & 표준화 & 구조화**: 명명 규칙, 디자인 패턴(예: Repository, Factory 등) 및 뷰 엔진 레이아웃은 합의된 양식을 엄격히 준수하도록 **표준화**하고, 핵심 퀀트 리팩토링 단계마다 빌드 무결성을 보증하도록 아키텍처를 **구조화**한다.
## 6. 검증 규칙
- `python tools/validate_specs.py`
- `python tools/validate_golden_coverage_100.py`
+113 -14
View File
@@ -24,10 +24,10 @@
모든 작업은 아래 7가지 증빙이 함께 충족되고, 하네스 검증을 통과할 때만 완료로 본다.
- **MudBlazor 9 UI 표준 준수**: 모든 UI 컴포넌트 개발 시 **MudBlazor 9.0.0 버전** 표준 및 Interactive WebAssembly를 렌더 모드로 강제한다. Fluent UI 및 구버전(8.x 이하) 요소와의 혼용을 엄격히 배제한다.
- **Tabler UI 표준 준수**: 모든 UI 개발 시 **Tabler CSS/JS** 표준 및 ASP.NET Core Razor Pages를 기본 렌더 모드로 한다. 타 프레임워크와의 혼용을 엄격히 배제한다.
- **컴파일/빌드 완료**: 빌드 시 컴파일 에러 및 **컴파일 경고(Warning)가 0개**여야 한다.
- **DTO 및 유효성 검증 규칙**: API 입력 모델 및 DTO 유효성 검증 시 **데이터 어노테이션(Data Annotation) 방식을 기본적으로 사용**하되, 복잡한 비즈니스 조건부 유효성 검증 등 어노테이션만으로 부족한 영역은 **FluentValidation을 상호 보완적으로 적용**하여 규칙을 중앙 집중식으로 엄격히 관리해야 한다.
- **MVVM 패턴**: Blazor 화면 바인딩 정합성을 극대화하기 위해 Razor 컴포넌트(View)와 상태/검증/로직을 갖춘 DTO 및 StateService(ViewModel) 구조의 **MVVM 패턴을 철저히 지향**해야 한다.
- **Razor Pages 패턴**: ASP.NET Core Razor Pages 표준 아키텍처에 맞게, `.cshtml` 뷰와 비즈니스 서비스 계층을 완벽히 분리하고 안티포저리 토큰(CSRF 방어) 유효성 검증을 필수로 수행해야 한다.
- **Playwright E2E 하네스 검증**: 사용자 입장에서 시나리오에 따라 서비스를 직접 호출(Playwright 실행)하여, 실제 반환된 DOM 값과 화면 캡처 결과가 예측한 데이터/화면과 완벽히 일치하여 데이터로 증빙되어야 성공으로 판정한다.
- **병렬 테스트 및 인증 키 공유**: CI 테스트 및 로컬 테스트 수행 시 선후관계(순차 종속성)로 인해 병목이 생기지 않도록, 인증 완료 후의 인증 키(Cookie, Bearer Token 등)를 테스트 간 상호 공유 및 재사용(storageState 등)하도록 구성하여 **반드시 병렬(Parallel) 작업**으로 실행되어야 한다.
- `YAML` 증빙: 관련 contract/spec/governance 문서가 일관되게 갱신되어야 한다.
@@ -170,7 +170,7 @@ Phase 10 ░░░░░░░░░░░░░░░░░░░░ C#/.NET
| **P5 완전 자동화** | ~2026-12 | CI/CD + Gitea, 자율 실행 | 수동 개입 0회/주 |
| **P6 비기계적 매도전략** | 2026-06 완료 | 5팩터 confluence 엔진, KIS 조회연동, SQLite 자체평가 | WBS-6 본문 하네스 PASS (잔류위험은 P7에서 해소) |
| **P7 보완·고도화** | ~2026-08 | 캘리브레이션 실증 전환, GAS 마이그레이션 완결, deprecated 정리, E2E 통합테스트 | WBS-7.1~7.8 하네스 전부 PASS |
| **P10 .NET 엔진 고도화** | ~2026-12 | C# Domain Parity, 테스트 100+건, Application 서비스, Blazor 대시보드, 보안 경화 | `dotnet test` 전체 PASS + parity JSON gate PASS |
| **P10 .NET 엔진 고도화** | ~2026-12 | C# Domain Parity, 테스트 100+건, Application 서비스, Razor Pages 어드민 대시보드, 보안 경화 | `dotnet test` 전체 PASS + parity JSON gate PASS |
---
@@ -1097,6 +1097,56 @@ LLM이 런타임에 이런 stale spec을 사실로 읽으면 할루시네이션
---
#### WBS-7.12 작업 관리 수동 즉시 실행 경로 교정
| 항목 | 내용 |
|------|------|
| **작업** | 어드민 페이지(Operations)의 "즉시 실행" 기능이 동작하도록 explicit 폼 핸들러 액션 매핑 적용 |
| **담당 파일** | `src/dotnet/QuantEngine.Web/Pages/Admin/Operations/Index.cshtml` |
| **상태** | ✅ 완료 (2026-07-12) |
---
#### WBS-7.13 Hangfire 작업 수행 시간(TotalDuration) 연동
| 항목 | 내용 |
|------|------|
| **작업** | 최근 작업 실행 목록에서 소요 시간이 0.0s로 고정 출력되던 버그를 SucceededJobDto.TotalDuration 및 StartedAt 연산으로 수정 |
| **담당 파일** | `src/dotnet/QuantEngine.Web/Pages/Admin/Operations/Index.cshtml.cs` |
| **상태** | ✅ 완료 (2026-07-12) |
---
#### WBS-7.14 KIS OpenAPI Rate Limit Throttling (SemaphoreSlim) 탑재
| 항목 | 내용 |
|------|------|
| **작업** | KIS API 호출 시 동시성 충돌 및 초당 횟수 초과 에러 방지를 위해 실전(150ms)/모의(400ms) 지연 락 추가 |
| **담당 파일** | `src/dotnet/QuantEngine.Infrastructure/Services/KisApiClient.cs` |
| **상태** | ✅ 완료 (2026-07-12) |
---
#### WBS-7.15 Gitea CI/CD 배포 워크플로 체인 직렬화
| 항목 | 내용 |
|------|------|
| **작업** | 배포 선후 관계 꼬임 방지를 위해 CI (Validators) ➡ Prepare Release ➡ Deploy-Prod 순차적 실행 연결 |
| **담당 파일** | `.gitea/workflows/prepare-release.yml`, `.gitea/workflows/deploy-prod.yml` |
| **상태** | ✅ 완료 (2026-07-12) |
---
#### WBS-7.16 배포 버전 및 version.txt 동적 런타임 맵핑
| 항목 | 내용 |
|------|------|
| **작업** | 빌드 시점에 version.txt를 함께 인쇄하고 C# 런타임이 이를 동적 조회하도록 교정하여 버저닝 오차 해결 |
| **담당 파일** | `src/dotnet/QuantEngine.Web/Pages/Account/Login.cshtml.cs`, `src/dotnet/QuantEngine.Web/Pages/Admin/Dashboard/Index.cshtml.cs`, `.gitea/workflows/prepare-release.yml` |
| **상태** | ✅ 완료 (2026-07-12) |
---
### WBS-8: 실증 전환 & 운영 정규화 (Phase 8, 2026-07~09)
> WBS-7 구조적 경화 완료 후, 실거래 데이터 누적을 통한 이론적 임계값의 실증적 검증 및 운영 안정화.
@@ -1248,6 +1298,17 @@ LLM이 런타임에 이런 stale spec을 사실로 읽으면 할루시네이션
---
#### WBS-8.11 과거 데이터 Replay 기반 캘리브레이션 트랙
| 항목 | 내용 |
|------|------|
| **작업** | 실거래 T+20 결과 30건 적재 대기 시간 동안, 과거 1년치 역사적 데이터를 SQLite/Postgresql 로부터 가져와 시뮬레이션 기반으로 ALPHA_CALIBRATION_V2 보정 알고리즘을 1차 검증 및 검정하는 피드백 파이프라인 개발 |
| **담당 파일** | `tools/build_replay_calibration_v1.py` (신규), `spec/calibration_registry.yaml` |
| **성공 기준** | 모의 캘리브레이션 실행 후 최적 가중치 업데이트가 calibration_registry.yaml 에 갱신 적용되는지 테스트 |
| **상태** | ⏳ 대기 (구조 설계 중) |
---
### WBS-9: 성능 최적화 & 엔터프라이즈 안정화 (Phase 9, 2026-08~10)
> WBS-8의 실증 검증 완료 후, 성능 최적화와 운영 안정성을 극대화하는 단계.
@@ -1403,8 +1464,22 @@ WBS-8.8 (KIS 리팩터) — 독립적 (원격 병행)
> **📌 보강 문서(2026-06-30):** 본 WBS-10 의 다수 항목이 `완료` 표기되어 있으나 실측 결과 일부 괴리(10.6 파이프라인·10.9 보안 실질 미완성)가 확인되었다. 마이그레이션 완성 우선 + 상용화 잔여 작업의 재정의는 [WBS_10_DOTNET_MIGRATION_HARDENING_2026_06_30.md](./WBS_10_DOTNET_MIGRATION_HARDENING_2026_06_30.md) 참조.
> 상세 작업 가이드(YAML): [WBS_10_DOTNET_MIGRATION_ROADMAP.yaml](./WBS_10_DOTNET_MIGRATION_ROADMAP.yaml)
> 실행 경로 인벤토리: [WBS_10_DOTNET_MIGRATION_INVENTORY.yaml](./WBS_10_DOTNET_MIGRATION_INVENTORY.yaml)
> 실행 분해 계획: [WBS_10_DOTNET_MIGRATION_EXECUTION_PLAN.yaml](./WBS_10_DOTNET_MIGRATION_EXECUTION_PLAN.yaml)
> 실행 분해 검증기: `tools/validate_dotnet_migration_execution_plan_v1.py`
> parity 계약: [WBS_10_DOTNET_PARITY_CONTRACT.yaml](./WBS_10_DOTNET_PARITY_CONTRACT.yaml)
> provenance 계약: [WBS_10_DOTNET_PROVENANCE_CONTRACT.yaml](./WBS_10_DOTNET_PROVENANCE_CONTRACT.yaml)
> scheduler contract: [WBS_10_DOTNET_SCHEDULER_CONTRACT.yaml](./WBS_10_DOTNET_SCHEDULER_CONTRACT.yaml)
> normalization contract: [WBS_10_DOTNET_NORMALIZATION_CONTRACT.yaml](./WBS_10_DOTNET_NORMALIZATION_CONTRACT.yaml)
> idempotency contract: [WBS_10_DOTNET_IDEMPOTENCY_CONTRACT.yaml](./WBS_10_DOTNET_IDEMPOTENCY_CONTRACT.yaml)
> ci/cd chain contract: [WBS_10_DOTNET_CICD_CHAIN_CONTRACT.yaml](./WBS_10_DOTNET_CICD_CHAIN_CONTRACT.yaml)
> domain parity backlog: [WBS_10_DOTNET_DOMAIN_PARITY_BACKLOG.yaml](./WBS_10_DOTNET_DOMAIN_PARITY_BACKLOG.yaml)
> read model contract: [WBS_10_DOTNET_READ_MODEL_CONTRACT.yaml](./WBS_10_DOTNET_READ_MODEL_CONTRACT.yaml)
> domain parity artifact validator: `tools/validate_dotnet_domain_parity_artifact_v1.py`
> 현황 진단(2026-06-26): .NET 프로젝트는 Python 엔진(41 모듈, 14,500 LOC) 대비 5~10%(~1,400 LOC) 수준.
> Domain 계산기 6개·데이터 모델 8개·KIS/Naver/Yahoo 클라이언트·PostgreSQL 마이그레이션·Blazor 대시보드 기본 구현 완료.
> Domain 계산기 6개·데이터 모델 8개·KIS/Naver/Yahoo 클라이언트·PostgreSQL 마이그레이션·Razor Pages 어드민 대시보드 기본 구현 완료.
> **미구현**: Application 서비스 일부, 공식 엔진, 하네스 주입, 파이프라인 오케스트레이터.
> **발견된 결함 5건**: D1) Tests.csproj Core ProjectReference 누락, D2) Tests sln 미등록, D3) appsettings.json 비밀번호 하드코딩, D4) NU1510 불필요 패키지, D5) Class1.cs placeholder 2개.
@@ -1420,7 +1495,7 @@ WBS-10.1 (기반 결함 수정)
├──→ WBS-10.7 (Application 서비스)
│ └──→ WBS-10.8 (데이터 수집 오케스트레이터)
├──→ WBS-10.9 (보안 강화)
└──→ WBS-10.10 (Blazor 대시보드 고도화)
└──→ WBS-10.10 (Razor Pages 어드민 대시보드 고도화)
```
---
@@ -1659,11 +1734,11 @@ WBS-10.1 (기반 결함 수정)
---
#### WBS-10.10 Blazor 대시보드 고도화
#### WBS-10.10 Razor Pages 어드민 대시보드 고도화
| 항목 | 내용 |
|------|------|
| **작업** | Python snapshot_admin_server_v1.py의 편집/조회 기능을 Blazor SSR로 확장. 기본 템플릿 페이지 제거 |
| **작업** | Python snapshot_admin_server_v1.py의 편집/조회 기능을 Razor Pages 뷰 및 핸들러로 구현. 기본 템플릿 페이지 제거 |
| **현재 상태** | `Dashboard.razor`는 데이터 비의존형 상태표시로 단순화되었고, `Operations.razor``Temp/operational_report.json` 고정 렌더 경로를 제공하며, Counter/Weather 기본 페이지는 삭제됨. 공개 배포본은 아직 이전 빌드가 남아 있을 수 있으므로 CI/CD 동기화가 필요함 |
| **담당 파일** | `src/dotnet/QuantEngine.Web/Components/Pages/Dashboard.razor`, `Operations.razor`, `NavMenu.razor` |
| **상태** | 완료 |
@@ -1686,28 +1761,39 @@ WBS-10.1 (기반 결함 수정)
---
#### WBS-10.11 Blazor 및 API-First 개발 가이드라인 수립
#### WBS-10.11 Razor Pages 개발 가이드라인 수립
| 항목 | 내용 |
|------|------|
| **작업** | [Temp/CLAUDE.md](file:///C:/Temp/data_feed/Temp/CLAUDE.md)의 API-First 아키텍처, 이중 토큰 인증, SignalR, MudBlazor UX 패턴Blazor 관련 핵심 개발 지침을 [AGENTS.md](file:///C:/Temp/data_feed/AGENTS.md)에 차용/반영 |
| **작업** | [Temp/CLAUDE.md](file:///C:/Temp/data_feed/Temp/CLAUDE.md)의 API-First 아키텍처, 이중 토큰 인증, SignalR, Tabler UX 및 CSRF 방어Razor Pages 관련 핵심 개발 지침을 [AGENTS.md](file:///C:/Temp/data_feed/AGENTS.md)에 차용/반영 |
| **현재 상태** | [Temp/CLAUDE.md](file:///C:/Temp/data_feed/Temp/CLAUDE.md) 분석 후 [AGENTS.md](file:///C:/Temp/data_feed/AGENTS.md)의 Section 5b로 이식 완료 |
| **담당 파일** | [docs/ROADMAP_WBS.md](file:///C:/Temp/data_feed/docs/ROADMAP_WBS.md), [AGENTS.md](file:///C:/Temp/data_feed/AGENTS.md) |
| **상태** | 완료 |
| 세부 WBS | 작업 | 성공 판단 데이터 |
|----------|------|------------------|
| 10.11.1 | CLAUDE.md의 Blazor 참조 지침 핵심사항 추출 및 공식화 | [Temp/CLAUDE.md](file:///C:/Temp/data_feed/Temp/CLAUDE.md) 분석 내역 도출 |
| 10.11.2 | AGENTS.md에 Blazor 개발 규칙 5b 섹션 신설 및 적용 | [AGENTS.md](file:///C:/Temp/data_feed/AGENTS.md) 내 5b 섹션 코드 삽입 완료 |
| 10.11.1 | CLAUDE.md 및 실제 적용된 Razor Pages 지침 핵심사항 추출 및 공식화 | [Temp/CLAUDE.md](file:///C:/Temp/data_feed/Temp/CLAUDE.md) 분석 내역 도출 |
| 10.11.2 | AGENTS.md에 Razor Pages 개발 규칙 5b 섹션 신설 및 적용 | [AGENTS.md](file:///C:/Temp/data_feed/AGENTS.md) 내 5b 섹션 코드 삽입 완료 |
| 10.11.3 | 스펙 검증 스크립트 실행을 통한 구성 유효성 검증 | `validate_specs.py` 무오류 통과 |
**성공 하네스 (데이터 기준)**:
```
검증: python tools/validate_specs.py → EXIT 0
검증: C:\Temp\data_feed\AGENTS.md 내에 '5b. Blazor & API-First 개발 규칙' 및 'IXxxBrowserClient', 'TokenRefreshHandler' 키워드 존재
검증: C:\Temp\data_feed\AGENTS.md 내에 '5b. Razor Pages 개발 규칙' 및 'IXxxBrowserClient', 'TokenRefreshHandler' 키워드 존재
```
---
#### WBS-10.12 Playwright 기반 Razor Pages 어드민 UI E2E 자동화
| 항목 | 내용 |
|------|------|
| **작업** | 대시보드 로그인, 데이터 수집 상세 조회, DB 테이블 변경 및 저장 폼 제출 등 핵심 UI 시나리오에 대해 Playwright를 이용한 무인 검증 스크립트 작성 및 CI 파이프라인 탑재 |
| **담당 파일** | `tests/e2e/RazorPagesSmokeTests.cs` (신규), `.gitea/workflows/ci.yml` |
| **성공 기준** | CI 파이프라인 실행 시 Playwright 테스트 스위트가 에러 없이 모두 PASS 완료 |
| **상태** | ⏳ 대기 (구조 설계 중) |
---
## 3. 완성도 로드맵 매트릭스
| WBS | 우선순위 | 난이도 | 선행조건 | 예상 기간 | 현재 완성도 |
@@ -1755,8 +1841,8 @@ WBS-10.1 (기반 결함 수정)
| 10.7 Application 서비스 | 🟠 High | 중간 | 10.1 | 3시간 | 0% |
| 10.8 데이터 수집 오케스트레이터 | 🟡 Medium | 중간 | 10.7 | 4시간 | 0% |
| 10.9 보안 강화 | 🟠 High | 낮음 | 10.1 | 1시간 | 0% |
| 10.10 Blazor 대시보드 고도화 | 🟡 Medium | 중간 | 10.7 | 4시간 | 0% |
| 10.11 Blazor 개발 지침 차용 | 🟢 Low | 낮음 | 없음 | 1시간 | **100%** ✅ (2026-06-29) |
| 10.10 Razor Pages 어드민 대시보드 고도화 | 🟡 Medium | 중간 | 10.7 | 4시간 | 0% |
| 10.11 Razor Pages 개발 지침 수립 | 🟢 Low | 낮음 | 없음 | 1시간 | **100%** ✅ (2026-06-29) |
---
@@ -2285,3 +2371,16 @@ python tools/validate_snapshot_admin_web_v1.py
완료 판정 원칙: 작업은 게이트 실행(PASS)으로만 `DONE` 이 될 수 있다.
BE = PostgreSQL 쿼리 + Serilog 로그 패턴 + JSON 아티팩트, FE = Playwright(DOM assert + API 기대값 대조 + 스크린샷).
### 폐기: schemas/generated/ + src/quant_engine/models/generated/ (2026-07-12, QE-M0-07)
`schemas/generated/*.schema.json`(174) + `src/quant_engine/models/generated/*.py`(347)로
구성된 스키마-모델 생성 레이어를 **폐기**했다. 기존 `runtime/python/core/formulas/generated/`
(172개 stub)와 동일한 목적(공식 메타데이터 서술)을 범용 wrapper로 중복 구현했을 뿐 실질
계산 로직이 전혀 없었고, 검증도 `validate_schema_model_generation_v1.py`가 파일 개수만
세는 가짜 게이트였다(QUANT_ENGINE_WBS_V1 재검토에서 발견). CI 시간만 늘리고 기능적
이득이 없어 삭제. `tools/generate_schema_model_generation_evidence_v1.py`,
`tools/validate_schema_model_generation_v1.py`, `src/quant_engine/generate_models_from_schema.py`
및 ci.yml/`spec/41_release_dag.yaml`의 관련 스텝·노드도 함께 제거했다.
`schemas/generated/gas_adapter_contract.schema.json`은 별개 목적(GAS 어댑터 계약 검증,
`validate_gas_adapter_contract_v1.py`)으로 쓰이므로 보존.
@@ -0,0 +1,48 @@
formula_id: WBS_10_DOTNET_CICD_CHAIN_CONTRACT_V1
owner: QuantEngine
status: draft
goal: "CI, prepare-release, deploy-prod 순차 게이트를 고정한다."
workflows:
ci:
file: .gitea/workflows/ci.yml
name: "Validators (Pushes and Pull Requests)"
triggers:
- push: main
- pull_request: main
role: "upstream validator"
prepare_release:
file: .gitea/workflows/prepare-release.yml
name: "Prepare Release"
triggers:
- workflow_run: Validators (Pushes and Pull Requests)
- workflow_dispatch
role: "release builder"
upstream_gate: "Validators (Pushes and Pull Requests) success"
deploy_prod:
file: .gitea/workflows/deploy-prod.yml
name: "Deploy to Production"
triggers:
- workflow_run: Prepare Release
- workflow_dispatch
role: "production deployer"
upstream_gate: "Prepare Release success"
dependency_chain:
- "Validators (Pushes and Pull Requests) -> Prepare Release -> Deploy to Production"
required_guards:
- "prepare-release는 Validators 성공 없이는 실행 금지"
- "deploy-prod는 Prepare Release 성공 없이는 실행 금지"
- "deploy-prod는 upstream CI SHA를 release tag와 대조"
- "모든 단계는 concurrency group을 사용해 동일 SHA 중복 실행을 차단"
health_checks:
- "upstream workflow conclusion == success"
- "release tag sha matches workflow_run head_sha"
- "artifact 존재 확인"
- "SSH/Gitea secret 존재 확인"
notes:
- "순차 게이트는 workflow_run 연결과 검증 스텝 둘 다 필요하다."
- "병렬 실행은 금지된다."
@@ -0,0 +1,50 @@
formula_id: WBS_10_DOTNET_DOMAIN_PARITY_BACKLOG_V1
owner: QuantEngine
status: draft
goal: "핵심 계산기 parity 대상과 우선순위를 고정한다."
coverage_min: 1.0
tolerance_policy:
numeric_default: 0
text_default: exact
factor_calculator_numeric: 0.000001
exit_stop_price_numeric: 0.0001
parity_targets:
- target_id: formula_engine_timing
source: src/dotnet/QuantEngine.Core/Domain/FormulaEngine.cs
priority: 1
reason: "timing decision은 downstream routing의 선행 게이트"
- target_id: formula_engine_sell
source: src/dotnet/QuantEngine.Core/Domain/FormulaEngine.cs
priority: 2
reason: "sell ratio/action은 실행 표 생성의 핵심"
- target_id: formula_engine_final
source: src/dotnet/QuantEngine.Core/Domain/FormulaEngine.cs
priority: 3
reason: "final decision은 보고/배포의 최종 산출"
- target_id: exit_stop_price
source: src/dotnet/QuantEngine.Core/Domain/ExitDecisions.cs
priority: 4
reason: "손절가 절대값 일치가 필요"
- target_id: exit_stop_ladder
source: src/dotnet/QuantEngine.Core/Domain/ExitDecisions.cs
priority: 5
reason: "워터폴 선형 처리 검증"
- target_id: exit_heat_thresholds
source: src/dotnet/QuantEngine.Core/Domain/ExitDecisions.cs
priority: 6
reason: "동적 열감 임계값 일치"
- target_id: factor_calculator
source: src/dotnet/QuantEngine.Core/Domain/FactorCalculator.cs
priority: 7
reason: "정규화된 입력 순서에서 deterministic output 보장"
coverage_rule:
- "priority 1..7 모두 존재해야 한다"
- "tolerance_policy는 숫자/텍스트 기본값을 정의해야 한다"
- "새 parity target은 reference fixture와 함께만 추가한다"
notes:
- "parity는 기능 추가가 아니라 회귀 차단 장치다."
- "수치 재계산은 reference fixture 외에서 하지 않는다."
@@ -0,0 +1,53 @@
formula_id: WBS_10_DOTNET_IDEMPOTENCY_CONTRACT_V1
owner: QuantEngine
status: draft
goal: "중복 실행 방지, lock/lease 정책, 재시도 경계를 표준화한다."
lock_domain:
canonical_table: quantengine.workspace_lock
fields:
- domain
- target_ref
- locked_by
- reason
- locked_at
invariant:
- "같은 domain + target_ref 조합은 동시에 하나만 존재"
- "잠금 해제는 동일 domain + target_ref 로만 수행"
- "잠금 없는 실행은 retryable 작업으로 취급하지 않는다"
idempotency_key:
required: true
pattern: "{job_id}:{resource_key}:{run_scope}"
scope_examples:
- "daily-collection:collection:yyyyMMdd"
- "hourly-price-update:ticker:yyyyMMddHH"
- "weekly-report:report:yyyy-'W'ww"
- "monthly-optimization:optimization:yyyy-MM"
lease_policy:
required: true
fields:
- lease_owner
- timeout_policy
- retry_policy
retry_policy:
max_attempts: 3
backoff: exponential
retryable_errors:
- transient network failure
- upstream timeout
- deadlock detected
non_retryable_errors:
- validation failure
- contract failure
- missing configuration
duplicate_execution_guards:
- "동일 job_id/resource_key/run_scope 중복 호출 금지"
- "동일 lock_domain이 점유 중이면 새 실행은 blocked"
- "중복 실행이 발생하면 audit는 남기되 write path는 재진입 금지"
notes:
- "idempotency는 hash 추정이 아니라 명시된 key 조합만 사용한다."
- "lock은 수동 승인 워크플로와 동일한 canonical table을 사용한다."
@@ -0,0 +1,98 @@
formula_id: WBS_10_DOTNET_MIGRATION_EXECUTION_PLAN_V1
owner: QuantEngine
status: draft
source_of_truth:
- docs/WBS_10_DOTNET_MIGRATION_ROADMAP.yaml
- docs/WBS_10_DOTNET_MIGRATION_INVENTORY.yaml
goal: ".NET 엔진 고도화를 실제 작업 순서로 착수 가능한 수준까지 분해한다."
work_packages:
- wp_id: WBS-10-WP1
title: "운영 경로 분해 및 전환 경계 확정"
objective: "Python harness / .NET domain / .NET application / .NET web / read model 경계를 고정한다."
depends_on:
- WBS-10-A1
inputs:
- docs/WBS_10_DOTNET_MIGRATION_INVENTORY.yaml
- docs/WBS_10_DOTNET_MIGRATION_ROADMAP.yaml
outputs:
- docs/WBS_10_DOTNET_MIGRATION_INVENTORY.yaml
- docs/WBS_10_DOTNET_MIGRATION_EXECUTION_PLAN.yaml
success_data:
schema: yaml
fields:
- route_id
- classification
- keep_or_migrate
- owner_file
- note
pass_condition: "migrate 대상과 keep 대상이 혼동 없이 분리됨"
- wp_id: WBS-10-WP2
title: "Domain parity 우선순위 확정"
objective: "핵심 계산기와 하네스 parity 대상을 먼저 고정한다."
depends_on:
- WBS-10-WP1
inputs:
- src/dotnet/QuantEngine.Core/Domain/FormulaEngine.cs
- src/dotnet/QuantEngine.Core/Domain/FactorCalculator.cs
- src/dotnet/QuantEngine.Core.Tests/FormulaEngineTests.cs
outputs:
- Temp/wbs10_domain_parity_backlog.json
success_data:
schema: json
fields:
- formula_id
- parity_targets
- tolerance
- coverage_min
pass_condition: "핵심 계산기 parity 대상이 누락 없이 나열됨"
- wp_id: WBS-10-WP3
title: "스케줄러 서비스 수준 강화 착수"
objective: "SchedulerService를 상태/의존성/재시도/감사 추적 서비스로 진화시킨다."
depends_on:
- WBS-10-WP1
inputs:
- src/dotnet/QuantEngine.Web/Services/SchedulerService.cs
- spec/41_release_dag.yaml
outputs:
- Temp/wbs10_scheduler_service_backlog.yaml
success_data:
schema: yaml
fields:
- state_machine
- dependency_edges
- retry_policy
- audit_fields
pass_condition: "현재 cron형 호출과 서비스 수준 제어면의 차이가 정의됨"
- wp_id: WBS-10-WP4
title: "read model 분리 착수"
objective: "운영 조회를 원장/집계와 분리한다."
depends_on:
- WBS-10-WP1
inputs:
- src/dotnet/QuantEngine.Web/Pages/Admin/Dashboard/Index.cshtml.cs
- src/dotnet/QuantEngine.Web/Pages/Admin/Collection/Index.cshtml.cs
outputs:
- Temp/wbs10_read_model_boundary.yaml
success_data:
schema: yaml
fields:
- projection
- source_of_truth
- refresh_mode
- staleness_budget
pass_condition: "조회 모델과 원장 모델의 경계가 설명됨"
execution_order:
- WBS-10-WP1
- WBS-10-WP2
- WBS-10-WP3
- WBS-10-WP4
notes:
- "이 문서는 실행 가능한 작업 분해용이며, 권위는 roadmap/inventory에 남긴다."
- "모든 success_data는 하네스가 아닌 착수 기준으로 사용한다."
@@ -0,0 +1,86 @@
formula_id: WBS_10_DOTNET_MIGRATION_INVENTORY_V1
status: draft
owner: QuantEngine
scope:
goal: ".NET 고도화 전환 우선순위를 결정하기 위한 운영 경로 인벤토리"
classification:
- python_harness
- dotnet_domain
- dotnet_application
- dotnet_web
- read_model
routes:
- route_id: python_harness_validation
path:
- tools/validate_quant_engine_wbs_v1.py
- tools/validate_dotnet_migration_roadmap_v1.py
- tests/unit/test_validate_dotnet_migration_roadmap_v1.py
classification: python_harness
keep_or_migrate: keep
reason: "검증 도구는 운영 엔진이 아니라 하네스/계약 검사 계층이다."
- route_id: python_wbs_source
path:
- spec/60_quant_engine_wbs.yaml
- docs/WBS_10_DOTNET_MIGRATION_ROADMAP.yaml
classification: python_harness
keep_or_migrate: keep
reason: "권위 문서와 상세 로드맵은 운영 실행물이 아니라 계약 문서다."
- route_id: dotnet_core_formula_engine
path:
- src/dotnet/QuantEngine.Core/Domain/FormulaEngine.cs
- src/dotnet/QuantEngine.Core/Domain/FactorCalculator.cs
- src/dotnet/QuantEngine.Core/Domain/AntiChasingCalculator.cs
- src/dotnet/QuantEngine.Core/Domain/ProfitLockCalculator.cs
- src/dotnet/QuantEngine.Core/Domain/PullbackTriggerCalculator.cs
- src/dotnet/QuantEngine.Core/Domain/SellPriceSanityChecker.cs
- src/dotnet/QuantEngine.Core/Domain/KrxTickNormalizer.cs
classification: dotnet_domain
keep_or_migrate: migrate
reason: "운영 계산의 canonical engine 후보이며 parity harness의 주 대상이다."
- route_id: dotnet_application_orchestration
path:
- src/dotnet/QuantEngine.Application/Services/PipelineOrchestrator.cs
- src/dotnet/QuantEngine.Application/Services/KisDataCollectionOrchestrator.cs
- src/dotnet/QuantEngine.Application/Services/HistoryIngestionService.cs
- src/dotnet/QuantEngine.Application/Services/PriceDataNormalizer.cs
- src/dotnet/QuantEngine.Application/Services/SourcePriorityResolver.cs
- src/dotnet/QuantEngine.Application/Services/DataCollectionService.cs
classification: dotnet_application
keep_or_migrate: migrate
reason: "Python 오케스트레이션/수집/정규화 흐름을 .NET 서비스 계층으로 수렴시킨다."
- route_id: dotnet_web_scheduler
path:
- src/dotnet/QuantEngine.Web/Services/SchedulerService.cs
- src/dotnet/QuantEngine.Web/Endpoints/CollectionEndpoints.cs
- src/dotnet/QuantEngine.Web/Pages/Admin/Operations/Index.cshtml.cs
classification: dotnet_web
keep_or_migrate: migrate
reason: "스케줄러와 운영 제어면은 서비스 수준으로 고도화 대상이다."
- route_id: dotnet_read_models
path:
- src/dotnet/QuantEngine.Web/Pages/Admin/Dashboard/Index.cshtml.cs
- src/dotnet/QuantEngine.Web/Pages/Admin/Collection/Index.cshtml.cs
- src/dotnet/QuantEngine.Web/Pages/Admin/Monitoring/Index.cshtml.cs
- src/dotnet/QuantEngine.Web/Pages/Admin/Database/Index.cshtml.cs
classification: read_model
keep_or_migrate: migrate
reason: "운영 조회는 역정규화 read model로 분리한다."
priority_order:
- python_harness_validation
- python_wbs_source
- dotnet_core_formula_engine
- dotnet_application_orchestration
- dotnet_web_scheduler
- dotnet_read_models
notes:
- "운영 경로는 keep_or_migrate가 migrate인 대상만 .NET canonical 대상으로 본다."
- "python_harness는 thin wrapper 또는 검증용으로만 유지한다."
- "read_model은 원장 대체가 아니라 서빙 전용이다."
+387
View File
@@ -0,0 +1,387 @@
formula_id: WBS_10_DOTNET_MIGRATION_ROADMAP_V1
title: "WBS-10 .NET 엔진 고도화 상세 로드맵"
owner: "QuantEngine"
source_of_truth:
- docs/ROADMAP_WBS.md
- spec/60_quant_engine_wbs.yaml
- spec/41_release_dag.yaml
- spec/00_execution_contract.yaml
scope:
goal: "Python 검증/보조 도구는 유지하고, 운영 엔진은 .NET으로 수렴시키며, 테이블 구조와 스케줄러를 서비스 수준으로 고도화한다."
non_goals:
- "가격/수량/임계값의 LLM 즉석 계산"
- "운영 경로의 Python 재도입"
- "원천 데이터의 무분별한 중복 저장"
principles:
- "Python은 harness, verification, conversion tooling에 집중한다."
- ".NET은 runtime engine, scheduler, API, operational read model을 담당한다."
- "쓰기 경로는 정규화, 읽기 경로는 의도된 역정규화로 분리한다."
- "모든 숫자는 provenance와 검증 아티팩트를 가져야 한다."
- "스케줄러는 단순 cron이 아니라 상태/의존성/재시도/감사 추적을 갖는 서비스로 취급한다."
roadmap:
phase_name: "WBS-10 .NET 엔진 고도화"
phase_goal: "Python-to-.NET 전환, 테이블 정규화/역정규화, 서비스급 스케줄러, parity harness 정착"
exit_gate: "dotnet runtime parity PASS + scheduler observability PASS + normalized/denormalized schema contract PASS + evidence artifacts recorded"
execution_order:
- WBS-10-A1
- WBS-10-B1
- WBS-10-C1
- WBS-10-A2
- WBS-10-B2
- WBS-10-C2
- WBS-10-A3
- WBS-10-B3
- WBS-10-C3
tracks:
- track_id: WBS-10-A
name: "Python → .NET 전환"
description: "운영 경로에서 Python 의존을 제거하고, 동일 결과를 내는 .NET canonical 구현으로 이식한다."
tasks:
- task_id: WBS-10-A1
title: "실행 경로 인벤토리 및 전환 우선순위 확정"
status: PENDING
depends_on: []
owner_files:
- src/quant_engine/
- tools/
- spec/60_quant_engine_wbs.yaml
success_data_guide:
required_inputs:
- "운영 진입점 목록"
- "Python CLI/모듈 호출 지점"
- "배포/스케줄러 호출 경로"
expected_outputs:
- "전환 우선순위 표"
- "운영 경로 / 보조 경로 분리 결과"
expected_artifact_schema:
format: markdown
fields:
- route
- owner
- runtime
- keep_or_migrate
- notes
failure_conditions:
- "운영 경로와 보조 경로가 섞여 있으면 FAIL"
- "Python 운영 경로가 누락 없이 남아 있지 않으면 FAIL"
verification_commands:
- "python tools/validate_quant_engine_wbs_v1.py"
evidence_artifacts:
- "Temp/evidence/WBS-10-A1/verdict.json"
done_when:
- "운영 경로와 보조 경로가 문서화됨"
- "전환 대상/비대상 경로가 분리됨"
- task_id: WBS-10-A2
title: ".NET 도메인 서비스로 Python 계산 로직 이식"
status: PENDING
depends_on:
- WBS-10-A1
owner_files:
- src/dotnet/QuantEngine.Core/
- src/dotnet/QuantEngine.Application/
success_data_guide:
required_inputs:
- "Python reference result"
- "현재 .NET implementation"
- "golden parity dataset"
expected_outputs:
- "동일 입력에 대한 .NET 결과"
- "Python 대비 parity diff 0 또는 허용오차 내"
expected_artifact_schema:
format: json
fields:
- formula_id
- input_digest
- python_output
- dotnet_output
- diff
- tolerance
- gate
failure_conditions:
- "diff가 tolerance를 초과하면 FAIL"
- "입력 digest가 없으면 FAIL"
verification_commands:
- "dotnet test src/dotnet/QuantEngine.Core.Tests/QuantEngine.Core.Tests.csproj -c Release"
- "python tools/verify_wbs_task_v1.py --task WBS-10-A2"
evidence_artifacts:
- "Temp/evidence/WBS-10-A2/verdict.json"
done_when:
- "Python reference와 .NET output이 parity를 만족"
- "핵심 계산이 서비스 계층으로 이동됨"
- task_id: WBS-10-A3
title: "Python thin-wrapper 정리 및 운영 금지 경로 분리"
status: PENDING
depends_on:
- WBS-10-A2
owner_files:
- tools/
- src/quant_engine/
success_data_guide:
required_inputs:
- "현재 Python script 목록"
- "runtime entrypoint 목록"
expected_outputs:
- "운영용 thin wrapper만 남김"
- "직접 운영 경로 금지 목록"
expected_artifact_schema:
format: yaml
fields:
- wrapper_path
- purpose
- runtime_usage
- allowed_or_disallowed
failure_conditions:
- "운영용으로 직접 호출 가능한 Python entrypoint가 남아 있으면 FAIL"
verification_commands:
- "python tools/validate_quant_engine_wbs_v1.py"
evidence_artifacts:
- "Temp/evidence/WBS-10-A3/verdict.json"
done_when:
- "운영 진입점이 .NET 또는 thin wrapper로만 남음"
- track_id: WBS-10-B
name: "테이블 정규화 + 역정규화"
description: "원천/원장/배포 이력을 정규화하고, UI/대시보드용 읽기 모델은 역정규화한다."
tasks:
- task_id: WBS-10-B1
title: "정규화 기준 테이블 계약 확정"
status: PENDING
depends_on: []
owner_files:
- spec/
- src/dotnet/QuantEngine.Infrastructure/
success_data_guide:
required_inputs:
- "source table 목록"
- "primary key / foreign key 정의"
- "중복 제거 대상"
expected_outputs:
- "canonical normalized schema"
- "table ownership map"
expected_artifact_schema:
format: yaml
fields:
- table
- keys
- cardinality
- owner
- write_path
failure_conditions:
- "canonical table이 둘 이상이면 FAIL"
- "정규화 대상과 읽기 모델이 혼동되면 FAIL"
verification_commands:
- "python tools/validate_quant_engine_wbs_v1.py"
evidence_artifacts:
- "Temp/evidence/WBS-10-B1/verdict.json"
done_when:
- "쓰기 경로의 canonical table contract가 문서화됨"
- task_id: WBS-10-B2
title: "운영 조회용 역정규화 read model 설계"
status: PENDING
depends_on:
- WBS-10-B1
owner_files:
- src/dotnet/QuantEngine.Web/
- src/dotnet/QuantEngine.Application/
success_data_guide:
required_inputs:
- "대시보드/운영 화면 요구사항"
- "조회 성능 목표"
expected_outputs:
- "읽기 전용 denormalized projection"
- "refresh/update strategy"
expected_artifact_schema:
format: yaml
fields:
- projection_name
- source_tables
- refresh_mode
- staleness_budget
- consumers
failure_conditions:
- "읽기 모델이 원천 원장과 직접 동일하면 FAIL"
- "staleness_budget 미정이면 FAIL"
verification_commands:
- "python tools/validate_quant_engine_wbs_v1.py"
evidence_artifacts:
- "Temp/evidence/WBS-10-B2/verdict.json"
done_when:
- "읽기 모델이 원천 원장과 분리됨"
- "운영 화면이 read model만 참조함"
- task_id: WBS-10-B3
title: "중복/파생 데이터 경계 및 기술부채 방지 계약"
status: PENDING
depends_on:
- WBS-10-B1
- WBS-10-B2
owner_files:
- spec/
- governance/
success_data_guide:
required_inputs:
- "allowed denormalization cases"
- "forbidden duplication cases"
expected_outputs:
- "파생 데이터 허용 규칙"
- "canonical source 정의"
expected_artifact_schema:
format: yaml
fields:
- source_of_truth
- derived_table
- allowed_reason
- forbidden_reason
failure_conditions:
- "source_of_truth가 명시되지 않으면 FAIL"
- "금지 사유가 없는 중복이면 FAIL"
verification_commands:
- "python tools/validate_quant_engine_wbs_v1.py"
evidence_artifacts:
- "Temp/evidence/WBS-10-B3/verdict.json"
done_when:
- "역정규화가 의도된 캐시/서빙으로만 허용됨"
- track_id: WBS-10-C
name: "서비스 수준 스케줄러"
description: "cron 수준을 넘어 상태 머신, idempotency, dependency, audit, retry를 갖는 스케줄러로 강화한다."
tasks:
- task_id: WBS-10-C1
title: "스케줄러 상태 머신 및 실행 이력 계약"
status: PENDING
depends_on: []
owner_files:
- src/dotnet/QuantEngine.Application/
- src/dotnet/QuantEngine.Web/Services/
success_data_guide:
required_inputs:
- "job state list"
- "transition rule"
- "run id / lease key"
expected_outputs:
- "pending/running/succeeded/failed/retrying/blocked 상태 정의"
- "audit trail schema"
expected_artifact_schema:
format: yaml
fields:
- state
- allowed_transitions
- lease_owner
- timeout_policy
- audit_fields
failure_conditions:
- "상태 전이표가 없으면 FAIL"
- "lease_owner 또는 timeout_policy가 없으면 FAIL"
verification_commands:
- "python tools/validate_quant_engine_wbs_v1.py"
evidence_artifacts:
- "Temp/evidence/WBS-10-C1/verdict.json"
done_when:
- "스케줄러의 상태 전이가 데이터로 설명됨"
- task_id: WBS-10-C2
title: "idempotency 및 concurrency control"
status: PENDING
depends_on:
- WBS-10-C1
owner_files:
- src/dotnet/QuantEngine.Application/
- spec/41_release_dag.yaml
success_data_guide:
required_inputs:
- "중복 실행 시나리오"
- "동시 실행 금지 자원 목록"
expected_outputs:
- "중복 적재 방지"
- "자원별 lock/lease 정책"
expected_artifact_schema:
format: yaml
fields:
- resource
- lock_key
- idempotency_key
- retry_policy
failure_conditions:
- "idempotency_key가 없으면 FAIL"
- "동시 실행 금지 자원 목록이 비어 있으면 FAIL"
verification_commands:
- "python tools/validate_quant_engine_wbs_v1.py"
evidence_artifacts:
- "Temp/evidence/WBS-10-C2/verdict.json"
done_when:
- "같은 run이 두 번 실행돼도 결과가 중복되지 않음"
- task_id: WBS-10-C3
title: "health gate + retry policy + dependency graph"
status: PENDING
depends_on:
- WBS-10-C1
- WBS-10-C2
owner_files:
- .gitea/workflows/
- src/dotnet/QuantEngine.Web/
success_data_guide:
required_inputs:
- "업스트림 의존성 목록"
- "retry 가능한 failure 유형"
- "health check 대상"
expected_outputs:
- "ci -> prepare-release -> deploy-prod 순차 게이트"
- "transient failure만 재시도"
expected_artifact_schema:
format: yaml
fields:
- upstream_workflow
- downstream_workflow
- retryable_errors
- health_checks
failure_conditions:
- "순차 게이트가 아닌 병렬 실행이면 FAIL"
- "retryable_errors가 비어 있으면 FAIL"
verification_commands:
- "python tools/validate_quant_engine_wbs_v1.py"
evidence_artifacts:
- "Temp/evidence/WBS-10-C3/verdict.json"
done_when:
- "스케줄러가 선행 성공 없이는 후속 실행을 시작하지 않음"
deliverables:
- "docs/WBS_10_DOTNET_MIGRATION_ROADMAP.yaml"
- "AGENTS.md routing update"
- "필요 시 docs/ROADMAP_WBS.md에 pointer 추가"
alignment:
canonical_status: "supplementary"
canonical_note: "이 YAML은 기존 WBS-10의 상세 실행 가이드이며, 권위는 docs/ROADMAP_WBS.md와 spec/60_quant_engine_wbs.yaml에 남긴다."
spec_task_map:
WBS-10.1: WBS-10-A1
WBS-10.2: WBS-10-C1
WBS-10.3: WBS-10-A2
WBS-10.4: WBS-10-A2
WBS-10.5: WBS-10-A2
WBS-10.6: WBS-10-C2
WBS-10.7: WBS-10-B2
WBS-10.8: WBS-10-C3
WBS-10.9: WBS-10-B3
WBS-10.10: WBS-10-B2
WBS-10.11: WBS-10-A3
WBS-10.12: WBS-10-C3
roadmap_section_map:
WBS-10.1: "기반 결함 수정"
WBS-10.2: "테스트 인프라 구축"
WBS-10.3: "Domain 계산기 Parity 검증 (Python ↔ C# 동등성)"
WBS-10.4: "공식 계산 엔진 C# 포팅 (compute_formula_outputs.py 대응)"
WBS-10.5: "하네스 주입 엔진 C# 포팅 (inject_computed_harness.py 대응)"
WBS-10.6: "파이프라인 오케스트레이터"
WBS-10.7: "Application 서비스 레이어 구축"
WBS-10.8: "데이터 수집 오케스트레이터"
WBS-10.9: "보안 강화"
WBS-10.10: "Razor Pages 어드민 대시보드 고도화"
WBS-10.11: "Razor Pages 개발 가이드라인 수립"
WBS-10.12: "Playwright 기반 Razor Pages 어드민 UI E2E 자동화"
@@ -0,0 +1,85 @@
formula_id: WBS_10_DOTNET_NORMALIZATION_CONTRACT_V1
owner: QuantEngine
status: draft
goal: "쓰기 경로 정규화와 읽기 경로 역정규화 경계를 고정한다."
canonical_write_path:
schema: engine_history
tables:
- source_observation
- factor_definition
- factor_observation
- decision_event
- decision_factor_evidence
- outcome_evaluation
invariant:
- "source_observation은 원천 관측 1건당 1행"
- "factor_definition은 (factor_id, factor_version) 단일 원장"
- "factor_observation은 observation_id를 반드시 참조"
- "decision_event는 decision_key로 단일 식별"
- "outcome_evaluation은 decision_id + horizon_days 조합으로 단일 식별"
canonical_read_path:
view: engine_history.training_example_v1
purpose: "모델 학습/캘리브레이션용 역정규화 projection"
consumers:
- model_training
- calibration_jobs
- diagnostics
forbidden_patterns:
- "읽기 모델을 쓰기 원장으로 사용"
- "원천 payload를 읽기 projection에 중복 저장"
- "직렬 UI 조회를 위해 원장 테이블을 직접 조인해 장기 유지"
expected_fields:
normalized_tables:
source_observation:
- observation_id
- observed_at
- instrument_id
- source_name
- source_version
- payload
- provenance
factor_observation:
- factor_observation_id
- observation_id
- factor_id
- factor_version
- observed_at
- numeric_value
- text_value
- gate
- provenance
decision_event:
- decision_id
- decision_key
- decided_at
- instrument_id
- action
- gate
- score
- source_version
- trace
- provenance
denormalized_view:
- decision_id
- decision_key
- decided_at
- instrument_id
- action
- decision_gate
- score
- source_version
- horizon_days
- realized_return
- benchmark_return
- excess_return
- outcome_class
- evaluation_gate
- factor_features
notes:
- "정규화는 쓰기 중복 제거와 provenance 보존이 목적이다."
- "역정규화는 학습/진단 편의용 projection으로만 허용한다."
+83
View File
@@ -0,0 +1,83 @@
formula_id: WBS_10_DOTNET_PARITY_CONTRACT_V1
owner: QuantEngine
status: draft
source_of_truth:
- src/dotnet/QuantEngine.Core/Domain/FormulaEngine.cs
- src/dotnet/QuantEngine.Core/Domain/ExitDecisions.cs
- src/dotnet/QuantEngine.Core/Domain/FactorCalculator.cs
- src/dotnet/QuantEngine.Core.Tests/FormulaEngineTests.cs
- src/dotnet/QuantEngine.Core.Tests/FactorCalculatorTests.cs
- src/dotnet/QuantEngine.Core.Tests/ParityTests/DomainParityTests.cs
goal: "Python reference와 .NET domain 결과를 데이터 기반 parity 계약으로 고정한다."
targets:
- target_id: formula_engine_timing
symbol: FormulaEngine.ComputeTimingDecision
tolerance:
numeric: 0
text: exact
evidence:
- src/dotnet/QuantEngine.Core.Tests/FormulaEngineTests.cs
- src/dotnet/QuantEngine.Core.Tests/ParityTests/DomainParityTests.cs
pass_condition: "timing action/reason이 reference와 동일"
- target_id: formula_engine_sell
symbol: FormulaEngine.ComputeSellDecision
tolerance:
numeric: 0
text: exact
evidence:
- src/dotnet/QuantEngine.Core.Tests/FormulaEngineTests.cs
- src/dotnet/QuantEngine.Core.Tests/ParityTests/DomainParityTests.cs
pass_condition: "sell action/ratio/validation이 reference와 동일"
- target_id: formula_engine_final
symbol: FormulaEngine.ComputeFinalDecision
tolerance:
numeric: 0
text: exact
evidence:
- src/dotnet/QuantEngine.Core.Tests/FormulaEngineTests.cs
- src/dotnet/QuantEngine.Core.Tests/ParityTests/DomainParityTests.cs
pass_condition: "final action/priority/source가 reference와 동일"
- target_id: exit_stop_price
symbol: ExitDecisions.ComputeStopPriceCore
tolerance:
numeric: 0.0001
text: exact
evidence:
- src/dotnet/QuantEngine.Core.Tests/ParityTests/DomainParityTests.cs
pass_condition: "stop price within tolerance"
- target_id: exit_stop_ladder
symbol: ExitDecisions.ComputeStopActionLadder
tolerance:
numeric: 0
text: exact
evidence:
- src/dotnet/QuantEngine.Core.Tests/ParityTests/DomainParityTests.cs
pass_condition: "exit action ladder exact match"
- target_id: exit_heat_thresholds
symbol: ExitDecisions.ComputeDynamicHeatThresholds
tolerance:
numeric: 0
text: exact
evidence:
- src/dotnet/QuantEngine.Core.Tests/ParityTests/DomainParityTests.cs
pass_condition: "heat thresholds exact match"
- target_id: factor_calculator
symbol: FactorCalculator.CalculateFactors
tolerance:
numeric: 0.000001
text: exact
evidence:
- src/dotnet/QuantEngine.Core.Tests/FactorCalculatorTests.cs
pass_condition: "factor outputs stable and deterministic"
execution_notes:
- "Parity is a contract, not a guess."
- "Do not add new parity targets without updating reference fixtures and tolerances."
@@ -0,0 +1,67 @@
formula_id: WBS_10_DOTNET_PROVENANCE_CONTRACT_V1
owner: QuantEngine
status: draft
goal: "결정/팩터/수집 provenance payload를 표준화한다."
payloads:
- payload_id: factor_evidence
source: src/dotnet/QuantEngine.Application/Services/DecisionLearningService.cs
required_fields:
- FactorObservationId
- FactorId
- FactorVersion
- ObservedAt
- Gate
- Role
- SourceName
- PayloadJson
- ProvenanceJson
nullable_fields:
- NumericValue
- TextValue
pass_condition: "factor evidence payload가 누락 없이 기록됨"
- payload_id: decision_event
source: src/dotnet/QuantEngine.Application/Services/DecisionLearningService.cs
required_fields:
- decisionKey
- decidedAt
- instrumentId
- action
- gate
- sourceVersion
nullable_fields:
- score
- trace
- provenance
pass_condition: "decision event payload가 normalized store에 기록됨"
- payload_id: collection_audit
source: src/dotnet/QuantEngine.Application/Models/CollectionExecutionAudit.cs
required_fields:
- RunId
- State
- StartedAt
- SuccessCount
- ErrorCount
nullable_fields:
- FinishedAt
- Message
pass_condition: "collection audit payload가 append-only JSONL에 기록됨"
- payload_id: scheduler_audit
source: src/dotnet/QuantEngine.Web/Services/SchedulerModels.cs
required_fields:
- JobId
- RunId
- State
- StartedAt
nullable_fields:
- Reason
- FinishedAt
- ResourceKey
pass_condition: "scheduler audit payload가 append-only JSONL에 기록됨"
notes:
- "provenance payload는 구조를 표준화하되, 숫자 계산은 하지 않는다."
- "LLM은 payload value를 재계산하지 않는다."
@@ -0,0 +1,54 @@
formula_id: WBS_10_DOTNET_READ_MODEL_CONTRACT_V1
owner: QuantEngine
status: draft
goal: "운영 화면과 조회 API의 read model 경계를 분리한다."
read_models:
- model_id: dashboard_summary
purpose: "운영 대시보드 상태"
source: QuantEngine.Infrastructure.Repositories.CollectionRepository
consumers:
- src/dotnet/QuantEngine.Web/Pages/Admin/Dashboard/Index.cshtml.cs
- src/dotnet/QuantEngine.Web/Endpoints/CollectionEndpoints.cs
fields:
- LastRunId
- LastRunAt
- SuccessCount
- ErrorCount
- SnapshotCount
staleness_budget: "5m"
- model_id: collection_runs
purpose: "최근 수집 실행 이력"
source: QuantEngine.Infrastructure.Repositories.CollectionRepository
consumers:
- src/dotnet/QuantEngine.Web/Pages/Admin/Collection/Index.cshtml.cs
- src/dotnet/QuantEngine.Web/Endpoints/CollectionEndpoints.cs
fields:
- RunId
- State
- StartedAt
- FinishedAt
- SuccessCount
- ErrorCount
staleness_budget: "5m"
- model_id: price_history_summary
purpose: "가격 히스토리 요약"
source: QuantEngine.Infrastructure.Repositories.CollectionRepository
consumers:
- src/dotnet/QuantEngine.Web/Pages/Admin/Collection/Index.cshtml.cs
- src/dotnet/QuantEngine.Web/Endpoints/CollectionEndpoints.cs
fields:
- Ticker
- Count
- FirstDate
- LastDate
staleness_budget: "15m"
rules:
- "read model은 조회 전용이어야 한다."
- "운영 화면은 직접 원장 테이블을 조립하지 않는다."
- "쓰기 로직은 read model에 의존하지 않는다."
- "staleness_budget이 명시되지 않은 조회는 금지한다."
notes:
- "의도된 역정규화는 허용하되, 원장과 동일 테이블로 재사용하지 않는다."
@@ -0,0 +1,60 @@
formula_id: WBS_10_DOTNET_SCHEDULER_CONTRACT_V1
owner: QuantEngine
status: draft
goal: "스케줄러 상태 전이, 의존성, 재시도, 감사 추적을 표준화한다."
state_machine:
states:
- pending
- running
- succeeded
- failed
- retrying
- blocked
allowed_transitions:
pending: [running, blocked]
running: [succeeded, failed, retrying, blocked]
failed: [retrying, blocked]
retrying: [running, failed, blocked]
succeeded: []
blocked: []
job_definitions:
- job_id: daily-collection
cron: "0 9 * * *"
lease_owner: collection
timeout_policy: "2h"
dependency: gather-trading-data
- job_id: hourly-price-update
cron: "0 9,11,13,15 * * 1-5"
lease_owner: price-update
timeout_policy: "30m"
dependency: price-feed
- job_id: weekly-report
cron: "0 17 * * 5"
lease_owner: report
timeout_policy: "1h"
dependency: report-generator
- job_id: monthly-optimization
cron: "0 2 1 * *"
lease_owner: optimization
timeout_policy: "3h"
dependency: optimizer
audit_fields:
- JobId
- RunId
- State
- StartedAt
- FinishedAt
- ResourceKey
- Reason
idempotency:
required: true
key_pattern: "{job_id}:{resource_key}:{yyyyMMddHHmm}"
notes:
- "상태 전이와 감사 추적은 append-only JSONL로 남긴다."
- "실행 재개는 retrying 이후에만 허용한다."
- "숫자 계산은 여기서 하지 않는다."
-1
View File
@@ -58,7 +58,6 @@
"verify:wbs": "python tools/validate_quant_engine_wbs_v1.py",
"validate:normalized-learning-store": "python tools/validate_normalized_learning_store_v1.py",
"validate:dotnet-cutover": "python tools/validate_dotnet_postgresql_json_cutover_v1.py",
"validate:schema-model": "python tools/generate_schema_model_generation_evidence_v1.py && python tools/validate_schema_model_generation_v1.py",
"validate:runtime-settings": "python tools/validate_runtime_connection_settings_immutability_v1.py",
"validate:market-schema": "python tools/validate_market_time_series_schema_v1.py",
"test:e2e": "playwright test --project=chromium",
-1
View File
@@ -1 +0,0 @@
"""Auto-generated package."""
@@ -1,41 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/ABSOLUTE_RISK_STOP_V1",
"title": "ABSOLUTE_RISK_STOP_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "ABSOLUTE_RISK_STOP_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"holdings",
"df_map"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/ALGORITHM_GUIDANCE_PROOF_V1",
"title": "ALGORITHM_GUIDANCE_PROOF_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "ALGORITHM_GUIDANCE_PROOF_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,44 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/ALPHA_EVALUATION_WINDOW_V1",
"title": "ALPHA_EVALUATION_WINDOW_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "ALPHA_EVALUATION_WINDOW_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"entry_date",
"position_class",
"t20_return_pct",
"t60_return_pct",
"benchmark_core_return_pct"
],
"x_formula_outputs": []
}
@@ -1,53 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/ALPHA_FEEDBACK_LOOP_V1",
"title": "ALPHA_FEEDBACK_LOOP_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "ALPHA_FEEDBACK_LOOP_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"alpha_evaluation_window_json",
"saqg_v1",
"brt_verdict",
"market_regime"
],
"x_formula_outputs": [
{
"field": "alpha_feedback_json",
"subfields": [
"eligible_t20_fail_rate",
"eligible_t60_fail_rate",
"recommended_filter_adjustments",
"cases_analyzed"
]
}
]
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/ANTI_CHASE_V1",
"title": "ANTI_CHASE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "ANTI_CHASE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,43 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/ANTI_CHASING_VELOCITY_V1",
"title": "ANTI_CHASING_VELOCITY_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "ANTI_CHASING_VELOCITY_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"close",
"close_1d_ago",
"close_5d_ago",
"market_regime"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/ANTI_LATE_ENTRY_GATE_V2",
"title": "ANTI_LATE_ENTRY_GATE_V2",
"type": "object",
"properties": {
"formula_id": {
"const": "ANTI_LATE_ENTRY_GATE_V2"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,42 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/ANTI_WHIPSAW_GATE_V1",
"title": "ANTI_WHIPSAW_GATE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "ANTI_WHIPSAW_GATE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"close_price",
"ma20",
"rsi14"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/ARTIFACT_FRESHNESS_GATE_V1",
"title": "ARTIFACT_FRESHNESS_GATE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "ARTIFACT_FRESHNESS_GATE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/AUDIT_REPLAY_SNAPSHOT_V1",
"title": "AUDIT_REPLAY_SNAPSHOT_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "AUDIT_REPLAY_SNAPSHOT_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,48 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/BENCHMARK_RELATIVE_TIMESERIES_V1",
"title": "BENCHMARK_RELATIVE_TIMESERIES_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "BENCHMARK_RELATIVE_TIMESERIES_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"price.ret5D",
"price.ret20D",
"price.ret60D",
"price.close",
"high52w",
"globalKospiRet5D_",
"globalKospiRet20D_",
"globalKospiRet60D_",
"globalKospiDrawdown_"
],
"x_formula_outputs": []
}
@@ -1,40 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/BLANK_CELL_AUDIT_V1",
"title": "BLANK_CELL_AUDIT_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "BLANK_CELL_AUDIT_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"operational_report_json"
],
"x_formula_outputs": []
}
@@ -1,41 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/BREAKEVEN_RATCHET_V1",
"title": "BREAKEVEN_RATCHET_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "BREAKEVEN_RATCHET_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"average_cost",
"highest_price_since_entry"
],
"x_formula_outputs": []
}
@@ -1,42 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/BREAKOUT_FAILURE_STOP_V1",
"title": "BREAKOUT_FAILURE_STOP_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "BREAKOUT_FAILURE_STOP_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"prior_high",
"close_price",
"days_since_breakout"
],
"x_formula_outputs": []
}
@@ -1,50 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/BREAKOUT_QUALITY_GATE_V2",
"title": "BREAKOUT_QUALITY_GATE_V2",
"type": "object",
"properties": {
"formula_id": {
"const": "BREAKOUT_QUALITY_GATE_V2"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"close",
"ma20",
"ret_3d",
"ret_1d",
"disparity",
"rsi14",
"volume",
"avg_volume_5d",
"timing_score_exit",
"distribution_risk_score",
"late_chase_risk_score"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CANONICAL_ARTIFACT_RESOLVER_V1",
"title": "CANONICAL_ARTIFACT_RESOLVER_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "CANONICAL_ARTIFACT_RESOLVER_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CANONICAL_METRICS_V1",
"title": "CANONICAL_METRICS_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "CANONICAL_METRICS_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,43 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CAPITAL_STYLE_ALLOCATION_V1",
"title": "CAPITAL_STYLE_ALLOCATION_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "CAPITAL_STYLE_ALLOCATION_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"smart_money_flow_signal_v2_json",
"fundamental_multifactor_v3_json",
"macro_event_ticker_impact_v1_json",
"liquidity_flow_signal_v1_json"
],
"x_formula_outputs": []
}
@@ -1,45 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CASH_CREATION_PURPOSE_LOCK_V1",
"title": "CASH_CREATION_PURPOSE_LOCK_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "CASH_CREATION_PURPOSE_LOCK_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"composite_verdict",
"rs_verdict",
"brt_verdict",
"excess_drawdown_pctp",
"recovery_ratio_20d",
"sfg_v1"
],
"x_formula_outputs": []
}
@@ -1,42 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CASH_FLOOR_V1",
"title": "CASH_FLOOR_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "CASH_FLOOR_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"total_asset",
"settlement_cash_d2_krw",
"market_risk_score"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CASH_RAISE_PARETO_EXECUTOR_V2",
"title": "CASH_RAISE_PARETO_EXECUTOR_V2",
"type": "object",
"properties": {
"formula_id": {
"const": "CASH_RAISE_PARETO_EXECUTOR_V2"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CASH_RAISE_VALUE_OPTIMIZER_V3",
"title": "CASH_RAISE_VALUE_OPTIMIZER_V3",
"type": "object",
"properties": {
"formula_id": {
"const": "CASH_RAISE_VALUE_OPTIMIZER_V3"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,50 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CASH_RATIOS_V1",
"title": "CASH_RATIOS_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "CASH_RATIOS_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"settlement_cash",
"reserved_order_amount",
"planned_buy_amount",
"sell_cash_proceeds_d2",
"total_asset"
],
"x_formula_outputs": {
"settlement_cash_ratio": "settlement_cash / total_asset * 100",
"total_cash_ratio": "settlement_cash / total_asset * 100",
"buy_power_cash": "settlement_cash - reserved_order_amount",
"buy_power_ratio": "(settlement_cash - reserved_order_amount) / total_asset * 100",
"post_trade_total_cash_ratio": "(settlement_cash - planned_buy_amount + sell_cash_proceeds_d2) / total_asset * 100"
}
}
@@ -1,45 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CASH_RECOVERY_OPTIMIZER_V1",
"title": "CASH_RECOVERY_OPTIMIZER_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "CASH_RECOVERY_OPTIMIZER_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"cash_shortfall_target_krw",
"cash_shortfall_min_krw",
"sell_candidates_json",
"immediate_sell_qty",
"sell_limit_price",
"holding_qty"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CASH_RECOVERY_OPTIMIZER_V4",
"title": "CASH_RECOVERY_OPTIMIZER_V4",
"type": "object",
"properties": {
"formula_id": {
"const": "CASH_RECOVERY_OPTIMIZER_V4"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CASH_RECOVERY_V1",
"title": "CASH_RECOVERY_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "CASH_RECOVERY_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CASHFLOW_QUALITY_SIGNAL_V1",
"title": "CASHFLOW_QUALITY_SIGNAL_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "CASHFLOW_QUALITY_SIGNAL_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,42 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CASHFLOW_STABILITY_GATE_V1",
"title": "CASHFLOW_STABILITY_GATE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "CASHFLOW_STABILITY_GATE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"operating_cf_krw",
"free_cf_krw",
"accrual_ratio_pct"
],
"x_formula_outputs": []
}
@@ -1,59 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CLA_REGIME_EXIT_CONDITION_V1",
"title": "CLA_REGIME_EXIT_CONDITION_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "CLA_REGIME_EXIT_CONDITION_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"ticker",
"rs_verdict",
"brt_verdict",
"frg_5d_sh",
"volume",
"avg_volume_5d",
"market_regime"
],
"x_formula_outputs": [
{
"field": "cla_exit_status",
"unit": "enum [CLA_ACTIVE,CLA_EXIT_WARNING,CLA_EXIT_CONFIRMED]"
},
{
"field": "cla_exit_signals_triggered",
"unit": "list"
},
{
"field": "cla_exit_total_weight",
"unit": "int"
}
]
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/COMPLETION_GAP_V1",
"title": "COMPLETION_GAP_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "COMPLETION_GAP_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,41 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/COMPOSITE_VERDICT_V1",
"title": "COMPOSITE_VERDICT_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "COMPOSITE_VERDICT_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"ss001_grade",
"rs_verdict"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/COMPREHENSIVE_PROPOSAL_V1",
"title": "COMPREHENSIVE_PROPOSAL_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "COMPREHENSIVE_PROPOSAL_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,40 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CONSECUTIVE_STREAK_V1",
"title": "CONSECUTIVE_STREAK_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "CONSECUTIVE_STREAK_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"daily_close_changes"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CONTINUOUS_EVALUATION_DASHBOARD_V1",
"title": "CONTINUOUS_EVALUATION_DASHBOARD_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "CONTINUOUS_EVALUATION_DASHBOARD_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/CROSS_SECTION_CONSISTENCY_V1",
"title": "CROSS_SECTION_CONSISTENCY_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "CROSS_SECTION_CONSISTENCY_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/DATA_INTEGRITY_100_LOCK_V1",
"title": "DATA_INTEGRITY_100_LOCK_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "DATA_INTEGRITY_100_LOCK_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/DATA_INTEGRITY_100_LOCK_V2",
"title": "DATA_INTEGRITY_100_LOCK_V2",
"type": "object",
"properties": {
"formula_id": {
"const": "DATA_INTEGRITY_100_LOCK_V2"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/DATA_INTEGRITY_SCORE_V1",
"title": "DATA_INTEGRITY_SCORE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "DATA_INTEGRITY_SCORE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/DATA_MATURITY_TRUTH_GATE_V1",
"title": "DATA_MATURITY_TRUTH_GATE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "DATA_MATURITY_TRUTH_GATE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/DATA_MATURITY_TRUTH_GATE_VALIDATOR_V1",
"title": "DATA_MATURITY_TRUTH_GATE_VALIDATOR_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "DATA_MATURITY_TRUTH_GATE_VALIDATOR_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/DATA_QUALITY_GATE_V2_PY",
"title": "DATA_QUALITY_GATE_V2_PY",
"type": "object",
"properties": {
"formula_id": {
"const": "DATA_QUALITY_GATE_V2_PY"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/DATA_QUALITY_GATE_V3",
"title": "DATA_QUALITY_GATE_V3",
"type": "object",
"properties": {
"formula_id": {
"const": "DATA_QUALITY_GATE_V3"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,40 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/DETERMINISTIC_ROUTING_ENGINE_V1",
"title": "DETERMINISTIC_ROUTING_ENGINE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "DETERMINISTIC_ROUTING_ENGINE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"harness_context"
],
"x_formula_outputs": []
}
@@ -1,49 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/DISTRIBUTION_SELL_DETECTOR_V1",
"title": "DISTRIBUTION_SELL_DETECTOR_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "DISTRIBUTION_SELL_DETECTOR_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"close",
"high52w",
"avg_volume_5d",
"volume",
"ret5d",
"flow_credit",
"frg_5d_sh",
"inst_5d_sh",
"rsi14",
"obv_slope_20d"
],
"x_formula_outputs": []
}
@@ -1,45 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/DIVERGENCE_SCORE_V1",
"title": "DIVERGENCE_SCORE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "DIVERGENCE_SCORE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"close_price",
"ma20",
"frg_5d_sh",
"inst_5d_sh",
"flow_credit",
"frg_20d_sh"
],
"x_formula_outputs": []
}
@@ -1,41 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/DRAWDOWN_GUARD_V1",
"title": "DRAWDOWN_GUARD_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "DRAWDOWN_GUARD_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"win_loss_streak_state",
"win_loss_streak_buy_scale"
],
"x_formula_outputs": []
}
@@ -1,41 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/DYNAMIC_HEAT_GATE_V1",
"title": "DYNAMIC_HEAT_GATE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "DYNAMIC_HEAT_GATE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"market_regime",
"total_heat_pct"
],
"x_formula_outputs": []
}
@@ -1,41 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/EARNINGS_GROWTH_QUALITY_GATE_V1",
"title": "EARNINGS_GROWTH_QUALITY_GATE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "EARNINGS_GROWTH_QUALITY_GATE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"eps_growth_qoq_pct",
"eps_growth_yoy_pct"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/EARNINGS_QUALITY_SIGNAL_V1",
"title": "EARNINGS_QUALITY_SIGNAL_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "EARNINGS_QUALITY_SIGNAL_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,41 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/ECP_RISK_SCALE_V1",
"title": "ECP_RISK_SCALE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "ECP_RISK_SCALE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"total_asset",
"total_asset_ma10"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/EJCE_DIVERGENCE_AUDIT_V1",
"title": "EJCE_DIVERGENCE_AUDIT_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "EJCE_DIVERGENCE_AUDIT_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,45 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/EJCE_VIEW_RENDERER_V1",
"title": "EJCE_VIEW_RENDERER_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "EJCE_VIEW_RENDERER_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"ejce_json",
"alpha_lead_json",
"breakout_quality_gate_json",
"anti_chasing_velocity_json",
"heat_concentration_json",
"portfolio_alpha_confidence"
],
"x_formula_outputs": []
}
@@ -1,42 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/ENTRY_TIMING_DECILE_FACTOR_V1",
"title": "ENTRY_TIMING_DECILE_FACTOR_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "ENTRY_TIMING_DECILE_FACTOR_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"buy_timing_score",
"t5_ledger",
"cut_decile"
],
"x_formula_outputs": []
}
@@ -1,44 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/EXECUTION_CAPACITY_LADDER_V1",
"title": "EXECUTION_CAPACITY_LADDER_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "EXECUTION_CAPACITY_LADDER_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"planned_order_amount_krw",
"avg_trade_value_20d_krw",
"intraday_trade_value_krw",
"orderbook_top3_depth_krw",
"spread_bps"
],
"x_formula_outputs": []
}
@@ -1,42 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/EXECUTION_METHOD_LADDER_V1",
"title": "EXECUTION_METHOD_LADDER_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "EXECUTION_METHOD_LADDER_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"sell_timing_verdict",
"sell_waterfall_gate",
"smart_cash_recovery_gate"
],
"x_formula_outputs": []
}
@@ -1,42 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/EXECUTION_PLAN_COMPILER_V1",
"title": "EXECUTION_PLAN_COMPILER_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "EXECUTION_PLAN_COMPILER_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"order_capacity_krw",
"revalidation_snapshot",
"baseline_snapshot"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/EXECUTION_QUALITY_SCORE_V1",
"title": "EXECUTION_QUALITY_SCORE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "EXECUTION_QUALITY_SCORE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,44 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/EXPECTED_EDGE_V1",
"title": "EXPECTED_EDGE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "EXPECTED_EDGE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"target_price",
"entry_price",
"stop_price",
"bayesian_confidence_multiplier",
"execution_cost_rate"
],
"x_formula_outputs": []
}
@@ -1,41 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/FIFTY_TWO_WEEK_HIGH_TRIGGER_V1",
"title": "FIFTY_TWO_WEEK_HIGH_TRIGGER_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "FIFTY_TWO_WEEK_HIGH_TRIGGER_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"close_price",
"high52w"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/FINAL_JUDGMENT_GATE_V1",
"title": "FINAL_JUDGMENT_GATE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "FINAL_JUDGMENT_GATE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,44 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/FINANCIAL_HEALTH_SCORE_V1",
"title": "FINANCIAL_HEALTH_SCORE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "FINANCIAL_HEALTH_SCORE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"roe_pct",
"operating_margin_pct",
"debt_to_equity",
"fcf_b",
"sector_type"
],
"x_formula_outputs": []
}
@@ -1,43 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/FLOW_ACCELERATION_V1",
"title": "FLOW_ACCELERATION_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "FLOW_ACCELERATION_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"frg_5d_sh",
"frg_20d_sh",
"close_price",
"ma20"
],
"x_formula_outputs": []
}
@@ -1,47 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/FLOW_CREDIT_V1",
"title": "FLOW_CREDIT_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "FLOW_CREDIT_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"close_price",
"open_price",
"previous_close_price",
"volume",
"avg_volume_5d",
"frg_5d_sh",
"inst_5d_sh",
"flow_ok"
],
"x_formula_outputs": []
}
@@ -1,45 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/FOLLOW_THROUGH_DAY_CONFIRM_V1",
"title": "FOLLOW_THROUGH_DAY_CONFIRM_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "FOLLOW_THROUGH_DAY_CONFIRM_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"days_since_breakout",
"ret_since_breakout",
"vol_today",
"vol_breakout_day",
"close",
"ma20"
],
"x_formula_outputs": []
}
@@ -1,43 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/FORECAST_SIMULATION_ENGINE_V1",
"title": "FORECAST_SIMULATION_ENGINE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "FORECAST_SIMULATION_ENGINE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"net_profit_distribution_after_tax_fee_slippage",
"sample_count_total",
"sample_count_same_regime",
"execution_mode"
],
"x_formula_outputs": []
}
@@ -1,47 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/FUNDAMENTAL_MULTI_FACTOR_SCORE_V2",
"title": "FUNDAMENTAL_MULTI_FACTOR_SCORE_V2",
"type": "object",
"properties": {
"formula_id": {
"const": "FUNDAMENTAL_MULTI_FACTOR_SCORE_V2"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"roe_pct",
"opm_pct",
"revenue_growth_pct",
"op_income_growth_pct",
"market_share_proxy_pct",
"operating_cf_krw",
"free_cf_krw",
"debt_ratio_pct"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/FUNDAMENTAL_MULTIFACTOR_V3",
"title": "FUNDAMENTAL_MULTIFACTOR_V3",
"type": "object",
"properties": {
"formula_id": {
"const": "FUNDAMENTAL_MULTIFACTOR_V3"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,44 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/FUNDAMENTAL_QUALITY_GATE_V1",
"title": "FUNDAMENTAL_QUALITY_GATE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "FUNDAMENTAL_QUALITY_GATE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"roe_pct",
"op_income_growth_pct",
"debt_ratio_pct",
"operating_cf_krw",
"pe_ttm"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/FUNDAMENTAL_RAW_INGEST_V1",
"title": "FUNDAMENTAL_RAW_INGEST_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "FUNDAMENTAL_RAW_INGEST_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,43 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/GOLDEN_CROSS_SIGNAL_V1",
"title": "GOLDEN_CROSS_SIGNAL_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "GOLDEN_CROSS_SIGNAL_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"ma20",
"ma20_prev",
"ma60",
"ma60_prev"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/GROWTH_RATE_SIGNAL_V1",
"title": "GROWTH_RATE_SIGNAL_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "GROWTH_RATE_SIGNAL_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,42 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/HARNESS_DATA_FRESHNESS_GATE_V1",
"title": "HARNESS_DATA_FRESHNESS_GATE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "HARNESS_DATA_FRESHNESS_GATE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"metadata.generated_at",
"metadata.market_date",
"today_date"
],
"x_formula_outputs": []
}
@@ -1,40 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/HEAT_CONCENTRATION_ALERT_V1",
"title": "HEAT_CONCENTRATION_ALERT_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "HEAT_CONCENTRATION_ALERT_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"heat_share_pct"
],
"x_formula_outputs": []
}
@@ -1,42 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/HORIZON_ALLOCATION_LOCK_V1",
"title": "HORIZON_ALLOCATION_LOCK_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "HORIZON_ALLOCATION_LOCK_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"invest_horizon",
"market_value_krw",
"total_asset_krw"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/HORIZON_CLASSIFICATION_V1",
"title": "HORIZON_CLASSIFICATION_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "HORIZON_CLASSIFICATION_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,44 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/IMMUTABLE_DECISION_LEDGER_V1",
"title": "IMMUTABLE_DECISION_LEDGER_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "IMMUTABLE_DECISION_LEDGER_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"decision_id",
"input_hash_bundle",
"execution_mode",
"candidate_ids",
"selected_transition_id"
],
"x_formula_outputs": []
}
@@ -1,41 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/INTRADAY_ACTION_MATRIX_V1",
"title": "INTRADAY_ACTION_MATRIX_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "INTRADAY_ACTION_MATRIX_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"capture_time",
"market_date"
],
"x_formula_outputs": []
}
@@ -1,38 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/INVESTMENT_QUALITY_HEADLINE_V1",
"title": "INVESTMENT_QUALITY_HEADLINE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "INVESTMENT_QUALITY_HEADLINE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [],
"x_formula_outputs": []
}
@@ -1,42 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/K2_STAGED_REBOUND_SELL_V1",
"title": "K2_STAGED_REBOUND_SELL_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "K2_STAGED_REBOUND_SELL_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"base_sell_qty",
"previous_close_price",
"atr20"
],
"x_formula_outputs": []
}
@@ -1,45 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/LEADER_LIFECYCLE_GATE_V1",
"title": "LEADER_LIFECYCLE_GATE_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "LEADER_LIFECYCLE_GATE_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"relative_strength_leads_sector",
"volume_quality_confirmed",
"above_ma60_or_reclaim_confirmed",
"earnings_revision_status",
"institutional_flow_status",
"current_role"
],
"x_formula_outputs": []
}
@@ -1,41 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema://formula/LEADER_POSITION_WEIGHT_CAP_V1",
"title": "LEADER_POSITION_WEIGHT_CAP_V1",
"type": "object",
"properties": {
"formula_id": {
"const": "LEADER_POSITION_WEIGHT_CAP_V1"
},
"owner": {
"type": "string"
},
"status": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"outputs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"formula_id",
"owner",
"status",
"inputs",
"outputs"
],
"x_formula_inputs": [
"single_position_weight_json",
"market_regime"
],
"x_formula_outputs": []
}

Some files were not shown because too many files have changed in this diff Show More