<?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 Leonardo Kewitz on Medium]]></title>
        <description><![CDATA[Stories by Leonardo Kewitz on Medium]]></description>
        <link>https://medium.com/@leokewitz?source=rss-55901e80a89c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1GDK9qgkK_XcsFlINvg48A.jpeg</url>
            <title>Stories by Leonardo Kewitz on Medium</title>
            <link>https://medium.com/@leokewitz?source=rss-55901e80a89c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 13:15:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@leokewitz/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[The Tao of the Engineer: Responsibilities]]></title>
            <link>https://medium.com/@leokewitz/the-tao-of-the-engineer-responsibilities-4edfea081690?source=rss-55901e80a89c------2</link>
            <guid isPermaLink="false">https://medium.com/p/4edfea081690</guid>
            <category><![CDATA[management-and-leadership]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Leonardo Kewitz]]></dc:creator>
            <pubDate>Thu, 08 Nov 2018 11:23:12 GMT</pubDate>
            <atom:updated>2018-11-08T11:23:12.346Z</atom:updated>
            <content:encoded><![CDATA[<p>Today I would like to share the first chapter of our <strong>Tao</strong>.</p><p>The <strong>Tao </strong>is the first document an Engineer face when he first joins the company and is the base of reference to how ideally one should act.</p><p>This is part of a bigger plan to increase engineering happiness, quality and efficiency through the promotion of <strong>purpose</strong>, <strong>ownership</strong> and <strong>accountability</strong>.</p><h3>Communication</h3><p>Submit daily stand-ups.<br><em>To inform the status on ongoing tasks to your peers.</em></p><p>Attend meetings.<br><em>To discuss and take technical decisions on implementations and architecture.</em></p><p>Proactively inform your <em>product manager</em> of status of your projects and deadlines.<br><em>To make sure the roadmap is up-to-date and what he can expect from you.</em></p><p>Be aware of deadlines and priorities.<br><em>To deliver quality and solve what matters most.</em></p><p>Check asynchronous communication tools daily.<br><em>To keep in context and reduce synchronous interruptions.</em></p><p>Have a broad context of every problem you’re squad is working on.<br><em>To provide support and review code for your peers.</em></p><h3>Ensure Quality</h3><p>Review pull-requests that are assigned to you, making sure to start reviews within 24 hours of request.<br><em>To unblock and be unblocked.</em></p><p>Read the issue, understand the problem and test the code you’re reviewing.<br><em>To make sure nothing is missing and everything works properly.</em></p><p>Feel free to contribute with the pull-request adding commits that fix quick wins and add missing tests, remember to comment those changes after pushing your commits.<br><em>To speed up the review process, foment discussions and improve quality.</em></p><p>After merging a pull-request, make sure the deployment was successful and staging is up an running.<br><em>To make sure you didn’t broke anything (or no one is going to call you late at night).</em></p><h3>Solve Problems</h3><p>Question the problem and find the purpose.<br><em>To make sure that the problem is worth solving.</em></p><p>Be proactive when dealing with specced problems, make sure you fully understand the problem before writing an implementation.<br><em>To make sure you’re solving the problem the best way possible.</em></p><p>Design tech specs and implementation in sync with PM and client.<br><em>To make sure you’re solving the problem.</em></p><p>Break up implementation into small issues and keep your system in sync.<br><em>To ensure you understand all the pieces in the puzzle.</em></p><p>Calculate responsible deadlines, and communicate with your PM.<br><em>To ensure time for quality and set the right expectations.</em></p><p>Prioritise quality, write tests and keep documentation up-to-date.<br><em>To lower the price of getting into context.</em></p><p>Report bugs directly as issues.<br><em>To not only get everyone in sync but to also give the resource for fixing the bug.</em></p><p>Track tech debts as issues.<br><em>To not forget what was left behind.<br>To solve our problems at the right time.<br>To avoid future bugs.<br>To provide an easy path for someone else to improve your code.</em></p><p>Ship implementations to staging if available, deploy to production when tested.<br><em>To don’t fuck things up.</em></p><p>Set-up and maintain CI systems.<br><em>To make everyone’s life easier and to be loved by your team.</em></p><h3>Improve Yourself and the System</h3><p>Invest 10% of your time per week on developing new skills, reading, coding proof of concepts and playing with different tech.<br><em>To make yourself better.</em></p><p>If you develop any systems for yourself that work well, you should share it with the team.<br><em>To make the team better.</em></p><p>If you see any tweaks or even have a proposal for new systems that the entire team should be using, you should raise them. Implement them in your squad first, then raise with the rest of the EGT during our weekly EGT meetings.<br><em>To make the company better.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4edfea081690" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Structuring the Engineering Team]]></title>
            <link>https://medium.com/@leokewitz/structuring-the-engineering-team-ad033d4fe24b?source=rss-55901e80a89c------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad033d4fe24b</guid>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Leonardo Kewitz]]></dc:creator>
            <pubDate>Tue, 21 Aug 2018 12:36:04 GMT</pubDate>
            <atom:updated>2018-08-21T12:36:04.587Z</atom:updated>
            <content:encoded><![CDATA[<p>In this past month, Engineering started implementing a new self-organised structure so we can reduce context switch, move faster and deliver with higher quality.<br>They’re called Units and they’re basically a fractal redesign of the engineering team.</p><h3>Why units?</h3><p>Units move faster because they’re assigned only one project, therefore the context is always up-to-date and fresh.<br>Units know all their stakeholders, every engineer knows exactly when and with who they should be pairing to solve their problems.<br>Units are also easier to steer, a small meeting is enough for syncing.</p><p>To be optimised, this small team needs engaged engineers that are self sufficient. A centralised responsible figure is also necessary to abstract external contact and provide a space where engineers can focus on pushing forward.<br>Enters the Engineer Leader, who is responsible for the implementation and keeping in sync with the Product Team and other external stakeholders. What we changed here is that now we require that the Engineer Leader must be a Senior Engineer.</p><h4>Why a Senior Engineer?</h4><p>Senior Engineers are not entities that can deliver everything by themselves, that’s a contractor.<br>Senior Engineer is capable of leading and be responsible for a team of engineers, they guarantee code quality and smooth implementation.<br>They should also know the current architecture and be well suited for planning a roadmap of implementation based on specs.</p><h3>Leading the Unit</h3><p>The Engineer Leader is already in context with the Project, so it is its responsibility to convert the product spec into a roadmap of issues.<br>After having the proper roadmap, a set of engineers are assigned to the unit making it possible for estimation and deadline calculation.</p><p>After the deadline is given to the implementation and things starts to roll out, the leader is responsible for keeping the unit in sync and making sure the project is delivered with quality on time.</p><h4>Where’s the VPoE?</h4><p>This is a fractal design which means the VPoE is responsible for:<br> — Keep in context with units;<br> — Scale units with available engineers;<br> — Tweaking and making sure the system works;<br> — Making sure units will delivery before the deadline.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad033d4fe24b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Our Next Architecture as we move out of Slack]]></title>
            <link>https://medium.com/@leokewitz/our-next-architecture-as-we-move-out-of-slack-c36d40a5a46d?source=rss-55901e80a89c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c36d40a5a46d</guid>
            <category><![CDATA[digital-assistant]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-architecture]]></category>
            <dc:creator><![CDATA[Leonardo Kewitz]]></dc:creator>
            <pubDate>Thu, 31 May 2018 21:08:39 GMT</pubDate>
            <atom:updated>2018-06-15T12:51:36.337Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This month we had some great new hires and we took our time to plan for our next iteration of the Digital Assembly Line. A new architecture was proposed and will be the base for our first fully-built Digital Assembly Line and its next iterations.</em></p><h4>The current state</h4><p>May was a very important month for the Engineering team!<br>In April we have decided to start working on our vision for the Digital Assembly Line 2 (or DAL 2.0) and May was the month we set out to start that project.</p><p>As our current architecture is tightly coupled with Slack (Slack is basically our frontend for everything), we operate a set of micro-services that were built around Slack&#39;s features and limitations.</p><p>Every line of code was written with Slack in mind.<br>Every data was structured around Slack objects.<br>Every part of the business logic was limited by what Slack exposes or not in their API.</p><p>Don’t get me wrong, I’m not saying that Slack is bad on what it does.<br>What I’m saying is that it is really hard to solve the <strong>real problem</strong> with such limitations. Mainly because <em>you don’t actually own the data you share with third-party services</em> and this implies that you will never have a totally predictable environment to work with.</p><h4>Where we&#39;re going</h4><p>In a greenfield project, everything is possible. Your current problems are irrelevant now, you’re free to imagine how things should be. Luckily, we had some incredible new hires last month and we were fully aware of all architecture problems we experienced during this last few years.</p><p>We invested around 3 engineers/week to discuss current problems and decide how our next architecture should look like and <strong>why</strong>.<br>We took time to try and predict our future problems, make sure our decisions are aligned with our vision and that they could adapt easily to different business models.<br>We’re building the 2.0 that will naturally evolve to the 3.0 and 4.0.</p><p>Technically speaking, for us, this means going for a multilayered architecture with well defined services and responsibilities.<br>We&#39;re fixing our current service approach, we&#39;re fixing how we handle data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*OyKhLfJ-phMW-kP7pQrfmA.png" /><figcaption>A simple Multilayered Architecture</figcaption></figure><p><strong>The Data Access Layer</strong><br><em>Mimir</em> is an internal service that handles all the data and models. Having this as a service will allow us to scale horizontally based on demand and also support eventual changes in our models without the hassle of propagating changes throughout other services.</p><p><strong>The Business Layer<br></strong><em>Business Loki</em> is the layer that handles all the business logic. This layer abstracts all necessary mutations in our data by exposing only the necessary methods that our business relies on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VWMl1CwEgrw4kzZU.jpg" /><figcaption>Business Loki executing a handshake protocol with a client.</figcaption></figure><p><strong>Presentation and Service Layers<br></strong><em>Midgard, </em>our frontend, is our main presentation right now. It will provide the interface for agents and managers that operate the Digital Assembly Line.<br>We also have other services that connect our clients to our business and are responsible for internal data processing. These services are horizontally scalable and are responsible for very specific tasks, like reading our assistants&#39; emails, processing metrics, and generating the payment requests to our agents.</p><h3>Takeaways</h3><p>This last couple of months we used all the knowledge we collected so far to rethink everything.<br>We started building a better system in basically every way: architecture, business logic, data structure and service providers.<br>The new architecture is scalable to handle our data demands and flexible enough to follow pivots in our business model.<br>We&#39;re getting better at what we already do, we&#39;re also getting better in getting better.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c36d40a5a46d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Postman]]></title>
            <link>https://medium.com/@leokewitz/postman-seamlessly-integrating-e-mail-and-slack-b183c947d5c7?source=rss-55901e80a89c------2</link>
            <guid isPermaLink="false">https://medium.com/p/b183c947d5c7</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[slack]]></category>
            <category><![CDATA[email]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[integration]]></category>
            <dc:creator><![CDATA[Leonardo Kewitz]]></dc:creator>
            <pubDate>Thu, 21 Sep 2017 03:03:47 GMT</pubDate>
            <atom:updated>2017-10-10T23:12:58.203Z</atom:updated>
            <content:encoded><![CDATA[<h4>Technology: 02<br>Path: <a href="https://medium.com/invisible-technologies/index/home">Technologies</a>: <a href="https://medium.com/invisible-technologies/henosis-1c59ba9fe614">Henosis</a>: <a href="https://medium.com/invisible-technologies/hermes-35b5b53fb0b2">Proteus</a>: Postman<br>Wednesday, 20 September 2017</h4><h4>Seamlessly integrating Email and Slack</h4><p><a href="http://www.inv.tech/"><strong>Invisible</strong></a><strong> </strong>has the (not so simple) mission of selling access to an infinite toolkit of tasks, an unlimited set of processes that can be triggered through a simple message. To deliver that we provide our clients with an interface to a <a href="https://medium.com/invisible-operations/the-digital-assembly-line-bd663ee7a030"><strong>Digital Assembly Line</strong></a>, a <em>virtual assistant</em> that is actually the combined effort of a world-wide team of agents.</p><p><strong>Postman</strong> provides granular, thread-based access to this virtual assistant’s email for all our agents,<em> </em>seamlessly integrating e-mail inboxes and Slack while abstracting the whole email experience for our agents. Although solutions to <a href="https://get.slack.help/hc/en-us/articles/206819278-Send-emails-to-Slack">connect Email and Slack already exist</a>, none of them provide bi-directional connection between Slack an E-mail accounts.</p><p>For us, this means being able to have a team of agents<em> </em>working as the same virtual assistant<em> </em>and<em> </em>replying to Emails with real-time Slack Messages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*vT7wglX7iwjJauzpRh9RZQ.png" /><figcaption>Delegating gets really interesting when you have a team of humans who already knows you.</figcaption></figure><h3>Seamlessly adding e-mails to a well known workflow</h3><p>So, how do we coordinate these processes? We looked at many different options and eventually settled on Slack for its good API access and intuitive UX (user experience) for having discussions around data. We delegate any task to an agent (or a group of agents) that will process that request following a set of instructions called a <a href="https://medium.com/invisible-operations/the-digital-assembly-line-bd663ee7a030"><strong>Process Book</strong></a>.</p><p>In our current model, every request becomes a short-lived channel. You can think of this channel as a temporary folder that contains a Process Book and the necessary context for executing the task. After being executed and the result delivered to the client, this “folder” is archived. Aside from that, channels provide a common workplace where multiple agents can share information and execute complex tasks together.</p><p>Given that most of our coordination and execution happens through Slack, how could we integrate E-mails in an intuitive way?</p><p>Slack provides several tools for us, and the one that we found most promising was <em>Posts</em>, which provide a way of commenting and replying to them as they were the real thread.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*XfcqIFHVflUv69YQNGm6jw.png" /><figcaption>Comments are an intuitive way of engaging with a thread.</figcaption></figure><h3>How we do that?</h3><p>How do we represent a full e-mail in a Slack Post?</p><h4>Translating things!</h4><p>The first step is translating emails to Posts and back again. As you might know, e-mails are <em>HTML</em> files and Slack supports a primitive version of <em>Markdown</em>. The cool part is that both are directly compatible and with help of some libraries it’s totally possible (with some simplifications) to extract the information from that <em>HTML</em> and upload as a Post using <em>Markdown</em>.</p><p>The same is true for the opposite flow. When a user replies to that Post, we simply render the <em>Markdown</em> comment and send as an e-mail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*ObNAaQ4QkXg-xJd7AbGwhQ.png" /><figcaption>The same e-mail, represented in a Slack Post.</figcaption></figure><h4>Attachments</h4><p>Attachments are currently a bottleneck. Since Slack don’t allows us to include images or another file inside a Post, the only workaround we foundy was to include as a link.</p><p>To do that we actually download all the files attached to that e-mail and upload to a secure storage, which has a strict access in order to protect our client’s privacy.</p><h3>Improving the workflow</h3><p>Besides all the security reasons involving credentials and reducing context switch, there was a few significant improvements that became clear we could make using this tool.</p><p>As has been noted, the security and privacy of information are of prime importance in our business. The context needed to execute a task can vary from having just common public information to needing bank account access.</p><p>In order to execute more sensitive tasks we internally follow the <em>principle of least privilege</em>, which in practice consists in providing only the necessary information the agent needs to complete the task.</p><p>One of the advantages of abstracting the e-mail interface through <strong>Postman</strong>, is that now we can share only the vital e-mails during the delegation of a task. For instance, when a client delegate a task through an e-mail, we internally route this thread to a new instance channel, thus creating a sandbox environment that exposes just enough context to the agent accomplish that task.</p><p>In addition to being able to create these execution sandboxes, when an e-mail is routed to an instance the thread is automatically tied to the channel. This means that every e-mail received in the same thread will be automatically posted to that channel, keeping the agent up-to-date with any updates and allowing the communication to happen transparently through client and agent.</p><h3>Conclusion</h3><p>Providing an intuitive UX based on a third-party UI (user interface) required a bit of creativity. However, if you have the window to provide this kind of solution, the almost instant implementation and adoption by your team certainly surpasses the costs.</p><p>Having a <em>virtual assistant </em>as single interface for the agents is not only good for the client but it also helps us merge different communication mediums into the same execution workflow, after all, messages are messages.</p><p><strong>Next</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b183c947d5c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>