logoalt Hacker News

skybrian • today at 1:58 AM • 1 reply • view on HN

That's better.

I was wondering about this bit:

> "Code comments cite a versioned token where code depends on the rule."

What does a token look like? I went looking for an example, but I don't know what I'm looking for.


Replies

bushido • today at 2:43 AM

From a different codebase, one of the behaviors in the code has the following comment:

  // The binding deliberately SKIPS the contradiction check: a form
  // bound to an object the same document deletes is a legal stale
  // state (PDD-3@v1)
Where PDD-3 deals with a specific type of race conditions that my agents were over-optimizing/spinning out on; Now if I ever change the rule the version would change to PDD-3@v2; which triggers a re-evaluation for all decisions that were made under the previous version.