Init Commands: Guardrails from the Start
Reconcile init
Episode 5
Reconcile init
The video discusses the reconcile init command for tari applications, which allows intelligent merging of .tauri init rules between a local project and a source of truth (e.g., a user's home directory or a team's git repository). The command identifies differences between the local and master rules, presenting them to the user for a decision: blindly copy one or the other, or perform an intelligent merge. The example given highlights differences such as database layers, back pressure handling, and testing table setups, demonstrating how the command can bring valuable learnings from one project to another. The speaker suggests that this system enables continuous improvement of rules by incorporating knowledge gained from debugging experiences. Teams can collaborate by committing these rules to a Git repository, allowing members to git clone and reconcile init to integrate the team's collective knowledge into their local projects, or teams working on the same project can update the local rules and use git merge. The speaker will demonstrate how to research an init with a given source in a future video, as well as manually invoke the codified rules.