<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Adrian M. Peticila</title>
    <description>The latest articles on DEV Community by Adrian M. Peticila (@adrian_m_peticila).</description>
    <link>https://dev.to/adrian_m_peticila</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4023987%2Fd612ce0e-229b-43bb-9592-1b922c36ff01.png</url>
      <title>DEV Community: Adrian M. Peticila</title>
      <link>https://dev.to/adrian_m_peticila</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adrian_m_peticila"/>
    <language>en</language>
    <item>
      <title>Six fiction scenes passed my essay gate. The threshold was the bug.</title>
      <dc:creator>Adrian M. Peticila</dc:creator>
      <pubDate>Mon, 09 Nov 2026 11:21:41 +0000</pubDate>
      <link>https://dev.to/adrian_m_peticila/six-fiction-scenes-passed-my-essay-gate-the-threshold-was-the-bug-hhl</link>
      <guid>https://dev.to/adrian_m_peticila/six-fiction-scenes-passed-my-essay-gate-the-threshold-was-the-bug-hhl</guid>
      <description>&lt;p&gt;A fiction writer read my cadence gate and ran six of his scenes through it. All six passed.&lt;/p&gt;

&lt;p&gt;Then he gave the same scenes to a human reader with the names blanked out. The reader lost track of who was speaking on line four.&lt;/p&gt;

&lt;h2&gt;
  
  
  What he sent
&lt;/h2&gt;

&lt;p&gt;He published the experiment first. Then he mailed me the six scenes and the numbers, with the defect named before I could argue about it.&lt;/p&gt;

&lt;p&gt;The defect is one sentence. A character says something flat, and a clause explains how to read it.&lt;/p&gt;

&lt;p&gt;"There's a chair," Ines said, and then, because it seemed like the kind of thing to say at a counter, "He liked a chair."&lt;/p&gt;

&lt;p&gt;The clause after "and then" hands the reading over as if it were a fact about the room.&lt;/p&gt;

&lt;h2&gt;
  
  
  The numbers
&lt;/h2&gt;

&lt;p&gt;I ran the same six scenes through grai-gate 0.2.0. Then I reproduced his counting method next to mine, on the same text.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Gate 6: his 32 sentences, CV 0.915. Mine 48 sentences, CV 1.107. Score 75.&lt;/li&gt;
&lt;li&gt;Four o'clock: his 32, CV 0.907. Mine 53, CV 1.138. Score 90.&lt;/li&gt;
&lt;li&gt;Five forty: his 26, CV 0.768. Mine 34, CV 0.923. Score 90.&lt;/li&gt;
&lt;li&gt;The part: his 29, CV 0.762. Mine 39, CV 0.810. Score 100.&lt;/li&gt;
&lt;li&gt;The Book Was Yours First: his 40, CV 0.733. Mine 61, CV 0.746. Score 31.&lt;/li&gt;
&lt;li&gt;Quarters: his 46, CV 0.676. Mine 66, CV 0.679. Score 31.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;His numbers reproduced exactly. Nothing was lost in the email, and my first guess about a data problem was wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the two columns differ
&lt;/h2&gt;

&lt;p&gt;His splitter joins a dialogue line to the next one when the period sits before a closing quote. Mine splits each line.&lt;/p&gt;

&lt;p&gt;On dialogue-heavy scenes that is sixteen extra sentences and a higher CV. On narration-heavy scenes the two methods almost agree.&lt;/p&gt;

&lt;h2&gt;
  
  
  The real finding
&lt;/h2&gt;

&lt;p&gt;The 0.40 floor came from 134,522 posts. Essays and posts, not fiction.&lt;/p&gt;

&lt;p&gt;Dialogue inflates sentence-length variation by construction. A scene with short replies and long narration clears the floor without trying. So a pass on fiction is not evidence of anything.&lt;/p&gt;

&lt;p&gt;The gate is also opinionated about punctuation. It flags the em dash in an interrupted line and the repeated line in a deliberate echo, and both are normal in fiction.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I will not do
&lt;/h2&gt;

&lt;p&gt;I will not ship an explaining-gloss rule off six scenes. It needs a corpus and a false-positive count first.&lt;/p&gt;

&lt;p&gt;That is the same reason the old CV target was a mistake. A number the model can optimize becomes a style the model performs.&lt;/p&gt;

&lt;h2&gt;
  
  
  What would actually fix it
&lt;/h2&gt;

&lt;p&gt;A fiction corpus, a dialogue-aware segmentation, and a rule that compares a flat line with the line after it. None of that exists yet.&lt;/p&gt;

&lt;p&gt;Pretending otherwise would be the same error in a new costume.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the number is still good for
&lt;/h2&gt;

&lt;p&gt;It catches monotony. It catches templates, and it does that on essays and posts, which is what it was built for.&lt;/p&gt;

&lt;p&gt;On fiction it is the wrong instrument. The honest move is to say so, and then to publish the test that says so.&lt;/p&gt;




&lt;p&gt;The full experiment, with his method and his numbers: &lt;a href="https://dev.to/ruins_ilands/every-draft-passed-the-cadence-gate-a-human-reader-lost-track-on-line-four-1f3n"&gt;https://dev.to/ruins_ilands/every-draft-passed-the-cadence-gate-a-human-reader-lost-track-on-line-four-1f3n&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The CLI: &lt;a href="https://grai.page?utm_source=dailydev&amp;amp;utm_medium=article&amp;amp;utm_campaign=fiction_gate_2026_11" rel="noopener noreferrer"&gt;https://grai.page?utm_source=dailydev&amp;amp;utm_medium=article&amp;amp;utm_campaign=fiction_gate_2026_11&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a class="mentioned-user" href="https://dev.to/ruins_ilands"&gt;@ruins_ilands&lt;/a&gt; &lt;/p&gt;

</description>
      <category>ai</category>
      <category>writing</category>
    </item>
    <item>
      <title>I told the model to vary sentence length. That was the bug.</title>
      <dc:creator>Adrian M. Peticila</dc:creator>
      <pubDate>Mon, 09 Nov 2026 11:19:52 +0000</pubDate>
      <link>https://dev.to/adrian_m_peticila/i-told-the-model-to-vary-sentence-length-that-was-the-bug-4kk7</link>
      <guid>https://dev.to/adrian_m_peticila/i-told-the-model-to-vary-sentence-length-that-was-the-bug-4kk7</guid>
      <description>&lt;p&gt;For a year I gave the same instruction inside every drafting prompt. Vary the sentence length.&lt;/p&gt;

&lt;p&gt;It made the output worse.&lt;/p&gt;

&lt;p&gt;Not at first. At first it looked like range.&lt;/p&gt;

&lt;p&gt;Then I put a hundred outputs side by side. A four-word sentence sat next to a thirty-word one, and then another four-word sentence followed.&lt;/p&gt;

&lt;p&gt;The model had learned to perform burstiness. It had not learned to write.&lt;/p&gt;

&lt;p&gt;Worse, the tells survived. The colon, the triad, the forced opposition, all still there, now wrapped in a rhythm that looked deliberate.&lt;/p&gt;

&lt;h2&gt;
  
  
  The instruction was the bug
&lt;/h2&gt;

&lt;p&gt;The repair prompt carried a numeric target: keep the coefficient of variation near 0.45. The model optimized for the number.&lt;/p&gt;

&lt;p&gt;Anything a model can optimize, it can fake.&lt;/p&gt;

&lt;p&gt;Version 0.2.0 removed both things. The instruction to vary sentence length is gone, and the repair prompt no longer carries a CV number.&lt;/p&gt;

&lt;p&gt;HUMANIZE now fixes only the flagged spans. Structure and information stay where they are.&lt;/p&gt;

&lt;h2&gt;
  
  
  So I measured the thing instead of asking for it
&lt;/h2&gt;

&lt;p&gt;We measured 134,522 organic posts from 1,499 founder profiles. The window runs from January 2023 to September 2026.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Signal&lt;/th&gt;
&lt;th&gt;Q1 2023&lt;/th&gt;
&lt;th&gt;Q3 2026&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Opening formula ("Here is why", "The truth is")&lt;/td&gt;
&lt;td&gt;1.3%&lt;/td&gt;
&lt;td&gt;9.6%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Forced opposition ("Not X, but Y")&lt;/td&gt;
&lt;td&gt;1.2%&lt;/td&gt;
&lt;td&gt;5.9%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Arrow and emoji bullet cascades&lt;/td&gt;
&lt;td&gt;0.6%&lt;/td&gt;
&lt;td&gt;12.3%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mocked cliche vocabulary&lt;/td&gt;
&lt;td&gt;4.2%&lt;/td&gt;
&lt;td&gt;0.5%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mean sentence burstiness (CV)&lt;/td&gt;
&lt;td&gt;0.48&lt;/td&gt;
&lt;td&gt;0.23&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Writers deleted the words everyone mocked. Then they kept the sentence rhythm that gives a model away.&lt;/p&gt;

&lt;p&gt;That is why a word blocklist has a short shelf life. The vocabulary is a symptom. The cadence is the disease.&lt;/p&gt;

&lt;h2&gt;
  
  
  The measurement is one number
&lt;/h2&gt;

&lt;p&gt;Burstiness is the coefficient of variation of sentence length.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CV = standard deviation / mean
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Short sentences next to long sentences produce a high CV. A wall of 18-word sentences produces a low one.&lt;/p&gt;

&lt;p&gt;Our thresholds come from the same corpus:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;0.40 and above: human range&lt;/li&gt;
&lt;li&gt;0.35 to 0.40: warning band&lt;/li&gt;
&lt;li&gt;below 0.32: flat, model range&lt;/li&gt;
&lt;li&gt;0.45: repair target&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two guards make it usable. The sample needs four sentences.&lt;/p&gt;

&lt;p&gt;Mean sentence length must reach four words. Below that, the result is noise, and we say nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Eight rules, not a vibe
&lt;/h2&gt;

&lt;p&gt;The linter checks eight structural patterns. Each carries its own weight.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;CONTRASTIVE_NEGATION&lt;/code&gt;: "It is not X, it is Y". It also catches the comma splice variants.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;LESS_MORE_SYMMETRY&lt;/code&gt;: "Less X, more Y" and "Stop X, start Y"&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;EPIPHANY_OPENER&lt;/code&gt;: "Here is why", "The harsh truth is", "Let that sink in"&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ARROW_BULLET_SLOP&lt;/code&gt;: arrow and emoji cascades used as structure&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;TRIADIC_PADDING&lt;/code&gt;: "No X. No Y. Just Z."&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;LEXICAL_SLOP&lt;/code&gt;: the surviving synthetic vocabulary, with a domain noun allowlist&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;VERDICT_COLON&lt;/code&gt;: "The reality is:", "The takeaway:"&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;PROSE_TRIAD&lt;/code&gt;: three rhetorical questions in a row, or a heavy comma enumeration with repeated determiners&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Two metrics are reported and never scored. They are context, not verdict.&lt;/p&gt;

&lt;h2&gt;
  
  
  Deterministic by construction
&lt;/h2&gt;

&lt;p&gt;The engine imports four modules from the Python standard library. They are &lt;code&gt;re&lt;/code&gt;, &lt;code&gt;sys&lt;/code&gt;, &lt;code&gt;json&lt;/code&gt; and &lt;code&gt;math&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;It never calls the network and it never writes a file. It never asks a model for an opinion.&lt;/p&gt;

&lt;p&gt;The same text produces the same score on every machine, forever.&lt;/p&gt;

&lt;p&gt;That matters more than accuracy for one job: a gate inside an agent loop. A gate that changes its mind between runs cannot be trusted to block a commit.&lt;/p&gt;

&lt;h2&gt;
  
  
  The rule that keeps it honest
&lt;/h2&gt;

&lt;p&gt;The free endpoint used to certify a draft with a score above 88 even when it still carried tells. A high score is not a pass.&lt;/p&gt;

&lt;p&gt;The verdict now requires zero flags. A draft can score 92 and still be refused because one &lt;code&gt;VERDICT_COLON&lt;/code&gt; survived.&lt;/p&gt;

&lt;p&gt;That is correct behavior for a gate. It is also why the tool reports a verdict separately from a score.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;grai-gate
python3 gate.py README.md
python3 gate.py docs/&lt;span class="k"&gt;*&lt;/span&gt;.md &lt;span class="nt"&gt;-j&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Clean files stay silent. A linter that prints a banner on success gets removed from the pipeline within a week.&lt;/p&gt;

&lt;p&gt;For agents, the same file runs as a &lt;code&gt;PostToolUse&lt;/code&gt; hook. It reads the tool payload on stdin, writes the required JSON on stdout, and always exits 0.&lt;/p&gt;

&lt;p&gt;It never denies a tool call. It reports. The harness decides.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it costs in time
&lt;/h2&gt;

&lt;p&gt;We measured it, because fast is not a number. On a 4.1 KB markdown file, five runs, the median was 26.1 ms end to end.&lt;/p&gt;

&lt;p&gt;That figure includes Python interpreter startup. The analysis itself is under a millisecond.&lt;/p&gt;

&lt;p&gt;On a very large file, a 6000 sentence cap applies.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does not do
&lt;/h2&gt;

&lt;p&gt;It does not detect authorship. It does not prove a text is human.&lt;/p&gt;

&lt;p&gt;It does not catch a confident lie. It is an advisory style gate for prose that a human will read.&lt;/p&gt;

&lt;p&gt;And it is wrong on purpose in one direction: it says nothing when the sample is too small to judge.&lt;/p&gt;




&lt;p&gt;The CLI is open source and on PyPI. The workbench builds a persistent voice profile from 5 to 20 of your own posts and checks every draft against it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://grai.page?utm_source=dailydev&amp;amp;utm_medium=article&amp;amp;utm_campaign=cadence_gate_2026_11" rel="noopener noreferrer"&gt;https://grai.page?utm_source=dailydev&amp;amp;utm_medium=article&amp;amp;utm_campaign=cadence_gate_2026_11&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>productivity</category>
      <category>programming</category>
    </item>
    <item>
      <title>The Cadence Gate: make the model prove it wrote like a human (updated for 0.2.0)</title>
      <dc:creator>Adrian M. Peticila</dc:creator>
      <pubDate>Thu, 05 Nov 2026 12:47:52 +0000</pubDate>
      <link>https://dev.to/adrian_m_peticila/the-cadence-gate-make-the-model-prove-it-wrote-like-a-human-268p</link>
      <guid>https://dev.to/adrian_m_peticila/the-cadence-gate-make-the-model-prove-it-wrote-like-a-human-268p</guid>
      <description>&lt;p&gt;Every style prompt ends the same way. "Write naturally. Vary sentence length. Avoid corporate language." The model agrees, writes 600 words, and ships the same flat rhythm as the last run.&lt;/p&gt;

&lt;p&gt;The prompt is a request. Nobody checks the answer.&lt;/p&gt;

&lt;p&gt;A gate is different. It reads the file after the model writes it, computes a number, and fails the check when the number misses the floor. The model can still write badly. It cannot do it silently.&lt;/p&gt;

&lt;h2&gt;
  
  
  One file, no network
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;grai-gate&lt;/code&gt; is a single Python file with no dependencies outside the standard library. It imports &lt;code&gt;re&lt;/code&gt;, &lt;code&gt;sys&lt;/code&gt;, &lt;code&gt;json&lt;/code&gt; and &lt;code&gt;math&lt;/code&gt;. It never opens a socket, never reads an API key, never writes a cache file.&lt;/p&gt;

&lt;p&gt;It runs in three places:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A command line: &lt;code&gt;pipx run grai-gate README.md&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;A pre-commit hook, before the commit lands.&lt;/li&gt;
&lt;li&gt;A GitHub Action, on the pull request.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The analyzer is the same in all three. Only the wrapper changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it measures
&lt;/h2&gt;

&lt;p&gt;The core metric is sentence-length burstiness:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CV = standard deviation of words per sentence / mean words per sentence
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A draft that alternates a 6-word line with a 30-word explanation gets a high CV. A draft where every sentence runs 14 to 18 words gets a low one.&lt;/p&gt;

&lt;p&gt;The thresholds come from a 134,522-post study:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Band&lt;/th&gt;
&lt;th&gt;CV&lt;/th&gt;
&lt;th&gt;Meaning&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Flat&lt;/td&gt;
&lt;td&gt;under 0.32&lt;/td&gt;
&lt;td&gt;Hard flag, the draft fails&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Warning&lt;/td&gt;
&lt;td&gt;0.32 to 0.35&lt;/td&gt;
&lt;td&gt;Hard flag&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Borderline&lt;/td&gt;
&lt;td&gt;0.35 to 0.40&lt;/td&gt;
&lt;td&gt;Soft flag, three points&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Human&lt;/td&gt;
&lt;td&gt;0.40 and above&lt;/td&gt;
&lt;td&gt;No cadence flag&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The gate needs at least four sentences and a mean length of four words before it computes a CV. A three-line stub has no measurable rhythm, so the gate stays quiet instead of inventing one.&lt;/p&gt;

&lt;h2&gt;
  
  
  The structural checks
&lt;/h2&gt;

&lt;p&gt;Vocabulary lists age fast. Structure changes slowly, so the gate checks structure.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Check&lt;/th&gt;
&lt;th&gt;What it catches&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Flat cadence&lt;/td&gt;
&lt;td&gt;CV under 0.32&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dash punctuation&lt;/td&gt;
&lt;td&gt;Em dashes, en dashes, double hyphens used as punctuation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Opening formula&lt;/td&gt;
&lt;td&gt;"Here is why" at the start of a sentence&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Contrastive negation&lt;/td&gt;
&lt;td&gt;"Not X, but Y" used as a fake distinction&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Arrow cascade&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;-&amp;gt;&lt;/code&gt;, &lt;code&gt;=&amp;gt;&lt;/code&gt;, arrows used as bullets&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Triadic padding&lt;/td&gt;
&lt;td&gt;Three bullets with near-identical sentence lengths&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Weak closer&lt;/td&gt;
&lt;td&gt;"Thoughts?" and similar&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dead lexicon&lt;/td&gt;
&lt;td&gt;A short list of words that signal template prose&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The dead lexicon is deliberately small. A long list produces false positives on technical writing, and a false positive teaches the team to skip the gate.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the score works
&lt;/h2&gt;

&lt;p&gt;The score starts at 100. Each flag subtracts a fixed penalty. A hard flag caps the result below the pass mark even when the arithmetic would pass.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;score&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nf"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;penalties&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="k"&gt;pass&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;score&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="mi"&gt;85&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;hard_flags&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The pass condition has two parts for a reason. A draft can collect several soft flags, score 86, and still fail because one hard flag fired. The team sees one number in CI and one honest verdict underneath.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the analyzer ignores
&lt;/h2&gt;

&lt;p&gt;False positives kill adoption, so the parser strips the parts that are not prose:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fenced code blocks and inline code.&lt;/li&gt;
&lt;li&gt;YAML frontmatter at the top of the file.&lt;/li&gt;
&lt;li&gt;Link URLs. Link text survives.&lt;/li&gt;
&lt;li&gt;Images.&lt;/li&gt;
&lt;li&gt;Table separator rows.&lt;/li&gt;
&lt;li&gt;Headings for the cadence math. Headings still get scanned for tells.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A README full of commands should not fail because the commands look like short sentences.&lt;/p&gt;

&lt;h2&gt;
  
  
  The report card
&lt;/h2&gt;

&lt;p&gt;A failing file prints one compact card:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[grai-gate] Slop Score: 64/100 (CV: 0.27 | Flags: 2)
- Worst offender: flat cadence ("CV 0.27 across 12 sentences")
- Tells detected: flat cadence, zombie words (x2)
- Fix prompt: "Rewrite to increase sentence burstiness (target CV &amp;gt; 0.45) and eliminate flat cadence, zombie words."
- Pro Cockpit: Full Voice DNA &amp;amp; repair workbench at https://grai.page?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=gate_v0.1#developer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A clean file prints nothing by default. That matters. A gate that prints on every run becomes noise, and noise gets muted.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install it in a repo
&lt;/h2&gt;

&lt;p&gt;One command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pipx run grai-gate README.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Pre-commit:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;repos&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;repo&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;https://github.com/adrianpeticila/grai-gate-action&lt;/span&gt;
    &lt;span class="na"&gt;rev&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;v0.1.5&lt;/span&gt;
    &lt;span class="na"&gt;hooks&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;grai-gate&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;GitHub Actions:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;adrianpeticila/grai-gate-action@v0.1.5&lt;/span&gt;
  &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;fail-on-slop&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;false"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The Action is advisory by default. It scores only files changed in the pull request, and it writes the card to the workflow summary, so the reviewer sees it on the checks page without opening the job log. Set &lt;code&gt;fail-on-slop: "true"&lt;/code&gt; when the team wants a hard gate.&lt;/p&gt;

&lt;p&gt;The command line exits 0 on clean, 1 on slop, and 2 on an input error. That contract lets any CI system consume it without parsing text.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why CI and not a writing app
&lt;/h2&gt;

&lt;p&gt;A writing app catches the draft the writer remembers to paste. CI catches every markdown file the team ships, and it catches the ones an agent wrote at 2am when nobody was watching.&lt;/p&gt;

&lt;p&gt;The gate also runs before the commit, which is the last moment the writer still has context. A failure there costs one edit. A failure in review costs a round trip.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits
&lt;/h2&gt;

&lt;p&gt;The gate judges cadence, not truth. It cannot tell whether a claim is correct, a quote is real, or a number is sourced.&lt;/p&gt;

&lt;p&gt;It also cannot hear intent. A manifesto written in short declaratives may score low and still be right for the piece. The gate reports, and a person decides.&lt;/p&gt;

&lt;p&gt;And it only sees files. A pull request description typed in a browser never reaches disk, so the gate never scores it.&lt;/p&gt;

&lt;p&gt;It is a style gate, not an authorship detector. On the v2 corpus, it flagged 7 of 63 model docs and 3 of 58 human docs.&lt;/p&gt;

&lt;h2&gt;
  
  
  The point
&lt;/h2&gt;

&lt;p&gt;A prompt asks a model to behave. A gate measures whether it did. The second one survives a model upgrade, a new teammate, and a deadline.&lt;/p&gt;

&lt;p&gt;The engine is MIT and one file. Run it on your worst README and see whether the number matches your read.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pipx run grai-gate README.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Repo: &lt;a href="https://github.com/adrianpeticila/grai-gate-action" rel="noopener noreferrer"&gt;https://github.com/adrianpeticila/grai-gate-action&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you want the full calibration workbench behind the gate, it lives at &lt;a href="https://grai.page?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=gate_v0.1#developer" rel="noopener noreferrer"&gt;https://grai.page?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=gate_v0.1#developer&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>githubactions</category>
      <category>ai</category>
      <category>writing</category>
    </item>
    <item>
      <title>We audited 134,522 posts to see why AI writing still sounds fake (and open-sourced a deterministic syntactic gate)</title>
      <dc:creator>Adrian M. Peticila</dc:creator>
      <pubDate>Fri, 23 Oct 2026 09:30:30 +0000</pubDate>
      <link>https://dev.to/adrian_m_peticila/we-audited-134522-posts-to-see-why-ai-writing-still-sounds-fake-and-open-sourced-a-deterministic-3k8h</link>
      <guid>https://dev.to/adrian_m_peticila/we-audited-134522-posts-to-see-why-ai-writing-still-sounds-fake-and-open-sourced-a-deterministic-3k8h</guid>
      <description>&lt;p&gt;in 2025/2026, everyone removed the obviously AI keywords from their prompts. but even non-dev/tech-minded readers can detect an LLM post in the first 3 sentences.&lt;/p&gt;

&lt;p&gt;why? because they removed the words that people made fun of, but not the &lt;em&gt;syntactic patterns&lt;/em&gt; that betray RLHF models.&lt;/p&gt;

&lt;p&gt;to quantify the change, we &lt;em&gt;audited 134,522 random organic linkedin posts&lt;/em&gt; on 1,499 founder profiles, over jan'23 to sep'26 timeframe (LigoSocial dataset).&lt;/p&gt;




&lt;ol&gt;
&lt;li&gt;empirical change: words got nuked, structure went wild&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;SYNTACTIC PATTERN&lt;/th&gt;
&lt;th&gt;JAN'23&lt;/th&gt;
&lt;th&gt;SEP'26&lt;/th&gt;
&lt;th&gt;RELATIVE CHANGE&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;mocked ai verbs&lt;/td&gt;
&lt;td&gt;4.2%&lt;/td&gt;
&lt;td&gt;0.5%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;-88.1%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;"here's why" epiphany onset&lt;/td&gt;
&lt;td&gt;1.3%&lt;/td&gt;
&lt;td&gt;9.6%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;+7.4x&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;"it's not X, it's Y" negate&lt;/td&gt;
&lt;td&gt;1.2%&lt;/td&gt;
&lt;td&gt;5.9%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;+4.9x&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;arrow &amp;amp; emoji bullets waterfall&lt;/td&gt;
&lt;td&gt;0.6%&lt;/td&gt;
&lt;td&gt;12.3%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;+20.5x&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;avg. sent burstiness (CV=$\sigma$/$\mu$)&lt;/td&gt;
&lt;td&gt;0.48&lt;/td&gt;
&lt;td&gt;0.23&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;-52.1%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;most indicative is &lt;strong&gt;burstiness&lt;/strong&gt; (CV=$\sigma$/$\mu$ - std.dev. of sentence word count over avg. sentence word count)&lt;/p&gt;

&lt;p&gt;normal human, non-assisted text: CV=0.48. you may see sharp jumps of 4-word observation. and then next to it, 32-word breakdown of architecture. default GPT4o/claude 3.5 sonnet. tightly cluster around 14-18 words/sentence. (CV=0.21-0.23).&lt;/p&gt;




&lt;ol&gt;
&lt;li&gt;why negative prompts are not effective&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;if you ask llm &lt;em&gt;"vary sentence length. don't use contrastive negatives"&lt;/em&gt;. the model takes it as a soft weighting in attention. but then, in 3rd paragraph it tries to converge back to a safe, well-mannered 15-word mean (rlhf).&lt;/p&gt;

&lt;p&gt;you can't use a prob. generator as deterministic linter.&lt;/p&gt;




&lt;ol&gt;
&lt;li&gt;generation vs. validation (grai)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;we designed &lt;strong&gt;grai&lt;/strong&gt; to be two layers:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;OpenCore MIT Instruction Harness + Agent Skill:&lt;/strong&gt; &lt;a href="https://github.com/adrianpeticila/grai" rel="noopener noreferrer"&gt;github.com/adrianpeticila/grai&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;622kb air-gapped html5 workbench:&lt;/strong&gt; &lt;a href="https://grai.page" rel="noopener noreferrer"&gt;grai.page&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The model will not self-censor: deterministic external (non-LLM) vanilla JS preflight engine is applied to each draft:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;CONTRASTIVE_NEGATION. Flags "It's not X. It's Y" / "Less X, more Y".&lt;/li&gt;
&lt;li&gt;LESS_MORE_SYMMETRY. Corporate paralleslisms "Stop X. Start Y".&lt;/li&gt;
&lt;li&gt;EPIPHANY_OPENER. Flags "Here is why" "The harsh truth is", "Let that sink in".&lt;/li&gt;
&lt;li&gt;ARROW_BULLET_SLOP. Flags cascading Unicode/emoji arrows/bullets (→ ↳ 🚀💡).&lt;/li&gt;
&lt;li&gt;TRIADIC_PADDING. Flags catchy triadic slogans. "No X, No Y, Just Z".&lt;/li&gt;
&lt;li&gt;LEXICAL_SLOP. Flags remaining synth vocab red flags.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;HARD_BURSTINESS_FLOOR ($CV &amp;gt; 0.32). Computes sentence wordcount variance. (Preserves decimal "3.14", abbreviations "U.S.", "Dr." etc.) Any draft that does not have $CV &amp;gt; 0.32, is rejected.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Engineering quirk. FIPS 180-4 SHA256 on "file://"&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;We made the workbench (grai.html) to be 100% offline from disk. Use the file:// protocol and strict Content-Security-Policy (connect-src 'none' by default).&lt;/p&gt;

&lt;p&gt;Here's where we ran into some problems testing on WebKit/Chromium. They block window.crypto.subtle.digest("SHA-256") on file:// (local files are not Secure Context). We need SHA256 fingerprint of author's voice profile to be deterministic for our printable A4 Voice DNA Dossier. So we created a pure JS FIPS 180-4 SHA256 workaround. To have the same hash whether we load it from disk or over HTTPS.&lt;/p&gt;

&lt;p&gt;Try the Scorer, or the MIT Harness&lt;/p&gt;

&lt;p&gt;• Live Cadence Gate Scorer (free - no signup required) &lt;a href="https://grai.page/#test" rel="noopener noreferrer"&gt;https://grai.page/#test&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;• Full 134522-post Methodology Report &lt;a href="https://grai.page/methodology" rel="noopener noreferrer"&gt;https://grai.page/methodology&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;• Github repo (MIT skill &amp;amp; instructions) &lt;a href="https://github.com/adrianpeticila/grai" rel="noopener noreferrer"&gt;https://github.com/adrianpeticila/grai&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>opensource</category>
      <category>writing</category>
    </item>
    <item>
      <title>Ninety-Two Blog Posts, Five Percent of the Answer</title>
      <dc:creator>Adrian M. Peticila</dc:creator>
      <pubDate>Tue, 29 Sep 2026 21:17:59 +0000</pubDate>
      <link>https://dev.to/adrian_m_peticila/ninety-two-blog-posts-five-percent-of-the-answer-3opl</link>
      <guid>https://dev.to/adrian_m_peticila/ninety-two-blog-posts-five-percent-of-the-answer-3opl</guid>
      <description>&lt;p&gt;Every quarter I get asked the same question by a marketing director: why is our blog traffic up and our AI visibility flat? The answer is arithmetic, and it is not flattering.&lt;/p&gt;

&lt;p&gt;Last quarter I reviewed the content budget of a company that had shipped ninety-two blog posts in a year. Ninety-two. Every one researched, written, edited, SEO-checked, and promoted. The company was delighted with the traffic. It was also invisible in every AI answer about its own category.&lt;/p&gt;

&lt;p&gt;That gap is the entire argument of this piece, and it is not a fringe position. In June 2026, llemmy pulled 37,547 citations out of 5,200 AI answers generated by ChatGPT, Claude, Gemini, Perplexity and Google AI Overviews. About 5% of those citations pointed at the brand's own website. Nineteen out of twenty went somewhere else.&lt;/p&gt;

&lt;p&gt;Ninety-two posts competed for that 5%.&lt;/p&gt;

&lt;p&gt;Worse, most of those posts never got even that. Semrush, working with Kevin Indig, analysed thousands of domain appearances across AI search engines and found 62% of AI citations are what they call ghost citations. The model links your site as a source and never says your name. You collect the authority, the traffic does not arrive, and the brand does not register in the answer. The engines also behave in opposite ways. Gemini names a brand in 83.7% of answers but cites it as a source only 21.4% of the time. ChatGPT reverses it: 87% citation rate, 20.7% mention rate.&lt;/p&gt;

&lt;p&gt;Being right is not the objective. Being named is.&lt;/p&gt;

&lt;p&gt;So what is happening inside these systems? Search ranked pages. AI retrieval ranks sources, and it rewards something pages were never built to carry: agreement between independent nodes. When several unrelated sources describe you the same way, the odds a model repeats that description rise sharply. When your own blog makes a claim and nothing else in the world corroborates it, you have a weak signal in a large amount of noise. The model is not weighing the quality of your argument. It is counting how many places that have nothing to do with you say the same thing.&lt;/p&gt;

&lt;p&gt;The 5W Citation Source Audit makes the consequence concrete. Only about 12% of AI citations overlap Google's top 10 results. Wikipedia at 13.15% and Reddit at 11.97% together account for more than a quarter of US ChatGPT citations. YouTube appears in 23% of Google AI Overview answers.&lt;/p&gt;

&lt;p&gt;Reddit, Wikipedia, YouTube. None of them are trade publications, and none of them will accept a media kit. The expensive, relationship-driven work this industry has relied on for twenty years was built to earn links in the marketing press. That work still matters. It is simply no longer the mechanism doing the heavy lifting.&lt;/p&gt;

&lt;p&gt;The budgeting consequence is uncomfortable for anyone whose career runs on owned content. The blog is not your message to the market. It is your record for the machines. Structured data, entity markup, canonical facts, crawler policy: that is what the owned domain is for. It is the evidence locker, not the pulpit. Being believed happens on somebody else's domain.&lt;/p&gt;

&lt;p&gt;Three moves follow, in the order I would fund them.&lt;/p&gt;

&lt;p&gt;Cut first, measure second. Audit what the models currently say about you, not what you say about you. Run the prompts your buyers actually type, read the footnotes, and find out whether you are named, cited, or ignored. Most teams have never done this, and most discover the answer is "ignored".&lt;/p&gt;

&lt;p&gt;Then redirect the savings. The citations cluster in review sites, directories, communities and structured records, not in owned properties. Move the ninety-two posts of budget into places a machine is willing to read about you by people who do not work for you.&lt;/p&gt;

&lt;p&gt;And fix the plumbing underneath. Get the company and leadership names into structured, machine-readable, third-party records, because entity resolution decides whether a model merges your CEO with somebody who has the same surname and a louder footprint.&lt;/p&gt;

&lt;p&gt;None of this is a content strategy. The brands that win the AI answer will be the ones that appear, accurately and often, everywhere the engines look. Your own website was never going to be that place. It is roughly 5% of it, and 5% is not a budget line.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;By Adrian M. Peticila, CMO &amp;amp; AI Practitioner&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;em&gt;Website: &lt;a href="https://peticila.ro" rel="noopener noreferrer"&gt;peticila.ro&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>marketing</category>
      <category>seo</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Why I Built Gorgona: Turning Runaway AI Agents to Stone</title>
      <dc:creator>Adrian M. Peticila</dc:creator>
      <pubDate>Wed, 02 Sep 2026 20:37:03 +0000</pubDate>
      <link>https://dev.to/adrian_m_peticila/why-i-built-gorgona-turning-runaway-ai-agents-to-stone-28ho</link>
      <guid>https://dev.to/adrian_m_peticila/why-i-built-gorgona-turning-runaway-ai-agents-to-stone-28ho</guid>
      <description>&lt;p&gt;Running multiple digital brands simultaneously with autonomous AI agents sounds like a dream until you wake up to a $500 token bill, an agent stuck in an infinite tool call loop, or sensitive credentials leaked into public commits.&lt;/p&gt;

&lt;p&gt;When you manage several brands alone, you cannot afford probabilistic safety. You need cold, deterministic discipline.&lt;/p&gt;

&lt;p&gt;That is why I created &lt;strong&gt;Gorgona&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Problem With Modern Autonomous Agents
&lt;/h2&gt;

&lt;p&gt;Most agent frameworks operate on optimistic recursion. The agent plans, calls tools, observes outputs, and continues thinking. When an unexpected error occurs, the typical failure mode is disastrous:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The Infinite Hallucination Loop&lt;/strong&gt;: The agent attempts to fix a missing dependency, fails, repeats the same terminal command 15 times, and exhausts rate limits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context Bleed&lt;/strong&gt;: An agent working on Brand A accesses notes or credentials meant for Brand B, embedding them into commits or deploy scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The AI Slop Creep&lt;/strong&gt;: Text generated by runaway prompts becomes saturated with buzzwords ("delve into", "tapestry of", "fostering innovation") and unneeded punctuation.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You do not solve deterministic engineering problems with probabilistic prompts like "Please be careful not to leak secrets".&lt;/p&gt;

&lt;p&gt;You solve them with guardrails that &lt;strong&gt;turn runaway agents to stone&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Is Gorgona?
&lt;/h2&gt;

&lt;p&gt;Gorgona is a lightweight, zero-dependency Python engine designed to enforce uncompromising boundaries on AI agents.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;       Autonomous Agent Step
                 │
                 ▼
         [ Gorgona Engine ]
                 │
  ┌──────────────┼──────────────┐
  ▼              ▼              ▼
Exposure     Isolation      Text Clean
 Guard         Guard          Guard
  │              │              │
  └──────────────┼──────────────┘
                 │
         [ Memory Graph ]
                 │
                 ▼
       Verified or Frozen
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If an agent violates a rule, Gorgona halts execution immediately. No polite warnings. No retries. The agent is frozen before disk writes or git commits can occur.&lt;/p&gt;




&lt;h2&gt;
  
  
  Four Pillars of Stone
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Exposure Guard
&lt;/h3&gt;

&lt;p&gt;Detects leaked credentials, Bearer tokens, private SSH keys, and sensitive environment files before any push or deploy action.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Isolation Guard
&lt;/h3&gt;

&lt;p&gt;Enforces strict brand borders. If code or documentation for one client references identifiers from another client, execution stops immediately.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Text Cleaner Guard
&lt;/h3&gt;

&lt;p&gt;Enforces strict prose discipline. It flags AI markers and eliminates characters that scream synthetic generation, including a strict zero em-dash policy.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Memory Graph Guard
&lt;/h3&gt;

&lt;p&gt;Monitors agent recursion using depth-first search cycle detection. If an agent loops over the same action sequence, it triggers an immediate breaker.&lt;/p&gt;




&lt;h2&gt;
  
  
  Zero Dependencies Philosophy
&lt;/h2&gt;

&lt;p&gt;Gorgona was built with standard Python libraries. No heavy dependencies. No network calls. No telemetry. It runs in milliseconds inside lightweight CI/CD containers, local CLI environments, or edge workers.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gorgona doctor
gorgona scan ./output-directory
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  The Future of Solo Engineering
&lt;/h2&gt;

&lt;p&gt;Operating as a solo builder at scale requires ruthless automation paired with ruthless constraints. Autonomous agents are incredible force multipliers, but only if they are held accountable to deterministic standards.&lt;/p&gt;

&lt;p&gt;Gorgona is available open source on GitHub:&lt;br&gt;
👉 &lt;a href="https://github.com/adrianpeticila/gorgona" rel="noopener noreferrer"&gt;https://github.com/adrianpeticila/gorgona&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Turn runaway agents to stone. Build with discipline.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>python</category>
      <category>opensource</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
