03:50 Let's check what happened here. So I have an experimental version of Puck, which is this, where you have multiple Puck conversations. And if you look at this, that seems flickery. Like look at this. That sucks. So what I did was I recorded a video of this. Here, look at this. And I send it to Amp. And I said look, like this is basically what I just showed you. And I sent this video to Amp, and I said look, this is flickery, moving the cursor feels a bit glitchy. Yes, blah, blah, blah. And then it says, 'It's also the tooltips that make it seem glitchy.' That's what I wrote, right, because what it says was, well, the archive button was removing the hover highlight, which is a different thing that was going on, right? Like if you look at this, like this, you know, this is the row highlight, and if you hover this, it removes this, so that feels glitchy. But that's not really it yet, right? So I said, 'It's also the tooltips that make it seem glitchy. You hover first over archive.' And then it says, 'I'll check, blah, blah, blah.' 'I agree. I added a 500.' And now I'm going to say—oh, by the way, this here is a little experimental feature, Recap. People like it, so maybe we should—we can start a thread and maybe promote it as like a thing that people can activate in the experimental features. Let's do this after this. Okay, so, 'Can I try this out? Can you create a Storybook and start it in a Portal so that I can test what it feels like?'
13:39 Yeah, so let's check back in on this one here. amp clone, we actually change the behavior. So this is the amp clone thing that we were looking at. Previously amp clone stopped before cloning if Amp could not write its credential helper. This happens with Home Manager, which is Nix. So it tries to update the global gitconfig, oof, regardless of whether that succeed—oh, I see. So this was the piece I wasn't clear about. So basically, if you run amp clone for the first time, it tries to update the global gitconfig. And regardless of whether that succeeds, Amp passes its credentials to the Git. The clone therefore succeeds with Home Manager. If the global update failed, Amp shows the Git error and explain that—so I think this is good, right? So we don't crash, and instead we show warning here, right? So now I'm going to comment here, 'Don't we have a better way to print warnings than just standard out?' It doesn't matter, I think, with like subcommands, but yeah, maybe there is a better way. Who knows?
00:16 So here I'm working on performance improvements. I had a huge thread going that has been shipping production improvements, and then monitoring it. And, you know, you can see here, it uses automations to wake itself up. 35 minutes ago, did a wake up, then it worked. It said both fixes are now live. It compared the numbers. No fleet-wide fleet win visible yet, and I said, 'Hey, check now,' because it says, 'Hey, the next schedule fires.' So I said, like, 'Hey, check now.' It did, it checked. It has access to our production logs. You can see here Google Cloud Grants. We use OIDC, so each Orb has access to production, and we can grant them access or revoke it. And this found out that, well, we have a clear winner here, right? Confirmed fleet-wide win steady state window, boom, boom, boom. So, it used a bunch of canaries, which are things that I shipped yesterday, which are real agents or threads in production that we can use to debug production issues.
21:46 amp clone. There you go. Look at this. It produced a nice screenshot. 'I ran real CLI against…' Oh, I see what this is. This is the user who reported this, which is their project. 'So, the evidence show…' 'Git cannot update permission denied.' So, it trying to reproduce the original issue, right? And then the origin is this, head resolves to this. 'The screenshot was rendered from the captured terminal output with the warning styled exactly like this.' So, here basically, look, a bun run build and then, you know, this builds it and runs the CLI. Up here, Git global config. So, this says, 'Warning: the repository is… could not update this. Command failed. Error: configure this.' And so, you know, basically it showed me like how it set up the stuff in Nix. And I think that's pretty good. Like if it can confirm that it actually tested it, we can now say,
20:15 So, if I scroll up here to my previous message, let's see if we can find it here. 'Can you confirm…' So, here I ask: 'Can you confirm that it didn't break anything?' So, then it checked everything, blah blah blah. It ran through our local dev server, it tested everything. And what did it say? Yes, 'TUI, execute modes, headless all work in the refactored build. I rebuilt this and ran each entry point from against the dev stack with the same prompt. So, with MCP servers, with skills, with AGENTS.md, all three returned this, so this works. Execute mode. So, this works. The TUI works, the headless executor works, static review against the new this. One gotcha worth noting, unrelated to refactor, the first failed with access token expired because Orb…' Okay. So, this is like a little bit moot, except you don't have this when you don't work in Orbs.
18:31 Let me show you something else here. So this is maybe interesting. I'm working on the Amp runners, which are, you know, the amp --no-tui. And if I collapse everything, you will see this is a big, big old change. And basically, the gist of it is the amp --no-tui, so this is the runner, this is what I mean, amp --no-tui. That's a thing we already have, you can already use. But right now, it only allows you to spawn threads in a single directory. And the reason for that is that's how the Amp CLI works, or has historically worked. And one of the issues was that I wanted to allow it to spawn threads in different directories, but there's a lot of places, or there were a lot of places, which are removed in that diff here, which we're going to look at in a second, where we call process—you know, process.cwd(), current working directory.
06:33 'Hey, I recently added a feature called Recap. It is behind a feature rollout flag, and a bunch of users already have that flag, and I think the Amp Frontier Corporation workspace also has that flag. I think we can promote this feature to an experimental feature, meaning the user can enable it for themselves in the user advanced experimental feature settings. Please figure out where that feature flag is, figure out how experimental features work in the user settings, and promote this feature to one that a user can enable or disable. And we should add like a little explanatory text to it where we say, hey, this is an experimental feature that adds like a recap of what happened in a thread if you are away from a thread for a few minutes. Additional costs might accrue, I don't know if that's the word, something to that effect.'
24:27 This is rolled out. Is it live? 'Next run in 1 minute.' Okay. amp clone, it's rolling this out. It used get_amp_bug_report. It's reading the Slack threads already where this bug was reported. It uses the get_amp_bug_report function, which, again, is an Amp plugin. You can write this yourself for how whatever you want. So, it's now going to cut, you know, here: 'Recent releases take about 7 to 15 minutes.' So, it's going to do this: commit, rerun full checks, push. Once it's pushed, it's going to cut a release. Let's see here. And then what are we doing here? This is the thing. This is ship. Next run in 1 minute. So, what I was about to do was I'm going to right-click and say snooze until the next message, so it disappears from like the sidebar here.
19:26 And this is what this fixed. It's no user-facing change yet. I can show you something maybe here. There you go, look, like this is exactly what I was talking about. Like, getThreadEnv, we do process.cwd() and here we say, give it for the current working directory, blah, blah, blah. And then this should be called somewhere else and it's passed into this, or this function is exported so it's probably used somewhere else, right? So if we look at some other places, headless executor, here working directory, include linked working—like as you can see here, like it's a mechanical change like it's a mechanical change and not just ship some old feature. I basically said, 'Let's refactor. Let's add the capability before we ship any user-facing feature.'
02:51 So now I'm just going to look at what it did here. So here, apparently it added this little helper, credential helper, it added a test for those. And then we can look here, ensure Git, so here it uses this helper, the repository was cloned. So here it basically fixes the error message, which is, you know, we had like an internal—we didn't do a good error message. So now I'm going to say, okay, 'Summarize the fix for me, please.' I mean here it says like it treats it as best-effort, passes an empty helper followed by Amp's helper directly to the clone command. If the global setup fails, cloning continues, and Amp prints the original Git error. So I can say, 'So do we only show a better error message, or do we actually change behavior?'