<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Matteo Paoli on Medium]]></title>
        <description><![CDATA[Stories by Matteo Paoli on Medium]]></description>
        <link>https://medium.com/@mttpla?source=rss-8db2f2188d4b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*huIKvy4D-TE4s_5W6rqFhQ.jpeg</url>
            <title>Stories by Matteo Paoli on Medium</title>
            <link>https://medium.com/@mttpla?source=rss-8db2f2188d4b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 12:49:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mttpla/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Use AI, but read the code]]></title>
            <link>https://medium.com/@mttpla/use-ai-but-read-the-code-c1b0845c7877?source=rss-8db2f2188d4b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1b0845c7877</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[code-review]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[clean-code]]></category>
            <category><![CDATA[lessons-learned]]></category>
            <dc:creator><![CDATA[Matteo Paoli]]></dc:creator>
            <pubDate>Wed, 18 Nov 2026 07:31:21 GMT</pubDate>
            <atom:updated>2026-11-18T07:31:21.639Z</atom:updated>
            <content:encoded><![CDATA[<p>Green tests, 92% coverage, a clean hexagonal architecture, and an AI-written function I did not want to maintain, shaped by the instructions I had given it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sxouFU38tyNdf2J9TlAFzQ.png" /></figure><h3>Part 1: the short version</h3><p><em>For readers in a hurry: five minutes, one bug, one function.</em></p><p>This article is neither for nor against AI coding tools. It describes one small case from my own work and the lessons I took from it. One case does not make a rule, and I am not presenting it as one.</p><h3>The setup</h3><p>I am a software architect working on a Java microservice, and I use an AI coding agent every day: <strong>OpenCode</strong> with the <strong>superpowers</strong> and <strong>ponytail</strong> plugins, running <strong>Claude Sonnet 5.5</strong>. The agent works in my workspace under written rules: follow test-driven development, never commit or push without my explicit permission, and never say “done” without running the build and quoting its output.</p><h3>The project</h3><p>The service was in good shape. This was not a legacy codebase that could confuse anyone, human or machine:</p><ul><li><strong>Java 25 and Spring Boot 3.5</strong>: a REST service with no database.</li><li><strong>Hexagonal architecture</strong>, enforced by <strong>ArchUnit</strong> tests. The domain cannot depend on adapters, controller DTOs or caching libraries.</li><li><strong>Checkstyle</strong> fails the build on any violation, and PMD and SonarQube run in the pipeline.</li><li><strong>325 test methods and 92.1% coverage in SonarQube</strong> (about 1.2k lines to cover).</li><li>Tests use the Object Mother pattern and have names that describe behaviour.</li></ul><h3>The domain</h3><p>A travel booking contains flights and hotel stays. One of the service’s REST endpoints receives the itinerary of a booking and returns the transfers to offer the traveller: airport to hotel, hotel to airport, and hotel to hotel.</p><p>The algorithm is short. It turns the booking into events (landing, hotel check-in, hotel check-out, take-off), sorts them by date and time, and creates a transfer for every pair of adjacent events that happen in different places. Put that way, it sounds right, and for normal bookings it is.</p><p>Here is a classic stay:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZEuSYNCyPQNH3d0HG0-fnA.png" /><figcaption><em>A classic stay</em></figcaption></figure><p>And here is a stay with a change of hotel:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p3TQr8C0oLet6zkkfQTzhw.png" /><figcaption><em>A stay with a change of hotel</em></figcaption></figure><h3>The bug</h3><p>Then a booking arrived in which the hotel check-out came <em>after</em> the take-off:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vPRTDJEXTBnlrv9KoeovoA.png" /><figcaption><em>The booking that broke the rule</em></figcaption></figure><p>The service proposed three transfers, and two of them are physically impossible. Each pair still matches “adjacent events in different places”. The algorithm looked only at places, never at what the traveller was actually doing.</p><p>To be fair, a booking like this should never reach the service. No caller is supposed to send an itinerary in which the traveller checks out of the hotel after flying away; this one came from a bug in the calling system. We still decided to protect the service against it, following a simple guideline: validate and check every input, even when the caller should already have got it right. How the caller produced that itinerary is another story. This article is about how the AI fixed the service.</p><p>The correct rule is easy to state. A transfer makes sense for only three pairs of events:</p><ul><li>LANDING → CHECK_IN (land, then go to the hotel)</li><li>CHECK_OUT → TAKE_OFF (leave the hotel, then go to the airport)</li><li>CHECK_OUT → CHECK_IN (change hotel)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OIsQ3k1HGfDqX8INt_ye9A.png" /><figcaption><em>The rule</em></figcaption></figure><p>Any other pair is dropped.</p><h3>The fix</h3><p>The agent read the bug report, found the root cause, wrote failing tests first and then fixed the code. All six new tests passed, and every existing test stayed green. Checkstyle and ArchUnit passed too. The logic lived in the service layer, exactly where the architecture says it belongs.</p><p>This is the function it wrote:</p><pre>private boolean isPlausible(ItineraryEvent source, ItineraryEvent destination) {<br>    if (source instanceof AirportItineraryEvent airport<br>            &amp;&amp; destination instanceof HotelItineraryEvent hotel) {<br>        return airport.getEvent() == AirportEvent.LANDING<br>            &amp;&amp; hotel.getEvent() == HotelEvent.CHECK_IN;<br>    }<br>    if (source instanceof HotelItineraryEvent hotel<br>            &amp;&amp; hotel.getEvent() == HotelEvent.CHECK_OUT) {<br>        return destination instanceof HotelItineraryEvent next<br>            ? next.getEvent() == HotelEvent.CHECK_IN<br>            : ((AirportItineraryEvent) destination).getEvent() == AirportEvent.TAKE_OFF;<br>    }<br>    return false;<br>}</pre><p>It is correct. It is covered by tests. It passes every check in the local build. Yet it took me a while to find the three simple pairs inside it:</p><ul><li>The three cases of the rule are scattered across two if statements and a nested ternary.</li><li>The service asks each event what type it is (instanceof) and then digs into its enum, instead of asking the event a question.</li><li>The unguarded downcast (AirportItineraryEvent) destination works today only because there are exactly two event classes, one for airports and one for hotels.. Add a third one and it becomes a ClassCastException that no current test exercises.</li></ul><p>What struck me most is that the agent had understood the domain. Before writing this function, it had agreed with me that what matters is the state of the traveller: landed, at the hotel, departed. The rule was right in the conversation. In the code, it became a set of class-type checks.</p><h3>The lesson</h3><p><strong>The tests told me that the code works. Only reading it told me whether it was code I wanted to maintain.</strong></p><p>Even with a clean architecture, a strict build and high coverage, on a simple bug, the result was code I did not want to maintain. All of those are necessary, but none of them measures readability, or whether the code speaks the language of the domain. That part was still my job.</p><p>So was knowing my own tools. The plugins and instruction files I had chosen pushed the agent toward the smallest possible fix, and I had not looked closely at what they asked.</p><h3>Part 2: the long version</h3><p><em>For readers who want the details: my setup, how the session went step by step, and why I think the code turned out this way.</em></p><h3>My setup in detail</h3><ul><li><strong>Coding agent:</strong> OpenCode 2.2.6, an open-source AI coding agent that runs in the terminal, using <strong>Claude Sonnet 5.5</strong> through the GitHub Copilot provider.</li><li><strong>Plugin superpowers 7.0.2</strong> (installed from git): a set of process skills (brainstorming, systematic debugging, test-driven development, verification before completion) that the agent loads when it needs them.</li><li><strong>Plugin ponytail 5.3.3</strong>: an always-on “lazy senior dev” mode that favours the smallest change that solves the problem, and short answers.</li><li><strong>Workspace rules</strong>, in an AGENTS.md file the agent reads at the start of each session: talk to me in Italian; write code, comments and commit messages in English; follow TDD (red, green, refactor) and use Object Mothers for test data; commit and push only after an explicit “yes” from me; use Conventional Commits and name branches after the work item; run the build and quote its output before saying “done”.</li><li><strong>Secrets:</strong> the agent never sees credentials. A local secret manager injects the Azure DevOps token into the environment of the command that needs it.</li></ul><h3>Step 1: the agent reads the bug itself</h3><p>My habit is to give the agent nothing but the work item number. It reads the item from Azure DevOps through the CLI, using the token injected by the secret manager. In this case the description of the work item contained the full request payload, so the agent worked from the real itinerary rather than from my summary of it.</p><h3>Step 2: analysis before code</h3><p>For new features I usually start with the superpowers brainstorming skill. This time the input was a bug, so the agent did not use brainstorming. It loaded the superpowers systematic-debugging skill instead, which requires a root-cause investigation before any fix. The discussion a brainstorming session would have produced took place as a short exchange in the chat.</p><p>The agent read the workspace and repository rules, then the class that builds the transfers, and found the root cause: adjacent events were paired by location only, never by what the traveller was doing.</p><p>It also found a TODO in the class Javadoc that had anticipated this very bug and proposed rejecting invalid sequences with an HTTP 400. The bug report asked for the opposite: keep the first transfer and drop the rest. The agent stopped and asked me to choose, and I chose to drop them. I then added the idea that completed the rule: what matters is not only the pair of locations, but the state of the traveller (landed, at the hotel, departed).</p><p>Before writing any more code, the agent summarised the rule as the three pairs shown in Part 1 and pointed out a case nobody had defined: TAKE_OFF → LANDING. We agreed that it is not a transfer, because nothing happens in flight.</p><h3>Step 3: tests first, then the fix</h3><p>The agent started with a regression test built from the payload in the bug report, which failed with Expected size: 1 but was: 3. It then added one test for each broken transition. These are the six new tests, with names that describe the expected behaviour:</p><ul><li>checkOutAfterTakeOffProducesOnlyTheLandingToCheckInLeg</li><li>checkInRightAfterTakeOffProducesNoLegBecauseTheTravellerDidNotLand</li><li>takeOffRightAfterCheckInProducesNoLegBecauseTheTravellerDidNotCheckOut</li><li>landingRightAfterCheckOutProducesNoLegBecauseTheTravellerDidNotTakeOff</li><li>validStayKeepsBothLegsWhileTheBogusTrailingEventsAreDropped</li><li>landingRightAfterTakeOffProducesNoLegBecauseNothingHappensInFlight</li></ul><p>All the new tests were red and all the existing ones were green. Checkstyle limits a class to ten methods and the existing test class was already full, so the agent created a new test class instead of breaking the rule. It respected the guard rails well: it asked which branch to use, asked before committing, and did not push.</p><p>The fix also had to keep the valid cases working, above all the change of hotel. A CHECK_OUT at hotel A followed by a CHECK_IN at hotel B is a real hotel-to-hotel transfer, and the new rule must not drop it. The existing suite already covered this:</p><ul><li>multiHopSameDayProducesOneLegPerLocationChangeWithPaxFromItsOwnSourceEvent builds a landing, a check-in at hotel A, a check-out at hotel A and a check-in at hotel B, and expects two legs, airport → hotel A and hotel A → hotel B, each with its own passenger count.</li><li>classicScenarioProducesTwoLegsSkippingTheHotelStay covers the classic stay: airport → hotel and hotel → airport.</li></ul><p>Both tests were green before the fix and stayed green after it. This is the part of the safety net I trust: the tests protected the behaviour. They simply had nothing to say about the shape of the code that produced it.</p><p>Then came the fix. As I had asked, the agent made a single commit containing the tests and the fix, and quoted the build output: full suite green, zero failures, build successful. The function shown in Part 1 comes from this commit.</p><h3>Why I think it turned out this way</h3><p>These are hypotheses, not proven causes. Still, the setup explains a lot:</p><ol><li><strong>The debugging skill said not to refactor.</strong> In its implementation phase, the superpowers systematic-debugging skill says: <em>&quot;ONE change at a time. No &#39;while I&#39;m here&#39; improvements. No bundled refactoring.&quot;</em> That is sound advice for a bug fix, but it also told the agent not to touch the shape of the code around the fix.</li><li><strong>ponytail asks for the smallest change.</strong> A chain of instanceof checks inside one private method is the smallest possible diff. A minimal diff is not the same as readable code.</li><li><strong>TDD stopped at green.</strong> The cycle is red, green, refactor. The agent did red and green well, but the refactor step never came, and nothing in the local build noticed: tests, Checkstyle and ArchUnit do not measure readability. SonarQube runs only in the pipeline, and this code never reached it: I read it and asked for a correction before any SonarQube check ran. Perhaps SonarQube would have flagged something. I cannot say, because the correction came first.</li><li><strong>It agreed with the rule, then coded something else.</strong> In Step 2 I told the agent that what matters is the state of the traveller: landed, at the hotel, departed. It agreed, and it summarised the rule correctly as three valid transitions. Then it wrote code that checks the <em>classes</em> of two events and digs into their enums. The understanding was there in the conversation; it did not make it into the code. This is the point that surprised me most, and the one I find hardest to explain with the setup alone.</li></ol><p>In other words, the agent mostly did what my setup asked of it. The gap was in what my setup could not check, and in what it asked without my noticing.</p><h3>Know what reaches the context window</h3><p>Points 1 to 3 are about instructions, not about the model, and I put all of them in front of it myself, by installing a plugin or writing a rule. My AGENTS.md asked for red, green, refactor. The debugging skill asked for no refactoring during a fix. ponytail asked for the smallest change. Two voices against one, all of them chosen by me, and the result was code shaped for a quick, local fix rather than for reading and maintenance.</p><p>Each of these tools is a good choice on its own. A debugging skill that forbids “while I’m here” changes keeps a fix focused and easy to review. A minimal-change mode keeps diffs small. The cost shows up only when they are combined, and you see it coming only if you know what each one actually says. I knew the plugins by their descriptions, not by their content.</p><p>This is harder than it sounds, because the agent does not read one file. It reads a stack of them: global rules, the workspace AGENTS.md, the repository rules, plus the skills and modes that plugins load on demand. These files are read in a hierarchy, and they can override or contradict each other. From the outside it is not easy to tell which instruction wins, or even which ones are in the context window at a given moment. This is why I keep my global rules empty: each area gets its own instructions, close to the code they apply to, and there is one layer less to reason about.</p><p>So this is a second lesson, next to reading the code: know your tools. Read the plugins you install, not only their README. Know what each instruction file says and in which order it is loaded. Every line that reaches the context window is part of the prompt, whether I wrote it today or installed it months ago.</p><h3>What coverage did and did not tell me</h3><p>The bug lived in code that was already covered by tests. Coverage tells you which lines run during the tests. It says nothing about whether the rule they implement is right, or whether a reader can understand it. SonarQube reported 92.1% coverage for the service, and the unreadable version would score exactly the same as any readable one.</p><h3>What the hexagonal architecture and ArchUnit did and did not tell me</h3><p>ArchUnit did its job. The rule ended up in the service layer, not in a controller or a DTO, and the domain did not pull in any adapter or framework types. But ArchUnit checks the <em>dependencies between layers</em>. It does not check how a responsibility is shaped <em>inside</em> a layer, and a service that interrogates event types with instanceof breaks no dependency rule.</p><h3>What reading the code brought</h3><p>I am not going to show the final version here, because it is less interesting than the questions that led to it. Reading the function pointed me to well-known ideas that no test enforced:</p><ul><li><strong>Make the rule visible.</strong> Three valid pairs should look like three valid pairs in the code.</li><li><strong>Replace type checks with polymorphism</strong>: let each event say whether it is a landing or a check-out.</li><li><strong>Tell, don’t ask</strong>: ask the object a question instead of inspecting its type and fields from the outside.</li><li><strong>Let the code follow the domain.</strong> Is a transfer leg really just “a pair of adjacent events”? The code said one thing; the domain, where the traveller moves from one state to the next, said another.</li><li><strong>Do the refactor step</strong>: green is not the end of the cycle.</li></ul><p>I asked the agent to rework the function and gave it clear reasons. Readability first. And since the kind of event is domain information, the service should handle it as such, instead of working it out from the outside with instanceof checks and a cast. The agent did the refactoring, and the tests stayed green the whole time.</p><h3>Closing</h3><p>One case, one function, one afternoon. I do not claim that it generalises.</p><p>I took two lessons from it. The first: do not trust generated code blindly. Green tests say that the code works today. They do not say whether it will be easy to read and change tomorrow. Code like this becomes a problem later, exactly as bad code always has, whoever or whatever wrote it.</p><p>The second: take care of what you give the agent. The instruction files and plugins in its context window shape the code as much as the prompt does. They deserve the same attention as the code itself: read them, keep them small and focused, and review them when the result surprises you.</p><p>So when the agent says “done” and all the tests are green, I read the diff as if a colleague had opened the pull request, and when the diff surprises me, I read the instructions too. That review is where this function was caught.</p><p>I would like to hear from you. Have you seen an agent write code that passes every check and still is not code you want to keep? And how do you keep track of what your instruction files and plugins put in its context window?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1b0845c7877" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Obsidian as an ADR Tool]]></title>
            <link>https://medium.com/@mttpla/using-obsidian-as-an-adr-tool-5f63d187de6b?source=rss-8db2f2188d4b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f63d187de6b</guid>
            <category><![CDATA[adr]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[obsidian]]></category>
            <dc:creator><![CDATA[Matteo Paoli]]></dc:creator>
            <pubDate>Sat, 09 Mar 2024 18:02:44 GMT</pubDate>
            <atom:updated>2024-03-09T18:02:44.323Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ruorpT6jsWD-XB6N" /><figcaption>Photo by <a href="https://unsplash.com/@veloradio?utm_source=medium&amp;utm_medium=referral">Rapha Wilde</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In the world of software development, Architecture Decision Records (ADRs) serve as vital documentation for capturing architectural decisions made during the software development lifecycle. While existing tools and templates to create ADRs are already available, leveraging Obsidian can significantly enhance the efficiency of this process.</p><p>In this article is about how to configure Obsidian to serve as an effective ADR tool, including setting up templates, integrating with version control using Git, and leveraging its graph view to visualize architectural decisions.</p><h3>What are ADRs?</h3><p>Architecture Decision Records (ADRs) document the key decisions made regarding the architecture of a software system. They provide insights into the reasoning behind architectural choices, aiding in understanding the evolution of the system over time. Various tools and templates are available to create ADRs, with some popular options including Markdown templates or specialized ADR tools, like <a href="https://github.com/npryce/adr-tools">https://github.com/npryce/adr-tools</a>.</p><p>For further information on ADRs and related tools, you may refer to the official page:</p><p><a href="https://adr.github.io/">Architectural Decision Records (ADRs)</a></p><p>Interesting article on medium.com about the ADR can be found below:</p><ul><li><a href="https://medium.com/@naveenatmakur/what-is-adr-do-i-need-it-how-is-it-useful-b5f9802db56f">What is ADR? Do I need it? How is it useful?</a></li><li><a href="https://medium.com/@nolomokgosi/basics-of-architecture-decision-records-adr-e09e00c636c6">Basics of Architecture Decision Records (ADR)</a></li><li><a href="https://icepanel.medium.com/architecture-decision-records-adrs-5c66888d8723">Architecture decision records (ADRs)</a></li></ul><h3>What is Obsidian?</h3><p>Obsidian is a powerful note-taking and knowledge management tool that relies on a local Markdown-based vault. It offers extensive customization options, allowing users to create custom templates tailored to their specific needs. This feature is extremely valuable for structuring and organizing notes efficiently.</p><p>Moreover, Obsidian simplifies the process of creating new notes with its “new unique note” feature. This feature enables users to effortlessly generate fresh documents using a selected template.</p><p>See below the Obsidian official site:</p><p><a href="https://obsidian.md/">Obsidian - Sharpen your thinking</a></p><p>An article with many useful links about Obsidian, serving as a great starting point to explore all of Obsidian’s features and plugins:</p><p><a href="https://medium.com/@estebanthi/use-obsidian-like-a-pro-3946cd68cca0">Use Obsidian Like a Pro</a></p><p>Thanks to <a href="https://medium.com/u/24babe9bccb4">Esteban Thilliez</a> for the valuable contributions.</p><h3>Your first ADR template</h3><p>Following the <em>Setting Up Your Obsidian Environmen</em>t step section below, you will reach this final ADR:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OYyHNy932XK5UDv6-d0Spg.png" /></figure><p>Let’s now walk through all the steps and configurations required.</p><p>A quick note: the ADR ID is not a number, as suggested, but in the proposed template it is the current date . Each time you create a new ADRs a the day will be increased by one to be unique.</p><h3>Visualize your ADRs in the graph</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SroJhXw_umRCLl8moUvJ0Q.png" /></figure><p>In the Graph view, you can visualize all ADRs along with their interrelations. This feature stands out as my favorite and I find it incredibly valuable and distinctive from other ADR tools.</p><h3>Setting Up Your Obsidian Environment</h3><p>For this article refers to version 1.5.8 of Obsidian, which is the current version available on Homebrew.</p><h4>Steps:</h4><ul><li>Obtain obsidian: I have installed Obsidian using Homebrew, but it’s also available for all platforms. You can download it from <a href="https://obsidian.md/download">here</a>.</li><li>Create the Vault: Upon startup, Obsidian prompts you to create a vault. Choose a name and location for your vault. Feel free to select a name of your preference. As for the location, I recommend selecting a path within your project’s Git folder, such as a ‘docs’ folder. For more details and advice, refer to the <em>Git Recommendations</em> below.</li><li>Create the Template Folder: I have named mine ‘obsidian_template’ and placed it in the root directory.</li><li>Create the ADR folder.</li><li>Add Your Template: I have added a file named ‘ADR template’ with the following structure:</li></ul><pre><br>---<br>Title: <br>Status: proposed, accepted, rejected, deprecated, superseded<br>Superseded by: <br>Date: &quot;{{date:YYYY-MM-DD}} {{time:HH:mm}}&quot;<br>tags:<br>---<br><br># Context:<br><br># Decision:<br><br># Consequences:</pre><p>Feel free to tailor the template to your team’s needs by adding or removing text or selections as necessary.</p><ul><li>Enable the <em>Templates</em> and the <em>Unique note creator</em> in <em>Core plugins:</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2qFCQY1PvVG87UYMHRQ0Iw.png" /></figure><ul><li>Set the template folder location in Templates:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fn5rncGETnxO5Quf3GOt8g.png" /></figure><ul><li>Configure the <em>Unique Note Creator</em>:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AgFZ6SMrmoyHjwkN8oYuUw.png" /></figure><p>In the text area of <em>Template file location</em> set the template path. In the example above, it is <em>osidian_template/ADR template.</em></p><p>Once finished, you’ll now see the <em>create new unique note</em> button, and clicking on it, the ADR file will be created with the template shown at the beginning of the article.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*TK9AXXU9vbQkqJOWMFQn2A.png" /></figure><h3>Git Recommendations</h3><p>Tracking, preserving, and accessing the history of Architecture Decision Records (ADRs) is paramount. One advisable approach is to establish the vault within a Git repository. Obsidian generates its configuration files within the .obsidian folder, which includes the following list:</p><ul><li>app.json</li><li>appearance.json</li><li>core-plugins-migration.json</li><li>core-plugins.json</li><li>graph.json</li><li>hotkeys.json</li><li>templates.json</li><li>workspace.json</li><li>zk-prefixer.json</li></ul><p>It is advisable to commit all of these files to ensure that all team members have access to Obsidian’s settings. Alternatively, if you choose to add .obsidian to .gitignore, each team member will need to follow the provided guidelines and maintain synchronization of the settings accordingly.</p><p>Thank you for taking the time to read this article. I hope the information provided has been helpful in understanding how Obsidian can be effectively utilized in managing Architecture Decision Records. If you have any further questions or wish to report any inaccuracies, please feel free to reach out to me. I’m more than happy to provide additional details or clarifications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f63d187de6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>