HackerTrans
TopNewTrendsCommentsPastAskShowJobs

nulone

no profile record

Submissions

Show HN: JQ-Synth – Generate jq filters from input/output examples

github.com
1 points·by nulone·6 ay önce·1 comments

comments

nulone
·5 ay önce·discuss
Nice. Does this work across multiple machines / moved repos (same project, different local path), or is it strictly path-based?
nulone
·5 ay önce·discuss
The ASCII output is the missing piece for AI-assisted coding workflows. LLMs can spit out Mermaid, but you can't see the diagram inline in a terminal/code-review context. This fixes that.
nulone
·6 ay önce·discuss
How did you catch it — scanner, review, or just noticed manually? I treat agent-generated diffs as untrusted by default now.
nulone
·6 ay önce·discuss
Makes sense — execution boundary is the right place.

I'd prioritize audit logs + correlation IDs, and short-lived creds per tool call. Do you expose tool capabilities to the planner without exposing creds?
nulone
·6 ay önce·discuss
How do you handle side-effectful tools and secrets? Least-privilege and auditing seem hard once any Python function can become a tool (scoped creds, revocation, logs).
nulone
·6 ay önce·discuss
Orchestration buys parallelism, not coherence. More agents means more drift between assumptions. Past a point you're just generating merge conflicts with extra steps.
nulone
·6 ay önce·discuss
NVLink postRxDetLinkMask errors show up right before the hang. Has anyone captured a bug report or stack trace while nvidia-smi is stuck to see what it's blocking on?
nulone
·6 ay önce·discuss
Looks like an airplane, fails under real inspection. Same smell in diffs: bugfix turns into refactor. Review eats the "velocity." Revert rate keeps you honest.
nulone
·6 ay önce·discuss
Merge cost kills this. Does the harness enforce file/ownership boundaries per worker, and run tests before folding changes back into the lead context?
nulone
·6 ay önce·discuss
The “craftsman to Ikea factory manager” line from the interview is the real headline here. AI does the fun creative stuff, you get stuck reviewing 2000 lines you didn’t write. Revert rate tells you more than any “10x” claim.
nulone
·6 ay önce·discuss
Triage time is the real cost. Even obvious junk takes a couple minutes to read. Surprised bounty platforms dont have a "prove you ran it" step -- version, command, actual output.
nulone
·6 ay önce·discuss
Cognitive overhead is real. Spent the first few weeks fixing agent mess more than actually shipping. One thing that helped: force the agent to explain confidence before anything irreversible. Deleting a file? Tell me why you're sure. Pushing code? Show me the reasoning. Just a speedbump but it catches a lot. Still don't buy the full issue→PR dream though. Too many failure modes.
nulone
·6 ay önce·discuss
I can never remember jq syntax.

Whenever I need to transform JSON, I spend 20 minutes guessing filters until something works.

So I built a CLI tool: give it input JSON and desired output, it generates the jq filter.

Example:

  Input:
  [{"name": "Alice", "email": "[email protected]"},
   {"name": "Bob"},
   {"name": "Charlie", "email": "[email protected]"}]

  Wanted:
  ["[email protected]", "[email protected]"]

  Generated:
  [.[] | select(.email != null) | .email]
How it works:

1. Takes your input/output examples

2. Generates a filter, runs jq, verifies the output matches

3. If wrong, retries automatically

Works with local models (Ollama) or cloud (OpenAI/Anthropic).

~450 tests, MIT licensed.

Curious what edge cases break it.
nulone
·6 ay önce·discuss
Solid primitive. Two questions:

1. Crash edge case: If an agent executes a side-effect and dies before signing the receipt, is that action orphaned? Any WAL-style intent/completion model?

2. Multi-step workflows: Do receipts chain natively (parent pointers/Merkle) or via external linking? (I see storage/ledgers are out of scope, but curious about the linkage design.)

The negative proof angle (proving AI didn't touch prod) is compelling for compliance.