← All video transcripts

Claude Code Orchestration for App Development at Scale

Description on YouTube

In this video, Eugene Vyborov, CEO at Ability.ai, takes you through an in-depth demonstration of building an AI project using Claude Code and Docker. Eugene walks through the setup and deployment of an AI agent within a Docker instance, focusing on creating a system that can autonomously manage and implement projects. The video details best practices for configuring Claude Code, setting up Docker instances, and organizing project files. Additionally, he discusses updating requirements, roadmaps, and architecture documentation dynamically as the project evolves. Check out the GitHub repo here: https://github.com/Abilityai/project_kami 00:00 Introduction to the Project 00:47 Setting Up the Project Structure 02:01 Configuring Claude and Docker 02:48 Detailed File Descriptions 07:14 Running and Testing the Setup 15:45 Implementing Phases and Debugging 20:20 Final Adjustments and Future Plans 28:44 Advancing to Phase Four 29:59 Implementation and Testing 30:54 Change Log and Project Index Updates 33:46 Switching to Incremental Management 37:01 Optimizing Documentation and Workflow 41:23 Updating Architecture and Requirements 53:15 Final Adjustments and Future Plans

Full transcript

Source: YouTube auto-captions, language en. 8,150 words. Each timestamp links to that point in the video.

[0:00]Hey guys, so I was working here on a project, an interesting one actually. I was working on a course about cloud code on Udemy. If you don't know what cloud code is, maybe this video will be a little complicated for you. If you already have some experience, then I think you'll find it quite useful actually. So while working on this course, I researched different best practices of working with claude. Understood how people are using that effectively and in a way that allows like seriously effective usage of the

[0:32]autonomous version of claude code. So the system that is capable of actually implementing whole projects without you even controlling it. And this is one of the ways to enable that. And I want to show you what it allows me to do and how that works. So, here's the structure of the project. Let me make it larger a little bit to show you the structure. First, we're going to have my cursor on the left and my terminal on the right. And we're going to, you know, work with this code a little bit to understand what's going on. In a nutshell, this is a project that allows to

[1:06]create an docker instance with certain settings and within this docker instance configure cloud code through properly defined claude MD and other files that I will share with you. Basically, most of the attention in this project is targeted towards actually making claude intelligent for a particular kind of project to implement it. a lot more intelligent than it would be otherwise. Not only from the knowledge perspective, but also from the development process

[1:39]perspective. Because really what's happening here is we're not coming up with the new ways to organize processes for agents similar way as we looked for organization of the processes for people when we developed agile methodologies for software development. It seriously is basically the same feeling right now. But anyway, let's go to practical stuff. So how it works is following. There's three folders. Cloud config, posgress data and working directory. So the idea is that the working directory is sim linked into the app directory within the

[2:14]docker container that is isolated from everything. And basically all the files that we see there considering that we launch cloud once we log into this container, we launch the cloud right away. And so in this working directory, we need to have a certain structure, default structure that will immediately bring cloud code to life and get it to understand what we're trying to do and where it needs to act and actually doesn't matter at which stage of the project. So it can keep developing in this fashion for quite a while I think.

[2:48]Anyway, so what we have here is we have cloudmomd file that I will go through in details in just a minute because I think it deserves attention. Then we have some MCP configuration and over here I just added for this particular project that is kind of set up here. So I added here MCP server configurations for posgress and for context 7 because again this is within the context of the project and I actually need to replace those but I'll do that a bit later. Then what I have here is migrations folder. That's for the database

[3:21]migrations that we're going to have. Then we have memory folder. That is the folder where I store a whole bunch of documents that will be necessary for the agent to start working and to actually do the work and keep doing that going forward without going crazy and remembering what's going on. So luminous project is something we work on with a friend of mine and there's a specification for this project. It's like a coaching platform and basically this file describes the architecture and

[3:54]I you know sit and worked on this architecture for a little while to understand what I want from that and how I want it to work. At the end of the day, this ended up being application with React SBA on the front end and then a fast API back end with Python and then we have the underlying layer of various services and also Postgress that is running locally within the same docker image. Look, I know it's not good to do it this way, but I decided to do it this way this time for simplicity purposes. If you want you can in 3 seconds in Corsort

[4:27]change it to you know having your own architecture and infrastructure. Anyway so architecturally we agreed design requirements same stuff but talking about the design of the application a web design. Then there is such a thing as project index describing the kind of hierarchy within the project and it's a custom JSON but it is added to the context and allows it to understand better how the project is structured. It's like giving

[4:59]it like a hierarchal representation of a project within the mind of LLM. Then we have read me is just read me. Don't pay attention to that. Then we had requirements for the MVP. There's a bunch of pages, bunch of components. We're not going to go into details. And then we have the road map for this thing. Now the trick is that in my cloud MD that we started with, this is where this matters because over here we describe all of these files to clude and when and how they should be used. And we have our particular you know details

[5:34]about what files to use where what technology stack to use how to track changes how to track the road map and use road map as your own to-do list how to use posgress through the MCP that we connect to this project and yeah in general how to operate within this environment. You see it gives you like the whole structure of the files. It gives you common commands and all the infrastructural details. So it's already kind of pre-planned. So as you know cloud code reads cloud MD immediately at

[6:08]start. So that's just like a universal system prompt. And then the rest of the details in the memory are customizable and can be customized to any kind of project. Now these three folders are sim linked into docker image and well that basically means that they're you know mounted there to the folders over here. So all the changes that we have will be saved in our local folder. Now working directory wise well that basically linked to the working directory. Posgress data is linked to where the

[6:42]posgress database is storing its databases and clot config is linked to the configuration locations of clot. So that when we start in docker we could actually launch cloud authenticate save our credentials and those credentials and all the settings and all the histories of the cloud configuration on this particular instance will be saved into this folder. So what it means is that this is basically like three control surfaces into what's going on on the image that is building this application. So now what we want to do

[7:16]is actually a couple of things. I need to drop the old file here and I need to update MCPJSON with I was building Twitter clone for the course. So it's going to be luminous. And of course we're going to remove these passwords later. I hope I will have enough in my head to actually do that and not forget about that. That would be great. And good. And I think now we are ready to give this stuff to Corser

[7:53]specifically and run it. But before I do that, I need to ask it to shut down the current instance of this image that I'm running for a different project. I'm using Whisper Flow for the dictation. So I'm going to be talking to Whisper Flow to make this change. So what I want you to do is to understand this project and based on the

[8:26]learnings create and deploy a Docker image, build and deploy Docker image and then validate that it is up and working. Now you also need to change the run container script and the docker file and setup sh. You don't need to change them but you may might want to change them based on the updated requirements of the project and the claw MD. I'm also going to give it these couple

[8:59]of scripts so it was aware and I'm going to give it cloud MD. And let's do architecture over here. I want you to make sure that the actual scripts are aligned with the architecture and the requirements of this project. It's okay that I didn't attach the requirements themselves cuz we're only basically interested in the setup. So I think it would be more useful to stay here. You probably noticed that I don't use

[9:36]terminal in the bottom of the screen and instead I'm using a separate terminal app over here. I just place them together on Mac and there's a reason for that. It's just a little bit too much of collaboration between cursor and clot codes is frustrating me because I want to keep working in cursor seamlessly while cloud code is running but they often you know start changing files and blocking views and switching views or something like that. So anyway I prefer to have it in a separate terminal at

[10:09]least so far. Now let's see what's happening here. So it updated Ahava VM. I see that Python 3. It kept the peep installation. So that's good. Yeah. Sorry for this mess, but it is what it is with this setup of the screens. Okay, those those changes actually make

[10:46]make a lot of sense at a glance at least. I forgot to tell it to shut down. My camera is not allowing me to see the full screen. Not exactly convenient. Before you go forward, can you please make sure that you shut down the old images running there so that we can safely deploy this new one? Mhm.

[11:18]Okay. So, yeah, I I will probably speed up this portion a little bit. Yeah, I think it needs to update the port configuration in project requirements and cloudmd later because I think we're going to have to mess with this port numbers and that's not going to be fun. I think let's do it this way so far so we don't use terminal.

[11:58]Cheers. In the meantime, I got some coke. Okay, so it says that it's basically done. I know that we will need to expect problems, especially problems with ports. I want to first run it and see how that works and then I'm sure we will run into a few issues there. But also, you know, at the end of the day, this is a templatizing kind of process. So, we created this template of the working directory for claude and then after that claude is picking up the base and

[12:32]working on that rather than cursor. So I'm going to ask it to make sure to run the image and we will connect to that. Well, actually I think it should be just enough to run the run container script. So we go to the folder of the working directory which is over here. Actually let's go a little bit up and over here in the main project folder. What we do is we run container script. And as we can see what's happening here is that it's actually running the

[13:05]deployment and putting the docker there and then starting the posgress SQL scripts to create tables and databases if necessary. Unfortunately I don't see behind my camera. So I'm going to put it over here if that's okay with you and hopefully that's going to be better. So it created databases and I think over here we're running into the error of running and connecting to container. So I'm going to create new chat over here just for the fresh context and I'm going to give it readme

[13:39]docker run container script and I'm going to give it the error from the terminal just a little bit of context over here. This is the log output when I try to execute run container.sh script. Understand what's happening and what's going wrong there if anything. And let's fix that. Of course, I'm going to rely on oppus in

[14:13]this case, but maybe actually it's not necessarily better. Okay. Actually didn't know about this type of issues, but sounds believable. We'll see. I can already hear and feel as a good strong classical engineers are hating me for treating the code like that and trusting LLM so much. But that's the approach I took and I'm trying to find ways to make this AI

[14:49]agent usage and VIP coding together work in a new kind of fashion not the same way as as we did before. So if you know me or somebody else who is doing that are going to be able to achieve big powerful projects with this amount of resources that we're committing to that with uh AI actually helping us to the maximum then yeah it will be a proof that you know new approaches and other approaches work.

[15:23]All right let's give it a try again. It kind of finished fixing that and it successfully logged me into the instance into the docker itself. So when I run this run container, it actually runs the container, spins up the database and connects me there. Yeah. So I had a bit of a situation when I paused the recording and went ahead with the implementation and then realized that I'm on a phase three and the recording is paused. So I came back and now I'm

[15:57]just cleaning up the logs and the change log and the rest of that. And I also want to do the same here. This will be your project here requires. So I also wanted to change the project index and remove unnecessary stuff. So basically what happened is I have built successfully three phases and now have

[16:29]to redo it from scratch just to yeah make sure I show you how that works. I also want to make sure that I fix one thing because when the claw was working on those phases it realized that actually there is no peep 3 and uicorn installed. So I just want to make sure that we are doing that. All right. Uh, we updated the project index. I think that Aha. Okay. Road map actually. Yeah, I'm I'm going to do the road map old oldfashioned way.

[17:05]Haven't done that for a long time. It's over here. Oh, how about that? Place all good. All right. Now, I'm going to make a new chat over here. And also just for the context I'm going to give it a readme file. So it says it kind of Uhhuh. B3 install request for stuff. Okay. All right. It's updating me container

[17:40]version. Funny funny guy. Okay. And of course debug outputs. I do feel like these guys, the longer the context you give it, the more talkative it becomes. It's just so frustrating. The more stuff it wants to throw at you. That's okay. We are close. I basically already know that all three phases worked, but I do need to show you how and maybe finish up this project just to see where we can

[18:15]get. So we're done here and I'm coming back to this terminal and we are going run container. All right, it starts the boss and we are in the container and while I'm here I'm saying clude and we are going forward again. I'm going to log in and come back to you. already I logged in and yep security notice yes you can add it and we are in the folder so as you

[18:49]can see we're in cloud quad and running sonet 4.5 actually want to change it to oppus for the first phase of implementation because I find it very important but just for the speed purposes well actually let's do it I mean let's do it the right way and really all I need to say now is kind of go ahead So go and implement phase one and my hands are off the keyboard. What I'm going to be doing here is I'm

[19:25]going to be clicking through and approving and allowing it to do that without approval later on basically all the actions because that's exactly the point of this setup. when I containerize the entire application or the database and the agent working on it, I get this pretty interesting opportunities I can use. I was even thinking of adding an interface to the agent itself to cla and also exposing that on the web. But to be honest, for me it's much more convenient to just work with that through the terminal. But I guess for many people that would be convenient to do that in

[19:59]the same way as say vzero or lovable does. And it seems like they have like in essence the same approach. But the trick with this thing is that now anybody can have this same approach and you know just connect quad cord as well sort of a backend agent system and the rest depends on you. This is the layer where you define what agent does and how it behaves and what are the limits of what it can do etc. And it gives you like a complete freedom because this agent can search the web. This agent can

[20:32]do pretty much anything. Parallel project. I worked on another experiment where what I did is I packaged up claude into a docker container itself and exposed it through API MCP and even SSH. And there's plenty of way to do that as far as I understand at the moment. But the idea for me was that okay now I have this independent cloud running somewhere independently and my corsur or my other clot or my something else can use it in order to you know operate with that. Okay

[21:08]vector index something went wrong but that happens we'll just give it some time to completed. So yeah, as you can see, it now creates tables and alter tables and executes all sorts of these operations. Well, at the moment it is creating a file with the script and now executes and now it sets up the indexes. So all of this work is being done and at the same time as you can see cloud config with all the history and credentials and the rest is saved in this folder and posgress database is here and our working directory is going to be updated with

[21:43]this initial migrations as you can see. So it's basically a setup script and then yeah and then we're close to actually finalizing this first phase. I want you to take a look at what it did. It just updated the change log and the all the changes that it made. It had put in this change log file and the change log file is separated by different sections for navigation. So it kind of makes sense for it to look into this change log and understand what is

[22:16]happening where. I'm only concerned that this change log can go big as the project grows and we would need to reorganize this change log in order to be just the sequential log of changes and you know on the top we would have the most recent ones or you know the most recent/ the most important something along those lines or maybe we will just make logs later and have it read the logs. So, you know what it feels like? It feels like they're kind of fusing the agent that controls this project and the project

[22:48]itself. They're fused together. And this can be it seems like it will be the future where you know the the application that agent runs is a sort of a maybe it's a sort of a way for agent to interface with the world. Maybe something else. I don't know. But those are just random thoughts while my claude is actively thinking. Anyway, seems like it's not moving. I'm just going to tell it to go on. I haven't seen that to be honest for a

[23:23]while. Maybe I accidentally pushed escape or something. No, some sort of glitch. Interestingly, this is my one of the favorite setups for me recently is this posgress with PG vector and the PG vector for the vector storage just to keep all the stuff in one place and not bother with that too much. Like Postgress is basically a standard. Okay, cool. So the phase one is complete and it updated all of the different files over

[23:58]here, the change logs and the road map. We can just double check that. See in the road map it marked okay I've done this stuff in the change log it added the changes that had been made and when they have been made. So all good now we're ready for the phase two but before I do that I need to clear because I want to start with a fresh context because of the context road because the more you give it the more confused it becomes and becomes much more difficult to manage and much more prone to mistakes. I

[24:31]talked about that in the video I posted earlier. Yeah, as always, pretty big problem. But anyway, all I'm saying here is implement phase two one problem that so as you can see it will understand what needs to be done from the cloudd it knows exactly what files to read and what to look at and it does that and it proceeds forward. As you can see, it got to the point that

[25:21]it can run the back end and run it and then test what's happening. Okay, we have updated the back end and now we are towards documentation. So now the change log is going to be updated and hopefully we will see it right here. Yep, we can see it right here. Perfect. What it's doing, it's basically testing the back end API with the access to the database seeing that they can talk. That ends up being pretty cool actually

[25:57]as as an approach. I think it's it has future. I was thinking of and I know people have done that and I haven't got to that yet but like Claude is a wonderful agent but there should be quite a lot of open source alternatives. I know two of them open interpreter and I forgot the other one but I I tried them and I they're too far from what cloth can do at this point. So again for the quality question as you can see it's better to use cloth. Well, if they keep running as fast, they will stay ahead.

[26:30]But we'll see. Okay, it's ready for phase three. It updated the change log. And as always, I'm going to do clear and we're going to start the next phase. The only thing I'm going to do here is I'm going to change the model back to sonet pool 4.5. I think the breaths of the useful context is more important right now than the power of the row intelligence. So go on with phase three and the rest it will figure out by

[27:06]reading the right files in the right places and hopefully because it's on it. It's going to go a little faster. There's one thing I noticed that when I clean the session and started, it doesn't read the architecture document. It only read road map and change log and that's obviously not great. I think we need to instruct more clearly that it needs to read architecture because uh otherwise it's not going to be in the context of what's happening. Make sure we instruct Claude to read architecture

[27:40]MD document and if necessary requirements and the MD documents when the new session is started along with the change log and the road map of course but we need to give it a better picture of what's going on in the project. Okay, in the meantime it came to actually the change log. So it indicated that it kind of finished with the phase. We're approaching a point when we need to start testing that stuff. So that's coming soon. All right, we updated code MD. I think it's important to make sure

[28:14]that it reads it, not just knows that it exists. Okay, project index hierarchy updated. I think this project index is quite important actually. I'm not convinced that we need to necessarily keep it in JSON. We can keep it in YAML or something else a little bit more human readable but you know JSON is fine as well. Maybe I will redo it to YAML later. So the front end is in the next stage. So we need to get to phase 4 in order to

[28:49]we'll actually see something and play with something. So let's do that. Let's do clear. And I want to make sure that I save changes. Yes. So everything is saved. Now let's go on to the next phase. You know what? I don't see that it actually read the architecture document. So maybe it's not reloading cloudmd when I clear it. So let me exit this stuff

[29:23]and start it again. And now go on with phrase four and let's see what happens now. Raw map change project index architecture. Yeah. Yeah. All good. So now it's reading all this all this info and let's see. It's checking what's already implemented even though it kind of should have gotten this information from project index but that's okay. It wants to make sure

[29:55][Music] now it got itself familiar and we'll keep going with implementation and we will be able to test it. I wanted to show you what it just did. I just interrupted it in the middle of what it was doing because I saw that it went to create integrations that I don't really need right now. So I stopped it and just as just keep the implementation of this integration to later and just put some mock implementation there. So I don't have to wait for all of that. I can change it on the fly and that actually

[30:28]you know doesn't affect me all that much. I can come back to that later and we will have exactly the same kind of logic there. Okay. So, it went through some testing and created a Python test and run the test and it says that everything is great. And now it updates the change log. And I don't know if it's going to update anything else. Yeah, the project index. Good. Interesting. Let's take a look at the change log and what is happening here. Well, interestingly, he's mentioning the

[31:06]dates whereas I think it makes a lot more sense to mention time in every change because we're not waiting for days to make those changes. So, I'm going to do that. I'm going to do that. Please instructed to use date and time in the change log entries in order to make sure that we capture second by-cond changes. All right. It's marking. That's so interesting. Well, Corsor is working on the agent.

[31:39]The agent is working on the project. So, it's like agents building agents building projects these days. And it's not a choke. That's just the way it is. Not exactly convenient. I need a wider screen, I think, because I don't want a different alignment. Anyway, good. that part is updated, right? So, it says that the backend server is running and okay, so it wasn't front end yet. It was a

[32:13]back end and it built the entire API. The next thing it's going to go to is building the actual front end. So, let's see. I mean, I think you get the point actually of this thing. I will just keep implementing the phases and hopefully get to the end and show you the end result. But you get the idea. Whatever happens there, the mutable parts of that are all hosted on your local folder in the cloud config in the posgress data in the working directory with the project

[32:45]itself and it is completely isolated in a separate image and it is running and exposed from the container when you do that properly. Okay, so after a night working, well actually it's not a night working. I just left it for a night and it didn't work and then I approved a couple of things in the process. But basically it finished building a bunch of things and we can look at the road map and see that. Let's actually see completed most of the phases. I skipped a couple of phases

[33:18]because yeah for prototype they were not necessary. But we got to building the front end. We got to building some, you know, doing some integration testing. We haven't done like launching and monitoring, but I did launch it and we finally got the actual system working. So that's the basis of the system obviously, but it does have the data on the back end and meaning the database is fully up on the back end and this is a complete system. Now we just need to make sure that you know this is working as expected. But before I go there, I

[33:53]feel like I need to switch to more sort of incremental and day-to-day management, which means that I would probably need to change the artifacts that I have over here for Claude from the mode where we're kind of building towards an MVP to the mode where we can have, you know, endless list of things that we want to add. And what it means is that in this case it doesn't need to know all the changes that had happened

[34:26]in this in the development. It needs to know recent changes and it needs to know a complete snapshot kind of picture about the project and what is happening there. So I think what I'm going to do here and you don't have to do that this way but it's just my way of approaching that. I'm going to edit the change log. And in this change log, I'm going to make it so more detailed change logs for the most recent changes and less detailed logs for the

[35:00]further changes. So basically the logic should be that we should keep the most recent logs detailed and then less detailed and then less detailed so that we can keep the overall length of the change log to say 500 lines and manage the size. So that's exactly what I'm going to do. going to drop the change log here and cloud as well. I just feel like doing that

[35:34]this way. I'm controlling the context here. Okay. So as you can see we have developed application quite a lot and now we need to switch to the mode when we are not overblowing the change log and that LLMs going forward are receiving most relevant information in the limited size of the context and so what I want you to do is two things. I want you to edit the change log so that we had all the details about the most recent changes and updates. But the further

[36:06]they go, not in time but in like numbers, the less detailed today should become and the least detailed version should be just one line update with the date and time of the update and a short description of the update. Idea being that this change log should always be kept at around say 500 lines or so. So update the change log this way and then go ahead and update cloudmd to keep the change log updates in the same fashion going forward.

[36:43]Okay, get all the instructions over here. Going to put ous. Let's make it happen. In the meantime, I'm going to move these things in a create dogs folder. You know what's interesting here is that really this environment with my CloudMD, my memory, my approaches within CloudMD or your approaches within CloudMD is what makes the difference to how these agents are working and how they're made

[37:17]and how they're built. And this is what is creating value rather than LLMs on their own per se. So yeah, if you work through them and optimize and organize them even better every time, yeah, you're going to be in a good position. What I don't like overall about CL being a little bit too verbose is that it is creating a ton of artifacts that I wouldn't create like this how to login MD. like we we did some changes with development login over here and it just decided to create this summary. Whereas

[37:50]really what I'm looking forward to do is to have everything outlined within memory with all the different artifacts of that. Yeah, I think I'm going to drop this readme as well. I don't need that. All right, let's take a look what we have over here. Okay, it left the top updates and in the bottom updates it shortened them. Okay, create. And then it's going to go update code MD. So I'm thinking that I'm going to keep the design requirements. We just

[38:23]need to validate it from time to time. Requirements wise, I think I'm going to change the requirements. I mean if I look at it from the product management perspective I'm thinking that maybe the optimal way to go with that would be to have user stories outlined in addition to the requirements something like what we have in the road map but again with indications of what has been done. Yeah, I think I want to do with the road

[38:56]map something similar to what we did with the change log whereas it becomes like a backlog of things to accomplish that is rankordered and then we would have kind of a history of the features that have been implemented and I also want to add the date and time of when it was implemented and so this way we will have one record for the backlog for the to-do list what needs to be on and it will be a living document that will be constantly updated.

[39:29]So first let's look here recent project changes mentioned okay and project channel condensed to preserve context window space that is just perfect and now in this chat it is already familiar with the cloud MD so I'm going to do the same thing to the raw map or not the same thing but similar thing I want you to change that and make it into a living document with the upto-date road map that will have all

[40:04]the different features and user stories and functionalities that are implemented ordered by rank ordered by importance and by priority or basically the sequence in which product manager or user decided to order them. But for the agent, you know, whatever is on top should be identified as priority that they need to work upon and that's on top of the file. It can be separated between specific epics and say user stories or functionalities or features. Just for

[40:38]simplicity, let's make it like an epic and a feature, not user story so far. And down in the file, we should have a list of completed features and user stories as we have right now indicated what has been done. And going forward, I want you to add to the cloud MD so that agent indicated when a particular feature was marked as complete and or even yeah I mean I think that's enough. I was

[41:14]thinking about more details. All right, I think that's roughly what I'm looking for. Again, I'm putting OP 4 on this one. I want to make another change. I want to change the architecture MD to represent the current state of the architecture rather than the target state of the application. So I would in this case I think I would go to actually to claude and ask it to review the architecture and represent the current view because it will need to look at a bunch of files and infrastructure as

[41:45]well. Going to do clear to clear up the interface first of all. Okay. So I want you to take a look at the project and understand the project and the objective that you have is to look at architecture document and then change it to represent the current state of the architecture that includes the data models and that we have in the database. So that means that you need to review the current code and understand how that works architecturally and if it's any difference then you need to

[42:19]make changes into architecture MD to reflect the reality. Basically architecture MD was created as the target state of the architecture that we should arrive at when we complete the initial phases of implementation. Now initial phases of implementation are complete and we need to switch to the point of ongoing support and development of this system. So this architecture MD needs to become this evergreen representation of the current architecture and we will update it as

[42:53]the architecture updates. But right now I want you to make sure that this is accurate. All right. I wonder if I can. Now I cannot switch the model already. I can put it on the plan mode which will put it in oppos which is a good thing. All right. In the meantime we updated road map made it a living document. Changed it to epics. That's good. Completed features. Good.

[43:28]Yeah. And let's go over here in the planning mode. So once I click it, I understand that it will start reading all the different files. It went and have done so. And now we'll analyze the project and update my architecture MD. Just I want to see how it's going to be updating that. And as you can see, I'm pretty confident

[44:00]with this updates at the point of clean context. There is not too much data there to confuse the LLM. So I think it's going to do a good job. Well, I know it's going to do a good job in that regard just because I have enough context available. Anyway, architecture update plan the current is it different changes. Which one did aha there you go. That's a drift that happens when we develop it. The actual database becomes a little different from

[44:33]what we originally anticipated. Yep, that sounds good. We should start seeing these updates rolling in as it is making changes. The reason I'm not trusting this document that it is creating is because I know that I instructed claude to keep this memory updated as it should like keep the road map updated, keep the change log updated and things like that. I didn't tell it to, you know, keep

[45:07]other documentation updated, which means that it will not and which means that these guys will go sour pretty quickly and will become unusable. So, what I'm going to do is I'm just going to drop them. We'll update the Oh, wait. Where's the Yeah, sorry. I want to come back to the architecture and see see the changes over here. And also what I'm definitely looking forward to is improving models even more because the better they become and not

[45:41]having context rot and the better they become and not in extending the window the bigger projects I can trust this system to manage that's that's simple as that key feature section okay it keeps this in progress not yet implemented kind of things but they're architecturally and technology related which is good. I don't think we should have feature plans over here. Although it's technical features just don't want to have two things in

[46:16]the same old place. It is updating change log. Uhhuh. Saying that it updated the architecture documentation which is valid. Honestly, I just wanted to keep updates, I guess, shorter. So, right now it added, but it didn't remove anything. Okay, that's acceptable at this size of the file. Now I want you to update CloudMD a little bit to reflect the need to update

[46:51]architecture document when architecture is changing and look at the architecture document as a snapshot of the current architecture that needs to be up to date as we are making these changes within the application. Also make sure to mention that we should only make necessary changes and not over blow the size of the document as it will create difficulties with the context size. Yeah. So I have to explain some things

[47:25]to it why I'm doing that. So at this point cloud MD is actually growing to a very decent set of instructions. Yep. That's good. So what we have now is texture that is reflecting reality. The change log that is condensible and focuses agent on the most recent things. Design requirements that reflect UI. Project index that reflects the hierarchy within project requirements that reflect well actually

[47:59]what am I going to do about requirements now? Because road map document we have updated and now we have the road map on top of that but I am not convinced what to do about requirements document. No I think requirements is like a high level living document representing the goal that we want to be achieving. So it's like a snapshot of reality that we want to achieve. And basically it needs

[48:34]to be the source. If we're changing the requirements then we need to review and rep prioritize the road map based on these requirements. So the entry point for changes if it goes through a requirements then it needs to change the road map and then you know the rest and if we're changing the road well actually process- wise it really does need to come from the changes in the highle requirements and then kind of go down to the road map specifically. So I want to change the requirements

[49:09]this way. I think I'm going to do that in the same chart. We still have 35% only of the OPUS here. So, we're fine to keep working with that. The requirements document was originally designed as the set of requirements for the MVP of the project and now I want to change it so that I can enable the process of working with an agent in the following way. Requirements will be the always valid representation of the target state of the system.

[49:43]from the product management perspective. So this is the highle description of what is the system that we want to achieve. And when a user wants to make changes into the system, they would edit the requirements and it should trickle down to the road map changes. And so I want you to do two things. First change the requirements to represent the current understanding of the target reality to make it a snapshot of the future state of the system where we are

[50:17]going with this system and it could be also in a position where it already represents the reality which is fine. So which means we're not changing anything. However, then I wanted to update CloudMD to reflect the workflow where requirements is the entry point for the changes into the future state of the application and the road map needs to be built and updated based on the requirements. So if user is asking to add something to

[50:54]the road map, agent needs to confirm that user is first happy to change the requirements document to reflect the future reality based on the request to change and then trickle down the changes into the actual epics and features that are needed in order to implement this picture of reality. So again two things first of all update the requirements and second update cloud MD to enable clot to behave in this manner. Well that was a lot of text but I think

[51:29]it was actually useful context and helpful context. Let's see. So this is like requirements becomes a future document and the road map becomes a plan how we get to the future and the change log becomes the history of the past. So this is like the structure of the mind. The project index is like hierarchy of the project and well design requirements is clear and architecture is clear. It's just a current

[52:01]representation of these aspects. But yeah, there's a way to look at that this way. Requirements is the future state towards which we're getting with the help of the road map and change lock is the past state to show us the history. All right, started to make some changes. It just indicates what has been implemented, what is planned, what is the vision. I'm convinced that that's how I want it. Although no, that's fine. That's

[52:34]actually it define the workflow requirements first date requirements cascade to the road map makes sense and then go to implementation. So I guess this is going to be the biggest challenge to keep this all of these guys synced up and we will need to have some sort of routine to make sure that our requirements are synced up to the road map and architecture is synced up to the current architecture. We're probably going to create some sort

[53:10]of commands to do that going forward. Okay. So, let's give it a try. I'm going to clear it again. Just for the clean start. Okay. I want you to take a look at the documentation of the project and the road map and let me know what we should be implementing next in this project. Okay, it's getting familiar with that

[53:47]stuff. Hibernating. I don't want it to hibernate. And I think I'm still in the planning mode, which is fine actually. Okay. So, it's thinking about the knowledge base management. I wouldn't actually go there. I want to dep prioritize knowledge base management so far and focus on basic system functionality and get to that later. So this is we're in a sort of this road map management kind of position right now.

[54:21]I want you to change the requirements to end the road map in order to lower the priority of the knowledgebased management. We will be implementing this later. What we need to focus upon now is to make sure that the current system is working as expected. So we should focus on probably testing this system. And I think number one thing that we need to do at the moment is to fill up the database for the test user with some sort of test data. So we can see how system works with the data available

[54:55]within it. I want to see if it's going to follow my instructions with regards to updating the requirements. Yep, it is updating the requirements and the road map. Interesting that it's putting a time of 6:30 here, which is not at all the time that I have right now, but whatever. Yep. I'll get to it later.

[55:31]Cal that one here. I am pretty sure that what I'm going to need to get to is creating sub agents to manage particular parts of these applications such as front end, backend, database, etc. because the project is getting pretty big right now and there's no yeah no surprise that the context is being overload but I think you get the point now I wanted to show you how this setup is working where I have within one docker

[56:04]image I have this template of the project that can create a docker image with this project within it with the database clot config and working directory of the application over here and what kind of development flow it enables for me and how to change this development flow in order to adjust it to your workflow of development to achieve the best results possible with agents similar to cloud or cloud itself. So yeah, I hope it was useful and see you next time.