framework_eng/skills/framework-meta/source-of-truth/SKILL.md
MUST use BEFORE making a judgment about the cause of a conflict, a test failure, or an artifact dispute. Defines the end-to-end verification method L1→L6 and the classification of the first broken link.
npx skillsauth add steelmorgan/1c-agent-based-dev-framework source-of-truthInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
In full-cycle, artifacts form a hierarchy of sources of truth. A lower level refines the upper level, but does NOT override it. In a conflict, priority is always with the higher level. Verification is performed along the entire chain from top to bottom until the first broken link is found. This skill is a detailed procedure; the invariant-trigger "conflict → check the chain from top to bottom" is fixed in the rule
framework/rules/source-of-truth.md.
| Level | Artifact | Purpose | |---------|----------|------------| | 1 | Business goal of the task + explicit user answers | Define intent and the acceptable result | | 2 | Approved specification + acceptance criteria | Fix the task contract | | 3 | Technical design + task-breakdown.json | Define the implementation approach and decomposition | | 4 | BDD / acceptance scenarios | Formalize observable behavior | | 5 | Unit / integration tests | Verify behavior at the executable level | | 6 | Code | Implements behavior |
If a particular task is missing a level according to the process rules, the source of truth is the nearest approved level above the current one.
For any conflict, test failure, behavior mismatch, or dispute between artifacts, the agent MUST check the chain from top to bottom:
It is forbidden to skip levels and make a binary conclusion like "the test is at fault" or "the code is at fault" without checking the upper levels.
| Where the discrepancy is first found | Classification | |------------------------------------|---------------| | Levels 1-2 | Requirements / specification issue | | Level 3 | Technical design / decomposition issue | | Level 4 | Acceptance / BDD scenarios issue | | Level 5 | Test issue | | Level 6 | Implementation issue |
You must record not only the symptom, but also the first broken link in the chain.
In other words: this rule defines the source of truth, agent prompts define the right to change, and the orchestrator defines the return route.
implementation_error only after checking that the test and the expected behavior are consistent with the upper levelsdepends_on:
development
MUST use AFTER a work cycle with ≥2 iterations (wrote → error → fixed → success). Provides the retrospective procedure and the format for recording practice/anti-patterns in references/learned-patterns.md or {project}/.context/learned-patterns.md.
tools
MUST use WHEN you are writing reusable knowledge into RLM (pattern / architectural decision / stable domain fact) OR reading it before a non-trivial task/solution in the domain. Provides the breakdown of native-push vs RLM-pull, tools for writing and reading RLM, H-MEM levels, and hygiene.
testing
MUST use WHEN the task is classified as simple (< 20 lines, 1 file, no new metadata objects, no architectural decisions). Provides a short cycle of 3 steps with a guard on the self path and mandatory verify.
development
MUST use WHEN the orchestrator creates a task branch, commits a phase, merges a task, or rolls back changes. Provides branch strategy, phase commit format, squash-merge, and a ban on file deletion.