<?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: rob smith</title>
    <description>The latest articles on DEV Community by rob smith (@robs46859eng).</description>
    <link>https://dev.to/robs46859eng</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%2F3907851%2F0d567280-aa1d-4b5b-a40f-7559523fe61f.jpg</url>
      <title>DEV Community: rob smith</title>
      <link>https://dev.to/robs46859eng</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/robs46859eng"/>
    <language>en</language>
    <item>
      <title>Cthulhu Daemon: Cephalopoda Engineer</title>
      <dc:creator>rob smith</dc:creator>
      <pubDate>Mon, 26 Oct 2026 04:05:32 +0000</pubDate>
      <link>https://dev.to/robs46859eng/cthulhu-daemon-cephalopoda-engineer-26hd</link>
      <guid>https://dev.to/robs46859eng/cthulhu-daemon-cephalopoda-engineer-26hd</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;While working through an OS I created for vet clinics, I realized that repository review steps can be too time consuming as a solo entreprenuer and needed the codebase to capture first-review context while I focused on expanding features—not simply an agent that silently rewrites production.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cthulhu Daemon&lt;/strong&gt; is a biomimetic code-assurance Symbiont that passively catches signed repository events, keeps captured source inert, and turns changes into a bounded review report using local open-source AI.&lt;/p&gt;

&lt;p&gt;As an animal-focused builder, naturally I gravitated to the behavoirs and engineering that a few of them have masterfully crafted. The apex of them, in my opinion, is the Portuguese man o’ war. provides the intake metaphor: the &lt;strong&gt;Sail&lt;/strong&gt; listens, the &lt;strong&gt;nematocysts&lt;/strong&gt; verify and capture, and &lt;strong&gt;Deep Water&lt;/strong&gt; holds a durable SQLite queue. Five other animal-inspired responsibilities complete the Symbiont:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Clark’s nutcracker:&lt;/strong&gt; a reproducible structural-novelty baseline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prairie dog:&lt;/strong&gt; review-signal triage, with uncertainty visible.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dolphin:&lt;/strong&gt; model unloading after each review.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wolf:&lt;/strong&gt; commit, path, blob, and source-hash provenance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Beaver:&lt;/strong&gt; transactions, backpressure, retries, and recoverable work.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are six engineering (with 8 practical implementations or "tentacles") inspirations in one pipeline, not multiple autonomous agents. The developer returns to evidence and review recommendations, rather than repeating intake and source-retrieval chores.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://cthulhu.arkhamprison.com/" rel="noopener noreferrer"&gt;Open Cthulhu Daemon&lt;/a&gt; · &lt;a href="https://cthulhu.arkhamprison.com/demo/report.json" rel="noopener noreferrer"&gt;Measured JSON&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpf8dwn4vc3b0ldlrn5sd.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpf8dwn4vc3b0ldlrn5sd.jpg" alt="Cthulhu Daemon’s measured report, with dark terminal panels and teal and violet accents" width="800" height="582"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The page is a &lt;strong&gt;saved execution report&lt;/strong&gt;, not a live interactive scanner. Its four fictional source scenarios exercise actual HTTP signature validation, durable queue transactions, source analysis, and local model inference. The run passes &lt;strong&gt;18 orchestration/rehearsal assertions&lt;/strong&gt;. Executable-looking source stays inert; a large benign module receives novelty review without being declared a verified vulnerability.&lt;/p&gt;

&lt;p&gt;A separate trusted fictional service exercises &lt;strong&gt;13 tenant-and-consent contract probes&lt;/strong&gt;. The secure fixture passes all 13. Identical probes detect &lt;strong&gt;three tenant-boundary violations&lt;/strong&gt; and &lt;strong&gt;two consent-boundary violations&lt;/strong&gt; in deliberately faulty controls. Those expected failures demonstrate the harness’s sensitivity to planted defects; they do not certify a real application. Captured repository code is never executed by this rehearsal.&lt;/p&gt;

&lt;p&gt;Four actual Gemma reviews measured &lt;strong&gt;1,073 prompt tokens and 437 output tokens&lt;/strong&gt;, with calls taking approximately &lt;strong&gt;10.6–20.6 seconds&lt;/strong&gt; on a small CPU VM. Model unload was observed after every call.&lt;/p&gt;

&lt;p&gt;The report also preserves a false positive: Gemma suggests a risk in the benign fixture’s ordinary dictionary &lt;code&gt;get()&lt;/code&gt;. That unverified opinion remains visible. The demonstration is not an accuracy benchmark or proof of security.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/robs46859-eng/arkham-creeper" rel="noopener noreferrer"&gt;GitHub repository&lt;/a&gt; · &lt;a href="https://github.com/robs46859-eng/arkham-creeper/tree/46e09e1758fbe3470564d476b7960d9ca1e56046" rel="noopener noreferrer"&gt;Validated runtime snapshot&lt;/a&gt; · &lt;a href="https://github.com/robs46859-eng/arkham-creeper/actions/runs/40246949823" rel="noopener noreferrer"&gt;Passing runtime checks&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The repository includes the &lt;a href="https://github.com/robs46859-eng/arkham-creeper/blob/main/docs/demo/report.json" rel="noopener noreferrer"&gt;preserved measured record&lt;/a&gt;. The validated runtime passes &lt;strong&gt;69 tests&lt;/strong&gt; and the &lt;strong&gt;18-assertion simulation&lt;/strong&gt; locally and in GitHub Actions. Later documentation commits do not represent new model measurements.&lt;/p&gt;

&lt;p&gt;The repository and package retain &lt;code&gt;arkham-creeper&lt;/code&gt; and &lt;code&gt;creeper&lt;/code&gt; identifiers for compatibility; the project’s public name is Cthulhu Daemon.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;A Python listener sits behind an HTTPS reverse proxy. It verifies exact-byte HMAC signatures and the repository allowlist before accepting a delivery. Acknowledgement follows the queue transaction, not merely receipt of an HTTP request. Changed replays are rejected.&lt;/p&gt;

&lt;p&gt;A separate worker retrieves source from GitHub at the full commit SHA supplied by the signature-verified event. It checks file/blob identity and treats source as database text, never an import or executable file. Leases and fencing stop stale workers from completing newer claims. Failed work retries and eventually becomes a dead letter rather than a successful scan.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;scikit-learn IsolationForest&lt;/strong&gt; supplies structural-novelty scoring. &lt;strong&gt;Gemma 3 1B&lt;/strong&gt;, running through local Ollama, explains selected review context. It reads at most three excerpts of 1,200 characters, subject to a stricter &lt;strong&gt;2,000-byte total prompt cap&lt;/strong&gt;. Structured output is bounded and has no tool or patch-execution path. Reports retain model digest, source coverage, tokens, timing, and unload state.&lt;/p&gt;

&lt;p&gt;Tests cover identity checks, replay protection, claim ownership, prompt limits, truthful rendering, HTTP contracts, and deployment recovery.&lt;/p&gt;

&lt;p&gt;The terminal presentation uses embedded Cinzel, JetBrains Mono, and Space Mono fonts. No client-side script or remote font request is needed to inspect the report.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;The runtime model stays in the worker’s controlled environment instead of sending source to a hosted LLM API. Engineers can inspect the orchestration, constrain excerpts, change review rules, and identify the exact model artifact that produced an opinion.&lt;/p&gt;

&lt;p&gt;After installing the runtime and weights, inference is local. Live webhook delivery and GitHub retrieval still need a network connection, and hosting still costs money. Private installations require separate credentials, allowlists, queues, and report destinations; the public demo contains fictional data.&lt;/p&gt;

&lt;p&gt;The pipeline code is MIT licensed. &lt;a href="https://ai.google.dev/gemma/terms" rel="noopener noreferrer"&gt;Gemma’s separate terms&lt;/a&gt;, upstream software licenses, and the embedded fonts’ SIL Open Font License remain applicable.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;I used &lt;strong&gt;Gemini for the initial brainstorming&lt;/strong&gt;, exploring how the challenge’s theme could become background review work. I asked about wolf-like traceability, beaver resilience, prairie-dog triage, and nutcracker memory, then added dolphin attention and a man o’ war intake layer.&lt;/p&gt;

&lt;p&gt;These selected excerpts show that design conversation—not implementation results.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My prompt about the animal processes (excerpt):&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;integrate a dynamic scent trail similar to wolves, self-healing like a beaver dam, filter like a prairie dog system, and spatial Intel like a clarks nutcracker&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;My follow-up about orchestration:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Create an addition to the submission that adds an orchestration similar to how the man ‘o war operates&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Gemini identifying a gap in the early mock-loop design (excerpt):&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;there was no actual external routing happening.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That diagnosis mattered: a proposed gateway is not a verified integration. The conversation supplied the design brief, not proof of successful scans, quarantines, or patches. The delivered Symbiont deliberately narrows the ambitious brainstorm to signed durable intake, commit-bound provenance, bounded advisory analysis, and observed model unloading. Automatic repair, guaranteed vulnerability detection, and eliminated false positives are not delivered claims.&lt;/p&gt;

&lt;p&gt;I used OpenCode for implementation, testing, deployment, and this write-up. Gemini and Codex were development assistants; the product’s runtime AI is &lt;strong&gt;scikit-learn and local Gemma&lt;/strong&gt;. The public source, tests, and measured fictional-data record establish what ran. Only these selected conversation excerpts are shared; the complete transcript remains private.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;p&gt;I wired this workflow to the project’s own repository pushes. I found that Intake, duplicate handling, source retrieval, and review preparation occured in the background without manually launching each scan.&lt;/p&gt;

&lt;p&gt;The payoff is a repeatable handoff: leaving the pipeline floating, then inspecting  its report. I measured pipeline execution, not human productivity, so I am not claiming hours saved. Human review remains the final decision. No automatic repairs, verified zero-days, or operating-system execution sandbox is claimed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma:&lt;/strong&gt; local Gemma 3 1B meaningfully produces the measured review summaries and recommendations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of GitHub Copilot — GitHub Actions automation path:&lt;/strong&gt; the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;category description&lt;/a&gt; includes project automation with GitHub Actions. The &lt;a href="https://github.com/robs46859-eng/arkham-creeper/blob/main/.github/workflows/ci.yml" rel="noopener noreferrer"&gt;workflow&lt;/a&gt; runs the tests and simulation on pushes and pull requests with read-only repository permissions. This claim uses that Actions route, not Copilot’s coding agent, CLI, or app.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Code flows in. Evidence surfaces. Human-in-the-loop keeps the output honest.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>hf26challenge</category>
      <category>devchallenge</category>
      <category>gemma</category>
      <category>githubcopilot</category>
    </item>
  </channel>
</rss>
