MurphyA/hacker-news huggingface dataset:
Show HN: Cognitive architecture for Claude Code – triggers, memory, docs
by 9wzYQbTYsAIc | 2026-03-05 18:05:42+00:00
This started as a psychology research project (building a psychoemotional safety scoring model) and turned into something more general: a reusable cognitive architecture
for long-running AI agent work.

The core problem: Claude Code sessions lose context. Memory files live outside the repo and can silently disappear. Design decisions made in Session 3 get forgotten by
Session 8. Documentation drifts from reality.

Our approach — 12 mechanical triggers that fire at specific moments (before responding, before writing to disk, at phase boundaries, on user pushback). Principles
without firing conditions remain aspirations. Principles with triggers become infrastructure.

What's interesting:

- Cognitive trigger system — T1 through T12 govern agent behavior: anti-sycophancy checks, recommend-against scans, process vs. substance classification, 8-order
knock-on analysis before decisions. Not prompting tricks — structural firing conditions.
- Self-healing memory — Auto-memory lives outside the git repo. A bootstrap script detects missing/corrupt state, restores from committed snapshots with provenance
headers, and reports what happened. The agent's T1 (session start) runs the health check before doing anything else.
- Documentation propagation chain — 13-step post-session cycle that pushes changes through 10 overlapping documents at different abstraction levels. Content guards
prevent overwriting good state with empty files. Versioned archives at every cycle.
- Git reconstruction from chat logs — The project existed before its repo. We rebuilt git history by replaying Write/Edit operations from JSONL transcripts, with a
weighted drift score measuring documentation completeness. The divergence report became a documentation coverage report.
- Structured decision resolution — 8-order knock-on analysis (certain → likely → possible → speculative → structural → horizon) with severity-tiered depth and
consensus-or-parsimony binding.

All built on Claude Code with Opus. The cognitive architecture (triggers, skills, memory pattern) transfers to any long-running agent project — the psychology domain is
the first application, not a constraint.

Design phase — architecture resolved, implementation of the actual psychology agent hasn't started. The infrastructure for building it is the interesting part.

Code: https://github.com/safety-quotient-lab/psychology-agent

Highlights if you want to skip around:
- Trigger system: docs/cognitive-triggers-snapshot.md
- Bootstrap script: bootstrap-check.sh
- Git reconstruction: reconstruction/reconstruct.py
- Documentation chain: .claude/skills/cycle/SKILL.md
- Decision resolution: .claude/skills/adjudicate/SKILL.md
- Research journal: journal.md (the full narrative, 12 sections)

Happy to discuss the trigger design, the memory recovery pattern, or why we think documentation propagation matters more than people expect for AI-assisted work.
by ivan_gammel | 2026-03-05 18:05:43+00:00
> The wahl-o-mat is not biased, it's based on the respective election programs.

That’s exactly my point. If a problem exists or a solution to a problem is possible about which no party is willing to talk about, it will not show it. The choice of topics is based on party opinions, not on voter surveys. This is called bias.

> Also feel free to peruse election programs yourself.

I read the full programs. This is the main reason why I think German political system is in the state of crisis.

> I'm a member of a party.

You surely know some examples when a party member shaped the discourse and set the course of institutional reforms. How long did it take for that person to achieve such results?
by cypherpunks01 | 2026-03-05 18:05:48+00:00
Me: huh, 0.4.4 version, this project must have been around for a little while.

checks https://github.com/googleworkspace/cli/tags

v0.1.1 2 days ago

v0.2.2 yesterday

v0.3.3 18 hours ago

v0.4.2 9 hours ago

v0.5.0 8 minutes ago

Interesting times we live in..
by decafninja | 2026-03-05 18:06:13+00:00
In the US, including NYC, it’s more likely the offender will subject his fellow passengers to violence (or threats of) if confronted.

Most people will choose to ignore the offender rather than poke a potentially crazy bear.

Of course it’s stuff like this that make people here hate public transportation. But often times transit advocates choose to ignore problems like this saying there’s nothing wrong.
by BoredomIsFun | 2026-03-05 18:07:28+00:00
> we recommend a 3000-series NVIDIA graphics card with at least 6GB of VRAM

...which is not by any means a powerful GPU, and besides the AMD Ryzen AI CPUs in question have a plenty enough capacity to run local LLMs esp. MoE ones; with 3b active MoE parameters miniPC equipped with these CPUs dramatically outperform any "3000-series NVIDIA graphics card with at least 6GB of VRAM".

> please be respectful when discussing technical matters.

That is more applicable to your inappropriately righteous attitude than to mine.
by domenkozar | 2026-03-05 18:07:39+00:00
We see project specific environments superior to having global packages installed.

You can do things like creating ad-hoc environments:

$ devenv -O languages.rust.enable:true shell

Once you teach your coding agent to use it, it will just use it to get packages if needs any: https://devenv.sh/integrations/claude-code/#global-configura...
by Kiboneu | 2026-03-05 18:08:02+00:00
Nah, you can snapshot every 15 minutes. The snapshot interval depends on the frequency of changes and their capacity, but it's up to them how to allocate these capacities... but it's definitely doable and there are real reasons for doing so. You can collapse deltas between snapshots after some time to make them last longer. I'd be surprised if they don't do that.

As an aside, snapshotting would have prevented a good deal of horror stories shared by people who give AI access to the FS. Well, as long as you don't give it root.......
by lyu07282 | 2026-03-05 18:08:30+00:00
Israeli malware companies also use targeted ads to use drive-by exploits to infect people's devices using ad networks based on IP addresses:

https://securitylab.amnesty.org/latest/2025/12/intellexa-lea...

The fact that we still just allow arbitrary 3rd party code to run through ad networks is bizarre.
Show HN: A unified event protocol dashboard for startup founders
by contact_codevia | 2026-03-05 18:08:33+00:00
Hi HN,

I built this because I exhausted myself context-switching across 15 different dashboards just to see what was happening with my startup.

This is a prototype of a unified event protocol. It acts as a central nervous system, aggregating events from Stripe, GitHub, Slack, Hubspot, and more into a single "Command Center" feed.

You can try the live demo without creating an account by just clicking the "Demo Access" tab on the login screen. It will drop you into a dummy workspace with sample data.

I'm sharing it early because I'd love your brutal, honest opinions on the architecture/protocol approach and the UX before I build it out further. Thanks!
by matthewdgreen | 2026-03-05 18:09:04+00:00
This is naive. For larger firms, targeted product and industry-specific tariffs can be a game-changer. For example, Trump created a set of exemptions related to smartphones built in China that weren't officially aimed at Apple, but since Apple sells approximately 50% of US smartphones (for a much larger slice of profit) and 80% are made in China, this disproportionately affected a single company. But there are other areas where the administration can also use Federal power: see, for example, Trump's use of Federal approval to block the Netflix/WB merger as one example.
by drooby | 2026-03-05 18:09:13+00:00
Well, two things worth considering.

First, training isn't a one-time event. These companies are continuously scraping new data, training new model generations, ingesting new human output. Every new model is a new extraction event. The fact that GPT-4 already trained on your 2022 blog post doesn't mean the window is closed. GPT-6 will train on your 2025 and 2026 output too. There's always a live point at which to assert a collective claim.

Likely - these models will always be training on us to better understand us and continue to be of value to us commercially.

Second, "anyone could redo it with the right resources" is technically true but practically meaningless. Anyone could theoretically drill for oil too. The barrier was never access to the crude sitting in the ground. It was the billions in infrastructure needed to extract and refine it. Same here. The data is public, but the compute required to turn it into a frontier model costs billions. That concentration of capital is exactly why a public claim on the value makes sense, just like it did with oil.
by indrora | 2026-03-05 18:09:14+00:00
> For example ReactOS won't let you contribute if you have ever seen Windows code. Because if you have never seen it, there can be no allegation that you copied it.

I've heard this called in some circles "The curse of knowledge." The same thing applies to emulator developers, especially N64 developers (and now Nintendo emulator developers in general) after the Oman Archive and later Gigaleaks. There's an informal "If you read this, you can NEVER directly contribute to the development of that emulator, ever."

This comes to a head when a relatively unknown developer starts contributing oddly specific patches to an emulator.
by ViewTrick1002 | 2026-03-05 18:09:17+00:00
Storage at that scale already exists in for example California.

EDF in France is now crying that renewables are cratering the earning potential of their nuclear fleet, and increasing maintenance costs due to having to adapt.

In e.g. Australia coal plants are forced to become peakers, or be decommissioned.

We need firming for when the 10 year winter hits. Not an inflexible "baseload" plant producing enormously subsidized electricity when renewables and storage already flood the grid. Which is far above 90% of the time.
by bsimpson | 2026-03-05 18:09:28+00:00
Flash was an onramp to UX engineering in a way that no current tool compares to.

You would start out drawing, get tired of the repetitive parts, and learn to automate them. Eventually, you end up with an FLA file that's just an asset library and a reference to a script.

Plus, it had the most intuitive vector editor I've ever used.
by adampunk | 2026-03-05 18:09:37+00:00
I think we're closer to the 2nd than the 1st example, at least outside of the united states.

The issue isn't just tire abrasion (which will be much higher w/ EVs), but local emissions, which are *really* bad. Like we're all fucked due to CO2, but the kids getting messed up before adulthood due to chemical/particulate damage to their lungs are getting it from ICE vehicles.

We could argue that personal electric vehicles allow for ICE cars to have a graceful transition rather than the shock changeover that's needed or that the use of either crowds out mass transit, but that's just to say that if a frog had wings he wouldn't bump his ass hopping.
by shevy-java | 2026-03-05 18:09:42+00:00
Would be kind of cool. Flash 2.0. Or 10.0.

One may say "but but but HTML5!" - but many games or applications that used to exist, are mostly gone (not all but many). Flash was creative. Joecartoon was fun back in those days; the HTML version is kind of ... lifeless compared to it. Granted, a lot of the "old" internet was also different so it is hard to compare.
by icegreentea2 | 2026-03-05 18:10:11+00:00
Here's a paper (from July 2025) on previous steps in this program, getting up the initial testing in flight. Maximum uplink laser power of 20W, though they got good performance all the way down to 2W. The sat has a laser pointing down that was used to help lock on, but it's not clear if it has any meaningful downlink capability, all discussions are about uplink capability. Lots a nerdy details here.

https://www.spiedigitallibrary.org/conference-proceedings-of...

In addition, here's a random paper on the testing performed on the space borne laser terminals - https://icsos2012.nict.go.jp/pdf/1569586689.pdf

This tells us that the laser terminals have a FOV of +/-2.5mrad in acquisition mode (so before lock on), and +/-0.5mrad in communication/tracking mode. This corresponds ~100km and ~20km radius FOV from GEO to surface.
by tw85 | 2026-03-05 18:10:24+00:00
This thread is quite eye opening. A lot of comments bemoaning the lack of agreement on what constitutes bias, mixed with claims the BBC is right wing and even a Nigel Farage fluffer (that's a howler).
I didn't see anyone mention that, just a couple months back, two very high profile BBCers were forced to resign over the doctoring of Trump's Jan. 6 speech to completely alter its meaning. That simply doesn't happen unless it's a very serious scandal.
by j_w | 2026-03-05 18:10:31+00:00
This isn't even true. OSRS was on life support with very few players for years until they started giving it updates.

Turns out the 2007 version of the game was ROUGH for a lot of reasons - they picked the time because, IIRC, it was the most complete backup they had.

OSRS has now had nearly a decade of consistent updates, a large team, and typically 10x the online player count of the "modern" game. The catch is that OSRS is not the 2007 version of the game, it's an alternative update timeline which broke off at the 2007 version of the game.
Ask HN: Moving from Software Engineer to PM or another area?
by mr_00ff00 | 2026-03-05 18:10:41+00:00
With AI growing and taking away the “coding” part of my job, but leaving the messy real-world on-call and code reviewing, I am enjoying my work less and less.

I’m relatively knew to SWE (5 YOE), but I’ve lost a lot of passion for my work.

I am thinking of switching to technical product management or maybe just managing, but was recently laid off so I have no company that I can switch to another team with.

Was looking for stories and advice. For anyone who has switched, what new roles have you enjoyed? Is it hard to land those roles with only engineering experience and no PM or managing experience? I am a dual citizen with US and EU, is it worth trying one over the other for the switch?
by BoredomIsFun | 2026-03-05 18:11:03+00:00
> when it can be taken at face value that the cost increase vastly outstrips anything that could be attributed to inflation

But that was not my point _whatsoever_. What I said is - every time you bring the explicit numbers (like in GP "$500 for 32GB is about $15/GB which is a high we haven't seen since the mid-2000s") you _absolutely_ have to adjust for inflation to have a meaningful conversation. This is it.
by contact_codevia | 2026-03-05 18:11:09+00:00
Hi HN,

I built this because I exhausted myself context-switching across 15 different dashboards just to see what was happening with my startup.

This is a prototype of a unified event protocol. It acts as a central nervous system, aggregating events from Stripe, GitHub, Slack, Hubspot, and more into a single "Command Center" feed.

You can try the live demo without creating an account by just clicking the "Demo Access" tab on the login screen. It will drop you into a dummy workspace with sample data.

I'm sharing it early because I'd love your brutal, honest opinions on the architecture/protocol approach and the UX before I build it out further. Thanks!
by shadowgovt | 2026-03-05 18:11:17+00:00
If she's a practicing artist, she almost certainly cut her teeth doing tracing at some point. And if a digital artist, she almost certainly used a cracked copy of a tool.

The big eye-opener for me in college was taking a class that put me up-close with artists and learning that there were, in the whole class, a grand total of two students who hadn't started doing 3D modeling on a cracked copy of Maya (and the two, if memory serves, learned on Blender).
by DannyBee | 2026-03-05 18:12:33+00:00
Lawyer here. Its not. This article is highly confused. The case was about whether an AI could be considered an author for copyright purposes. Mainly as a way of arguing for robot rights, not copyright. The person listed the AI as the sole author: On the application, Dr. Thaler listed the Creativity Machine as the work’s sole author and himself as just the
work’s owner.

This is not the first time someone tried to say a machine is the author. The law is quite clear, the machine cant be an author for copyright purposes. Despite all the confused news articles, this does not mean if claude writes code for you it is copyright free. It just means you are the author. Machines being used as tools to generate works is quite common, even autonomously. ill steal from the opinion here:

In 1974, Congress created the National Commission on
New Technological Uses of Copyrighted Works (“CONTU”)
to study how copyright law should accommodate “the creation
of new works by the application or intervention of such
automatic systems or machine reproduction.”

...

This understanding of authorship and computer
technology is reflected in CONTU’s final report:
On the basis of its investigations and society’s experience
with the computer, the Commission believes that there is
no reasonable basis for considering that a computer in any
way contributes authorship to a work produced through its
use. The computer, like a camera or a typewriter, is an
inert instrument, capable of functioning only when
activated either directly or indirectly by a human. When
so activated it is capable of doing only what it is directed
to do in the way it is directed to perform.

...

IE When you use a computer or any tool you are still the author.

The court confirms this later:

Contrary to Dr. Thaler’s assumption, adhering to the
human-authorship requirement does not impede the protection
of works made with artificial intelligence. Thaler Opening Br.
38-39.
First, the human authorship requirement does not prohibit
copyrighting work that was made by or with the assistance of
artificial intelligence. The rule requires only that the author of that work be a human being—the person who created,
operated, or used artificial intelligence—and not the machine
itself. The Copyright Office, in fact, has allowed the
registration of works made by human authors who use artificial
intelligence.

There are cases where the use of AI made something uncopyrightable, even when a human was listed as the author, but all of the ones i know are image related.
by CaptainNegative | 2026-03-05 18:13:08+00:00
> but at some point a state based cyber attack that just wipes wikipedia off the net is deeply damaging to our modern society’s ability to agree on common facts

Haven't we hit that point already with bad faith (and potentially government-run) coordinated editing and voting campaigns, as both Wales and Sanger have been pointing out for a while now?

See, for example,

* Sanger: https://en.wikipedia.org/wiki/User:Larry_Sanger/Nine_Theses

* Wales: https://en.wikipedia.org/wiki/Talk:Gaza_genocide/Archive_22#...

* PirateWires: https://www.piratewires.com/p/how-wikipedia-is-becoming-a-ma...
by dlivingston | 2026-03-05 18:13:10+00:00
I mean sure, but that's never going to happen, so complaining about it is just shaking your fist at the sky. The only way it will change is if the economics of the web change. Maybe that is the economics of developer time (it being easier/fast/more resilient and thus cheaper to do native dev), or maybe it is that dynamic scripting leads to such extreme vulnerabilities that ease of deployment/development/consumer usage change the macroeconomics of web deployment enough to shift the scales to local.

But if there's one thing I've learned over the years as a technologist, it's this: the "best technology" is not often the "technology that wins".

Engineering is not done in a vacuum. Indeed, my personal definition of engineering is that it is "constraint-based applied science". Yes, some of those constraints are "VC buxx" wanting to see a return on investment, but even the OSS world has its own set of constraints - often overlapping. Time, labor, existing infrastructure, domain knowledge.
by jsbisviewtiful | 2026-03-05 18:14:23+00:00
> It's never popular when I post this

That's because you're coming off holier than thou and condescending. Anyone who understands gadgets will say phones are highly trackable and will have told anyone that well over 10+ years ago. It's a trade off of value. Corporations/gov can track me while I have my phone, but turn by turn directions, maps and a camera while wandering around are useful. We could legislate that traceability away in the US to an extent, but that would require our gov be working and right now it is not.
by moralestapia | 2026-03-05 18:14:28+00:00
>I personally have a horse in the race here because I too wanted chardet to be under a non-GPL license for many years.

Ugh, it's so disgusting to see people who are either malicious or non mentally capable enough to understand what is the purpose of software licenses.

"But I wish that car was free", sure pal, but it's not. Are you like, 8 years old?

Licenses exists for a reason, which is to enforce them. When the author of a project choose a specific license s/he is making a deliberate decision. S/he wants these terms to be reigning over his/her work, in perpetuity. People who pretend they didn't see it or play dumb are in for some well-deserved figuring out.
by shevy-java | 2026-03-05 18:15:06+00:00
> But, let's contrast it to Java, which pretty much is in the same boat as a modern Smalltalk. A very large core system of packages, classes, and methods.

Java is used in many places. Smalltalk is not. The whole comparison falls short due to this already. TIOBE ranks Java #4 right now, which is not too bad, even though TIOBE also sucks.
by JohnMakin | 2026-03-05 18:15:22+00:00
> It would be unimaginable to have the urge to look something up,

It's not popular because this is very reductive and dismissive of the problem almost to the point of dishonesty. Many modern functions need an application and there is little or no alternative.

Some examples:

QR codes - lots of restaurants don't have a physical menu and need a QR code scan. This behavior extends well beyond restaurants as well.

Keys - Lots of cars support lock/unlock and put a ton of features behind an app. While not strictly necessary, it's incredibly convenient if you're in the inevitable (and sometimes very expensive/difficult to remediate) situation everyone eventually faces when you lose your keys, or lock them in the car. Some garages and apartment complexes only support getting in by app, and I've seen this in hotels as well.

Banking - doing many things at banks nowadays requires confirming you are you via push notification to your phone. Lots of MFA is app-based as well. I could not do my job without a phone.

Navigation - I don't always carry a garmin or thomas guide around with me when I'm walking around an unfamiliar city, and it would be pretty ridiculous of me to do so.

Probably could come up with a lot of other things. Without a phone it's not really possible to function in much of the modern world. There is more to the app ecosystem than tiktok, maybe that's the miss here.
by loss_flow | 2026-03-05 18:15:23+00:00
Only scarce context is a moat and what is scarce is changing quickly. OpenClaw is a great example of the context substrate not being scarce (local files, skills are easily copied to another platform) and thus not providing a moat.

Claude's recent import of ChatGPT's memory is another example of context that was scarce becoming abundant (chat export) and potentially becoming scarce again (OpenAI cutting out chat export).
by coredog64 | 2026-03-05 18:15:31+00:00
"Papers, please" is not just ID, but also authorization to travel internally. The idea that asking for ID* is anywhere equivalent is asinine.

*Reminder that folks visiting the US on a visa are legally required by the terms of said visa to always carry upon their person at least a copy of identity papers backing up that visa, and that this law has been in place for a very long time.