<?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: emilpz320-a11y</title>
    <description>The latest articles on DEV Community by emilpz320-a11y (@emilpz320a11y).</description>
    <link>https://dev.to/emilpz320a11y</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%2F4246884%2F6290a046-0970-4c28-83b9-ecb4c52f2009.png</url>
      <title>DEV Community: emilpz320-a11y</title>
      <link>https://dev.to/emilpz320a11y</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/emilpz320a11y"/>
    <language>en</language>
    <item>
      <title>Commit Pulse: git commits stamped with your heartbeat, and a map of the files that raise it</title>
      <dc:creator>emilpz320-a11y</dc:creator>
      <pubDate>Mon, 16 Nov 2026 04:54:54 +0000</pubDate>
      <link>https://dev.to/emilpz320a11y/commit-pulse-git-commits-stamped-with-your-heartbeat-and-a-map-of-the-files-that-raise-it-14f2</link>
      <guid>https://dev.to/emilpz320a11y/commit-pulse-git-commits-stamped-with-your-heartbeat-and-a-map-of-the-files-that-raise-it-14f2</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/presage-2026-11-04"&gt;Presage SmartSpectra SDK Challenge&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Commit Pulse&lt;/strong&gt; gives your git history a heartbeat. A small local Node app reads your pulse from the camera with the Presage SmartSpectra SDK. Every time you commit, a &lt;code&gt;prepare-commit-msg&lt;/code&gt; hook stamps the median of your last minute onto the commit. This one is from the demo below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;fix: handle expired refresh token

Heart-Rate: 82 bpm
Commit-Pulse: elevated (median of last 56s, SmartSpectra)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then the &lt;strong&gt;stress map&lt;/strong&gt; reads those trailers back out of &lt;code&gt;git log&lt;/code&gt; and ranks files by how far their commits sit above &lt;em&gt;your own&lt;/em&gt; baseline. Your &lt;code&gt;auth/&lt;/code&gt; folder probably makes your heart race. Now you can prove it.&lt;/p&gt;

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

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/HZ3Iq2bpCuQ" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;One take, real data: my live pulse next to the camera preview, one-click hook install, four real commits, the stress map, &lt;code&gt;git log&lt;/code&gt; with the trailers, and pausing the camera.&lt;/p&gt;

&lt;p&gt;Code and setup instructions: &lt;a href="https://github.com/emilpz320-a11y/commit-pulse" rel="noopener noreferrer"&gt;https://github.com/emilpz320-a11y/commit-pulse&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Responds to Human Signals
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live signal:&lt;/strong&gt; pulse rate (SmartSpectra &lt;code&gt;cardioMetrics&lt;/code&gt;); breathing rate when the chest is in frame.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smoothing:&lt;/strong&gt; a 60-second rolling median, with a readiness gate (about 15 s of steady reading) so a commit never gets a stamp from a half-formed measurement.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Commit hook:&lt;/strong&gt; asks &lt;code&gt;127.0.0.1:47647/now&lt;/code&gt; for the current median. No app, no reading, or a paused camera means no stamp, and the hook never blocks a commit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stress map:&lt;/strong&gt; per-file average pulse versus your personal median. It compares you with you, never with a population norm.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Phone camera over Wi-Fi:&lt;/strong&gt; during development the DroidCam virtual webcam driver handed the SDK solid green frames, so the SDK kept saying "No face found." I added an MJPEG input (&lt;code&gt;lib/mjpeg.js&lt;/code&gt;) that decodes the phone's stream and pushes RGB frames through the SDK's custom input (&lt;code&gt;useCustomInput()&lt;/code&gt; + &lt;code&gt;sendFrame()&lt;/code&gt;) with real capture timestamps. At 640×480 it holds about 28 fps, above the SDK's 25 fps minimum. In this mode the dashboard shows a small local camera preview (newest frame in memory only, relayed to 127.0.0.1) so you can check your framing.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Consent and Data Handling
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The camera is on only while the dashboard says &lt;em&gt;measuring&lt;/em&gt;; &lt;strong&gt;Pause camera&lt;/strong&gt; stops the SDK and releases the device.&lt;/li&gt;
&lt;li&gt;Frames are processed on this machine by the SmartSpectra SDK and are never written to disk or sent anywhere by Commit Pulse.&lt;/li&gt;
&lt;li&gt;The only thing stored is a few short trailers, on commits &lt;em&gt;you&lt;/em&gt; make, in repositories where &lt;em&gt;you&lt;/em&gt; installed the hook. Remove the hook from the dashboard or use &lt;code&gt;git commit --no-verify&lt;/code&gt; to skip it. Trailers are part of git history, so think before pushing them to a public repo.&lt;/li&gt;
&lt;li&gt;No database: at most 60 s of numbers (5 minutes for the live chart) live in memory and vanish when the app closes.&lt;/li&gt;
&lt;li&gt;SDK telemetry is &lt;strong&gt;off by default&lt;/strong&gt;; opt in with &lt;code&gt;SMARTSPECTRA_TELEMETRY=1&lt;/code&gt;. The SDK does authenticate the API key with Presage.&lt;/li&gt;
&lt;li&gt;No AI services are used.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Not medical.&lt;/strong&gt; "Racing" means "above &lt;em&gt;your&lt;/em&gt; usual", nothing more. No diagnosis, no decisions about anyone's health, and it only ever measures the person sitting at their own keyboard who started it.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Best Thoughtful Real-World Use: a small, consent-first habit tool for developers. It only measures the person who started it, at their own keyboard, and every stamp is something they can see, skip or remove.&lt;/p&gt;

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

&lt;p&gt;Built with Claude Code as a coding agent: it wrote and tested the app, diagnosed the blank DroidCam frames by dumping what the SDK actually received, added the phone-stream input, and recorded and edited the demo.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>presagechallenge</category>
      <category>git</category>
      <category>node</category>
    </item>
  </channel>
</rss>
