Latest / AI Infrastructure / BAU is fun with AI
Transcript
- 0:00coffee.
- 0:01This coffee is amazing.
- 0:04Oh, [ __ ]
- 0:06Not not an ad.
- 0:09Well, you'd have to be in Vietnam. Oh,
- 0:11they have an address in Sky Garden,
- 0:13apparently.
- 0:15But this is egg coffee
- 0:16with less sugar
- 0:18than what I usually get for egg coffee.
- 0:20It's usually super
- 0:22um
- 0:23loaded with like condensed milk in
- 0:26Vietnam.
- 0:27Uh and they also have a little bit of
- 0:28like liqueur.
- 0:30Um it it it adds
- 0:33a bit of flavor to the like bitter taste
- 0:36of the coffee.
- 0:37I don't know what the egg does. The egg
- 0:39just probably makes it more creamy.
- 0:43I drink uh
- 0:45I think usually Ethiopian style light
- 0:48roasts filter coffee.
- 0:50>> Okay. I have no idea. It's Vietnamese
- 0:52for me, I guess. Don't really care.
- 0:55I'm just sipping the coffee right now.
- 0:57Yeah, sorry. I overslept. Um but the
- 0:59good news is that my wife has taken the
- 1:01kids to school. So, I do have about
- 1:04well, as much time as you have,
- 1:06actually. Well, I am constrained. Uh
- 1:08last few days have been insane, but that
- 1:10also makes you feel happy, right? When
- 1:12you have back-to-back not meetings, but
- 1:15actually like actionable items.
- 1:19That's really
- 1:21Well, yeah. I I guess what
- 1:24Can you talk about what you're working
- 1:25on or is it
- 1:26not AI?
- 1:27>> I guess the the the the most
- 1:29um funniest like the most
- 1:32joyful things is where you can kick off
- 1:34an
- 1:35an agent
- 1:37because Claude Code now really acts like
- 1:39an agent. Claude Code in auto mode and
- 1:42then you tell it to monitor
- 1:44and then it um it just wakes up on
- 1:46events. I I have this um classic
- 1:49Terraform
- 1:50pull request-based automation.
- 1:52Um
- 1:54but I also have cross repositories
- 1:55flows. So, I have CDK TF TypeScript
- 1:58infrastructure defined in the product
- 2:00repo.
- 2:02And
- 2:03the dev environment is using work scoped
- 2:07a workspace
- 2:09scoped packages, meaning
- 2:11you have I have a turbo repo setup, so I
- 2:13have an
- 2:15a JavaScript package that defines the
- 2:16infrastructure, and I have the actual
- 2:19docker file with either JavaScript or
- 2:23.NET
- 2:24applications. And
- 2:26the infra
- 2:29app, as it were, synthesizes from the
- 2:32JavaScript package all of the Terraform
- 2:34configuration, and Atlantis
- 2:37um auto plans and applies local changes.
- 2:39So, you do a PR with a change to the
- 2:41infra
- 2:43package. You you change the infra
- 2:44package, and it automatically shows a
- 2:47diff
- 2:48uh Terraform plan against dev.
- 2:50And then we have a change set.
- 2:53So, when
- 2:54um that works but and and
- 2:56and and and Cloud is amazing. It just
- 2:57looks at like, "Okay, you know, this is
- 2:59the dev local workspace scoped package,
- 3:02and we're making a change to the
- 3:03infrastructure as code,
- 3:05and we're we're going to apply that in
- 3:06dev, and hold on." Uh once that dev
- 3:09apply has run, and the change set
- 3:12creates a versioning, and if you have
- 3:13validated that the IAC changes are
- 3:16correct, it's kind of like a module,
- 3:18right? But instead that it is shipped as
- 3:20a JavaScript package in Code Artifact
- 3:22private registry. So,
- 3:25you then merge the release PR that then
- 3:28releases the infrastructure package, and
- 3:30then it goes into the integration repo.
- 3:32So, then it goes against staging and pro
- 3:33So, it's like pure immutable propagation
- 3:36of your infrastructure side by side with
- 3:38your docker file. If you have any
- 3:40changes to to either, right? If you have
- 3:43just a docker, you just bump the tags in
- 3:44the integration repo. If you have
- 3:46integration changes If sorry, if you
- 3:47have changes to both your infra, like
- 3:49new resources that relate to the
- 3:50service, or like in my case it's
- 3:53compliance requirements of file system
- 3:55of the container. So I'm setting
- 3:57read-only file system with with
- 3:59whitelisted parts.
- 4:00And and so this package change to the
- 4:02container definition. There's no Docker
- 4:04image change. But it it goes
- 4:07against dev where it gets validated.
- 4:10And when it's merged and released
- 4:12because it's validated, then it gets
- 4:14promoted to staging.
- 4:15Integrated and then it gets promoted to
- 4:17prod all through the integration repo.
- 4:19And all automated with Claude Code
- 4:21because Claude Code understands that this
- 4:23repo links to that repo and and monitors
- 4:26for the PR to be ready, triggers the
- 4:28Atlantis apply after the approval from
- 4:29then.
- 4:31Maybe it's just cuz I woke up but like
- 4:33>> [laughter]
- 4:34>> It's fully automated like Yeah,
- 4:36>> Agents plus a fully automated CI/CD
- 4:38pipeline is amazing.
- 4:40>> that's uh
- 4:41that's where every pipeline wants to get
- 4:43to, right? Like uh
- 4:45Yeah, but that's the thing where I I
- 4:47mean like as a platform engineer,
- 4:50But just but just but but just I
- 4:52what what I wanted to ask was like
- 4:55I didn't quite understand what the
- 4:56innovation was with with Cloud. Just
- 4:58just that's it's integrated as as well
- 5:01and helping you with with the local
- 5:03stuff. Would you say it's shifted left?
- 5:08Yeah, no. I mean like for work I'm I
- 5:10have a couple of like repos that I
- 5:12manage fully with spec-driven
- 5:13development.
- 5:15But these are just me and my team like
- 5:16the platform team. And then I have uh
- 5:19workflows that still depend on other
- 5:20people and they are highly automated. So
- 5:23I just tell Cloud the workflow. And
- 5:27sometimes if there's no docs in the
- 5:28repo, I ask Cloud to look at the Git
- 5:31history and figure out the workflow like
- 5:32look at all the branches, look at the
- 5:34merges, look at the PRs across branches
- 5:37cuz I have most of my repos that I
- 5:39manage and roll out for the last 2 years
- 5:41are trunk-based. And and you you
- 5:43basically create a feature branch, you
- 5:45merge, and then you release and promote.
- 5:46There's not too many environments. Uh
- 5:48but they have this legacy repo where
- 5:50there's so many different
- 5:52um like environments and they have
- 5:54environment branches for different
- 5:55feature work. And um and I'm I've been
- 5:59trying to simplify it but haven't been
- 6:01able to do it and there's no even a
- 6:03proper like documentation. So, I finally
- 6:06told Claude, "Look, help me understand
- 6:08this repo and where should I target my
- 6:09PRs?" And it did everything. It like,
- 6:12"Okay, I can see that these people these
- 6:14branches this is when they get created
- 6:16off master like a release branch gets
- 6:18created off master. Once it's all the
- 6:20way to prod, it gets deleted and it gets
- 6:22another release branch gets created off
- 6:24master.
- 6:25Uh and those release branches merge to
- 6:26master, obviously. So, this is like
- 6:29has finally [clears throat] solved this
- 6:30problem for me cuz I've been trying to
- 6:32understand it
- 6:33and and then I I asked people like,
- 6:35"Look, let's make this repo more a
- 6:36chance agent friendly."
- 6:38Here's the release from markdown.
- 6:41Confirm, give me your eyes to confirm
- 6:44that this um this is correct that um you
- 6:47know, the the get dissection from the
- 6:49LLM. I don't mention which LLM for
- 6:52reasons.
- 6:53>> [laughter]
- 6:53>> Uh that the LLM You were talking about
- 6:55Claude just now.
- 6:57Yeah, yeah. I I said I don't mention
- 6:59which LLM for reasons in my pull
- 7:01requests. Oh. Uh
- 7:04um so, basically what I'm what I'm
- 7:06saying
- 7:07on that side, Claude
- 7:10has and and and to be honest I know that
- 7:13we like raged against Jira and you know,
- 7:17for um you know, local CLI managed task
- 7:21trackers. At this point with the Jira
- 7:23CLI and the Jira scale which has some
- 7:26indicators locally, cuz Jira can be
- 7:28customized for workflows, right? So, my
- 7:30Jira scale is very specific. Like, this
- 7:32is the board. This is the statuses that
- 7:34you like like you move tickets to and
- 7:37and and basically use uh sub um
- 7:41tickets to track the work. Like, because
- 7:43I'm doing IC work, a lot of it is like
- 7:45we need to release to dev, and then, you
- 7:47know, you track the releases in
- 7:49different sub tickets.
- 7:49>> where Jira, I think I mean, I I yeah, I
- 7:53I must
- 7:54apologize I mean, I'm not apologizing,
- 7:57but you I've used Jira the wrong way. I
- 7:59think shoving in the specs that that
- 8:03like like a STD would generate into Jira
- 8:07is the wrong thing. Jira is for uh
- 8:10coordinating with your team members,
- 8:11keeping people aware of where you are in
- 8:14the process, right? Like as you said,
- 8:16like we're moving from something to
- 8:20from from one environment to the next.
- 8:22That that having that track across the
- 8:24board
- 8:26for coordinating with your colleagues is
- 8:27still
- 8:29a Jira and what you and what Jira
- 8:31arguably does quite well.
- 8:34I mean, uh
- 8:35I would say that if it's in place,
- 8:38it's not hard to integrate. Uh I would
- 8:40argue that if you're a startup and
- 8:42you're doing uh or you're building
- 8:43something, you don't need Jira, right?
- 8:45You you can create a mono repo, you can
- 8:47do spec-driven development, you can have
- 8:49everything in Git
- 8:50um with some web um
- 8:53interface on top of it to visualize the
- 8:56different um you know, the Kanban out of
- 8:58the the Git.
- 8:59>> right. Yeah, actually I never got to use
- 9:01that feature of um Spec Ledger, the
- 9:03Kanban board.
- 9:05But yeah, you're right.
- 9:06Yeah, I mean,
- 9:08you wouldn't
- 9:10I mean, there's so many
- 9:12I I mean, like you just got to remember
- 9:14like uh hopefully the audience
- 9:15understands that I'm in a
- 9:17I'm in a unique position. What am I in a
- 9:20I I I deal with
- 9:22enterprises and Jira
- 9:24as my day job. And then when I'm
- 9:26experimenting,
- 9:28I like to uh bemoan about Jira and not
- 9:31use Jira.
- 9:33Yeah. Uh so, yeah, that's the kind of
- 9:35life I lead.
- 9:37But I started using work trees. Like I'm
- 9:39not really cuz for work
- 9:42I don't really have like agent teams at
- 9:43the moment because the work is very like
- 9:46um
- 9:47platform
- 9:49ad hoc
- 9:50um you know, compliance changes that I
- 9:52need to push through
- 9:54um kernel fixes and so on.
- 9:56>> very enterprising in a way, but it
- 9:58sounds very mature maybe is the better
- 10:00word.
- 10:00>> It sounds very like if you want to say
- 10:02legacy, um you know, because I'm I'm I'm
- 10:05called platform, but I I'm more like
- 10:08ops, right? I'm in like a sysadmin even
- 10:10though that I'm I've pushed all of the
- 10:12sysadmin
- 10:13work as as as much as possible to mutual
- 10:16infrastructure with infrastructure as
- 10:18code and so on.
- 10:19Um
- 10:20and and in in in principle a lot of the
- 10:22other like the product teams are
- 10:23actually very self-reliant. It's just
- 10:26that I'm relegated to
- 10:28like a small slice of of uh of the
- 10:31operational aspects of like
- 10:33>> Okay. I think I think
- 10:35BAU in my workplace uh I think
- 10:36previously it was
- 10:37>> is it it's become BAU because the it has
- 10:41been
- 10:42thinned out. So, I do have like some
- 10:45very exciting things that I want to work
- 10:46on, but I just don't really have much of
- 10:49like um
- 10:51I I would say time. I do have time, but
- 10:54I don't know. Uh but but like what what
- 10:55I was saying with like cloud, I think
- 10:58what I really love lately is I tell it
- 11:01to like I'm not going into plan mode
- 11:03immediately. I'm going like gathering
- 11:05context
- 11:07um
- 11:09telling it
- 11:10to create a work tree
- 11:13to then go into a plan.
- 11:16Um
- 11:17You tell it to go to do a couple of
- 11:19things first to gather its context. Like
- 11:21read this Jira ticket, read this GitHub
- 11:23issue.
- 11:24>> Yeah, like
- 11:25what stops you from using Git work tree
- 11:28from the very start? I can't understand.
- 11:30>> plan because if you go into plan, then
- 11:32it's like I'm in read-only mode. I can't
- 11:33do anything that that affects the state.
- 11:36I don't think you can make it go into a
- 11:38a work tree while it's in plan mode.
- 11:41Okay. Okay.
- 11:42>> So so my my original flow was like open
- 11:44Claude Code, switch to plan mode, plan
- 11:46and make a plan. Talk talk cuz my brain
- 11:48my brain isn't working without some
- 11:49drawing. Did Did Did you see that link I
- 11:51sent you?
- 11:54Just draw.
- 11:54>> Yeah, I'm I'm I'm in the in the call and
- 11:57you're not sharing the screen if you
- 11:58want to share it.
- 11:58>> Okay, I'll share I'll share the screen.
- 12:00You do the You do the drawing.
- 12:04Draw.
- 12:06I don't know how to draw.
- 12:09You don't know how to draw?
- 12:13Okay, let let me show you. Let me
- 12:14demonstrate how to do the drawing.
- 12:16>> talk about the first flow.
- 12:18Um You draw the drawing.
- 12:19>> Maybe we're Here we're specifically
- 12:20talking about more
- 12:22like
- 12:23>> You You type on the screen.
- 12:25Yeah, I I ad hoc work in in in brown
- 12:29brown field
- 12:31uh or established repositories.
- 12:33>> Oh, uh you want to make a title.
- 12:38ad hoc h o c work in
- 12:41I'm just going to dictate.
- 12:44We should have an AI like you know The
- 12:47AI The AI is pretty good for this sort
- 12:50of stuff.
- 12:52What do you mean like if you give it a
- 12:53description and then it generates an
- 12:55um like a mermaid graph and then renders
- 12:57a basic
- 12:59mermaid
- 13:00visualization. No, well, I can actually
- 13:03show you. Hold on. I
- 13:06um
- 13:06>> I know I don't want to waste time.
- 13:07Basically, what I want to say is for ad
- 13:08hoc work in a brown field repo
- 13:11my original flow would be to immediately
- 13:14go into plan mode and then, you know,
- 13:16iterate on the plan until I know what to
- 13:18do, right?
- 13:19>> Okay.
- 13:20Plan.
- 13:20>> But
- 13:21but it gets very frustrating because
- 13:23there's always something like not 100%
- 13:25right, but I don't want to be bothered
- 13:27with like opening the plan, editing it,
- 13:28or asking it to make a change cuz I I
- 13:31feel it's taking too too much time once
- 13:32the plan is rather big. So, Okay, you're
- 13:35big and you you're so big on this sort
- 13:38of plan stuff. I I'm actually
- 13:40>> No, you didn't even listen.
- 13:43So, I said my original flow would have
- 13:44been to go into plan mode and then
- 13:46iterate on the plan and then kick off
- 13:48the plan for ad hoc work. Um
- 13:51>> Okay.
- 13:51because
- 13:53Okay.
- 13:53>> ad hoc work in a brownfield repo means
- 13:55you have to go and explore the the
- 13:57things. You have to agree on where to
- 13:59make the changes because the AI might go
- 14:00wrong and miss something. So, I want to
- 14:02align with the AI first. Uh and then
- 14:06ad hoc work in a brownfield repo today
- 14:08for me is more like do not go into plan
- 14:10mode,
- 14:11go through exploration phases, read some
- 14:14Jira tickets, read some GitHub issues,
- 14:18um
- 14:18launch an asynchronous explore agent at
- 14:21the in the background to get the summary
- 14:23on on the repo,
- 14:24uh and relevant in parts for what we
- 14:26have learned from those. And then, after
- 14:29that, go into a plan mode.
- 14:32Uh maybe maybe even like use the Git
- 14:35worktree. So, this particular session is
- 14:36living in a separate worktree. And if
- 14:38you do that, you have to tell it like to
- 14:40use the worktree tool cuz otherwise it's
- 14:42going to run Git worktree. But, if you
- 14:43use the clone Claude Code Git worktree
- 14:45tool, it's going to automatically put
- 14:48the session inside that worktree folder.
- 14:50And then, when you're done, it's going
- 14:52to clean up the worktree automatically
- 14:53as well.
- 14:55Because so, this is where you activate
- 14:57worktree mode or whatever it's called.
- 15:00You use a worktree tool.
- 15:03It's not a mode. So, the plan mode is
- 15:05like um like a mode that controls what
- 15:07the agent is allowed to do like the
- 15:08sandbox uh permissions. The worktree
- 15:11tool is just a tool that um
- 15:14changes the environment and and
- 15:16automatically locks the session to a
- 15:17certain worktree, which is great because
- 15:19then you can open a second terminal and
- 15:21launch another cloud and do a parallel
- 15:24ticket or whatever. And also
- 15:26>> is this is what I was going to ask you.
- 15:27So, this is what you do. So, you work in
- 15:30parallel thanks to thanks to work tree.
- 15:32That That's the chief That's the thing
- 15:34that work tree enables.
- 15:35Yeah, and that's before I have like
- 15:37exact scope of like launching agents and
- 15:40an orchestrator doing everything right.
- 15:41I'm I'm still very much a driver here
- 15:43because this is a
- 15:45more than 3-year-old code base that I
- 15:47that I know very well. And I just I
- 15:50pretty much know where the changes need
- 15:51to happen.
- 15:52Um and there's a whole bunch of things.
- 15:54>> on that sort of
- 15:56thing you just said, driver.
- 15:58I was looking at that old pairing uh
- 16:00article on ThoughtWorks.
- 16:02And the driver and navigator
- 16:05paradigm is brought up. And then the
- 16:07driver, of course, is the person who's
- 16:10writing the code. So, so technically so
- 16:14technically you're the navigator. Okay.
- 16:16Uh so so yeah, I mean, because now I
- 16:18have like like I have VS Code because I
- 16:20still like to use VS Code to open the
- 16:22diffs and also to stage files. So, then
- 16:25I can see
- 16:26if I don't really want to do the commit,
- 16:28I I go into the the Git like extension
- 16:32to stage some files before I give the
- 16:34next extent command cuz I want to see
- 16:36exactly what is it changing without
- 16:38blocking the agents for changing those
- 16:40files. And then in the VS Code Git
- 16:43extension, you actually see every work
- 16:44tree separately. So, you can see the
- 16:46diffs of every Oh, like the the very
- 16:47basic one because I was finding the
- 16:49basic Yeah, you have the other one which
- 16:51is like GitLens,
- 16:53uh which which gives you a lot of cool
- 16:55stuff, but I'm not using anything.
- 16:58Yeah, I really I really hate the basic
- 16:59one. Doesn't seem to be able to have the
- 17:01ability to step through
- 17:03uh
- 17:04Oh, I can't remember what it's missing
- 17:06now, but it was frustrating for some
- 17:08reason. Okay. And and
- 17:11And then like I like to stage things in
- 17:13between
- 17:14um because I want to know what exactly
- 17:16changes based on my prompt. And
- 17:19then
- 17:20if I'm happy with that by the time I
- 17:22want to commit, uh I say I usually say I
- 17:24already staged everything that I want to
- 17:26commit. Um but Claude codes locally
- 17:28usually does a verification. It does
- 17:31actually check if you change stages and
- 17:33then it will say, "Hey, but there's this
- 17:34other file we did that you haven't
- 17:35staged." And I'm like, "Oops, yeah,
- 17:37you're right."
- 17:38I'm actually surprised you managed to
- 17:40get Claude to do that cuz sometimes
- 17:42I mean, maybe it's me just being lazy,
- 17:45but like I mean, I'm talking from
- 17:47personal experience. I'm not actually
- 17:48using Claude in anger on a on a client
- 17:51project. But like it just commits for
- 17:53me, right? Like
- 17:55No, I I I
- 17:58Anyway, um what I I think about
- 18:02I had something I was thinking about. Uh
- 18:04I forgot.
- 18:08Yeah, I know. Attribution. Cuz on on one
- 18:10project I disabled uh the the Claude
- 18:13attribution completely. Oh,
- 18:15you're so naughty. Very naughty.
- 18:17>> For for for hashtag reasons, right? For
- 18:19hashtags reasons.
- 18:21Yeah.
- 18:23There's there's some interesting
- 18:25articles about that. Like some people
- 18:27just do that because there's quite a
- 18:28hostility. And it's very interesting
- 18:30because we have a contributor to a
- 18:31project and originally
- 18:34I suspected AI, but I didn't mind.
- 18:36Actually, I made I made some comments to
- 18:38him because he he always opened the PR
- 18:40and then some of them
- 18:43uh they were flaky tests and then he
- 18:44would post a message on Slack saying,
- 18:47"Hey, there's a flaky test uh that
- 18:48failed. Can somebody with permissions
- 18:50retrigger it?" And I was like, "I hope
- 18:52that by now you have a hook in Claude
- 18:55that posts this uh Slack message for
- 18:57you." Cuz he posted it like three times.
- 19:00And and it's always the same message. So
- 19:02I was like
- 19:03that's the perfect reason for Claude to
- 19:05like go and and and quickly go like you
- 19:07can
- 19:07>> Surely it's easy to go up into your
- 19:09Slack history.
- 19:11Actually, my my new client uses Slack. I
- 19:12haven't used Slack for like years now.
- 19:14So, hopefully it's better than I
- 19:16remember.
- 19:18Oh my god, Slack is is is heaven if you
- 19:20if you've been stuck to MS Teams for a
- 19:23while. What I really loved just before I
- 19:25had my last opportunity to use Slack was
- 19:28that they completely changed the webhook
- 19:30feature into like an advanced workflow
- 19:33feature.
- 19:34And I liked that one. Originally, it was
- 19:36very frustrating because it used to be
- 19:37so simple just register webhook and then
- 19:39paste the webhook URL somewhere else.
- 19:41But then the workflow was like you don't
- 19:43need anything else anymore. Like I don't
- 19:45need
- 19:46um something else that handles the the
- 19:48logic to hit the webhook. I could do a
- 19:50full workflow
- 19:53um without
- 19:54with just within Slack.
- 19:56I'm not quite sure what you mean, but
- 19:57I'm I'm sure I'm sure to discover it.
- 20:00Yeah, it's really cool. And I really
- 20:01miss that.
- 20:03So, you remove the the attribute
- 20:05attribute attribute
- 20:07and then and then do does it go through
- 20:10a PR phase or do you just land it?
- 20:12No, no, it has to go every work tree is
- 20:15is a is a is a branch of of the The work
- 20:18trees are different branches, right?
- 20:19That's why Okay, so it's a it's a PR.
- 20:23Yeah, because it's such a heavy GitOps
- 20:25type of of setup. Actually, having the
- 20:27ability to do work trees and PRs, which
- 20:30you might sometimes in the past say,
- 20:32"Man, this this GitOps approach is so
- 20:33annoying, you know, cuz you have to do
- 20:35so much PRs and stuff just to do
- 20:38operations." But I think with with
- 20:40agents, it's actually kind of fun
- 20:42because they just go off in different
- 20:44work trees, they do the the different
- 20:45change I see changes and do the PR. So,
- 20:48what is a work tree and a branch? Sorry,
- 20:49I'm
- 20:50I kind of So, a work tree is a branch of
- 20:52uh is just a directory checked out
- 20:54against a certain branch.
- 20:57So, what's what's what Why not just use
- 20:59a branch?
- 21:02Because
- 21:04a work tree is a directory
- 21:05>> you're working in the same file.
- 21:07You're working in the same file.
- 21:08>> tree
- 21:08>> is a directory checked out of a
- 21:10different branch. So, let's say that you
- 21:12you clone the repo, you're on main, and
- 21:14you would launch cloud, you tell it um
- 21:17here's the GitHub issue I want you to
- 21:18work on, uh and then you do the whole
- 21:20thing and you say use the work tree
- 21:22tool, and it it creates and because the
- 21:24work tree tool doesn't just use Git Git
- 21:27work tree, which is a command, it
- 21:29actually uses the Git work tree in the
- 21:31subdirectory of the cloud uh settings
- 21:34like the
- 21:35the dot cloud folder. So, all of your
- 21:37work trees are managed by cloud in a
- 21:39subdirectory on the repo. So, when
- 21:41you're done with your feature, when you
- 21:43exit or close the session, cloud says,
- 21:46"Do you want me to clean up the work
- 21:47tree? Do you want me to clean up this
- 21:48branch, clean up the the directory,
- 21:50clean up everything? This PR is landed."
- 21:52Yeah.
- 21:53And it also cleans up the remote branch
- 21:55if you if you're not careful.
- 21:57Well, normally a merged PR should always
- 22:00delete the remote branch. No long-lived
- 22:01branches, no environments branches,
- 22:03please.
- 22:04>> [laughter]
- 22:05[gasps]
- 22:06>> I need to say don't auto delete. I can't
- 22:08open this banana.
- 22:10Um
- 22:10okay, so you got your P Well, okay, I
- 22:13got to try work trees. To be honest, I'm
- 22:15still a dinosaur using branches.
- 22:18And then what I really like to ask it
- 22:21in my prompt is to say
- 22:24um
- 22:26Like let's let's not talk about the more
- 22:28like higher-level planning type of
- 22:30prompts, but in this case it's very
- 22:32well-defined GitHub issues. The plan is
- 22:33kind of basic. I don't even go in plan
- 22:36mode sometimes.
- 22:37Um I just directly tell it to to like
- 22:40these are the things I want you to do
- 22:42based on what it tells me, what's the
- 22:43status, and what's needs to happen, and
- 22:45and you know, I have like now this
- 22:46release workflow markdown document that
- 22:48I pointed to. So, it tells me, "You need
- 22:50to do these PRs against these branches,
- 22:52blah blah blah."
- 22:53Um
- 22:54and
- 22:55then I tell it
- 22:56like, "Hey, uh use the to-do list items,
- 23:00and I want you to do these one, two,
- 23:02three, four five things. Like I am I'm
- 23:04in this case
- 23:05you know doing a PR against death and
- 23:09I
- 23:11It was different areas that needed to be
- 23:13done like in parallel. So I wanted it to
- 23:15create multiple PRs and I and and I
- 23:17didn't want them in parallel actually no
- 23:19in this case it wasn't in parallel. I
- 23:21just tell it you do this PR then you do
- 23:22this PR then you do this PR and I wanted
- 23:25him to not lose track of all of the
- 23:27things.
- 23:28And it was not in parallel. So so I
- 23:30actually told it use it to do this item.
- 23:32I wanted you to you to do deal these
- 23:34things because otherwise it will keep
- 23:35coming back to you and say like we have
- 23:37done this. What is the to do list item?
- 23:39Is that like a comment in the PR?
- 23:41>> a tool. So again this is a Claude Code
- 23:43tool that it tends to use on its own but
- 23:48just to be explicit.
- 23:50I like I like your experience and then
- 23:52we have to talk about your experience
- 23:53with spec ledger
- 23:54is because of the to do list tool. It
- 23:56doesn't come back to you and say like
- 23:58okay we I've done all of this
- 24:00should I do do this next? I find if you
- 24:02tell cloud to use a to do list it will
- 24:04keep track of everything it needs to do
- 24:06and it will keep going until all of
- 24:08those things have been done. It doesn't
- 24:09pause and say like I've completed one
- 24:11two three do you want me to go on with
- 24:12five?
- 24:13Or four.
- 24:14Like
- 24:15>> Yeah I don't think I've ever used this
- 24:17particular tool.
- 24:18>> under the hood you don't need to.
- 24:20So you eat the plan mode uses that. If
- 24:22if you go out of plan mode usually it
- 24:23will it will create a list of tasks and
- 24:25dependencies between tasks of what it
- 24:27needs to do.
- 24:28Originally these were session scoped but
- 24:30then they also became cross session.
- 24:31>> Okay.
- 24:33So you're not using these for obvious
- 24:35reasons cuz I think our every every time
- 24:38you mention to do I just think
- 24:40I mean in this case I have Jira right?
- 24:42And I have a Jira scale that tells it
- 24:44specifically to track work across sub
- 24:46tasks and things like that and then I
- 24:48can also immediately copy paste a Jira
- 24:50link to to to the team and and inform
- 24:53people also updated the conference
- 24:55pages with like these these things are
- 24:58being closed and so on and
- 25:00pages with like these these uh, things
- 25:03are being closed and so on and the
- 25:05status is very clear.
- 25:06Um, have weird Jira and workflows and
- 25:08all that, right?
- 25:11Yeah, again, this is all like not
- 25:13[clears throat] the type of work that I
- 25:14am full agentic
- 25:16uh, an agent team doesn't do things,
- 25:18right? I am the navigator.
- 25:20>> [laughter]
- 25:21>> And I am I am doing something that I
- 25:23know very well except I I'm just
- 25:25pre-planned
- 25:26um, a whole bunch of things because I
- 25:28know sometimes I ask Cloud to do the
- 25:30research and then it tells me what it
- 25:31needs to do and then I agree with it.
- 25:33And sometimes I completely know what it
- 25:34needs to do and I make like a long list
- 25:36of what you need to do in which order
- 25:37and then it goes off and does these
- 25:38things.
- 25:39And and and on auto mode in the
- 25:41background using to do list items and
- 25:45um, in parallel multiple PRs and then I
- 25:48have multiple Jira tickets, multiple PRs
- 25:50with sub sub
- 25:51a PR per sub child. So, one one Jira
- 25:53ticket actually like has like three or
- 25:55four PRs and they're all tracked
- 25:57together. Uh, and then I come back
- 25:59across my sessions, across my terminals
- 26:01and then I see a small recap. I was
- 26:03like, oh, we've done this. This is where
- 26:04we are. I need your input on this. I was
- 26:06like, okay.
- 26:09So, that makes you feel super like
- 26:11productive because all of the things
- 26:12that used to take you a day, now you
- 26:15have like in parallel
- 26:16you're doing it all and you're doing it
- 26:17in the
- 26:18>> mean. Like uh,
- 26:20these things would sort of break you in
- 26:23the past but now with Cloud
- 26:25taking this tedious work out of the
- 26:27picture, it's it's great. And another
- 26:29super useful thing is um,
- 26:31with auto mode
- 26:32and AWS Vault uh, which gives you
- 26:35temporary credentials with SSO. So, it
- 26:37you can you tell it and Cloud actually
- 26:39knows AWS Vault very well. Uh, I tell it
- 26:42use AWS Vault and it actually went and
- 26:43lists to see what are the available
- 26:46sessions it can create. It launches the
- 26:48session.
- 26:49>> Wait a minute. I'm getting confused.
- 26:50Isn't AWS [snorts] Vault
- 26:52What is AWS Vault? It's a a command line
- 26:55binary that uses your operating system
- 26:59key uh store. It can be OSX keychain on
- 27:03Mac OS or it can be pass on Ubuntu.
- 27:06Um if you're on Windows with WSL.
- 27:08Oh, it's not actually an
- 27:10an AWS product. It's
- 27:12>> No, no, it was from but I think the
- 27:14original company that built it, I forgot
- 27:16who built it. 99 designs. Yeah, now
- 27:19Yeah, they just stopped maintaining it,
- 27:21but it was forked already by the
- 27:22community. Um
- 27:24and I love it because I have like you
- 27:26know, for for the last almost 6 years or
- 27:28so, I have bootstrap scripts, bootstrap
- 27:31scripts that basically set up the whole
- 27:35team with AWS Vault. So, when they clone
- 27:39the repo, it says in the onboarding, run
- 27:42this bash script and it runs a bunch of
- 27:44AWS CLI commands because Vault uses the
- 27:47AWS CLI profiles and um you know,
- 27:50secrets. It just automates the the flow
- 27:53of SSO getting the secrets like the
- 27:55temporary credentials.
- 27:56Um
- 27:57but it can also run in a server mode, so
- 27:59you can also run it as a demon to to a
- 28:01Terraform process.
- 28:02>> the the AWS CLI V2 is a lot better for
- 28:06SSO management if that if that's
- 28:07>> Maybe. Yeah. So, I've been using Vault
- 28:09for since like
- 28:11I think you think you should give V2 a
- 28:13try.
- 28:15Well, I'm not sure.
- 28:16Yeah, maybe.
- 28:18But But like for example, because I I I
- 28:20know someone who used to who is an AWS
- 28:24uh
- 28:25professional service or or or um
- 28:28who works at AWS and
- 28:30he was sharing information about how do
- 28:33you get short-lived credentials for your
- 28:35your agents or your agentic sessions and
- 28:37he was using this really weird tool and
- 28:39I was like, but that's something that
- 28:40Vault AWS Vault does so well because
- 28:42it's a CLI. It's not I was an MCP. I I
- 28:45like, why would you use an MCP for that?
- 28:46Like as a human, I've been using a CLI
- 28:48for it and it works really well. I don't
- 28:50even need a scale. I just tell it one
- 28:52thing, to get
- 28:54temporary credentials, you use AWS Vault
- 28:56and then the environment name {dash}
- 28:58{dash} and then the command you want to
- 28:59run. And because it uses a keychain to
- 29:01fetch the secrets,
- 29:03because the credentials are are stored
- 29:05in in the So, it does need to re-
- 29:07re-prompt. So, when Cloud
- 29:10um wants to access an environment, the
- 29:13keychain will prompt me if it's more
- 29:15than 5 minutes between the times that it
- 29:17needs. And it will tell me like, do you
- 29:18want to allow the usage of the secret
- 29:21stored in the keychain? And then I have
- 29:22to enter my password or fingerprint. And
- 29:25then Cloud proceeds.
- 29:26Um so, this was great because I
- 29:30I wasn't sure if something had shipped
- 29:32and Cloud went and did a whole
- 29:35Git
- 29:37um you know, investigation as well as an
- 29:39AWS environment investigation, finding
- 29:42out every single tag live and giving me
- 29:45like this beautiful I was about to tell
- 29:47it like, make an HTML because that's in
- 29:48vogue. But I said, no to that.
- 29:50>> the one he uses AWS CLI.
- 29:53It's magical. What one I've I'm I'm sure
- 29:57I've mentioned this before, but one
- 29:58thing I've done in the past, which I
- 30:00thought was pretty cool,
- 30:01but it's got hashtag problems with it
- 30:04probably, is that you use the you go
- 30:07into the AWS console, launch a
- 30:09CloudShell,
- 30:10install Cloud or or Codex,
- 30:14and then set the key and you're and then
- 30:16inside the CloudShell,
- 30:18you're basically debugging a particular
- 30:21environment. And this is handy when you
- 30:23have about 50 million accounts, but I
- 30:25guess you could
- 30:27That's what Vault
- 30:27>> set up the AWS Vault to
- 30:30Yeah. Yeah, because because with Vault
- 30:32I have
- 30:33I have the script onboarding script that
- 30:35basically when you when you clone the
- 30:37repo because in my case it's like it's
- 30:40It's environment repo.
- 30:41>> a There was a good reason do it. There
- 30:42were some crazy VPC restrictions. So,
- 30:46there's no way I could get from my from
- 30:48my development laptop.
- 30:51Wait. VPC but you need the API access.
- 30:54You just need the AWS service. Maybe you
- 30:56want to explore against like
- 30:58uh in the network.
- 31:00Um Uh for me what what I have crazy
- 31:03crazy VPC I had SSM I had SSM and and
- 31:06and telling Claude that we have this
- 31:08error networking issue and and it goes
- 31:11and all have any EC2 instance in the
- 31:12inventory of SSM and then it goes and uh
- 31:15triggers a run command against that node
- 31:17and it does a full troubleshoot network
- 31:19troubleshoot, you know? Uh it's it tells
- 31:22you the
- 31:22>> that sounds good. That sounds good.
- 31:24I mean that sounds that sounds awesome.
- 31:25So, it sounds like you're you're fully
- 31:28AI'd your workflow and you're happy and
- 31:30that's and that's
- 31:32that's something I I think that's
- 31:35that's uh
- 31:37I mean it's my short term
- 31:38>> like people people like expect so much
- 31:41from AI. The expectations are so high.
- 31:44Like if like the fact that I'm happy
- 31:46using AI and delivering the same amount
- 31:48of work
- 31:50um
- 31:51or happier, sorry.
- 31:52>> [laughter]
- 31:52>> The specific
- 31:53Shouldn't that Shouldn't that be
- 31:55celebrated? Shouldn't that be um
- 31:58a wonderful thing?
- 31:59I guess it I guess it's not really in
- 32:01the in the scheme of things because I
- 32:03know in the background that token that
- 32:06the costs of uh of
- 32:08of this token expenditure are becoming
- 32:11realer and realer and more
- 32:13>> now.
- 32:14Okay.
- 32:16But
- 32:17ignoring the cost of tokens
- 32:20thanks for sharing that video about uh
- 32:22the artificial intelligence cuz it made
- 32:24me think that like Oh yeah, that that
- 32:26was great. It made me think if Claude
- 32:28went away tomorrow, I do feel
- 32:32I could regain
- 32:34I can keep my workflow because of the
- 32:36open source ones being so so so good
- 32:38nowadays. So
- 32:39Yeah.
- 32:39>> All good in the hood, man. I'm happy
- 32:41with that.
- 32:43Assuming GLM is not [ __ ] and
- 32:46assuming I can pick up an Nvidia
- 32:48um hardware. Yeah, I mean, in his
- 32:51pricing, he really put the price of
- 32:54local LLM and then because he factors in
- 32:57the quality, right? Based on some
- 32:59benchmarks.
- 33:00Um saying that he he multiplies by the
- 33:04quality, but I don't think that really
- 33:06because if your model is a little bit
- 33:08more dumb,
- 33:09um it can impact the results
- 33:12significantly, right? If you have a
- 33:13model like
- 33:15So, the the model being dumb is one
- 33:16thing.
- 33:18I I think I feel like the the last 30
- 33:20minutes we've been talking about how
- 33:21awesome Claude is. I mean, Claude with
- 33:24its agent support, with its tooling, the
- 33:26harness, the the you know, the whole
- 33:29vertical integration, the whole
- 33:32experience with Claude is pretty
- 33:33freaking next level, isn't it? I'm I'm
- 33:36probably probably criminal, but I have
- 33:38so much budget left.
- 33:40Well, actually
- 33:42Well, this is the first time that I'm
- 33:43only only have like This is on your max
- 33:45200 or what is it?
- 33:47No, only one max. So, it's 150 thing
- 33:51dollars. But the thing is like I'm on
- 33:53Opus 4.7 x high for like basic stuff.
- 33:57For like create a commit. That's
- 33:59criminal, right? I mean,
- 34:01>> [laughter]
- 34:01>> that that shouldn't be allowed.
- 34:02>> I can't help but think that like you
- 34:05I I I wonder
- 34:07like Anthropic uh servers,
- 34:11they must be loaded in in different at
- 34:14different times in in a day, right?
- 34:16Absolutely. Yeah, yeah.
- 34:17>> So, I reckon I reckon Asia's probably
- 34:19the the lightest touch point, probably.
- 34:21But they have reduced a lot of those
- 34:23restrictions since they got the compute
- 34:25deals with X and CCP, is it? Cuz
- 34:28originally they were really compute
- 34:29constraints. And then as soon as they
- 34:31got those deals announced, immediately
- 34:33the plans like all these like
- 34:36How is that even possible? Like how can
- 34:37they announce a deal and then lift the
- 34:39restraint? That's crazy.
- 34:41Yeah, I mean like I I I
- 34:43obviously yeah, a deal announcement
- 34:45doesn't mean that it's already deployed.
- 34:46Yeah, they're they're not running the
- 34:47servers in space now, are they?
- 34:50>> [laughter]
- 34:51>> That's true. Um maybe it's all
- 34:53marketing. Um Exactly. There's so much
- 34:57And the guy made some good points like
- 34:59like if you were sold
- 35:01uh electricity like you're being sold
- 35:03tokens and they change the price.
- 35:06Yeah, he makes very good points about
- 35:07that. Um this one thing which I also
- 35:09really like about Cloud is that it
- 35:11constantly gives you tips and and it
- 35:13gave me this tip. Um Usually it's a tip
- 35:16that makes you frustrated because it's
- 35:18something like, "Oh man, I was I just
- 35:19had this whole skill built around this
- 35:21and now there's like a in-built in
- 35:23feature that does it." Uh but one of
- 35:25them is like this /team
- 35:26onboarding tip that I got and I I wasn't
- 35:28able to take a a screenshot because I
- 35:30kept going into like prompts and then it
- 35:32hides the tips. Uh so I had to go to the
- 35:34/and the team onboarding which I
- 35:36haven't tried, supposedly um analyzes
- 35:40your Cloud usage and generate a guide
- 35:42for your team. Exactly what you've been
- 35:45always asking Cloud um
- 35:47I'm calling you Cloud now. Kai, you were
- 35:49always saying like I I'm using Cloud I
- 35:50would like I'm a human.
- 35:52>> [laughter]
- 35:53>> Um It doesn't help that I know two
- 35:54people that are called Cloud, so
- 35:56um so yeah, I mean you've been always
- 35:58saying like, "How do I share my
- 36:00experiences with Cloud?" And now there's
- 36:03a a command for it in Claude Code.
- 36:04>> Well, there there is
- 36:06Okay, that sounds really cool. Some Some
- 36:09of Some of those Anthropic features are
- 36:12actually
- 36:13I've got FOMO cuz I miss them like uh
- 36:17I told I told you about that one thing
- 36:19before. The uh hold on.
- 36:23The session report skill. Uh Uh, didn't
- 36:25know about that. Uh
- 36:27and I'm I enter that
- 36:29>> analyze or there's a there's a built-in
- 36:31one that goes through all of your all of
- 36:33your usage of Cloud and gives you tips.
- 36:35>> through all your sessions. There's also
- 36:37like like an MJS or whatever. What's an
- 36:40MJS?
- 36:41>> No, I didn't use a Cloud plugin, but
- 36:42there's one built-in to Cloud that's
- 36:44that they recommend you to run as well,
- 36:46which which go through all of your
- 36:48sessions and then says, "Hey, this is
- 36:50how you've been using Cloud. This is
- 36:51where it excels. This is where you have
- 36:53to correct it most."
- 36:54>> this one. This one I think is
- 36:55>> this one. It's one built-in. It's not
- 36:57one that you need separately. Okay, now
- 36:59I'm getting forward. You got to you got
- 37:00to tell me which one it is. Then these
- 37:02the other command that I only learned
- 37:04about
- 37:06>> Uh, of course the agents I have been
- 37:08noticing the UI enhancements with
- 37:10agents.
- 37:12And uh But I haven't been able to use
- 37:14that. Like where you supposed to
- 37:15>> Cloud agents. Like Cloud agents
- 37:17>> it once and then it launches me in in an
- 37:19in an empty cell session and says, "Any
- 37:21agents you create will be managed
- 37:22through this." And then I was like, "No,
- 37:24because I have a I have like three
- 37:25sessions open right now in this
- 37:26directory. Can you not see them?" And
- 37:28it's like No, no, it didn't work. It's
- 37:31like
- 37:32It didn't even it even refused to
- 37:33recommend recognize it as a command and
- 37:35I like kept checking. This is exactly
- 37:38the right version of Cloud. The agents
- 37:40command exists, but every time I run it,
- 37:42it failed.
- 37:43I really don't understand.
- 37:46I
- 37:47Did you see that video I sent you about
- 37:49the slock sensor?
- 37:52Uh,
- 37:53the video slock I I was watching it with
- 37:55um, at at the restaurant, so I didn't
- 37:56capture everything, but you finally
- 37:58found an answer to your um
- 38:00your question that you kept asking, "How
- 38:02do I constrain a PR doesn't go above a
- 38:05certain amount of of of changes?" So,
- 38:07this guy is the owl.
- 38:10>> Yeah, and I was pretty happy with the
- 38:12results. I mean, of course I maybe went
- 38:14back to front and I need to go front to
- 38:16back. You know, I I generated a whole
- 38:19bunch of code and then I got it to like
- 38:22make 10 PR 10 commits.
- 38:25I still don't like the premise though.
- 38:29Why?
- 38:31What does it matter how long a PR is?
- 38:35Because it's like
- 38:36>> You kept saying like how do you keep it
- 38:38small?
- 38:40Yeah, but if you have like a 10,000
- 38:41100,000 line PR
- 38:45but you're just going to you're just
- 38:46going to click viewed viewed viewed. I
- 38:49mean
- 38:49>> depends, right? I mean like if I'm doing
- 38:51ball, I've never had a 10,000 line PR. I
- 38:53usually had like five lines PRs and
- 38:54they're all split because I'm launching
- 38:56them the way that I told you. So, I
- 38:58never have this issue or or the need for
- 38:59it. And if I'm doing something that
- 39:02could be a big like spec-driven
- 39:03development, then I don't care because
- 39:06it's like complete shift left. I only
- 39:08care about the user stories. You got a
- 39:10point. You got a point. I guess it's
- 39:11more I'm guessing this
- 39:13I'm I'm hoping to use this. [ __ ] my
- 39:16Dell monitor is being misbehaving.
- 39:19Um
- 39:21I I still think it's kind of useful for
- 39:23for multiplayer because like if you're
- 39:25working with someone Mhm. I think it's a
- 39:27great great approach, honestly. I think
- 39:30um this is something that that they
- 39:32recommend to have like hooks and and and
- 39:34basically silently guide the model with
- 39:36like injection of messages based on
- 39:38hooks saying like hey, you know, PR is
- 39:40getting big or whatever. I think it's
- 39:42really nice um nice um use case for
- 39:45this.
- 39:46Although I don't agree with the premise.
- 39:48>> [laughter]
- 39:48>> Yeah, yeah. I mean I mean I haven't
- 39:51really
- 39:52Uh you know, it's an idea. It's an idea.
- 39:55That's That's where I'm at with it. I
- 39:57think it's a really good idea and I
- 39:59think some people might really like it.
- 40:01I'm probably not that audience.
- 40:03Then um I think someone
- 40:06I I will think it like I had a comment
- 40:08yesterday on the video which is kind of
- 40:10like the same comment I get a lot from
- 40:12my viewers in a way like let me just
- 40:14show you.
- 40:19He says,
- 40:20it's kind of like
- 40:22are you still inspecting the commits and
- 40:23committed messages on on the work you're
- 40:25reviewing?
- 40:27On one of the podcasts you mentioned
- 40:29that um I wasn't reading the code or
- 40:31something.
- 40:32But But of course I would read the code
- 40:34on the client part. This is just to be
- 40:35clear, I would read the client.
- 40:37On a on a professional project I would
- 40:39read the code, I like to think.
- 40:42But of course a lot of the There's two
- 40:44parts.
- 40:45There's a part of There's the
- 40:46professional Kai and there's the playing
- 40:48around Kai.
- 40:49I'm playing around right now. You are
- 40:51speaking a lot about guardrails, which
- 40:53is more important than ever, but
- 40:56and do you review the pro
- 40:58Anyone build a feature now is but great
- 40:59would understand the business to be
- 41:01there. I mean,
- 41:02I would be on top of it. But this I I
- 41:03I'm just pointing this out cuz this is a
- 41:05very typical question I get is like,
- 41:07you're not reading the code anymore. And
- 41:08I'm like, no, I'm I'm on it for for for
- 41:11work, for sure.
- 41:12>> it it it really depends on where you're
- 41:14using the agent like we just discussed
- 41:15with the
- 41:17the one that I I control, but and and
- 41:19like you said, there's different types
- 41:21of projects.
- 41:23Um
- 41:23there's also situations where we are
- 41:26trying to migrate a project from a more
- 41:28hands-on, every line of code is human
- 41:30written, towards uh
- 41:33uh a project that is more AI written,
- 41:34where where the first step is to
- 41:36probably
- 41:37put in the validation and checklists, uh
- 41:39check like for the for agents to to to
- 41:42be controlled so that you can worry less
- 41:44about the code. But to the second part
- 41:46of the comment saying that um
- 41:49like he was focused on like product
- 41:51feature and design and architecture. I
- 41:54think maybe now you should share a
- 41:55little bit about your experience with
- 41:56spec-driven development frameworks,
- 41:58because that's exactly what That's the
- 42:00complete shift left, where you are
- 42:01focused 100% on the architecture, right?
- 42:05And and you define what the agent should
- 42:06be doing. Uh
- 42:08I mean, at least in my case, a lot of
- 42:10the
- 42:11the second part So, the first phase is
- 42:13the user stories, the second part is the
- 42:14plan and research where you do the
- 42:16technical design and the architecture. A
- 42:18lot of that in my case is focused around
- 42:21how do I organize my code? Do I follow
- 42:24the repository pattern? Yeah. I like the
- 42:27way that I I use Spigot the the
- 42:30development is probably not a great
- 42:32example because like
- 42:34I'm creating a Go lang CLI.
- 42:37Like the architecture with the Go lang
- 42:38CLI when you're using standard lib is
- 42:40pretty much already decided, right?
- 42:44Uh
- 42:45the only thing that perhaps
- 42:48is not
- 42:50super clear when I'm uh working with
- 42:53Spigot development
- 42:54is the the guardrails that I want to
- 42:57implement, the nuances around them.
- 43:00Documentation,
- 43:02how that's going to work.
- 43:04Uh because because Go doc is designed
- 43:07for uh
- 43:09for developer documentation.
- 43:11Uh for example, and then like maybe an
- 43:15architecture around how the results are
- 43:18posted back to
- 43:20some sort of
- 43:21logging endpoint.
- 43:23So,
- 43:25Well, that's that's I mean, that's a
- 43:26very important part about the language
- 43:29that you're using, right? Because the
- 43:30the language in this case, Go lang has a
- 43:32lot of developer tooling. I love Go doc.
- 43:34I love the fact I mean, the agent uses
- 43:35it really well. The agent will go and
- 43:38say uh run the Go doc command, run the
- 43:40Go format command, run the Go test
- 43:42command. Everything that's in this is
- 43:43within the the language framework and
- 43:46the agents are aware of it. Even I I've
- 43:48only contributed, never wrote Rust
- 43:50myself, contributed to one Rust project
- 43:53and the agent knew how to do everything
- 43:55and the guys accepted my PR, so I assume
- 43:58I assume it's um it's decent. Uh it
- 44:01wasn't that big.
- 44:01>> a humble brag that you got something in
- 44:03the Rust um
- 44:05No, but it's not the humble brag. It's
- 44:06just a uh uh um
- 44:09an illustration of how a language modern
- 44:12languages and and because you know, if
- 44:14you talk about node.js, there's so many
- 44:16flavors. You know, is it still just? Are
- 44:18you on the latest TypeScript? Are you
- 44:20using V test biome for linting or
- 44:22ESLint?
- 44:23>> Like if you like I think
- 44:26I SSH to an old machine and
- 44:29for some reason one of the depends like
- 44:31one of the go mods had a newer version
- 44:33of go if I remember correctly and it
- 44:35just downloaded the new version. Like it
- 44:37didn't even didn't even like
- 44:40complain that it was like a out of date
- 44:42or a new too newer version. It just
- 44:44downloaded it and got it running. I was
- 44:46like, "Holy moly, this is nice."
- 44:49So yeah, going back to STD like um
- 44:53I'm kind of still on the wall about it
- 44:55really like
- 44:56I'm still on the wall about it. I I
- 44:58guess I'm going to
- 44:59>> [laughter]
- 45:01>> Boo. Like for example
- 45:04maybe you're familiar with open spec.
- 45:08I still haven't tried it. So you're
- 45:10ahead of me there.
- 45:13But like
- 45:14I have to say reading this blog post
- 45:16watching your spec it video, it was very
- 45:18frustrating for me because I spent so
- 45:20much time with spec
- 45:24it and modifying it to my wishes and a
- 45:27lot of the things that you bring up I
- 45:28feel like I've already solved.
- 45:30I've I've maybe had these issues and
- 45:32I've solved it or I found another way of
- 45:35doing it. And then you did a video where
- 45:37you spec ledger
- 45:38and you were using sonae. I'm you mostly
- 45:41using opus and I'm also always stopping
- 45:44the model when I know it shouldn't be
- 45:46doing something and in the video that
- 45:48you were doing it
- 45:49it just it it went like on a high it was
- 45:53on drugs. It was like it was on
- 45:55ketamine. It just keep going. It's like,
- 45:57"What is going on?"
- 46:00I mean this
- 46:01>> You were completely lost. You totally
- 46:02didn't know like it's supposed to
- 46:05um you know stop there because it
- 46:07suggested Okay, so what happens is
- 46:10speckit Sorry, speck ledger.
- 46:12Like I mentioned to you with the to-do
- 46:14list item with the with the hand-offs
- 46:16between the different commands and now
- 46:17that commands became skills so they are
- 46:19automatically loaded, discovered, and
- 46:21loaded by the model. I think that
- 46:23changed a lot uh compared to very
- 46:25beginning where slash commands were
- 46:26human initiated. So right now with the
- 46:29way that the prompts are structured in
- 46:30speck ledger, when you did the
- 46:32onboarding flow, it kickstarted the
- 46:34constitution. It asks you Look, this is
- 46:36an empty project. These are some good
- 46:38constitution rules based on your project
- 46:40name because it was around security. So
- 46:42it says like you probably want very
- 46:44strong security principles in this
- 46:46project. And and then it you you didn't
- 46:49realize that you were defining your
- 46:50constitution principles. And then
- 46:52>> Did I
- 46:53Did I commit
- 46:55what I was working on?
- 46:57So so so it it flew through the
- 46:59constitution as a project initiation and
- 47:02discover knowing that this was a
- 47:03complete new project and knowing that
- 47:05the workflow should be to set up the
- 47:06constitution. Then it asked you what do
- 47:08you want to work on? It immediately
- 47:09loaded the specified skill and asked you
- 47:12like what do you want to work on? And
- 47:14and then you didn't have the um
- 47:17clarification phase. I mean it it
- 47:19assumed that it needed to clarify things
- 47:22by reading the the user stories, but it
- 47:24never gave you the opportunity to read
- 47:25the user stories and verify them and
- 47:28decide what you want to keep, what you
- 47:29want to score power.
- 47:29>> Exactly. And normally get from other
- 47:31people if you work with other people.
- 47:34Um so it went into the clarify, it says
- 47:36I'm going to get the the comments left
- 47:37by other people which is failed because
- 47:39you didn't share it, you didn't
- 47:41communicate it. And then it went
- 47:43straight into um
- 47:45into task No, into research phase,
- 47:47right? And and No, and it it did a skill
- 47:50search. It said like, "Okay, this is a
- 47:52Go lang CLI at some point." And it found
- 47:54a whole bunch of Go lang skills and it's
- 47:56supposed to ask you like which one do
- 47:58you want to install? And for whatever
- 47:59reason I couldn't see it in the in the
- 48:00YouTube recording, it decided not to ask
- 48:03you to install any skills, and it just
- 48:05went straight ahead into like task
- 48:06generation.
- 48:07>> No, there there was there was a phase
- 48:08where it was asking me to discover new
- 48:10new skills using some discovery tool,
- 48:13but like I was like
- 48:14>> It did. Like it did search for skills
- 48:16based on what we knew about the project,
- 48:17but it never asked you which one you
- 48:19want to install. It just went on. It
- 48:20never installed anything as far as I
- 48:22could see from the YouTube.
- 48:24Because it's supposed to ask you like,
- 48:25"Okay, I found these skills. These seem
- 48:27relevant. Do you want to install them?"
- 48:28And it does do multi multi-select but at
- 48:31that point I was thinking
- 48:32>> your skills or just like skills that are
- 48:34SSH skills?
- 48:35This is the Vercel skills registry. So,
- 48:37it it it it queries the Vercel skills
- 48:39registry and and it copied So, this was
- 48:42one binary
- 48:44that does it that that allows you to do
- 48:45all of that stuff.
- 48:47Um
- 48:48you know, it bootstraps your repo with
- 48:49the the the skills to to manage a spec
- 48:51driven development um workflow, and then
- 48:54it just went haywire all the way. And
- 48:56then one of my biggest
- 48:58you know, problems I have with what
- 49:00happening there was that you didn't
- 49:02verify the user stories. You didn't give
- 49:04it any feedback. Um you
- 49:07because it didn't give you an option,
- 49:09right? It just kept going, and you
- 49:10didn't realize, "Hey, we're skipping the
- 49:12phases here. We need to slow down."
- 49:13>> Yeah, I mean
- 49:15but like I suspect
- 49:17>> on the in the in the in the right window
- 49:19it was generating so many files. I
- 49:21thought
- 49:22>> no. You were getting caught up on the
- 49:23files, which I was like, "Who cares?"
- 49:25You keep looking, "Oh my god, files." I
- 49:27was like, "Yes, of course. There's
- 49:28prompt files, skills files, spec files,
- 49:31configuration files."
- 49:32>> it's just a more it's a relatively
- 49:33trivial project in a way.
- 49:35And it was like like 80 files worth of
- 49:38bureaucracy. I mean, it's a bit
- 49:40excessive to me.
- 49:40>> no, no, no. Spec driven development
- 49:43is a self-contained workflow for
- 49:47defining
- 49:49the user stories, buying and like like
- 49:51buying stakeholder alignment on those
- 49:53user stories. Like you said, it's a
- 49:54planning tool and you call it
- 49:56bureaucracy. You just said like I'm
- 49:58going to use a planning tool for a for a
- 50:00CLI, a trivial CLI, and then you say,
- 50:03"Why is a planning tool for a trivial
- 50:04CLI generating so much bureaucracy?"
- 50:06Well,
- 50:10this is this is what I wanted to like, I
- 50:13guess I'm left thinking
- 50:16um
- 50:18Like I'm guessing you with SpecLedger,
- 50:20you've obviously focused on
- 50:23I mean
- 50:24or may or
- 50:26What I focused on is to capture the
- 50:28spec-driven development workflow, making
- 50:30it more
- 50:32um visible by creating a web app backend
- 50:34that shows you these are the steps
- 50:35because the problem is people don't know
- 50:37what's the next step. Your biggest
- 50:38problem with SpecIt was what's my next
- 50:40step. Now, the problem with SpecLedger
- 50:42was it flew through every step without
- 50:45you knowing what was the next step. It
- 50:46just went, "Oh, now the next step is
- 50:47this. Oh, now the next step is that."
- 50:49But I also think that it was running out
- 50:51of context. And I really don't like that
- 50:53I couldn't see the context window
- 50:54because I think Sonar at some point ran
- 50:57out because I think this is a a 200
- 50:58token
- 50:59uh context window with Sonar that we
- 51:01were using, and I think it just went
- 51:03even more off the rails because it was
- 51:05completely out of context and you were
- 51:07in what they call it, the [ __ ] window.
- 51:10The the part
- 51:12Yeah, so so I think that there's
- 51:14obviously a lot of failings on the
- 51:16SpecLedger side. I think because of the
- 51:17way that uh models have a you know,
- 51:19started loading skills and definitely on
- 51:21my side
- 51:24Test.
- 51:25Yeah, yeah, I'm listening.
- 51:27>> Trying to reconnect. Make sure you have
- 51:28a stable connection. I don't know. But
- 51:30like on on my side because I keep I keep
- 51:32stopping the model and I've never tried
- 51:34to let see how far it goes uh and and I
- 51:37definitely need to put that more in in
- 51:38the prompts now like you need to buy in
- 51:40with the user.
- 51:41>> I'm not allowed to use Opus by the way
- 51:43because I've been spending too much
- 51:44money on that.
- 51:46Um
- 51:49I yeah, I need to drop because I told
- 51:50you I had 15 minutes and it's
- 51:52I have another call and they're being
- 51:54waiting. I just wondering what the next
- 51:56steps are here with the my STD
- 51:57exploration cuz we're still I'm still
- 52:00like
- 52:02I think we should do and I know that
- 52:05that today was supposed to be like a
- 52:06little recap on the spec driven
- 52:08development, but I had so much fun in
- 52:09the last hour on my business as usual
- 52:11work.
- 52:13Yeah, that needs to be celebrated. Like
- 52:15it or not
- 52:17making BAU tolerable is is actually an
- 52:20important step here.
- 52:23Yeah, so sorry I I I really need to
- 52:25drop.
- 52:26Okay, no worries. See you, man.
- 52:29Bye.
- 52:30Bye-bye.