There’s been a lot of chatter recently about a coding agent #claude #sourcecode showing up publicly on GitHub and probably got cloned. Not going to speculate on whether it was accidental or intentional. That’s not really the point. What this highlights is something more fundamental.They are “probably” acting on goals. And that changes how we need to think about architecture. In a traditional system, if something goes wrong, you trace the logic and fix it. It’s mostly deterministic. In an agent-driven system, the system is interpreting intent. That interpretation can vary. That’s where things get interesting, and risky. A couple of things become very important here. First, you need a closed loop. You can’t just let an agent run and hope for the best.There has to be constant checking, feedback, and correction. The system needs to observe what it did, validate it, and adjust. Without that, small deviations can turn into big outcomes very quickly. Second, deterministic and non-deterministic layers need to work together. The reasoning part of the system can be flexible.That’s where the value comes from. But the boundaries cannot be flexible.Access control, policies, limits, what is allowed and what is not, all of that has to be very clearly defined and enforced. A lot of current implementations are strong on the reasoning side, but weak on the control side. That works in demos, not in real environments. Third, intent is not the same as execution anymore.You might ask for something in a certain way, but what the system actually does depends on how it interprets that intent. That gap is where most of the risk sits. If anything, this is a good reminder. We are no longer just building systems that do what we tell them. We are building systems that decide how to do what we tell them. And the real question is not just what the system can do. It is what it should never be allowed to do. https://lnkd.in/gGqPcD6e
Agent-driven systems require closed loops, clear boundaries, and intent validation
More Relevant Posts
-
Claude Code's source code leaked yesterday. 512,000 lines of TypeScript, now public. I went through it and extracted the architectural patterns that show up consistently across the codebase — the engineering decisions behind how it works. A few examples: Every tool throws a typed error on failure — never returns { success: false }. The framework catches it and formats it for the LLM. The tool has one job: do the work or throw. One schema definition drives both TypeScript types and JSON validation. They share one source and can never drift. Concurrency safety is evaluated per invocation, not declared statically. Same tool, different answer depending on the input. Packaged all 16 as portable skill files that load automatically into Claude Code, Cursor, Gemini CLI, Codex, and OpenCode. Zero config. MIT license. → https://lnkd.in/d6nQvdGf #AIEngineering #ClaudeCode #DeveloperTools #OpenSource
To view or add a comment, sign in
-
Six things you can automate today with Claude Code routines: 1. Nightly backlog triage – label issues, assign owners, post a Slack summary 2. Alert investigation – Sentry fires a webhook, Claude pulls the stack trace and correlates with recent commits 3. PR code review – your team's checklist, applied automatically on every PR 4. Post-deploy verification – smoke tests and error log checks after each release 5. Docs drift detection – weekly scan for stale documentation 6. Cross-repo porting – change merged in Python SDK, auto-ported to Go SDK Research preview. Daily caps range from 5 to 25 runs. But this is the direction AI dev tooling is heading. Full breakdown:
To view or add a comment, sign in
-
⚡ I built a code review tool that thinks like a senior engineer — not a linter. Most linters tell you what is wrong. They don't tell you why it matters or how to fix it properly for your specific stack. So I built Code Optimizer — a skill for Claude Code that audits your code across 10 quality dimensions: - Security (OWASP A01–A10) - SOLID Principles - Design Patterns - Architecture - Performance - Error Handling - Code Smells - SDLC / Tech Debt - Concurrency - API Design Every finding cites a named principle. [OWASP A03] not "possible injection risk." [SRP] not "this class is too big." Stack-specific fixes — TypeScript/Express gets different advice than Python/FastAPI. Four modes: 1. Analyze → full scored audit across all 10 dimensions, no changes made. 2. Rewrite → rewrites your code with a changelog of every modification, runs your type-checker after. 3. Build + Guard → installs a live hook that catches criticals on every file save, before they hit a commit. 4. Diff / PR → scoped to only changed lines, filters generated files, flags pre-existing issues separately. One command: /code-optimizer Open source, MIT licensed, no install beyond dropping files into ~/.claude/skills/. GitHub link in the comments. If you use Claude Code, give it a try and let me know what layers you'd want added next. #ClaudeCode #ClaudeSkills #OpenSource #DeveloperTools #CodeQuality #SoftwareEngineering #AI
To view or add a comment, sign in
-
-
⭐️Stop Relying on Suggestions: A Hard Technical Defense Against Code Rot⭐️ Many teams are currently trying to govern AI-generated code by adding "steering" files (like 'AGENTS.md) or PR templates. The problem? Markdown instructions are just suggestions they are subjective and easily ignored by AI agents. To protect architectural integrity, you need deterministic enforcement, not subjective guessing. What began as a prototype to solve the "AI slop" crisis in the Apache ecosystem is now a finished, universal framework published to Maven Central for everyone. What the AIV Integrity Gate Does: Density Gate: Uses entropy-based checks to flag low-signal boilerplate and scaffolding. - Design Gate: Enforces your specific architectural constraints (forbidden or required patterns) via YAML rules. - Dependency Gate: Validates imports against your actual build configuration to stop hidden supply-chain risks. - Invariant Gate: Provides hooks for property-based testing and critical edge-case validation. - 100% Local: Runs entirely in your local environment with zero external API calls, ensuring your IP stays secure. Feedback & Support: I am looking for feedback from the community how does this solve your PR quality issues? If you have features you’d like to see, please add them as a GitHub Issue. If you find this project valuable, adding a Star ⭐️ to the repo is a huge motivation for me to keep building. - Maven Coordinates: io.github.vaquarkhan:aiv-gate (https://lnkd.in/gHHtqXYy) - GitHub Repository: https://lnkd.in/gkV_S5he Note -This project and its contents are entirely my own. They are developed independently and do not represent the views or interests of any employer. #OpenSource #SoftwareArchitecture #Java #DevOps #AISlop #CodeIntegrity #Engineering #BigData #DistributedSystems
To view or add a comment, sign in
-
🚀 I built an open-source library of Claude Code rules & skills to keep AI-assisted development consistent across all my projects. The problem: every time I started a new project, I was re-explaining the same conventions to Claude — Clean Architecture, SOLID, idiomatic Go, PEP 8, React hooks rules… over and over. The solution: my-rules-skills — a single .claude/ folder you drop (or symlink) into any project. Claude Code automatically picks up the rules and skills from there. What's inside: 📐 Shared rules (apply to every language) Clean Code (Uncle Bob) SOLID principles enforcer Object Calisthenics ⚙️ .NET — Clean Architecture with Brighter/Darker, Minimal API, C# conventions 🐹 Go — Effective Go + Google Style Guide: naming, concurrency, error handling, project structure 🐍 Python — PEP 8/257/20, type hints, logging, src layout, pyproject.toml + uv ⚛️ React — Component purity, hooks rules, feature-slice architecture, React Query, TypeScript Each language also ships with a skill — a step-by-step workflow Claude follows when you say "add a new feature", automatically covering domain → service → repository → handler → tests. How it works: # Drop it into any project (or symlink to keep rules in sync) ln -s ~/my-rules-skills/.claude ./. claude Rules activate automatically based on file type. Skills are invoked by name or by describing what you want to do. It's agnostic, extensible, and completely free. Add your own rules in Markdown — no config, no build step. 👉 https://lnkd.in/d-3uNxaf Would love to hear how others are managing Claude Code conventions across projects. Are you doing something similar? #ClaudeCode #AI #DeveloperTools #SoftwareEngineering #CleanCode #SOLID #dotnet #golang #Python #React #OpenSource
To view or add a comment, sign in
-
Improve your project's test coverage with CodeCov integration. Track what code is covered by tests, identify gaps, and ensure quality before merging. Perfect for Python developers working with GitHub actions.
CodeCov and CodeRabbit in action for a SCLORG organization | Red Hat Developer developers.redhat.com To view or add a comment, sign in
-
𝐓𝐡𝐞 𝐝𝐞𝐯𝐞𝐥𝐨𝐩𝐞𝐫 𝐰𝐡𝐨 𝐰𝐫𝐨𝐭𝐞 𝐭𝐡𝐢𝐬 𝐜𝐨𝐝𝐞 𝐥𝐞𝐟𝐭 8 𝐦𝐨𝐧𝐭𝐡𝐬 𝐚𝐠𝐨. 𝐍𝐨𝐰 𝐢𝐭’𝐬 𝐲𝐨𝐮𝐫 𝐩𝐫𝐨𝐛𝐥𝐞𝐦. 𝐍𝐨 𝐜𝐨𝐦𝐦𝐞𝐧𝐭𝐬. 𝐍𝐨 𝐝𝐨𝐜𝐬𝐭𝐫𝐢𝐧𝐠𝐬. 𝐍𝐨 𝐑𝐄𝐀𝐃𝐌𝐄. 𝐉𝐮𝐬𝐭 400 𝐥𝐢𝐧𝐞𝐬 𝐨𝐟 𝐥𝐨𝐠𝐢𝐜 𝐚𝐧𝐝 𝐚 𝐩𝐫𝐚𝐲𝐞𝐫. We talk about clean code. We talk about good architecture. Nobody talks about documentation. Here’s the truth: Code is written once. It’s read hundreds of times. By teammates. By future hires. By you, 6 months from now. Documentation isn’t for now. It’s for the moment someone has to touch your code at 11pm before a deployment. Will they understand it? Or will they guess? 𝐓𝐡𝐞 𝐦𝐢𝐧𝐢𝐦𝐮𝐦 𝐞𝐯𝐞𝐫𝐲 𝐜𝐨𝐝𝐞𝐛𝐚𝐬𝐞 𝐧𝐞𝐞𝐝𝐬: 1. README → What is this? How do I run it? 2. Docstrings → What does this function do? What does it return? 3. Inline comments → Why was this decision made? 4. Changelog → What changed and when? Not perfect docs. Just enough context to not be helpless. The best comment I ever read wasn’t explaining what the code did. It explained why a weird workaround existed. One line saved hours of confusion. 𝐔𝐧𝐝𝐨𝐜𝐮𝐦𝐞𝐧𝐭𝐞𝐝 𝐜𝐨𝐝𝐞 𝐢𝐬𝐧’𝐭 𝐣𝐮𝐬𝐭 𝐚 𝐭𝐞𝐜𝐡𝐧𝐢𝐜𝐚𝐥 𝐝𝐞𝐛𝐭. It’s a people problem. Someone will inherit what you write today. Document like they’re a stranger. Because eventually they will be. #Django #Python #BackendDevelopment #SoftwareEngineering #CleanCode #WebDevelopment
To view or add a comment, sign in
-
-
Hello Team, After diving into the leaked source code of Claude Code, I wanted to share my insights with you all which might help Claude Code's Source Code Was Accidentally Leaked On March 31st, Anthropic accidentally shipped a cli.js.map debug file in their public npm package, exposing approximately 500,000 lines of TypeScript source code across 1,884 files. Security researcher Chaofan Shou flagged it on X, where it went viral with 28M+ views. The leak is verified real and has been covered by Ars Technica, Cybernews, and others. Unreleased Features Found in the Code BUDDY: Every user gets a unique virtual AI pet tied to their account ID, complete with actual personality stats. This is reportedly slated for May 2026. KAIROS: A persistent assistant that "dreams" overnight, organizing your memories and context across different sessions. ULTRAPLAN: Designed for complex tasks, this allows Claude to spin up a cloud instance to plan for up to 30 minutes before executing any code. Coordinator Mode: Claude acts as a manager, breaking tasks down into subtasks and running parallel worker agents. Daemon Mode: Run Claude sessions in the background like Docker containers (using commands like claude ps, claude logs, and claude attach). Wild Internal Details "YOLO" Permissions: The auto-permission function is literally named classifyYoloAction(), equipped with risk levels of LOW, MEDIUM, and HIGH. "Undercover Mode": This automatically strips all AI involvement from commits when Anthropic employees contribute to public repos. The internal prompt explicitly dictates: "Do not blow your cover." Future Models: Model versions opus-4-7 and sonnet-4-8 are already heavily referenced in the codebase. Hidden Commands: There are 26 hidden slash commands omitted from the standard --help menu, including /ultraplan, /dream, and /good-claude. The Community Already Rebuilt It Developers immediately started a clean-room rewrite in Rust. The claw-code repo on GitHub hit 50,000 stars in just 2 hours and now sits at over 146,000 stars—reportedly making it the fastest repository in GitHub history to reach that milestone. Full Analysis: ccleaks.com Open-Source Rewrite: https://lnkd.in/dWm7wfCd Note: Some April 1st headlines circulating around this (such as the "OpenClaude" rebrand) are fake. However, everything listed above has been pulled directly from verified source code analysis.
To view or add a comment, sign in
-
At 2:10 AM, a production error fired: an AttributeError in our GitLab webhook handler. A null position field on a non-inline comment. By 2:13 AM, Bohun had diagnosed it, written a one-line fix with an explanatory comment, and opened a pull request. No one was paged. No one was woken up. Agent Bohun didn't wrap the call in a try/except and move on. It traced the real root cause: GitLab sends position: null for non-inline comments, and Python's dict.get(key, {}) only falls back when the key is missing, not when the value is explicitly None. Fixed in the minimal, correct place, with a comment so the next engineer would understand why. What we're building at OurBase is not an autopilot that removes humans from the loop. It's a teammate who does the careful thinking while you sleep, and hands you something worth reviewing in the morning. Here's to more nights of uninterrupted sleep (and celebratory breakfasts.)
To view or add a comment, sign in
-
More from this author
Explore related topics
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development