8000 elecnix (Nicolas Marchildon) · GitHub
[go: up one dir, main page]

Skip to content
View elecnix's full-sized avatar

Highlights

  • Pro

Organizations

@PrizmalAi

Block or report elecnix

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
elecnix/README.md

Nicolas Marchildon

Coding agents

An agent's question waits in whichever terminal asked it, so with ten sessions open it is found late or never. Your Attention collects every question into one queue of cards, one at a time, each showing whether its agent is still listening, busy, or offline. An answer routes back to that session within a second, and waits there if the session went offline rather than being lost. Every answer carries a delivery state — stored, delivered, read by the model — because "answered" and "seen" are different facts.

Cards can carry a Mermaid diagram, parsed before the card is shown, so a broken one returns to the agent with the parser's error instead of appearing as an error box. A card can also request a secret: the browser encrypts it for that session, and the model is given a file path rather than a value.

One card at a time: a priority queue on the left, the open card on the right

Reading your own agent transcripts to find the prompts and skills that waste turns is work nobody does. pi-prospector does it instead: it indexes sessions from five harnesses into a local database, measures every turn, and produces ranked proposals about what to change. Nothing it proposes is applied.

Indexing is incremental and deterministic — only new lines are parsed, forked sessions share their message tree — and a model is consulted only where the signal justifies the spend. The output is an append-only graph in which each verdict keeps its evidence and is recomputed only when something it depends on changes.

Starting a child agent takes one call. Knowing whether it is working, stalled, waiting for input, or already dead is the harder half, and most setups answer it by watching a terminal. Bellwether subscribes to herdr pane state and gives the parent a new turn whenever a child reports, goes idle, blocks, stalls, or exits — five signals with their own settle times, so three seconds of "blocked" is distinguished from ten minutes of silence.

Most of the design handles failure. A child's record reaches disk before herdr is asked to spawn anything, so a crash halfway through still says what was requested. The subscription opens before the snapshot is read, since herdr does not replay events, so a reconnect reconciles instead of assuming continuity. One outbox entry per child lets newer state replace older, marked read only once the parent's context contains it.

Code review

AI reviewers get muted because they comment on style, on files nobody touched, and on lines they cannot demonstrate. Cite is built around one rule: a finding that cannot quote the line it is about is dropped, not reworded. It reviews with the model you choose, anchors comments to real lines, and publishes a check run a repository may require before merge.

Noise is treated as a contract rather than a hope: ten comments per review, two per file, three on a small pull request, no style comments, and a push re-reviews only the files whose content changed while earlier findings elsewhere stand untouched. Nothing to say means nothing posted. Cost is printed per run, and a run the provider does not price reads unknown rather than $0.0000. Adoption needs no new file, because it reads the instruction files a team already has, and its compatibility tiers are dated with a test fixture behind each guarantee.

A codebase that is twelve percent duplicated was twelve percent duplicated before the branch under review and will still be next week. A job reporting that constant says nothing about the change in front of it, which is why duplication reports get muted. dupdelta scans a branch and its merge-base and reports only what appeared between them: no baseline to regenerate, no allowlist to triage, no threshold to keep tuning.

Adding a language is a table and a registry entry rather than code, and a test asserts that every node kind a language declares exists in the grammar linked against it, so a typo cannot quietly turn a language into one that finds nothing.

Watching pull requests

gh shows a pull request body and a check list. Inline review threads are invisible, and an agent working on the pull request has no idea that a reviewer replied, CI went red, or the branch now conflicts. gh-monitor turns a pull request into a stream of events, one line per genuinely new change and nothing when nothing changed, with adapters for the terminal, for Claude Code (claude-gh-monitor) and for Pi (pi-ghpr-monitor).

Most of the design shows under failure. A failing API surface is reported once per episode instead of once per poll, and the recovery notice states which events were missed and will not be replayed, because the cursor only advances on a successful fetch; a consumer that knows it has a hole can backfill. When GitHub rate-limits the expensive query, the watch continues over a cheaper surface with its own budget. It began as a fork of an extension whose useful pull requests had gone unmerged upstream, and the fork carries them.

Infrastructure

An aws_backup_vault needs kms:CreateGrant, and no Terraform plan says so. The gap surfaces as a failed apply three deploys later, or not at all when the plan happens to be a no-op. PermCheck reads the plan, maps each resource type to its cloud schema, and diffs what those resources require against the policy of the role that will apply them — including what a plan cannot show, such as the secret an application reads at startup or the image a workflow verifies before deploying.

For AWS it does not trust CloudFormation. It parses the terraform-provider-aws source, follows each resource's create, read, update and delete into helpers, retry closures and paginators, and embeds the resulting table in the binary, so a run never clones the provider and CloudFormation covers only what the parse misses.

A frontend taking ten thousand requests a second implies a load on everything behind it, and that derived load is what a cost model needs. Tools that ask for a static figure per resource cannot produce it. Here demand propagates through the service dependency graph and the formulas stay symbolic, so a what-if sweep re-evaluates parameters instead of re-deriving the model, and comparing two architectures is a sweep rather than a rewrite. Each metric maps to the line of the cloud bill it lands on, and each concept cites the paper it came from.

Financial planning

Planning tools hide their assumptions and return a confident number. lifedraft takes a household — people, accounts, debts, properties, beliefs about returns — plus the options being weighed, simulates each through decades of tax and account rules, and ranks them by what survives after tax. The ranking is the whole output; the choice stays with the reader.

Two questions do more work than the ranking. One puts a dollar value on resolving each unknown in the file and ranks them, which turns a first run from a two-hundred-field form into the short list of lookups that pay. Another labels every value measured, stated, derived, assumed, or unknown. Mortgages and retirement ship as data packages, so the engine stays generic while the rules stay reviewable.

Smaller tools

  • visual-reviewer — a green Playwright test means its assertions passed. visual-reviewer asks separately whether the software did what the test was meant to verify, and shows the request and the screen text when it did not. Advisory only, so it never fails a build.
  • gh-pr-banner — sets, updates and clears a banner in a pull request body without regenerating the body, so the text outside the markers is preserved byte for byte and a model is never asked to re-emit prose it might quietly change.
  • usage-tracker — anonymous daily usage counts for an open-source tool, on your own Cloudflare free plan. Your config lists the dimensions and the Worker stores nothing else, so a report has nowhere to put a user's text or a file path.

Everything else public here is a fork, an experiment, or archived code.

Pinned Loading

  1. your-attention your-attention Public

    One inbox where all your coding agents ask you questions as cards, and each answer goes back to its session within a second.

    TypeScript

  2. lifedraft lifedraft Public

    Financial rehearsal — draft the life before you live it

    Python 1 1

  3. infra-cost-model infra-cost-model Public

    Infrastructure cost modeling with usage derivation: compute cloud costs from traffic flowing through service dependency graphs

    Python

  4. terraform-permcheck terraform-permcheck Public

    Cloud-agnostic Terraform IAM policy validator — pre-apply check that ensures your deploy role has the permissions required by every resource in the plan.

    Go

  5. gh-monitor gh-monitor Public

    Forked from v2nic/gh-pr-review

    GitHub CLI extension that adds full inline PR review comment support — view, navigate, reply to, and resolve review threads directly from the terminal. LLM-ready and ideal for automated PR review a…

    Go 4

  6. pi-prospector pi-prospector Public

    Forked from v2nic/pi-prospector

    Incremental session indexing and proposal generation for the Pi coding agent

    TypeScript 2

0