

1.0-beta
BCDD (Behavioural Contract-Driven Design) è un linguaggio per specificare il comportamento di un sistema attraverso
i suoi confini con l'esterno. Una CSC (Capability State Contract) è un contratto su ciò che si può chiedere a
un'entità e su ciò che di essa si può vedere. bcdd è il programma che controlla i file CSC.
Un tentativo di nuovo paradigma per un uso serio dell'intelligenza artificiale (IA) nella progettazione
Nell'uso quotidiano dell'IA per ottenere risultati concreti mi sono apparse evidenti due cose. Dialogare con l'IA è facile; è difficile, invece, sintetizzare per un obiettivo preciso tutte le specifiche e i requisiti che definiscono il risultato voluto. Anche la descrizione di dettaglio è insidiosa: si tende a semplificare e a tacere ciò che l'esperienza fa ritenere ovvio, ma ciò che è ovvio per chi chiede non lo è per chi esegue.
L'IA segna un salto nella produzione del software: il lavoro si sposta dall'implementazione alla progettazione di scatole nere funzionali, di cui vanno descritti compiutamente il comportamento e gli stati. Nel BCDD questa descrizione prende la forma delle CSC.
La stessa IA può aiutare a scrivere e a completare le CSC di un'entità la cui implementazione sarà poi affidata all'IA stessa, indipendentemente dall'ambiente di sviluppo, dal sistema operativo e dal linguaggio di programmazione.
Il paradigma è applicabile anche ad altri campi, a sistemi complessi, all'hardware e ai sistemi che uniscono hardware e software.
Italiano →BCDD (Behavioural Contract-Driven Design) is a language for specifying the behaviour of a system through its
boundaries with the outside. A CSC (Capability State Contract) is a contract on what can be requested of an entity
and on what can be seen of it. bcdd is the program that checks CSC files.
An attempt at a new paradigm for serious use of artificial intelligence (AI) in design
In everyday use of AI to obtain concrete results, two things became clear to me. Conversing with AI is easy; what is hard is to pull together, for a specific goal, all the specifications and requirements that define the intended result. A detailed description is deceptively hard as well: people tend to simplify and to leave unsaid whatever experience makes them consider obvious, but what is obvious to the person making the request is not obvious to whoever carries it out.
AI marks a step change in the production of software: the work shifts from implementation to the design of functional black boxes, whose behaviour and states must be described in full. In BCDD this description takes the form of CSCs.
The same AI can help write and complete the CSCs of an entity whose implementation will then be handed to AI itself, regardless of the development environment, operating system and programming language.
The paradigm also applies to other fields, to complex systems, to hardware and to systems that combine hardware and software.
English →Dati dei visitatori (GDPR). Questo è un sito statico: non usa cookie, moduli o statistiche e non carica risorse da servizi di terzi. Il sito è ospitato su un server virtuale (VPS) di IONOS SE, in centri dati nell'Unione europea; IONOS tratta i dati per conto del titolare, come responsabile del trattamento (art. 28 del GDPR). Per ogni visita il server registra in un log tecnico l'indirizzo IP, che è un dato personale, la data e l'ora, la richiesta (metodo, pagina e protocollo), il codice di risposta, i byte trasferiti, la pagina di provenienza e il tipo di browser (User-Agent). Le richieste rifiutate o in errore sono registrate anche in un log degli errori. Il log serve al funzionamento e alla sicurezza del sito (base giuridica: legittimo interesse, art. 6, par. 1, lett. f, del Regolamento UE 2016/679, «GDPR»); i dati sono conservati fino a 15 giorni e poi cancellati. Il titolare del trattamento è Noli Paolo. Per esercitare i diritti previsti dal GDPR (accesso ai propri dati, cancellazione e gli altri) e per qualsiasi altra richiesta: bcdd@nolisoft.it. È sempre possibile presentare reclamo al Garante per la protezione dei dati personali. I link esterni, per esempio quelli alle licenze, rimandano a siti con proprie regole sul trattamento dei dati.
Intelligenza artificiale (AI Act). I testi del sito, la documentazione e il software BCDD sono stati realizzati con l'aiuto
di sistemi di intelligenza artificiale e rivisti dall'autore. Il comando bcdd refine e il bottone «Completa» di
bcdd-editor inviano a un modello linguistico, tramite Claude Code (Anthropic) e con l'account di chi li usa, il
contenuto e il nome del file CSC, il rapporto del controllo e le risposte date nel dialogo; da quel momento valgono le
condizioni di Anthropic. Gli altri comandi non inviano dati e lavorano solo sul computer locale. Queste informazioni sono date ai fini della
trasparenza prevista dal Regolamento (UE) 2024/1689 sull'intelligenza artificiale («AI Act»). bcdd e bcdd-editor
non contengono un modello di intelligenza artificiale: il modello linguistico è fornito da Anthropic tramite Claude
Code e si usa solo quando chi usa i due programmi lo richiede in modo esplicito.
Visitor data (GDPR). This is a static site: it uses no cookies, forms or analytics and loads no resources from third-party services. The site is hosted on a virtual private server (VPS) of IONOS SE, in data centres in the European Union; IONOS processes the data on behalf of the controller, as processor (Article 28 GDPR). For each visit the server records in a technical log the IP address, which is personal data, the date and time, the request (method, page and protocol), the response code, the bytes transferred, the referring page and the browser type (User-Agent). Rejected or failed requests are also recorded in an error log. The log is used for the operation and security of the site (legal basis: legitimate interest, Article 6(1)(f) of Regulation (EU) 2016/679, "GDPR"); the data are kept for up to 15 days and then erased. The data controller is Noli Paolo. To exercise your rights under the GDPR (access to your data, erasure and the others) and for any other enquiry: bcdd@nolisoft.it. You have the right to lodge a complaint with a data protection supervisory authority (in Italy, the Garante per la protezione dei dati personali). External links, for example those to the licences, lead to sites with their own data protection rules.
Artificial intelligence (AI Act). The texts of the site, the documentation and the BCDD software were produced with the help
of artificial intelligence systems and reviewed by the author. The bcdd refine command and the “Complete” button of
bcdd-editor send to a language model, through Claude Code (Anthropic) and using the account of whoever uses them, the
content and name of the CSC file, the check report and the answers given in the dialogue; from that point Anthropic's
terms apply. The other commands send no data and work only on the local computer. This information is given for the purposes of
the transparency required by Regulation (EU) 2024/1689 on artificial intelligence (“AI Act”). bcdd and bcdd-editor
do not contain an artificial intelligence model: the language model is provided by Anthropic through Claude Code and
is used only when whoever uses the two programs explicitly requests it.