How to instruct Claude so that it can be better focused when it works to my implementations ?

From what I understand of the topic and the discussion, you want to impose development standards on an AI and expect it to comply with them the way a human developer would?
I may be wrong because of the fragmented context, but if so, it's kind of madness: a model doesn't conform to one specific thing, it averages its knowledge and will most likely drift toward different results. It seems to me that determinism is hardly possible, since even the semantic connections the AI may not understand in the process, though it sometimes builds them anyway.
Even in the context of learning through AI, this is hardly as feasible either, since, again, it may not fully understand what it is saying or what it is relying on.
Also, if you dig deep enough, not everything can be verified by tests at all: tests only confirm the cases someone thought to write, and they say nothing about intent, unknown edge cases, or what the code was actually supposed to do.
 
In a sense, the fact that AI produces the desired result can be seen as a coincidence, or a kind of casino built on the meaning of words, tuned by people during the correction process.
 
From what I understand of the topic and the discussion, you want to impose development standards on an AI and expect it to comply with them the way a human developer would?
I may be wrong because of the fragmented context, but if so, it's kind of madness: a model doesn't conform to one specific thing, it averages its knowledge and will most likely drift toward different results. It seems to me that determinism is hardly possible, since even the semantic connections the AI may not understand in the process, though it sometimes builds them anyway.
Even in the context of learning through AI, this is hardly as feasible either, since, again, it may not fully understand what it is saying or what it is relying on.
Also, if you dig deep enough, not everything can be verified by tests at all: tests only confirm the cases someone thought to write, and they say nothing about intent, unknown edge cases, or what the code was actually supposed to do.

I actually agree with several of your objections, and I think they help me better define what I am trying to achieve.

My intention is not to make an LLM deterministic, nor to assume that providing it with development standards will guarantee that it understands and follows them in the same way an experienced human developer would.

I am interested in reducing uncertainty, rather than eliminating it.

There is a substantial difference between expecting an LLM to produce consistently correct code and developing a methodology that increases the probability of producing architecturally sound, understandable, and maintainable contributions.

I also completely agree with your observation about testing. Tests can verify expected behavior under known conditions, but they cannot establish that the underlying architectural decisions were appropriate in the first place. Nor can they account for every unknown edge case or misunderstood design intention.

But this is precisely where I believe the involvement of experienced FreeBSD developers would be valuable.

As a hobbyist, I often lack the knowledge required to recognize when a seemingly functional implementation violates an important architectural principle. An LLM may suffer from a similar limitation, and the combination of these two limitations can obviously be problematic.

What I would like to explore is whether the expertise of senior developers can be formalized, at an appropriate level of abstraction, into architectural constraints, decision-making criteria, documented invariants, review procedures, and other forms of guidance that could help both the hobbyist and the LLM recognize these problems earlier.

I am not suggesting that this would eliminate the need for human judgment or code review.

Rather, I am asking whether it could improve the quality of what reaches the human reviewer in the first place.

Perhaps this approach will prove insufficient. Perhaps the cost of implementing it will outweigh its benefits. But I think these are questions that deserve experimental investigation rather than being settled exclusively on theoretical grounds.

Ultimately, I am not trying to replace human expertise with artificial intelligence. I am trying to understand whether human expertise can be amplified and made more accessible through artificial intelligence, without compromising the standards of the project.
 
Don't try to teach the LLM to think like a senior FreeBSD developer. Instead, give it access to the knowledge, conventions, reasoning, and architectural history that senior developers rely on, and use it to help you make better decisions.
 
Don't try to teach the LLM to think like a senior FreeBSD developer. Instead, give it access to the knowledge, conventions, reasoning, and architectural history that senior developers rely on, and use it to help you make better decisions.

I think your suggestion is very close to what I am trying to achieve, and it helps me formulate my objective more precisely.

However, there is still a fundamental difficulty: who identifies, selects, organizes, and contextualizes the knowledge that the LLM should have access to ?

As a hobbyist, I do not necessarily know which architectural decisions, historical discussions, conventions, or design principles are relevant to the project I am working on.

In fact, if I were already capable of identifying all the relevant knowledge and understanding its implications, I would already possess a significant portion of the expertise that I am trying to acquire.

This is precisely where I believe the contribution of experienced FreeBSD developers would be valuable.

I am not asking them to teach an LLM how to think like them. I am asking whether they could help identify and organize the knowledge upon which their own technical decisions are based, at an appropriate level of abstraction, so that both LLMs and hobbyists could make better-informed decisions.

Ideally, this knowledge would be reusable across multiple projects, rather than being specific to my personal needs.

The objective would not be to reproduce human expertise artificially, but to make existing human expertise more accessible, transferable, and useful to people approaching FreeBSD development from outside its core developer community.

Whether this would actually reduce the workload of FreeBSD developers and improve the quality of external contributions is something that would need to be demonstrated experimentally.
 
Don't try to teach the LLM to think like a senior FreeBSD developer. Instead, give it access to the knowledge, conventions, reasoning, and architectural history that senior developers rely on, and use it to help you make better decisions.
Giving a sample is a decent way to help an AI pick up on patterns and produce something similar, but it most likely improves quality rather than guarantees it. And in the context of learning, will it be able to capture all the connections and fully understand the concept? Even if it fits in the context, as far as I know, AI has a problem with poorly picking up what lies between the beginning and the end.
 
Giving a sample is a decent way to help an AI pick up on patterns and produce something similar, but it most likely improves quality rather than guarantees it. And in the context of learning, will it be able to capture all the connections and fully understand the concept? Even if it fits in the context, as far as I know, AI has a problem with poorly picking up what lies between the beginning and the end.

The "Lost in the Middle" phenomenon demonstrates that making knowledge available to an LLM does not necessarily mean that the model will be able to retrieve, prioritize, and correctly connect all the relevant information.

But perhaps this is another reason why we should not simply provide an LLM with a large collection of documentation, source code, examples, and historical discussions and expect it to autonomously reconstruct the architectural knowledge of FreeBSD.

Perhaps the level of abstraction we are looking for should also concern the representation and organization of knowledge itself.

Instead of treating knowledge as a collection of independent documents, we could explore ways of explicitly representing the relationships between architectural principles, implementation choices, historical decisions, constraints, invariants, and previously rejected solutions.

Experienced FreeBSD developers could help identify and validate some of these relationships, particularly those that are difficult for an outsider or an LLM to recognize independently.

The LLM could then retrieve a relatively small, relevant, and interconnected subset of this knowledge whenever a particular architectural decision needs to be made.

Would this guarantee that the LLM fully understands the concept? No.

Would it guarantee correct results? No.

But could it improve the quality of its reasoning, reduce the probability of overlooking important architectural relationships, and help a hobbyist like myself make better-informed decisions. I think that is a hypothesis worth investigating.

I am not looking for a method that guarantees perfection. I am looking for a methodology that acknowledges the limitations of both the hobbyist and the LLM and attempts to compensate for them through the structured transmission of human expertise.
 
I am not looking for a method that guarantees perfection. I am looking for a methodology that acknowledges the limitations of both the hobbyist and the LLM and attempts to compensate for them through the structured transmission of human expertise.
It's probably worth saying that AI wasn't designed the way marketing presents it, and it's unlikely to be achievable without devaluing human work. I realize my opinion may come across as categorical.
 
Impossible; AI's too-wordy and performance efficiency means less is more :p

Interestingly, your observation reinforces one of the reasons why I am looking for the right level of abstraction in the first place.

The objective is not to maximize the amount of information provided to or generated by an LLM, but to maximize the relevance and informational density of that knowledge.

If excessive verbosity is a limitation, then conciseness, simplicity, and efficiency should become explicit requirements of the methodology.

"Less is more" could become one of the design principles of my proposal.

It's probably worth saying that AI wasn't designed the way marketing presents it, and it's unlikely to be achievable without devaluing human work. I realize my opinion may come across as categorical.

I share your concerns about the discrepancy between the actual capabilities of AI and the way it is marketed.

However, I find your observation about the devaluation of human work particularly interesting,because my proposal originates from the recognition of the extraordinary value of human expertise.

If I believed that an LLM could adequately replace an experienced FreeBSD developer, I would not be here asking for the guidance of FreeBSD developers in the first place :D

What I am trying to explore is whether the knowledge accumulated through years of human experience can be made more accessible and transferable, allowing people like myself to participate more meaningfully in open-source development.

I do not want to make human expertise redundant. I want to understand whether its benefits can extend beyond the individuals who possess it.

Of course, this should not come at the expense of the developers themselves, nor should it impose an additional maintenance burden on them without demonstrable benefits.

The value of such an approach should be established experimentally, independently of any marketing claims.

For me, AI should not be a means of devaluing human work, but a means of increasing the number of people who can benefit from it and build upon it.
 
If I believed that an LLM could adequately replace an experienced FreeBSD developer, I would not be here asking for the guidance of FreeBSD developers in the first place :D

and

Of course, this should not come at the expense of the developers themselves, nor should it impose an additional maintenance burden on them without demonstrable benefits.

I think these two statements conflict. You ask developers for guidance: selecting knowledge, defining principles, reviewing results. That costs their time and effort. Yet you also say this shouldn't come at their expense or add a burden. But the burden starts the moment the request is made, while the benefit that would justify it, by your own words, has to be demonstrated later, experimentally. So developers have to spend time first to find out whether spending it was worthwhile?
 
ZioMario
Hi
I believe the reality of AI—and I intentionally avoid calling it "the subject of AI"—is quite taboo and as emotionally charged as a political debate.
In fact, it is entirely political, in the sense that it concerns the future of humanity.
Two camps are clashing (on barren ground):
1. AI is stupid (nothing more than a machine, comparable to a coffee vending machine).
2. AI is an omniscient, almost magical goddess.
I believe it is simply the product of our civilization, fed into supercomputers.
It is a tool, like any other—though it represents a culmination and the ongoing evolution of digital sciences (both software and hardware).
I think, ZioMario, that you are in a moment where genuine fear is clouding people's judgment, causing them to retreat behind their own walls.
Don't give up, Zio—you’re on the right track.
(My entire text is translated by AI) 😇
 
Back
Top