onto-mcp 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.onto/authority/core-lens-registry.yaml +134 -0
- package/.onto/authority/core-lexicon.yaml +1562 -0
- package/.onto/authority/diagnostic-codes.yaml +94 -0
- package/.onto/domains/accounting/competency_qs.md +384 -0
- package/.onto/domains/accounting/concepts.md +186 -0
- package/.onto/domains/accounting/conciseness_rules.md +160 -0
- package/.onto/domains/accounting/dependency_rules.md +239 -0
- package/.onto/domains/accounting/domain_scope.md +213 -0
- package/.onto/domains/accounting/extension_cases.md +416 -0
- package/.onto/domains/accounting/logic_rules.md +226 -0
- package/.onto/domains/accounting/structure_spec.md +298 -0
- package/.onto/domains/accounting-kr/competency_qs.md +562 -0
- package/.onto/domains/accounting-kr/concepts.md +187 -0
- package/.onto/domains/accounting-kr/conciseness_rules.md +125 -0
- package/.onto/domains/accounting-kr/dependency_rules.md +93 -0
- package/.onto/domains/accounting-kr/domain_scope.md +140 -0
- package/.onto/domains/accounting-kr/extension_cases.md +343 -0
- package/.onto/domains/accounting-kr/logic_rules.md +160 -0
- package/.onto/domains/accounting-kr/structure_spec.md +85 -0
- package/.onto/domains/business/competency_qs.md +263 -0
- package/.onto/domains/business/concepts.md +200 -0
- package/.onto/domains/business/conciseness_rules.md +135 -0
- package/.onto/domains/business/dependency_rules.md +113 -0
- package/.onto/domains/business/domain_scope.md +240 -0
- package/.onto/domains/business/extension_cases.md +249 -0
- package/.onto/domains/business/logic_rules.md +134 -0
- package/.onto/domains/business/structure_spec.md +114 -0
- package/.onto/domains/finance/competency_qs.md +362 -0
- package/.onto/domains/finance/concepts.md +194 -0
- package/.onto/domains/finance/conciseness_rules.md +155 -0
- package/.onto/domains/finance/dependency_rules.md +171 -0
- package/.onto/domains/finance/domain_scope.md +215 -0
- package/.onto/domains/finance/extension_cases.md +350 -0
- package/.onto/domains/finance/logic_rules.md +191 -0
- package/.onto/domains/finance/structure_spec.md +182 -0
- package/.onto/domains/llm-native-development/competency_qs.md +430 -0
- package/.onto/domains/llm-native-development/concepts.md +242 -0
- package/.onto/domains/llm-native-development/conciseness_rules.md +163 -0
- package/.onto/domains/llm-native-development/dependency_rules.md +216 -0
- package/.onto/domains/llm-native-development/domain_scope.md +197 -0
- package/.onto/domains/llm-native-development/extension_cases.md +474 -0
- package/.onto/domains/llm-native-development/logic_rules.md +123 -0
- package/.onto/domains/llm-native-development/prompt_interface.md +49 -0
- package/.onto/domains/llm-native-development/structure_spec.md +245 -0
- package/.onto/domains/market-intelligence/competency_qs.md +274 -0
- package/.onto/domains/market-intelligence/concepts.md +233 -0
- package/.onto/domains/market-intelligence/conciseness_rules.md +165 -0
- package/.onto/domains/market-intelligence/dependency_rules.md +197 -0
- package/.onto/domains/market-intelligence/domain_scope.md +231 -0
- package/.onto/domains/market-intelligence/extension_cases.md +425 -0
- package/.onto/domains/market-intelligence/logic_rules.md +247 -0
- package/.onto/domains/market-intelligence/structure_spec.md +209 -0
- package/.onto/domains/ontology/competency_qs.md +394 -0
- package/.onto/domains/ontology/concepts.md +172 -0
- package/.onto/domains/ontology/conciseness_rules.md +134 -0
- package/.onto/domains/ontology/dependency_rules.md +125 -0
- package/.onto/domains/ontology/domain_scope.md +114 -0
- package/.onto/domains/ontology/extension_cases.md +501 -0
- package/.onto/domains/ontology/logic_rules.md +114 -0
- package/.onto/domains/ontology/problem_framing_profile.md +67 -0
- package/.onto/domains/ontology/structure_spec.md +115 -0
- package/.onto/domains/palantir-foundry/RESEARCH_NOTES.md +911 -0
- package/.onto/domains/palantir-foundry/competency_qs.md +191 -0
- package/.onto/domains/palantir-foundry/competitive_comparison.md +329 -0
- package/.onto/domains/palantir-foundry/concepts.md +197 -0
- package/.onto/domains/palantir-foundry/conciseness_rules.md +245 -0
- package/.onto/domains/palantir-foundry/dependency_rules.md +135 -0
- package/.onto/domains/palantir-foundry/domain_scope.md +395 -0
- package/.onto/domains/palantir-foundry/extension_cases.md +210 -0
- package/.onto/domains/palantir-foundry/logic_rules.md +172 -0
- package/.onto/domains/palantir-foundry/structure_spec.md +291 -0
- package/.onto/domains/software-engineering/competency_qs.md +538 -0
- package/.onto/domains/software-engineering/concepts.md +238 -0
- package/.onto/domains/software-engineering/conciseness_rules.md +167 -0
- package/.onto/domains/software-engineering/dependency_rules.md +216 -0
- package/.onto/domains/software-engineering/domain_scope.md +183 -0
- package/.onto/domains/software-engineering/extension_cases.md +551 -0
- package/.onto/domains/software-engineering/logic_rules.md +240 -0
- package/.onto/domains/software-engineering/problem_framing_profile.md +68 -0
- package/.onto/domains/software-engineering/structure_spec.md +185 -0
- package/.onto/domains/ui-design/competency_qs.md +567 -0
- package/.onto/domains/ui-design/concepts.md +194 -0
- package/.onto/domains/ui-design/conciseness_rules.md +190 -0
- package/.onto/domains/ui-design/dependency_rules.md +323 -0
- package/.onto/domains/ui-design/domain_scope.md +340 -0
- package/.onto/domains/ui-design/extension_cases.md +563 -0
- package/.onto/domains/ui-design/logic_rules.md +349 -0
- package/.onto/domains/ui-design/structure_spec.md +252 -0
- package/.onto/domains/visual-design/competency_qs.md +472 -0
- package/.onto/domains/visual-design/concepts.md +147 -0
- package/.onto/domains/visual-design/conciseness_rules.md +186 -0
- package/.onto/domains/visual-design/dependency_rules.md +282 -0
- package/.onto/domains/visual-design/domain_scope.md +290 -0
- package/.onto/domains/visual-design/extension_cases.md +480 -0
- package/.onto/domains/visual-design/logic_rules.md +232 -0
- package/.onto/domains/visual-design/structure_spec.md +213 -0
- package/.onto/principles/llm-native-development-guideline.md +401 -0
- package/.onto/principles/llm-runtime-interface-principles.md +665 -0
- package/.onto/principles/non-specialist-communication-guideline.md +74 -0
- package/.onto/principles/ontology-as-code-guideline.md +243 -0
- package/.onto/principles/ontology-as-code-naming-charter.md +130 -0
- package/.onto/principles/product-locality-principle.md +129 -0
- package/.onto/principles/productization-charter.md +569 -0
- package/.onto/processes/evolve/material-kind-adapter-contract.md +113 -0
- package/.onto/processes/reconstruct/reconstruct-boundary-contract.md +366 -0
- package/.onto/processes/reconstruct/source-profile-contract.md +107 -0
- package/.onto/processes/reconstruct/source-profiles/code.md +72 -0
- package/.onto/processes/reconstruct/source-profiles/database.md +74 -0
- package/.onto/processes/reconstruct/source-profiles/document.md +71 -0
- package/.onto/processes/reconstruct/source-profiles/spreadsheet.md +79 -0
- package/.onto/processes/review/binding-contract.md +270 -0
- package/.onto/processes/review/execution-preparation-artifacts.md +281 -0
- package/.onto/processes/review/interpretation-contract.md +245 -0
- package/.onto/processes/review/issue-stance-deliberation-contract.md +761 -0
- package/.onto/processes/review/lens-prompt-contract.md +402 -0
- package/.onto/processes/review/lens-registry.md +127 -0
- package/.onto/processes/review/pre-dispatch-contracts.md +428 -0
- package/.onto/processes/review/productized-live-path.md +398 -0
- package/.onto/processes/review/prompt-execution-runner-contract.md +187 -0
- package/.onto/processes/review/record-contract.md +427 -0
- package/.onto/processes/review/record-field-mapping.md +337 -0
- package/.onto/processes/review/review-context-manifest-contract.md +356 -0
- package/.onto/processes/review/review-execution-ux-contract.md +809 -0
- package/.onto/processes/review/review-target-profile-contract.md +259 -0
- package/.onto/processes/review/shared-phenomenon-contract.md +129 -0
- package/.onto/processes/review/synthesize-prompt-contract.md +343 -0
- package/.onto/processes/shared/target-material-kind-contract.md +198 -0
- package/.onto/roles/axiology.md +81 -0
- package/.onto/roles/conciseness.md +36 -0
- package/.onto/roles/coverage.md +34 -0
- package/.onto/roles/dependency.md +37 -0
- package/.onto/roles/evolution.md +35 -0
- package/.onto/roles/logic.md +104 -0
- package/.onto/roles/pragmatics.md +32 -0
- package/.onto/roles/semantics.md +36 -0
- package/.onto/roles/structure.md +33 -0
- package/.onto/roles/synthesize.md +92 -0
- package/AGENTS.md +240 -0
- package/CLAUDE.md +39 -0
- package/README.md +287 -0
- package/bin/onto +92 -0
- package/dist/cli.js +101 -0
- package/dist/core-api/reconstruct-api.js +222 -0
- package/dist/core-api/review-api.js +1271 -0
- package/dist/core-runtime/cli/assemble-review-record.js +431 -0
- package/dist/core-runtime/cli/bootstrap-review-binding.js +186 -0
- package/dist/core-runtime/cli/codex-nested-dispatch.js +226 -0
- package/dist/core-runtime/cli/codex-nested-dispatch.test.js +390 -0
- package/dist/core-runtime/cli/codex-nested-teamlead-executor.js +464 -0
- package/dist/core-runtime/cli/codex-nested-teamlead-executor.test.js +335 -0
- package/dist/core-runtime/cli/codex-review-unit-executor.js +228 -0
- package/dist/core-runtime/cli/complete-review-session.js +64 -0
- package/dist/core-runtime/cli/complexity-assessment.js +153 -0
- package/dist/core-runtime/cli/coordinator-helpers.js +583 -0
- package/dist/core-runtime/cli/coordinator-state-machine-deliberation.test.js +167 -0
- package/dist/core-runtime/cli/coordinator-state-machine.js +794 -0
- package/dist/core-runtime/cli/e2e-codex-multi-agent-fixes.test.js +615 -0
- package/dist/core-runtime/cli/e2e-start-review-session.test.js +312 -0
- package/dist/core-runtime/cli/health.js +44 -0
- package/dist/core-runtime/cli/inline-http-review-unit-executor.js +656 -0
- package/dist/core-runtime/cli/inline-http-review-unit-executor.test.js +567 -0
- package/dist/core-runtime/cli/materialize-review-execution-preparation.js +104 -0
- package/dist/core-runtime/cli/materialize-review-prompt-packets.js +952 -0
- package/dist/core-runtime/cli/migrate-session-roots.js +118 -0
- package/dist/core-runtime/cli/mock-review-unit-executor.js +285 -0
- package/dist/core-runtime/cli/onto-tools.js +369 -0
- package/dist/core-runtime/cli/prepare-review-session.js +272 -0
- package/dist/core-runtime/cli/render-review-final-output.js +350 -0
- package/dist/core-runtime/cli/repo-layout-migration-replace.smoke.test.js +106 -0
- package/dist/core-runtime/cli/review-invoke-auto-resolution.test.js +268 -0
- package/dist/core-runtime/cli/review-invoke-coordinator-topology.test.js +136 -0
- package/dist/core-runtime/cli/review-invoke-resolver-caching.test.js +201 -0
- package/dist/core-runtime/cli/review-invoke-topology-dispatch.test.js +192 -0
- package/dist/core-runtime/cli/review-invoke.js +2030 -0
- package/dist/core-runtime/cli/run-review-prompt-execution.js +2152 -0
- package/dist/core-runtime/cli/session-root-guard.js +168 -0
- package/dist/core-runtime/cli/spawn-watcher.js +173 -0
- package/dist/core-runtime/cli/spawn-watcher.test.js +457 -0
- package/dist/core-runtime/cli/start-review-session.js +68 -0
- package/dist/core-runtime/cli/strip-wrapping-code-fence.js +56 -0
- package/dist/core-runtime/cli/strip-wrapping-code-fence.test.js +79 -0
- package/dist/core-runtime/cli/teamcreate-lens-deliberation-executor.js +412 -0
- package/dist/core-runtime/cli/teamcreate-lens-deliberation-executor.test.js +351 -0
- package/dist/core-runtime/cli/topology-executor-mapping.js +139 -0
- package/dist/core-runtime/cli/topology-executor-mapping.test.js +173 -0
- package/dist/core-runtime/cli/write-review-interpretation.js +81 -0
- package/dist/core-runtime/config/onto-config-cli.js +278 -0
- package/dist/core-runtime/config/onto-config-key-path.js +288 -0
- package/dist/core-runtime/config/onto-config-key-path.test.js +195 -0
- package/dist/core-runtime/config/onto-config-preview.js +108 -0
- package/dist/core-runtime/config/onto-config-preview.test.js +132 -0
- package/dist/core-runtime/discovery/config-chain.js +118 -0
- package/dist/core-runtime/discovery/config-chain.test.js +103 -0
- package/dist/core-runtime/discovery/config-profile.js +199 -0
- package/dist/core-runtime/discovery/config-profile.test.js +233 -0
- package/dist/core-runtime/discovery/host-detection.js +33 -0
- package/dist/core-runtime/discovery/host-detection.test.js +186 -0
- package/dist/core-runtime/discovery/installation-paths.js +21 -0
- package/dist/core-runtime/discovery/installation-paths.test.js +65 -0
- package/dist/core-runtime/discovery/lens-registry.js +60 -0
- package/dist/core-runtime/discovery/lens-registry.test.js +81 -0
- package/dist/core-runtime/discovery/onto-home.js +71 -0
- package/dist/core-runtime/discovery/path-normalization.js +28 -0
- package/dist/core-runtime/discovery/path-normalization.test.js +22 -0
- package/dist/core-runtime/discovery/plugin-path.js +72 -0
- package/dist/core-runtime/discovery/plugin-path.test.js +95 -0
- package/dist/core-runtime/discovery/project-root.js +47 -0
- package/dist/core-runtime/discovery/settings-chain.js +353 -0
- package/dist/core-runtime/discovery/walk-up.js +17 -0
- package/dist/core-runtime/evolve/adapters/code-product/compile/compile-defense.js +344 -0
- package/dist/core-runtime/evolve/adapters/code-product/compile/compile-defense.test.js +915 -0
- package/dist/core-runtime/evolve/adapters/code-product/compile/compile.js +564 -0
- package/dist/core-runtime/evolve/adapters/code-product/compile/compile.test.js +708 -0
- package/dist/core-runtime/evolve/adapters/code-product/parsers/brief-parser.js +165 -0
- package/dist/core-runtime/evolve/adapters/code-product/parsers/brief-parser.test.js +227 -0
- package/dist/core-runtime/evolve/adapters/code-product/validators/validate.js +59 -0
- package/dist/core-runtime/evolve/adapters/code-product/validators/validate.test.js +205 -0
- package/dist/core-runtime/evolve/adapters/methodology/adapter.js +16 -0
- package/dist/core-runtime/evolve/adapters/methodology/adapter.test.js +9 -0
- package/dist/core-runtime/evolve/adapters/methodology/perspectives/authority-consistency.js +298 -0
- package/dist/core-runtime/evolve/adapters/methodology/perspectives/authority-consistency.test.js +70 -0
- package/dist/core-runtime/evolve/adapters/methodology/scope-types/process.js +46 -0
- package/dist/core-runtime/evolve/adapters/methodology/scope-types/process.test.js +73 -0
- package/dist/core-runtime/evolve/adapters/registry.js +47 -0
- package/dist/core-runtime/evolve/adapters/registry.test.js +67 -0
- package/dist/core-runtime/evolve/cli.js +256 -0
- package/dist/core-runtime/evolve/commands/align.js +194 -0
- package/dist/core-runtime/evolve/commands/align.test.js +82 -0
- package/dist/core-runtime/evolve/commands/apply.js +161 -0
- package/dist/core-runtime/evolve/commands/apply.test.js +138 -0
- package/dist/core-runtime/evolve/commands/close.js +39 -0
- package/dist/core-runtime/evolve/commands/close.test.js +99 -0
- package/dist/core-runtime/evolve/commands/defer.js +40 -0
- package/dist/core-runtime/evolve/commands/defer.test.js +134 -0
- package/dist/core-runtime/evolve/commands/draft.js +323 -0
- package/dist/core-runtime/evolve/commands/draft.test.js +178 -0
- package/dist/core-runtime/evolve/commands/e2e-evolve-full-cycle.test.js +208 -0
- package/dist/core-runtime/evolve/commands/error-messages.js +125 -0
- package/dist/core-runtime/evolve/commands/error-messages.test.js +167 -0
- package/dist/core-runtime/evolve/commands/propose-align.js +222 -0
- package/dist/core-runtime/evolve/commands/propose-align.test.js +136 -0
- package/dist/core-runtime/evolve/commands/reconstruct.js +330 -0
- package/dist/core-runtime/evolve/commands/reconstruct.test.js +278 -0
- package/dist/core-runtime/evolve/commands/shared.js +22 -0
- package/dist/core-runtime/evolve/commands/stale-check.js +103 -0
- package/dist/core-runtime/evolve/commands/stale-check.test.js +84 -0
- package/dist/core-runtime/evolve/commands/start.js +887 -0
- package/dist/core-runtime/evolve/commands/start.test.js +396 -0
- package/dist/core-runtime/evolve/config/project-config.js +99 -0
- package/dist/core-runtime/evolve/config/project-config.test.js +170 -0
- package/dist/core-runtime/evolve/renderers/align-packet.js +280 -0
- package/dist/core-runtime/evolve/renderers/align-packet.test.js +332 -0
- package/dist/core-runtime/evolve/renderers/draft-packet.js +303 -0
- package/dist/core-runtime/evolve/renderers/draft-packet.test.js +377 -0
- package/dist/core-runtime/evolve/renderers/format.js +5 -0
- package/dist/core-runtime/evolve/renderers/scope-md.js +237 -0
- package/dist/core-runtime/evolve/renderers/scope-md.test.js +306 -0
- package/dist/core-runtime/govern/cli.js +369 -0
- package/dist/core-runtime/govern/cli.test.js +314 -0
- package/dist/core-runtime/govern/drift-engine.js +103 -0
- package/dist/core-runtime/govern/drift-engine.test.js +319 -0
- package/dist/core-runtime/govern/promote-principle.js +206 -0
- package/dist/core-runtime/govern/promote-principle.test.js +368 -0
- package/dist/core-runtime/govern/queue.js +81 -0
- package/dist/core-runtime/govern/types.js +16 -0
- package/dist/core-runtime/install/cli.js +530 -0
- package/dist/core-runtime/install/detect.js +128 -0
- package/dist/core-runtime/install/detect.test.js +155 -0
- package/dist/core-runtime/install/gitignore-update.js +74 -0
- package/dist/core-runtime/install/gitignore-update.test.js +64 -0
- package/dist/core-runtime/install/install-integration.test.js +373 -0
- package/dist/core-runtime/install/prompts.js +389 -0
- package/dist/core-runtime/install/prompts.test.js +293 -0
- package/dist/core-runtime/install/types.js +26 -0
- package/dist/core-runtime/install/validation.js +295 -0
- package/dist/core-runtime/install/validation.test.js +313 -0
- package/dist/core-runtime/install/writer.js +254 -0
- package/dist/core-runtime/install/writer.test.js +218 -0
- package/dist/core-runtime/learning/extractor.js +461 -0
- package/dist/core-runtime/learning/feedback.js +179 -0
- package/dist/core-runtime/learning/health-report.js +165 -0
- package/dist/core-runtime/learning/health-report.test.js +169 -0
- package/dist/core-runtime/learning/loader.js +388 -0
- package/dist/core-runtime/learning/loader.test.js +102 -0
- package/dist/core-runtime/learning/promote/apply-state.js +240 -0
- package/dist/core-runtime/learning/promote/audit-obligation.js +195 -0
- package/dist/core-runtime/learning/promote/collector.js +432 -0
- package/dist/core-runtime/learning/promote/degraded-state.js +125 -0
- package/dist/core-runtime/learning/promote/domain-doc-proposer.js +166 -0
- package/dist/core-runtime/learning/promote/e2e-promote.test.js +6385 -0
- package/dist/core-runtime/learning/promote/health-snapshot.js +150 -0
- package/dist/core-runtime/learning/promote/insight-reclassifier.js +544 -0
- package/dist/core-runtime/learning/promote/judgment-auditor.js +517 -0
- package/dist/core-runtime/learning/promote/panel-reviewer.js +1158 -0
- package/dist/core-runtime/learning/promote/promote-executor.js +1675 -0
- package/dist/core-runtime/learning/promote/promoter.js +307 -0
- package/dist/core-runtime/learning/promote/retirement.js +122 -0
- package/dist/core-runtime/learning/promote/types.js +23 -0
- package/dist/core-runtime/learning/prompt-sections.js +51 -0
- package/dist/core-runtime/learning/shared/artifact-registry-init.js +45 -0
- package/dist/core-runtime/learning/shared/artifact-registry.js +254 -0
- package/dist/core-runtime/learning/shared/audit-obligation-kernel.js +73 -0
- package/dist/core-runtime/learning/shared/audit-state.js +99 -0
- package/dist/core-runtime/learning/shared/duplicate-check.js +28 -0
- package/dist/core-runtime/learning/shared/llm-caller.js +831 -0
- package/dist/core-runtime/learning/shared/llm-caller.test.js +601 -0
- package/dist/core-runtime/learning/shared/llm-tool-loop.js +393 -0
- package/dist/core-runtime/learning/shared/mode.js +25 -0
- package/dist/core-runtime/learning/shared/paths.js +84 -0
- package/dist/core-runtime/learning/shared/paths.test.js +79 -0
- package/dist/core-runtime/learning/shared/patterns.js +37 -0
- package/dist/core-runtime/learning/shared/recoverability.js +355 -0
- package/dist/core-runtime/learning/shared/recovery-context.js +374 -0
- package/dist/core-runtime/learning/shared/scope.js +1 -0
- package/dist/core-runtime/learning/shared/semantic-classifier.js +94 -0
- package/dist/core-runtime/learning/shared/specs/apply-execution-state-spec.js +42 -0
- package/dist/core-runtime/learning/shared/specs/audit-state-spec.js +37 -0
- package/dist/core-runtime/learning/shared/specs/backup-metadata-spec.js +39 -0
- package/dist/core-runtime/learning/shared/specs/emergency-log-spec.js +41 -0
- package/dist/core-runtime/learning/shared/specs/layout-version-spec.js +38 -0
- package/dist/core-runtime/learning/shared/specs/promote-decisions-spec.js +43 -0
- package/dist/core-runtime/learning/shared/specs/promote-report-spec.js +113 -0
- package/dist/core-runtime/learning/shared/specs/prune-log-spec.js +36 -0
- package/dist/core-runtime/learning/shared/specs/recovery-resolution-spec.js +48 -0
- package/dist/core-runtime/learning/shared/specs/restore-manifest-spec.js +43 -0
- package/dist/core-runtime/learning/shared/specs/spec-helpers.js +64 -0
- package/dist/core-runtime/learning/usage-tracker.js +190 -0
- package/dist/core-runtime/learning/usage-tracker.test.js +176 -0
- package/dist/core-runtime/llm/llm-caller.js +649 -0
- package/dist/core-runtime/llm/llm-tool-loop.js +401 -0
- package/dist/core-runtime/llm/model-switcher.js +62 -0
- package/dist/core-runtime/logger.js +22 -0
- package/dist/core-runtime/onboard/detect-review-axes.js +122 -0
- package/dist/core-runtime/onboard/detect-review-axes.test.js +127 -0
- package/dist/core-runtime/onboard/write-review-block.js +188 -0
- package/dist/core-runtime/onboard/write-review-block.test.js +240 -0
- package/dist/core-runtime/readers/brownfield-builder.js +150 -0
- package/dist/core-runtime/readers/brownfield-builder.test.js +136 -0
- package/dist/core-runtime/readers/code-chunk-collector.js +53 -0
- package/dist/core-runtime/readers/code-chunk-collector.test.js +136 -0
- package/dist/core-runtime/readers/file-utils.js +240 -0
- package/dist/core-runtime/readers/file-utils.test.js +146 -0
- package/dist/core-runtime/readers/lexicon-citation-check.js +93 -0
- package/dist/core-runtime/readers/lexicon-citation-check.test.js +77 -0
- package/dist/core-runtime/readers/mcp-figma.js +30 -0
- package/dist/core-runtime/readers/mcp-figma.test.js +82 -0
- package/dist/core-runtime/readers/mcp-generic.js +31 -0
- package/dist/core-runtime/readers/mcp-generic.test.js +76 -0
- package/dist/core-runtime/readers/ontology-index.js +148 -0
- package/dist/core-runtime/readers/ontology-index.test.js +245 -0
- package/dist/core-runtime/readers/ontology-query.js +168 -0
- package/dist/core-runtime/readers/ontology-query.test.js +311 -0
- package/dist/core-runtime/readers/ontology-resolve.js +48 -0
- package/dist/core-runtime/readers/ontology-resolve.test.js +48 -0
- package/dist/core-runtime/readers/patterns/index.js +7 -0
- package/dist/core-runtime/readers/review-log.js +213 -0
- package/dist/core-runtime/readers/review-log.test.js +313 -0
- package/dist/core-runtime/readers/scan-local.js +102 -0
- package/dist/core-runtime/readers/scan-local.test.js +102 -0
- package/dist/core-runtime/readers/scan-tarball.js +121 -0
- package/dist/core-runtime/readers/scan-tarball.test.js +283 -0
- package/dist/core-runtime/readers/scan-vault.js +34 -0
- package/dist/core-runtime/readers/scan-vault.test.js +81 -0
- package/dist/core-runtime/readers/types.js +42 -0
- package/dist/core-runtime/readers/types.test.js +94 -0
- package/dist/core-runtime/readers/viewpoint-collectors.js +229 -0
- package/dist/core-runtime/reconstruct/artifact-types.js +1 -0
- package/dist/core-runtime/reconstruct/directive-validation.js +123 -0
- package/dist/core-runtime/reconstruct/materialize-preparation.js +251 -0
- package/dist/core-runtime/reconstruct/record.js +198 -0
- package/dist/core-runtime/reconstruct/run.js +578 -0
- package/dist/core-runtime/reconstruct/seed-candidate-validation.js +356 -0
- package/dist/core-runtime/reconstruct/source-observations.js +62 -0
- package/dist/core-runtime/reconstruct/source-profiles.js +73 -0
- package/dist/core-runtime/release-channel/release-channel.js +90 -0
- package/dist/core-runtime/review/artifact-types.js +13 -0
- package/dist/core-runtime/review/citation-audit.js +204 -0
- package/dist/core-runtime/review/citation-audit.test.js +165 -0
- package/dist/core-runtime/review/controlled-lens-deliberation.js +125 -0
- package/dist/core-runtime/review/execution-plan-resolver.js +247 -0
- package/dist/core-runtime/review/execution-plan-resolver.test.js +243 -0
- package/dist/core-runtime/review/execution-topology-resolver-axis-first.test.js +246 -0
- package/dist/core-runtime/review/execution-topology-resolver.js +401 -0
- package/dist/core-runtime/review/execution-topology-resolver.test.js +315 -0
- package/dist/core-runtime/review/failure-records.js +57 -0
- package/dist/core-runtime/review/inline-context-embedder.js +141 -0
- package/dist/core-runtime/review/inline-context-embedder.test.js +154 -0
- package/dist/core-runtime/review/issue-artifact-runtime.js +859 -0
- package/dist/core-runtime/review/legacy-mode-policy.js +88 -0
- package/dist/core-runtime/review/lens-completion-policy.js +17 -0
- package/dist/core-runtime/review/materializers-effort-persist.test.js +79 -0
- package/dist/core-runtime/review/materializers.js +963 -0
- package/dist/core-runtime/review/ontology-path-classifier.js +179 -0
- package/dist/core-runtime/review/ontology-path-classifier.test.js +216 -0
- package/dist/core-runtime/review/packet-boundary-policy.js +215 -0
- package/dist/core-runtime/review/packet-boundary-policy.test.js +107 -0
- package/dist/core-runtime/review/participating-lens-paths.js +61 -0
- package/dist/core-runtime/review/participating-lens-paths.test.js +73 -0
- package/dist/core-runtime/review/review-artifact-utils.js +287 -0
- package/dist/core-runtime/review/review-config-legacy-translate.js +244 -0
- package/dist/core-runtime/review/review-config-legacy-translate.test.js +161 -0
- package/dist/core-runtime/review/review-config-validator.js +289 -0
- package/dist/core-runtime/review/review-config-validator.test.js +236 -0
- package/dist/core-runtime/review/review-execution-profile.js +193 -0
- package/dist/core-runtime/review/review-execution-route.js +52 -0
- package/dist/core-runtime/review/review-progress-contract.js +123 -0
- package/dist/core-runtime/review/review-record-validation.js +251 -0
- package/dist/core-runtime/review/review-result-classification.js +379 -0
- package/dist/core-runtime/review/review-state-machine.js +39 -0
- package/dist/core-runtime/review/route-visibility.js +125 -0
- package/dist/core-runtime/review/shape-pipeline-audit.test.js +311 -0
- package/dist/core-runtime/review/shape-to-topology-id.js +117 -0
- package/dist/core-runtime/review/shape-to-topology-id.test.js +132 -0
- package/dist/core-runtime/review/topology-shape-derivation.js +155 -0
- package/dist/core-runtime/review/topology-shape-derivation.test.js +195 -0
- package/dist/core-runtime/scope-runtime/constants.js +12 -0
- package/dist/core-runtime/scope-runtime/constraint-pool.js +166 -0
- package/dist/core-runtime/scope-runtime/constraint-pool.test.js +674 -0
- package/dist/core-runtime/scope-runtime/domain-validation-log.js +135 -0
- package/dist/core-runtime/scope-runtime/domain-validation-log.test.js +156 -0
- package/dist/core-runtime/scope-runtime/eval-persistence.js +65 -0
- package/dist/core-runtime/scope-runtime/eval-persistence.test.js +84 -0
- package/dist/core-runtime/scope-runtime/event-pipeline.js +64 -0
- package/dist/core-runtime/scope-runtime/event-pipeline.test.js +450 -0
- package/dist/core-runtime/scope-runtime/event-store.js +39 -0
- package/dist/core-runtime/scope-runtime/event-store.test.js +95 -0
- package/dist/core-runtime/scope-runtime/gate-guard.js +348 -0
- package/dist/core-runtime/scope-runtime/gate-guard.test.js +1047 -0
- package/dist/core-runtime/scope-runtime/hash.js +4 -0
- package/dist/core-runtime/scope-runtime/hash.test.js +33 -0
- package/dist/core-runtime/scope-runtime/id.js +4 -0
- package/dist/core-runtime/scope-runtime/id.test.js +17 -0
- package/dist/core-runtime/scope-runtime/reducer.js +297 -0
- package/dist/core-runtime/scope-runtime/reducer.test.js +759 -0
- package/dist/core-runtime/scope-runtime/scope-manager.js +161 -0
- package/dist/core-runtime/scope-runtime/state-machine.js +309 -0
- package/dist/core-runtime/scope-runtime/state-machine.test.js +704 -0
- package/dist/core-runtime/scope-runtime/types.js +116 -0
- package/dist/core-runtime/scope-runtime/types.test.js +69 -0
- package/dist/core-runtime/target-material-kind.js +256 -0
- package/dist/core-runtime/translate/render-for-user.js +169 -0
- package/dist/core-runtime/translate/render-for-user.test.js +122 -0
- package/dist/mcp/server.js +1011 -0
- package/dist/mcp/tool-schemas.js +93 -0
- package/dist/providers/capability-contract.js +1 -0
- package/package.json +68 -0
- package/settings.example.json +33 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 2
|
|
3
|
+
last_updated: "2026-04-16"
|
|
4
|
+
source: manual
|
|
5
|
+
status: established
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Accounting Domain — Concept Dictionary and Interpretation Rules
|
|
9
|
+
|
|
10
|
+
Classification axis: **Accounting concern** — classified by the concern each term addresses. Each term is tagged with its normative tier: [T1a] Accounting Standard, [T1b] Regulatory/Tax Requirement, [T2] Audit Standard/Data Taxonomy, [T3] Industry Practice.
|
|
11
|
+
|
|
12
|
+
## Normative Tier Reference
|
|
13
|
+
|
|
14
|
+
- **[T1a] Accounting Standard**: Elements defined by K-IFRS, IFRS/IAS, K-GAAP, or US-GAAP. Enforced by auditors and legal requirements. Non-conformance produces audit qualification.
|
|
15
|
+
- **[T1b] Regulatory/Tax Requirement**: Elements required by tax authorities (Corporate Tax Law, Income Tax Law) or financial regulators (FSC disclosure rules). Enforced by regulatory review.
|
|
16
|
+
- **[T2] Audit Standard/Data Taxonomy**: Elements from ISA audit standards or XBRL/DART taxonomies. Enforced by audit firms and filing validation.
|
|
17
|
+
- **[T3] Industry Practice**: Professional conventions, typical materiality thresholds, common allocation methods. No formal enforcement — adopted by professional convention.
|
|
18
|
+
|
|
19
|
+
## Double-Entry Bookkeeping Core Terms
|
|
20
|
+
|
|
21
|
+
- [T1a] Debit (차변) = the side that records asset increases and expense occurrences. Also records decreases in liabilities/equity/revenue. Always recorded on the left side of a T-account or left column of a journal
|
|
22
|
+
- [T1a] Credit (대변) = the side that records liability/equity increases and revenue occurrences. Also records decreases in assets/expenses. Always recorded on the right side of a T-account or right column of a journal
|
|
23
|
+
- [T1a] Journal Entry (분개) = the act of decomposing a transaction into Debit and Credit entries for recording. Format: `(Dr) Account1 XXX / (Cr) Account2 XXX`. Must balance: total debits = total credits
|
|
24
|
+
- [T1a] Posting (전기) = the procedure of transferring journal records to the General Ledger (총계정원장). Each journal line posts to its specific account ledger
|
|
25
|
+
- [T1a] Trial Balance (시산표) = a schedule verifying that the total of all account Debit balances equals the total of all Credit balances. Compiled from General Ledger balances. Precedes financial statement preparation
|
|
26
|
+
- [T1a] General Ledger (총계정원장) = the master record of all account balances, organized by account code. Contains every journal posting affecting each account
|
|
27
|
+
- [T1a] Subsidiary Ledger (보조원장) = detailed records supplementing General Ledger accounts. Examples: Accounts Receivable subsidiary ledger by customer, Inventory subsidiary ledger by item
|
|
28
|
+
- [T1a] Accounting Equation (A = L + E) = the fundamental identity: Assets = Liabilities + Equity. Every transaction maintains this identity through double-entry
|
|
29
|
+
- [T1a] Adjusting Entry (수정분개) = end-of-period entries to record accrued revenues/expenses, deferred revenues/expenses, and estimates (depreciation, bad debts). Required for accrual basis accounting
|
|
30
|
+
- [T1a] Closing Entry (마감분개) = end-of-period entries that transfer temporary account (revenue/expense) balances to Retained Earnings, resetting them to zero for the next period
|
|
31
|
+
- [T1a] Reversing Entry (역분개) = optional entries at period start that reverse certain adjusting entries. Simplifies subsequent cash transactions
|
|
32
|
+
|
|
33
|
+
## Financial Statement Terms
|
|
34
|
+
|
|
35
|
+
- [T1a] Statement of Financial Position (재무상태표) = snapshot of assets, liabilities, and equity at a specific date. Former name: Balance Sheet (대차대조표). Instant attribute — represents a point in time
|
|
36
|
+
- [T1a] Statement of Comprehensive Income (포괄손익계산서) = revenue, expenses, and Other Comprehensive Income (OCI) for a given period. May be single statement or two-statement (separate IS + OCI statement). Duration attribute
|
|
37
|
+
- [T1a] Statement of Cash Flows (현금흐름표) = cash inflows/outflows classified as operating, investing, and financing activities. Operating CF presentable as direct or indirect method
|
|
38
|
+
- [T1a] Statement of Changes in Equity (자본변동표) = reconciliation of equity components (share capital, retained earnings, OCI accumulation, non-controlling interest) from opening to closing balance
|
|
39
|
+
- [T1a] Notes (주석) = integral part of financial statements. Disclose accounting policies, estimates, contingencies, related party transactions, segment information. Required per IAS 1
|
|
40
|
+
- [T1a] Fair Value (공정가치) = the price receivable in an orderly transaction between market participants at the measurement date. An exit price, not entry price. IFRS 13 defines measurement
|
|
41
|
+
- [T1a] Carrying Amount (장부금액) = the amount at which an asset/liability is recognized on the Statement of Financial Position after deducting accumulated depreciation/amortisation and accumulated impairment
|
|
42
|
+
- [T1a] Historical Cost (취득원가) = the original transaction price paid to acquire an asset. Basis for initial recognition in most cases
|
|
43
|
+
- [T1a] Net Realizable Value (순실현가능가치, NRV) = estimated selling price minus estimated costs of completion and disposal. Used for inventory impairment (IAS 2)
|
|
44
|
+
- [T1a] Value in Use (사용가치) = present value of future cash flows expected from an asset's continued use. Used for impairment testing (IAS 36)
|
|
45
|
+
- [T1a] Recoverable Amount (회수가능액) = higher of (fair value less costs of disposal) and (value in use). Used to assess impairment (IAS 36)
|
|
46
|
+
|
|
47
|
+
## Revenue Recognition Terms (IFRS 15)
|
|
48
|
+
|
|
49
|
+
- [T1a] Performance Obligation (이행의무) = a promise to transfer a distinct good/service to the customer. A contract may contain one or multiple performance obligations
|
|
50
|
+
- [T1a] Transaction Price (거래가격) = the consideration the entity expects to receive in exchange for transferring goods/services to the customer. Includes variable consideration, significant financing component adjustments
|
|
51
|
+
- [T1a] Variable Consideration (변동대가) = portion of transaction price contingent on future events (rebates, penalties, performance bonuses). Estimated using expected value or most likely amount method
|
|
52
|
+
- [T1a] Over Time (진행기준) = recognizing revenue progressively as Performance Obligations are fulfilled. Criteria: customer simultaneously receives/consumes benefit, entity's performance creates/enhances customer asset, or no alternative use + enforceable payment right
|
|
53
|
+
- [T1a] At a Point in Time (시점기준) = recognizing revenue at the specific point when control transfers. Control indicators: right to payment, legal title, physical possession, risks/rewards, customer acceptance
|
|
54
|
+
- [T1a] Contract Asset (계약자산) = entity's right to consideration for goods/services transferred before payment is due. Becomes a receivable when the right becomes unconditional
|
|
55
|
+
- [T1a] Contract Liability (계약부채) = obligation to transfer goods/services for which consideration has been received (deferred revenue, advance payment)
|
|
56
|
+
- [T1a] Standalone Selling Price (개별판매가격) = price at which the entity would sell a promised good/service separately. Used to allocate transaction price to performance obligations
|
|
57
|
+
|
|
58
|
+
## Financial Instruments Terms (IFRS 9)
|
|
59
|
+
|
|
60
|
+
- [T1a] AC (Amortised Cost, 상각후원가) = financial assets held to collect contractual cash flows that are solely payments of principal and interest (SPPI). Measured using effective interest method
|
|
61
|
+
- [T1a] FVOCI (Fair Value through OCI, 기타포괄손익-공정가치) = debt instruments held to collect and sell; equity instruments by irrevocable election. Gains/losses in OCI until derecognition (debt) or never recycled to P&L (equity)
|
|
62
|
+
- [T1a] FVTPL (Fair Value through P&L, 당기손익-공정가치) = all financial assets not qualifying for AC or FVOCI. Trading assets, derivatives (unless designated as hedging instruments)
|
|
63
|
+
- [T1a] Expected Credit Loss (기대신용손실, ECL) = probability-weighted estimate of credit losses. 3-stage model:
|
|
64
|
+
- Stage 1: 12-month ECL for performing assets (no significant increase in credit risk)
|
|
65
|
+
- Stage 2: Lifetime ECL for assets with significant increase in credit risk (but not credit-impaired)
|
|
66
|
+
- Stage 3: Lifetime ECL for credit-impaired assets (objective evidence of impairment)
|
|
67
|
+
- [T1a] Effective Interest Method (유효이자율법) = method of calculating amortised cost using the effective interest rate. Spreads interest income/expense over the instrument's life
|
|
68
|
+
- [T1a] Hedge Accounting (위험회피회계) = optional treatment matching timing of gain/loss on hedging instruments with hedged items. Types: fair value hedge, cash flow hedge, net investment hedge
|
|
69
|
+
|
|
70
|
+
## Lease Terms (IFRS 16)
|
|
71
|
+
|
|
72
|
+
- [T1a] Right-of-Use Asset (사용권자산) = lessee's right to use an underlying asset for the lease term. Recognized at commencement. Depreciated over shorter of lease term and useful life
|
|
73
|
+
- [T1a] Lease Liability (리스부채) = present value of lease payments not yet paid. Discounted at interest rate implicit in the lease (or incremental borrowing rate if not available)
|
|
74
|
+
- [T1a] Low-Value Lease (소액리스) = lease where underlying asset has low value when new (typically under ~5,000 USD equivalent). Recognition exemption available — expense payments on straight-line basis
|
|
75
|
+
- [T1a] Short-Term Lease (단기리스) = lease with a term of 12 months or less, with no purchase option. Recognition exemption available
|
|
76
|
+
- [T1a] Incremental Borrowing Rate (증분차입이자율) = rate lessee would pay to borrow funds to purchase a similar asset, over a similar term, in a similar economic environment. Used when implicit rate is not readily determinable
|
|
77
|
+
|
|
78
|
+
## Impairment Terms (IAS 36)
|
|
79
|
+
|
|
80
|
+
- [T1a] Cash-Generating Unit (현금창출단위, CGU) = smallest identifiable group of assets that generates cash inflows largely independent of cash inflows from other assets. Unit of impairment testing when individual asset cash flows are indeterminable
|
|
81
|
+
- [T1a] Impairment Loss (손상차손) = excess of carrying amount over recoverable amount. Recognized immediately in P&L (or OCI for revalued assets)
|
|
82
|
+
- [T1a] Impairment Indicator (손상징후) = external/internal event suggesting possible impairment. Market value decline, adverse changes in technology/market/economic/legal environment, obsolescence, physical damage
|
|
83
|
+
- [T1a] Impairment Reversal (손상차손환입) = reversal of prior impairment loss when circumstances improve. Permitted for most assets; prohibited for goodwill
|
|
84
|
+
|
|
85
|
+
## Inventory Terms (IAS 2)
|
|
86
|
+
|
|
87
|
+
- [T1a] FIFO (선입선출법) = First-In, First-Out cost formula. Oldest inventory costs assigned to COGS, newest to ending inventory. Approximates physical flow for most businesses
|
|
88
|
+
- [T1a] Weighted Average (가중평균법) = weighted average cost of beginning inventory and purchases assigned to COGS and ending inventory. Smooths price fluctuations
|
|
89
|
+
- [T1a] Specific Identification (개별법) = actual cost of each specific item assigned. Used for unique items (jewelry, custom equipment, real estate projects)
|
|
90
|
+
- [T1a] LIFO (후입선출법) = Last-In, First-Out. **Prohibited under IFRS/K-IFRS** since 2005. Still permitted under US-GAAP
|
|
91
|
+
|
|
92
|
+
## Tax Accounting Terms
|
|
93
|
+
|
|
94
|
+
- [T1b] Tax Adjustment (세무조정) = the procedure of reconciling differences between K-IFRS income and taxable income. Required annually for tax filing
|
|
95
|
+
- [T1b] Temporary Difference (일시적차이) = difference between Carrying Amount and tax base of assets/liabilities. Will reverse in future periods. Generates Deferred Tax
|
|
96
|
+
- [T1b] Permanent Difference (영구적차이) = difference between accounting and tax treatment that never reverses (e.g., entertainment expense limit excess, certain penalties). Does not generate Deferred Tax
|
|
97
|
+
- [T1b] Deferred Tax Asset (이연법인세자산) = future tax benefit from deductible temporary differences or tax loss carryforwards. Recognized only when probable that future taxable income will be available
|
|
98
|
+
- [T1b] Deferred Tax Liability (이연법인세부채) = future tax liability from taxable temporary differences
|
|
99
|
+
- [T1b] Tax Base (세무기준) = the amount attributed to an asset/liability for tax purposes. Differs from Carrying Amount when temporary differences exist
|
|
100
|
+
- [T1b] Effective Tax Rate (유효세율) = income tax expense / pre-tax accounting income. Differs from statutory rate due to permanent differences and deferred tax effects
|
|
101
|
+
|
|
102
|
+
## Consolidation Terms
|
|
103
|
+
|
|
104
|
+
- [T1a] Control (지배력) = power over investee + exposure to variable returns + link between power and returns (IFRS 10). All three required for consolidation
|
|
105
|
+
- [T1a] Non-controlling Interest (비지배지분, NCI) = portion of subsidiary's net assets not attributable to parent. Presented separately in equity
|
|
106
|
+
- [T1a] Goodwill (영업권) = excess of acquisition cost over fair value of identifiable net assets acquired (IFRS 3). Subject to annual impairment testing; not amortised
|
|
107
|
+
- [T1a] Intercompany Transactions (내부거래) = transactions between consolidated entities. Fully eliminated in consolidation (sales/purchases, loans/borrowings, dividends)
|
|
108
|
+
- [T1a] Unrealized Profit (미실현이익) = profit from intercompany sales still held in inventory. Eliminated in consolidation until realized through external sale
|
|
109
|
+
- [T1a] Equity Method (지분법) = accounting for investments in associates and joint ventures. Investment carried at cost + proportionate share of investee's net income/equity changes
|
|
110
|
+
- [T1a] Purchase Price Allocation (PPA, 취득가격 배분) = process of allocating business combination cost to identifiable assets acquired and liabilities assumed at fair value. Excess over net assets = goodwill
|
|
111
|
+
|
|
112
|
+
## Audit and Internal Control Terms
|
|
113
|
+
|
|
114
|
+
- [T2] Material Misstatement (중요한 왜곡표시) = misstatement significant enough to influence user decisions. Materiality thresholds typically 5% of pre-tax income or 0.5% of revenue
|
|
115
|
+
- [T2] Audit Evidence (감사증거) = information obtained by auditor to support audit opinion. Types: documentary, observation, confirmation, inquiry, recalculation, reperformance, analytical procedures
|
|
116
|
+
- [T2] Management Assertion (경영진 주장) = explicit/implicit claims by management about financial statements. Categories: occurrence, completeness, accuracy, cutoff, classification (transactions); existence, rights/obligations, valuation/allocation, completeness (balances)
|
|
117
|
+
- [T2] Internal Control (내부통제) = processes designed by management to provide reasonable assurance of reliable financial reporting, operational effectiveness, and compliance. 5 COSO components
|
|
118
|
+
- [T2] Key Audit Matters (핵심감사사항, KAM) = matters of most significance in current period audit. Communicated in auditor's report (ISA 701)
|
|
119
|
+
- [T2] Audit Opinion Types = unqualified (적정), qualified (한정), adverse (부적정), disclaimer (의견거절)
|
|
120
|
+
|
|
121
|
+
## Period Attribution Terms
|
|
122
|
+
|
|
123
|
+
- [T1a] Unearned Revenue (선수수익) = cash received but Performance Obligation not yet fulfilled. Liability until fulfillment. Contract Liability per IFRS 15
|
|
124
|
+
- [T1a] Accrued Revenue (미수수익) = Performance Obligation fulfilled but cash not yet received. Asset until collected. Contract Asset or Receivable per IFRS 15
|
|
125
|
+
- [T1a] Prepaid Expense (선급비용) = cash paid but benefit not yet consumed. Asset until consumption. Allocated to expense over consumption period
|
|
126
|
+
- [T1a] Accrued Expense (미지급비용) = benefit consumed but cash not yet paid. Liability until payment
|
|
127
|
+
|
|
128
|
+
## Cost Accounting Terms
|
|
129
|
+
|
|
130
|
+
- [T3] Direct Cost (직접원가) = costs directly traceable to a cost object (direct materials, direct labor). Does not require allocation
|
|
131
|
+
- [T3] Indirect Cost (간접원가) = costs shared across cost objects, requiring allocation (factory overhead, administrative costs)
|
|
132
|
+
- [T3] Variable Cost (변동비) = costs that change proportionally with activity level (raw materials, direct labor)
|
|
133
|
+
- [T3] Fixed Cost (고정비) = costs that remain constant over a relevant range regardless of activity (rent, depreciation)
|
|
134
|
+
- [T3] Activity-Based Costing (ABC, 활동기준원가계산) = allocation method assigning costs to activities then to products based on activity consumption. More accurate than traditional volume-based allocation for diverse product mix
|
|
135
|
+
- [T3] Standard Cost (표준원가) = predetermined cost per unit used as a benchmark. Variances (actual vs standard) indicate efficiency
|
|
136
|
+
|
|
137
|
+
## Homonyms Requiring Attention
|
|
138
|
+
|
|
139
|
+
| Term | Context A | Context B | Context C |
|
|
140
|
+
|---|---|---|---|
|
|
141
|
+
| "equity" | Equity (자본, net assets on BS) | Capital (자본, invested funds) | Share Capital (자본금, proceeds from share issuance) |
|
|
142
|
+
| "cost" | Historical Cost (취득원가) | Manufacturing Cost (제조원가) | Opportunity Cost (기회원가) |
|
|
143
|
+
| "loss" | Net Loss (당기순손실) | Impairment Loss (손상차손) | Expected Credit Loss (기대신용손실) |
|
|
144
|
+
| "value" | Fair Value (공정가치) | Carrying Amount (장부금액) | Net Realizable Value (순실현가능가치) / Value in Use (사용가치) |
|
|
145
|
+
| "income" | Operating Income (영업이익) | Net Income (당기순이익) | Other Comprehensive Income (기타포괄이익) / EBITDA |
|
|
146
|
+
| "recognition" | Revenue Recognition (수익인식) | Asset Recognition (자산인식) | Provision Recognition (충당부채인식) |
|
|
147
|
+
| "reserve" | Revaluation Reserve (재평가잉여금) | Legal Reserve (법정적립금) | Hedging Reserve (위험회피적립금) |
|
|
148
|
+
| "depreciation" | Depreciation (감가상각, PP&E) | Amortisation (무형자산상각) | Depletion (감모상각, natural resources) |
|
|
149
|
+
| "provision" | Provision (충당부채, contingent obligation) | Allowance (대손충당금, contra-asset) | Reserve (준비금) |
|
|
150
|
+
| "write-off" | Write-off (손상처리, impairment recognition) | Write-down (평가감, partial impairment) | Derecognition (제거, asset removal) |
|
|
151
|
+
|
|
152
|
+
## Accounting Policy Choices
|
|
153
|
+
|
|
154
|
+
Areas where management must choose among allowed methods and disclose the choice:
|
|
155
|
+
|
|
156
|
+
| Item | Options | Impact | Standard |
|
|
157
|
+
|---|---|---|---|
|
|
158
|
+
| Inventory valuation | FIFO / Weighted average / Specific identification | COGS and ending inventory | IAS 2 (LIFO prohibited) |
|
|
159
|
+
| Depreciation method | Straight-line / Declining balance / Units of production | Operating income and asset carrying amounts | IAS 16 |
|
|
160
|
+
| Revenue recognition timing | Point-in-time / Over-time (IFRS 15 criteria) | Revenue timing and contract balances | IFRS 15 |
|
|
161
|
+
| Lease accounting | Full recognition / Short-term exemption / Low-value exemption | Total assets, liabilities, leverage ratios | IFRS 16 |
|
|
162
|
+
| Financial instrument classification | AC / FVOCI / FVTPL | Income volatility and OCI | IFRS 9 |
|
|
163
|
+
| Investment property | Cost model / Fair value model | Balance sheet values and income recognition | IAS 40 |
|
|
164
|
+
| Revaluation (PP&E) | Cost model / Revaluation model | Asset carrying amounts, OCI accumulation | IAS 16 |
|
|
165
|
+
| Intangible asset (indefinite life) | Non-amortisation + annual impairment | Income smoothness | IAS 38 |
|
|
166
|
+
|
|
167
|
+
## Interpretation Principles
|
|
168
|
+
|
|
169
|
+
1. **Substance over form (실질우선)**: Accounting treatment must reflect economic substance, not just legal form. Sale-and-leaseback that is economically financing must be classified as financing. IFRS Conceptual Framework
|
|
170
|
+
2. **Materiality (중요성)**: Not every item requires the same disclosure detail. Materiality — whether omission could influence user decisions — determines disaggregation level. IAS 1.7, 1.29-31
|
|
171
|
+
3. **Going concern (계속기업)**: Financial statements assume continued operation unless management intends liquidation. Going concern issues fundamentally change interpretation of all figures. IAS 1.25-26
|
|
172
|
+
4. **Prudence (보수주의) vs neutrality (중립성)**: IFRS prioritizes neutrality — faithful representation without undue conservatism. Excessive conservatism distorts. Conceptual Framework (2018)
|
|
173
|
+
5. **Trial Balance ≠ correctness**: Debit/Credit balance does not guarantee classification accuracy. Both sides can be wrong and still balance
|
|
174
|
+
6. **Accounting ≠ Tax**: K-IFRS and tax standards have different purposes. Differences are systemic, not errors. Tax adjustment bridges them
|
|
175
|
+
7. **Estimates require documentation**: Depreciation life, allowance for doubtful accounts, fair value. Reasonableness is evaluated by whether basis is explicitly stated
|
|
176
|
+
8. **Consistency with change rule**: Accounting policies applied consistently across periods. Changes require retrospective restatement (IAS 8) unless explicitly prospective
|
|
177
|
+
9. **Measurement basis disclosure**: When mixed measurement bases exist (historical cost + fair value), each item's basis must be disclosed. IAS 1
|
|
178
|
+
|
|
179
|
+
## Related Documents
|
|
180
|
+
- domain_scope.md — Classification axes, sub-area definitions, normative tier classification
|
|
181
|
+
- logic_rules.md — Recognition, measurement, period attribution, consolidation logic
|
|
182
|
+
- structure_spec.md — Financial statement structure, chart of accounts, verification structure
|
|
183
|
+
- dependency_rules.md — Inter-statement linkage, inter-standard dependencies, source of truth
|
|
184
|
+
- competency_qs.md — Questions where concept mappings are applied
|
|
185
|
+
- extension_cases.md — Standard amendments, new transaction types, consolidation changes
|
|
186
|
+
- conciseness_rules.md — Redundancy rules using synonym mappings from this file
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1
|
|
3
|
+
last_updated: "2026-03-29"
|
|
4
|
+
source: bundled-domain-baseline
|
|
5
|
+
status: established
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Conciseness Rules (accounting)
|
|
9
|
+
|
|
10
|
+
This document contains the domain-specific rules that conciseness references during conciseness verification.
|
|
11
|
+
It is organized in the order: **type (allow/remove) -> verification criteria -> role boundaries -> measurement methods**.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 1. Allowed Redundancy
|
|
16
|
+
|
|
17
|
+
Each rule is tagged with a severity level:
|
|
18
|
+
- **[MUST-ALLOW]**: Redundancy that breaks the system if removed. Must be retained.
|
|
19
|
+
- **[MAY-ALLOW]**: Redundancy kept for convenience. Can be consolidated, but only remove when the benefit clearly outweighs the consolidation cost.
|
|
20
|
+
|
|
21
|
+
### Double-Entry Processing Steps
|
|
22
|
+
|
|
23
|
+
- [MUST-ALLOW] Multiple records of the same transaction across the Journal Entry (분개) -> Posting (전기) -> Trial Balance (시산표) 3-step process — the same transaction exists in different formats in the journal, General Ledger (총계정원장), and Trial Balance (시산표). Each step performs a unique verification function and cannot be consolidated. The journal is the source of truth for raw transaction records, the ledger provides account-level aggregation, and the Trial Balance (시산표) provides balance verification.
|
|
24
|
+
- [MUST-ALLOW] Coexistence of Adjusting Entries (수정분개) and original Journal Entries (분개) — original entries are immutable records, and Adjusting Entries (수정분개) are added as separate records. Directly modifying original entries destroys the audit trail.
|
|
25
|
+
|
|
26
|
+
### Tax/Accounting Parallel Records
|
|
27
|
+
|
|
28
|
+
- [MUST-ALLOW] Parallel records of K-IFRS accounting treatment and tax basis treatment — the same transaction may be treated differently for financial reporting purposes (K-IFRS) and tax filing purposes (tax law). This difference arises from the difference in system objectives; consolidating into one makes it impossible to fulfill either purpose.
|
|
29
|
+
- [MUST-ALLOW] Dual tracking of Carrying Amounts (장부금액) and tax bases for Deferred Tax (이연법인세) — two amounts (Carrying Amount (장부금액) and tax base) for the same asset/liability must be maintained simultaneously to calculate Temporary Differences (일시적차이). Removing either makes Deferred Tax (이연법인세) calculation impossible.
|
|
30
|
+
|
|
31
|
+
### Cross-Reference Between Financial Statements
|
|
32
|
+
|
|
33
|
+
- [MUST-ALLOW] Both-side records of linking items between financial statements — net income is displayed on both the Statement of Comprehensive Income (포괄손익계산서) and the Statement of Changes in Equity (자본변동표). Cash changes are displayed on both the Statement of Cash Flows (현금흐름표) and the Statement of Financial Position (재무상태표). Both-side records are needed to verify inter-statement consistency.
|
|
34
|
+
- [MAY-ALLOW] Restating main statement figures in notes — detailed breakdowns of main statement figures are explained in notes. Retain as long as the totals between main statements and notes are consistent. Remove if it is a simple repetition.
|
|
35
|
+
|
|
36
|
+
### Chart of Accounts
|
|
37
|
+
|
|
38
|
+
- [MAY-ALLOW] Same information held in both subsidiary ledgers and the General Ledger (총계정원장) — subsidiary ledgers contain per-counterparty/per-item details; the General Ledger (총계정원장) contains per-account aggregation. Details and aggregation answer different queries, so retain both; however, when aggregation discrepancies occur, the subsidiary ledger is the authoritative source.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## 2. Removal Target Patterns
|
|
43
|
+
|
|
44
|
+
Each rule is tagged with a severity level:
|
|
45
|
+
- **[MUST-REMOVE]**: Redundancy whose mere existence causes errors or incorrect inferences.
|
|
46
|
+
- **[SHOULD-REMOVE]**: Redundancy that is not very harmful but adds unnecessary complexity.
|
|
47
|
+
|
|
48
|
+
### Account Redundancy
|
|
49
|
+
|
|
50
|
+
- [MUST-REMOVE] Duplicate definitions of the same account — when the same account appears in different locations with different classifications/definitions, Posting (전기) classification errors occur. Use the term definitions in concepts.md as the basis for identification.
|
|
51
|
+
- [MUST-REMOVE] Double-recording of the same transaction under different account paths — errors such as recognizing revenue in both revenue and non-operating income simultaneously. Even if the Trial Balance (시산표) remains balanced with duplicate entries in the journal, financial statements are distorted.
|
|
52
|
+
|
|
53
|
+
### Classification Redundancy
|
|
54
|
+
|
|
55
|
+
- [SHOULD-REMOVE] Accounts with no transactions — accounts that exist in the chart of accounts but have zero actual transactions. However, retain if recorded as planned for future use in extension_cases.md.
|
|
56
|
+
- [SHOULD-REMOVE] Intermediate classifications with only 1 child account — when only a single account exists under a classification such as Assets > Current Assets > Quick Assets, the intermediate classification has no significance and should be merged with the parent.
|
|
57
|
+
|
|
58
|
+
### Definition Redundancy
|
|
59
|
+
|
|
60
|
+
- [MUST-REMOVE] Dual definition of the same accounting policy in both notes and a separate document — the source of truth for accounting policies is the notes. If a different version exists in a separate document, policy inconsistency occurs.
|
|
61
|
+
- [SHOULD-REMOVE] Same calculation logic (depreciation, allowance for doubtful accounts, etc.) copied across multiple locations — transition to a structure where the calculation basis is defined in one place and referenced elsewhere.
|
|
62
|
+
|
|
63
|
+
### Standards Application Redundancy
|
|
64
|
+
|
|
65
|
+
- [SHOULD-REMOVE] Redeclaring in specific accounting policies what the overarching standard already requires — repeating principles guaranteed by the K-IFRS Conceptual Framework (accrual basis, going concern, etc.) in individual accounting policies creates update omission risk when standards are revised.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## 3. Minimum Granularity Criteria
|
|
70
|
+
|
|
71
|
+
A sub-classification is permitted only if it satisfies **at least one** of the following. If none are satisfied, merge with the parent.
|
|
72
|
+
|
|
73
|
+
1. **Competency question difference**: Does it generate a different answer to a question in competency_qs.md?
|
|
74
|
+
2. **Constraint difference**: Do different constraints (recognition requirements, measurement criteria, disclosure requirements) apply?
|
|
75
|
+
3. **Dependency difference**: Does it depend on different standards/regulations, or link to different financial statement items?
|
|
76
|
+
|
|
77
|
+
Examples:
|
|
78
|
+
- `Current assets` and `Non-current assets` are justified as separate classifications because different recognition/measurement constraints (12-month criterion, Fair Value (공정가치) measurement frequency) apply.
|
|
79
|
+
- If `Short-term borrowings` and `Current portion of long-term debt` have the same maturity conditions and same interest rate structure, they are candidates for merging.
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## 4. Boundaries — Domain-Specific Application Cases
|
|
84
|
+
|
|
85
|
+
The authoritative source for boundary definitions is `roles/conciseness.md`. This section describes only the specific application cases in the accounting domain.
|
|
86
|
+
|
|
87
|
+
### pragmatics boundary
|
|
88
|
+
|
|
89
|
+
- conciseness: Does an unnecessary element **exist**? (structural level)
|
|
90
|
+
- pragmatics: Does unnecessary information **hinder** query execution? (execution level)
|
|
91
|
+
- Example: Unused accounting policies described in financial statement notes -> conciseness. Excessive notes making it difficult to identify important information -> pragmatics.
|
|
92
|
+
|
|
93
|
+
### coverage boundary
|
|
94
|
+
|
|
95
|
+
- conciseness: Does something exist that should not? (reduction direction)
|
|
96
|
+
- coverage: Is something missing that should exist? (expansion direction)
|
|
97
|
+
- Example: Accounts receivable impairment model is missing -> coverage. Both individual and collective assessment are redundantly applied to the same receivable -> conciseness.
|
|
98
|
+
|
|
99
|
+
### logic boundary (predecessor/successor relationship)
|
|
100
|
+
|
|
101
|
+
- logic predecessor: determines logical equivalence (entailment)
|
|
102
|
+
- conciseness successor: decides whether to remove after equivalence is confirmed
|
|
103
|
+
- Example: The Conceptual Framework's accrual basis principle entails an individual accounting policy's period attribution rule -> logic determines equivalence -> conciseness determines "individual policy redeclaration is unnecessary."
|
|
104
|
+
|
|
105
|
+
### semantics boundary (predecessor/successor relationship)
|
|
106
|
+
|
|
107
|
+
- semantics predecessor: determines semantic identity (synonym status)
|
|
108
|
+
- conciseness successor: decides whether merging is needed after synonym confirmation
|
|
109
|
+
- Example: Balance Sheet (대차대조표)/Statement of Financial Position (재무상태표), Income Statement (손익계산서)/Statement of Comprehensive Income (포괄손익계산서) are the same concepts -> semantics determines they are synonyms -> conciseness determines "consolidate to current terms (Statement of Financial Position (재무상태표), Statement of Comprehensive Income (포괄손익계산서))."
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## 5. Quantitative Criteria
|
|
114
|
+
|
|
115
|
+
Domain-observed thresholds for conciseness judgment. Each threshold is a review signal, not an automatic removal trigger.
|
|
116
|
+
|
|
117
|
+
### Chart of Accounts Thresholds
|
|
118
|
+
|
|
119
|
+
- **Level 3 account count**: >300 active accounts → review for consolidation opportunity. Large charts indicate historical accumulation, often with redundant accounts
|
|
120
|
+
- **Unused account ratio**: >20% of defined accounts with zero journal activity for >2 periods → cleanup candidates. Exception: accounts reserved for specific infrequent transactions (tax refund, prior period adjustments)
|
|
121
|
+
- **Account classification depth**: >4 hierarchy levels → review for flattening. Most systems function well with 3 levels (element → classification → individual account)
|
|
122
|
+
- **Subsidiary ledger completeness**: trade receivables account without subsidiary ledger → review for aggregation loss (IAS 1 disclosure requirements)
|
|
123
|
+
|
|
124
|
+
### Policy Duplication Thresholds
|
|
125
|
+
|
|
126
|
+
- **Policy statement repetition**: Same accounting policy stated in 3+ places (notes, internal policy manual, audit file) → consolidate to single authoritative source with references
|
|
127
|
+
- **Multiple methods in same class**: Same asset class (e.g., PP&E) with multiple measurement methods (cost + fair value) → enforce single method per class (IAS 16)
|
|
128
|
+
|
|
129
|
+
### Consolidation Redundancy Thresholds
|
|
130
|
+
|
|
131
|
+
- **Intercompany elimination documentation**: Same elimination pattern recorded in 3+ locations → consolidate to single eliminations register
|
|
132
|
+
- **Inter-standard cross-references**: Same standard cited from 5+ different policy documents → create centralized standards reference
|
|
133
|
+
|
|
134
|
+
### Period Reporting Thresholds
|
|
135
|
+
|
|
136
|
+
- **Duplicate period-end procedures**: Same procedure (e.g., bank reconciliation) executed by 2+ teams → single owner
|
|
137
|
+
- **Comparative period redundancy**: Prior period data stored separately in multiple systems → single source of truth
|
|
138
|
+
|
|
139
|
+
### Review Output Conciseness
|
|
140
|
+
|
|
141
|
+
- **Finding deduplication**: 3+ findings citing same root cause (e.g., cross-statement linkage failure trace) → consolidate into 1 finding with root cause + all affected statements
|
|
142
|
+
- **Cross-file deduplication**: Issue flagged by both conciseness and preceding agent → defer to preceding agent; add only consolidation recommendation
|
|
143
|
+
|
|
144
|
+
### Cross-Tier Duplication Thresholds
|
|
145
|
+
|
|
146
|
+
- **Tier-1a/1b overlap**: Same rule appearing as both K-IFRS (T1a) and Corporate Tax Law (T1b) → preserve both (different purposes), but cross-reference
|
|
147
|
+
- **Tier-1a/T3 overlap**: Standard rule and industry practice saying same thing → consolidate to Tier-1a when industry practice is merely restatement
|
|
148
|
+
- **Tier-2/T3 overlap**: Audit procedure (T2) and industry heuristic (T3) → preserve if T2 adds specific procedures; consolidate if T2 merely quotes T3
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## Related Documents
|
|
153
|
+
|
|
154
|
+
- `concepts.md` — Term definitions, synonym mappings, homonym lists, normative tier references (semantic criteria for redundancy)
|
|
155
|
+
- `structure_spec.md` — Financial statement structure, chart of accounts, hierarchy principles (structural removal criteria)
|
|
156
|
+
- `competency_qs.md` — Competency question list (criteria for "actual difference" in minimum granularity)
|
|
157
|
+
- `domain_scope.md` — Normative tier classification, cross-cutting concerns (tier-level duplication criteria)
|
|
158
|
+
- `dependency_rules.md` — Source of truth management, inter-statement linkage (basis for allowing reference copies)
|
|
159
|
+
- `logic_rules.md` — Double-entry balance, recognition/measurement logic, closing procedures (logical equivalence criteria)
|
|
160
|
+
- `extension_cases.md` — Extension scenarios that may introduce or resolve redundancy
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 2
|
|
3
|
+
last_updated: "2026-04-16"
|
|
4
|
+
source: manual
|
|
5
|
+
status: established
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Accounting Domain — Dependency Rules
|
|
9
|
+
|
|
10
|
+
Classification axis: **Dependency type** — rules classified by the nature of the inter-element relationship.
|
|
11
|
+
|
|
12
|
+
## Inter-Financial-Statement Linkage
|
|
13
|
+
|
|
14
|
+
The 4 core linkages across financial statements. Violation of any linkage indicates compromised statement integrity.
|
|
15
|
+
|
|
16
|
+
| ID | Rule | Severity |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
| LK-01 | Net income on IS = Retained Earnings change on SoCE | Error |
|
|
19
|
+
| LK-02 | Closing equity on SoCE = Total equity on BS | Error |
|
|
20
|
+
| LK-03 | Cash change on CF = Cash and Cash Equivalents change on BS | Error |
|
|
21
|
+
| LK-04 | OCI on IS = Accumulated OCI change on SoCE | Error |
|
|
22
|
+
|
|
23
|
+
### Linkage Verification
|
|
24
|
+
|
|
25
|
+
- Every period-end, the 4 linkages must be verified before statements are issued
|
|
26
|
+
- Failure of any linkage indicates: (1) missed closing entry, (2) posting error, (3) incorrect adjustment, (4) intercompany elimination error (consolidated)
|
|
27
|
+
- Tracing technique: start from the linkage violation, trace back through closing entries, then adjusting entries, then individual journal entries
|
|
28
|
+
|
|
29
|
+
### Violation Example
|
|
30
|
+
|
|
31
|
+
**Scenario**: SoCE shows Retained Earnings change of 100M. IS shows net income of 120M. Discrepancy of 20M.
|
|
32
|
+
**Diagnosis**: Likely causes in order of likelihood:
|
|
33
|
+
1. Dividends declared of 20M not recorded in SoCE (closing entry missed)
|
|
34
|
+
2. Prior period adjustment of 20M posted directly to Retained Earnings (should appear in SoCE)
|
|
35
|
+
3. Posting error in closing entry (partial close of income summary)
|
|
36
|
+
|
|
37
|
+
## Direction Rules
|
|
38
|
+
|
|
39
|
+
Rules governing the allowed direction of data flow.
|
|
40
|
+
|
|
41
|
+
| ID | Flow | Allowed Direction | Prohibited Direction |
|
|
42
|
+
|---|---|---|---|
|
|
43
|
+
| DR-01 | Transaction occurrence → Journal Entry | Transaction → Journal | Journal → Transaction (cannot create transactions from journals) |
|
|
44
|
+
| DR-02 | Journal Entry → Ledger (via Posting) | Journal → Ledger | Ledger → Journal (cannot backfill journals from ledgers) |
|
|
45
|
+
| DR-03 | Ledger → Trial Balance | Ledger → TB | TB → Ledger (TB is aggregation, not source) |
|
|
46
|
+
| DR-04 | Trial Balance → Financial Statements | TB → Statements | Statements → TB (statements are derived) |
|
|
47
|
+
| DR-05 | Main Statement → Note Reference | Main → Note | Note → Main (notes explain, don't define) |
|
|
48
|
+
| DR-06 | K-IFRS Standards → Accounting Policies | Standards → Policies | Policies → Standards (policies conform to standards) |
|
|
49
|
+
| DR-07 | K-IFRS Financial Statements → Tax Adjustment | K-IFRS → Tax | Tax → K-IFRS (tax does not modify financial statements) |
|
|
50
|
+
|
|
51
|
+
### Direction Rule Rationale
|
|
52
|
+
|
|
53
|
+
- **DR-01 to DR-04** establish the unidirectional flow from transaction to statement. Modifications are only permitted through adjusting entries (new journal entries) — direct modification of ledgers or trial balances is forbidden
|
|
54
|
+
- **DR-05** preserves the primacy of main statements. Notes add context but cannot reclassify main statement items
|
|
55
|
+
- **DR-06** enforces standard hierarchy. Accounting policies are derivative; standards are the source
|
|
56
|
+
- **DR-07** maintains separation between financial and tax reporting. Tax adjustments do not rewrite the books
|
|
57
|
+
|
|
58
|
+
## Inter-Standard Dependencies
|
|
59
|
+
|
|
60
|
+
When multiple K-IFRS standards apply to the same transaction, priority and interaction rules determine treatment.
|
|
61
|
+
|
|
62
|
+
### Standard Interaction Matrix
|
|
63
|
+
|
|
64
|
+
| Transaction Type | Applicable Standards | Interaction Rule |
|
|
65
|
+
|---|---|---|
|
|
66
|
+
| Contract with lease + non-lease components | IFRS 16, IFRS 15 | Separate components and apply each standard independently (IFRS 16.12-17) |
|
|
67
|
+
| Trade receivables | IFRS 15 (initial), IFRS 9 (subsequent) | Initial recognition per IFRS 15 transaction price; subsequent ECL per IFRS 9 |
|
|
68
|
+
| Lease receivables (lessor) | IFRS 16 (recognition), IFRS 9 (impairment) | ECL model from IFRS 9 applied to lease receivables |
|
|
69
|
+
| Revenue from financial products | IFRS 9 (interest), IFRS 15 (service fees) | Interest income per effective interest method (IFRS 9); service fees per IFRS 15 |
|
|
70
|
+
| Investment in equity-method entity | IAS 28 (measurement), IFRS 9 (held-for-sale if applicable) | Equity method unless reclassified to held-for-sale |
|
|
71
|
+
| Goodwill | IFRS 3 (recognition), IAS 36 (impairment) | Initial recognition per IFRS 3; annual impairment per IAS 36 |
|
|
72
|
+
|
|
73
|
+
### Priority Principle
|
|
74
|
+
|
|
75
|
+
When a specific standard has explicit requirements for a transaction type, that standard takes precedence over general principles. Example:
|
|
76
|
+
- Revenue from contracts with customers → IFRS 15 (specific)
|
|
77
|
+
- Other revenue (interest, dividends, rental) → per respective standards
|
|
78
|
+
- General asset recognition → IFRS Conceptual Framework (only when no specific standard applies)
|
|
79
|
+
|
|
80
|
+
## Period Dependencies
|
|
81
|
+
|
|
82
|
+
Rules governing multi-period consistency.
|
|
83
|
+
|
|
84
|
+
| ID | Rule | Severity |
|
|
85
|
+
|---|---|---|
|
|
86
|
+
| PD-01 | Prior period closing balances = Current period opening balances (permanent accounts) | Error |
|
|
87
|
+
| PD-02 | Temporary accounts (revenue, expense) start each period at zero | Error |
|
|
88
|
+
| PD-03 | Comparative financial statements: current and prior periods presented together | Warning |
|
|
89
|
+
| PD-04 | Accounting policy change: prior period restated retrospectively (IAS 8) | Warning |
|
|
90
|
+
| PD-05 | Error correction: prior period restated retrospectively (IAS 8) | Error |
|
|
91
|
+
| PD-06 | Estimate change: prospective application (IAS 8.32) | Warning |
|
|
92
|
+
| PD-07 | Quarterly sum ≠ Annual (year-end closing adjustments create differences) | Informational |
|
|
93
|
+
|
|
94
|
+
### Policy Change vs Estimate Change
|
|
95
|
+
|
|
96
|
+
- **Policy change** (retrospective): method of applying standard changes. Example: inventory valuation method FIFO → Weighted average
|
|
97
|
+
- **Estimate change** (prospective): judgment about future changes. Example: useful life of machinery revised from 10 to 8 years
|
|
98
|
+
|
|
99
|
+
Retrospective application process:
|
|
100
|
+
1. Restate prior period comparatives as if new policy had always been applied
|
|
101
|
+
2. Adjust opening retained earnings of earliest presented period
|
|
102
|
+
3. Disclose change and impact
|
|
103
|
+
|
|
104
|
+
## Inter-Account Dependencies
|
|
105
|
+
|
|
106
|
+
Dependencies between specific account pairs that must be maintained.
|
|
107
|
+
|
|
108
|
+
| Pair | Relationship | Verification |
|
|
109
|
+
|------|--------------|--------------|
|
|
110
|
+
| Revenue ↔ Trade Receivables | Simultaneous on credit sale | Revenue period = Receivable recognition period |
|
|
111
|
+
| Trade Receivables ↔ Allowance for Doubtful Accounts | Contra-asset | Allowance updated when receivables change materially |
|
|
112
|
+
| Depreciation Expense ↔ Accumulated Depreciation | Simultaneous recognition | Depreciation expense = change in accumulated depreciation |
|
|
113
|
+
| Inventories ↔ COGS | On sale | Inventory decrease = COGS recognition |
|
|
114
|
+
| Deferred Tax ↔ Temporary Differences | Derived | DT balance = sum of (temporary difference × tax rate) |
|
|
115
|
+
| Share Capital ↔ Shares Outstanding | 1:1 | Capital issued at par × shares outstanding |
|
|
116
|
+
|
|
117
|
+
### Referential Integrity
|
|
118
|
+
|
|
119
|
+
| ID | Rule | Severity |
|
|
120
|
+
|---|---|---|
|
|
121
|
+
| RI-01 | Accounts referenced in Journal Entries must exist in chart of accounts | Error |
|
|
122
|
+
| RI-02 | Financial statement items referenced in notes must exist in main statements | Error |
|
|
123
|
+
| RI-03 | Tax adjustment items must reference existing financial statement items | Error |
|
|
124
|
+
| RI-04 | Consolidated subsidiaries must be included in consolidation scope | Error |
|
|
125
|
+
| RI-05 | Intercompany transactions must reference both counterparties | Error |
|
|
126
|
+
|
|
127
|
+
## Source of Truth Management
|
|
128
|
+
|
|
129
|
+
Defining the authoritative source when accounting data appears in multiple places.
|
|
130
|
+
|
|
131
|
+
### Internal Source of Truth
|
|
132
|
+
|
|
133
|
+
| Data Type | Source of Truth | Derived/Reference |
|
|
134
|
+
|-----------|-----------------|-------------------|
|
|
135
|
+
| Transaction details | Journal (분개장) | Ledger, trial balance, statements |
|
|
136
|
+
| Account balances | General Ledger (총계정원장) | Trial balance, statements |
|
|
137
|
+
| Inter-period totals | Trial Balance (시산표) | Statements |
|
|
138
|
+
| Accounting policy | Notes (significant accounting policies) | Individual treatment |
|
|
139
|
+
| Internal control design | Internal Control Manual / COSO assessment | Control activity execution |
|
|
140
|
+
|
|
141
|
+
### External Source of Truth
|
|
142
|
+
|
|
143
|
+
| Data Type | Source of Truth | Notes |
|
|
144
|
+
|-----------|-----------------|-------|
|
|
145
|
+
| Accounting standards | K-IFRS (Korean Institute of CPAs translation) | Aligned with IFRS Foundation text |
|
|
146
|
+
| Tax standards | Corporate Tax Law, Income Tax Law | Periodic amendments |
|
|
147
|
+
| Audit standards | ISA (IAASB) | Periodic amendments |
|
|
148
|
+
| Fair value inputs | Market data (for Level 1/2); valuation models (Level 3) | IFRS 13 hierarchy |
|
|
149
|
+
| Exchange rates | Official bank rate or recognized source | Documented per transaction |
|
|
150
|
+
|
|
151
|
+
### Conflict Resolution Priority
|
|
152
|
+
|
|
153
|
+
When sources conflict:
|
|
154
|
+
|
|
155
|
+
1. **Accounting standards (K-IFRS)** for financial reporting — non-negotiable
|
|
156
|
+
2. **Tax law** for tax filing — applied in parallel
|
|
157
|
+
3. **Internal policy** for standard implementation choices — must be within K-IFRS framework
|
|
158
|
+
4. **Industry practice** for judgment areas where standards are silent — documented rationale
|
|
159
|
+
|
|
160
|
+
### Documentation Requirement
|
|
161
|
+
|
|
162
|
+
When conflicts resolved, document:
|
|
163
|
+
- Standards referenced
|
|
164
|
+
- Rationale for choice
|
|
165
|
+
- Expected impact on financial statements
|
|
166
|
+
- Subsequent monitoring plan
|
|
167
|
+
|
|
168
|
+
## External Dependency Management
|
|
169
|
+
|
|
170
|
+
Dependencies on external factors that change over time.
|
|
171
|
+
|
|
172
|
+
### K-IFRS Standard Amendments
|
|
173
|
+
|
|
174
|
+
- When standards amended, assess:
|
|
175
|
+
1. Effective date (current period or future)
|
|
176
|
+
2. Transition method (retrospective, modified retrospective, prospective)
|
|
177
|
+
3. Impact on accounting policies
|
|
178
|
+
4. Impact on financial statement presentation
|
|
179
|
+
5. Disclosure requirements in transition year
|
|
180
|
+
- Change propagation: new standard → policy update → transaction treatment → statement impact → disclosure
|
|
181
|
+
|
|
182
|
+
### Tax Law Amendments
|
|
183
|
+
|
|
184
|
+
- When tax rates change, recalculate Deferred Tax at new rates
|
|
185
|
+
- When tax adjustment rules change, reclassify items between temporary/permanent differences
|
|
186
|
+
- Disclose tax law change impact on effective tax rate
|
|
187
|
+
|
|
188
|
+
### Exchange Rate Fluctuations
|
|
189
|
+
|
|
190
|
+
- Foreign currency transactions: recognized at transaction date rate
|
|
191
|
+
- Foreign currency monetary items at period end: translated at closing rate
|
|
192
|
+
- Non-monetary items at historical cost: translated at historical rate
|
|
193
|
+
- Translation differences: P&L for monetary items, OCI for certain non-monetary items
|
|
194
|
+
- Hedge of foreign operation: translation differences in OCI (net investment hedge)
|
|
195
|
+
|
|
196
|
+
### Fair Value Inputs
|
|
197
|
+
|
|
198
|
+
- Market data for Level 1 instruments: quoted prices in active markets
|
|
199
|
+
- Observable inputs for Level 2: yield curves, credit spreads, volatility
|
|
200
|
+
- Unobservable inputs for Level 3: internal valuation models, management assumptions
|
|
201
|
+
- When market data source changes (e.g., broker discontinues), revalidate and disclose
|
|
202
|
+
|
|
203
|
+
## Circular Dependency Detection
|
|
204
|
+
|
|
205
|
+
### Intentional Bidirectional Patterns (Not Cycles)
|
|
206
|
+
|
|
207
|
+
- **Parent ↔ Subsidiary** (consolidation): intercompany transactions create bidirectional edges that are eliminated in consolidation — managed, not circular
|
|
208
|
+
- **Deferred Tax Asset ↔ Deferred Tax Liability**: both derived from Temporary Differences; not circular but derived from same source
|
|
209
|
+
- **Trial Balance ↔ Journal Entries**: TB aggregates journals, but when journals are modified, TB recalculates — one-way recalculation, not cycle
|
|
210
|
+
|
|
211
|
+
### Unintentional Cycles (Defects)
|
|
212
|
+
|
|
213
|
+
- **Journal A ↔ Journal B**: two journals referencing each other without a source transaction
|
|
214
|
+
- **Policy A requires Policy B, Policy B requires Policy A**: circular policy definition
|
|
215
|
+
- **Control assessment loops**: consolidation scope depends on control; control assessment requires consolidation data
|
|
216
|
+
|
|
217
|
+
### Detection Method
|
|
218
|
+
|
|
219
|
+
- For accounting data: verify the strict flow (Transaction → Journal → Ledger → Trial Balance → Statements). If any reverse dependency exists, investigate
|
|
220
|
+
- For policy/standard dependencies: construct DAG of policy references; cycles indicate defective policy design
|
|
221
|
+
|
|
222
|
+
## SE Transfer Verification
|
|
223
|
+
|
|
224
|
+
| SE Pattern | Accounting Equivalent | Key Difference |
|
|
225
|
+
|---|---|---|
|
|
226
|
+
| Acyclic Dependencies Principle (module DAG) | Transaction-to-statement flow DAG | Both prohibit cycles; accounting enforces via direction rules |
|
|
227
|
+
| Dependency Inversion (depend on abstractions) | Policies depend on standards, not on specific transactions | SE uses interfaces; accounting uses standards as abstraction |
|
|
228
|
+
| Referential Integrity (FK) | RI-01 to RI-05 | SE enforces at DB level; accounting enforces at entry validation + audit |
|
|
229
|
+
| Source of Truth Management | SoT priority (K-IFRS > tax > internal > practice) | Similar principle; accounting has multiple parallel SoT for different purposes |
|
|
230
|
+
| Diamond Dependencies | Multi-standard transactions (IFRS 15 + IFRS 9) | SE version conflicts; accounting uses standard interaction rules |
|
|
231
|
+
| Change propagation | Standard/tax law amendment propagation | Both trace changes through dependencies; accounting emphasizes period boundary |
|
|
232
|
+
|
|
233
|
+
## Related Documents
|
|
234
|
+
- concepts.md — Definitions of financial statement and standards-related terms
|
|
235
|
+
- structure_spec.md — Financial statement structure and hierarchy principles
|
|
236
|
+
- logic_rules.md — Recognition, measurement, consolidation, tax logic
|
|
237
|
+
- domain_scope.md — Source of Truth priority mapping
|
|
238
|
+
- competency_qs.md — Questions verifying dependency rules
|
|
239
|
+
- extension_cases.md — Scenarios requiring dependency rule changes
|