AI will learn to love Emojis

When AI Overwrites Your Work: Why I Created Robokeytags

A few months ago while I was experimenting with AI agents, I asked an AI assistant to generate a new REST controller in my Spring Boot app. It worked. Clean, fast, perfect. Until a few weeks later weeks later – when I lazily asked for a simple change and it broke all my carefully written error-handling logic.

Gone. Just like that. Replaced with a generic `@Valid` and a try-catch that missed every edge case I’d accounted for.

Another time, I used AI to scaffold a SvelteKit component. Then I spent hours refining it – improving animations, accessibility, and behaviour. Later, I asked the AI to add a new property.

It gave me a new component. A shiny, default-styled component. Not mine.

The Real Problem With AI-Assisted Coding

We’ve built amazing tools. But we’re still working without a map.

There’s no standard way to tell tools (AI or otherwise):

  •  “This section has special rules – understand its structure”
  •  “Here’s context that humans need to know”
  •  “Remember this analysis for next time”
  •  “This part is mine. Don’t touch it.”
  •  “Here’s a warning label – you can touch this, but be careful.”

So I created one.

Introducing Robokeytags 🧩

Robokeytags is a universal language for code structure using comment tags:

🧩 Puzzle Tags = Structural metadata that tools understand

Defines regions, boundaries, and edit rules
Designed for ALL tools – Plop, Spring Boot CLI, AI assistants, etc.
Like a blueprint: “this piece connects here, be careful there”
Not about who wrote it, but about what it IS

📌 Pin Tags = Human-readable documentation

Context, warnings, TODOs, explanations
For human readers (though AI can write these too!)
The “why” behind code decisions
Like persistent sticky notes that never fall off

🤖 Robot Tags = AI’s persistent memory

Confidence levels, detected patterns, suggestions
Lets AI build understanding across sessions
Multiple AI agents can collaborate through these
Like a shared notebook for AI that doesn’t get erased

It’s language-agnostic, built with plain comments, and designed to work across frontend, backend, configs, and more.
Here’s what it looks like:

```ts
// [🧩 Region: NonEditable: component/props]
export let title: string;
export let onClick: () => void;
// [/🧩 Region: NonEditable: component/props]

// [🧩 Region: Editable: component/logic]
// [📌 Note: Animation timing is critical for UX - tested with users]
// [🤖 pattern-detected: State management using local variables]
let isOpen = false;
function toggle() { isOpen = !isOpen; }
// [/🧩 Region: Editable: component/logic]
```

The Magic is in the Structure

Notice how this:

🧩 tells ANY tool about the code structure
📌 provides human context (even if AI wrote it)
🤖 lets AI remember insights between sessions

This isn’t just about “AI territory” vs “human territory” – it’s about creating shared understanding.

Robokeytags gives you that structure – without needing a new IDE or a heavyweight toolchain. Just tags. Just comments. Just clarity.

The Game Changer: Persistent AI Memory

The 🤖 tags are revolutionary. Imagine AI agents that:

  • Remember their uncertainty: [🤖 confidence-low: Complex auth logic]
  • Share discoveries: [🤖 agent:security: SQL injection risk here]
  • Build on each other: [🤖 agent:performance: Consider caching]

Multiple AI agents can now collaborate asynchronously, building shared understanding over time.

Why This Matters (to Me)

I’m a full-stack developer. I’ve been writing code for over 20 years. I’m equally at home in the backend, the frontend, DevOps pipelines, and architecture discussions. But the most frustrating moments of the last year weren’t compiler errors or runtime bugs – they were moments where AI tools helped me, then hurt me.

All because I couldn’t set clear boundaries.

So this is my answer.

It’s open source. It’s on GitHub. And it’s already integrated into the projects I’m building.

Want to Try It?

You can start small:

  • Add one `[🧩 Region]` around a codegen block.
  • Use `[📌 Note]` to add context for your teammates.
  • Let AI annotate with `[🤖]` tags that don’t get in your way.

Then watch your tools evolve from goldfish to elephants – they’ll finally remember.

You can read the full spec and see real examples at [robokeys.tech](https://robokeys.tech/articles/robokeytags).

Or just grab it from GitHub:
Automotan Tags on GitHub (https://github.com/robokeys/robokeytags)

And if this idea resonates with you: share it! Talk to me! Use it! Break it! Improve it!

Automotan Tags is my first step toward making AI development more human-compatible.

I think it’s going to matter.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top