๐—•๐˜‚๐—ถ๐—น๐—ฑ๐—ถ๐—ป๐—ด ๐——๐—ฒ๐˜ƒ๐——๐—ผ๐—ฐ๐—”๐—œ: ๐—”๐˜‚๐˜๐—ผ๐—ป๐—ผ๐—บ๐—ผ๐˜‚๐˜€ ๐—ช๐—ฒ๐—ฏ๐—ต๐—ผ๐—ผ๐—ธ๐˜€ ๐—ฎ๐—ป๐—ฑ ๐—ฅ๐—ฒ๐—ฑ๐—ถ๐˜€ ๐—–๐—ฎ๐—ฐ๐—ต๐—ถ๐—ป๐—ด

I had university exams last week.

I almost stopped working on this project. Then I realized a lesson. If you cannot build while life happens, you will never finish anything.

I coded at night after my exams. This post is the result.

DevDocAI was working, but it was manual. You had to trigger the pipeline yourself. That is just a script. Real autonomy requires automation.

Phase 5 adds two things:

The new workflow:

  1. A developer merges a PR.
  2. GitHub sends a webhook to DevDocAI.
  3. DevDocAI verifies the request.
  4. The agent pipeline starts automatically.
  5. Documentation updates itself.

Security is vital. Anyone can send a fake request to a URL. I use HMAC-SHA256 signatures to prevent this. We check the X-Hub-Signature-256 header against a shared secret. If it does not match, we reject the request.

I also added Redis. Querying a database every time a user opens a dashboard is slow. I use three cache keys:

When a PR triggers an update, I delete the old cache immediately. This prevents stale data.

Technical lessons from this phase:

Building under pressure taught me that constraints force focus. When you have little time, you build what matters. Do not choose between studying and building. Do both.

Next is Phase 6: The Next.js frontend. This will include a dashboard, a review panel, and a chat interface.

Source: https://dev.to/nevin100/building-devdocai-a-production-multi-agent-langgraph-system-part-3-github-webhooks-redis-1mgk

Optional learning community: https://t.me/GyaanSetuAi