Developed-by: Sena JG <senajg@senajg.com>
(Sena JG is a Systems Architect, Information Technology Professional, Information and Communications Technology Professional, Computer Science Graduate, Web Designer, Webmaster, DevOps Engineer, Systems Analyst, and Computer Graphics and 3D Systems Developer)
Developer of the world's first 3D CASE tool
(Sena JG é Arquiteto de Sistemas, Profissional de Tecnologia da Informação, Profissional de Tecnologia da Informação e Comunicação, Graduado em Ciência da Computação, Web Designer, Webmaster, Engenheiro DevOps, Analista de Sistemas e Desenvolvedor de Sistemas de Computação Gráfica e em 3D)
Desenvolvedor da primeira ferramenta CASE 3D do mundo
Co-developed-by: Anthropic Claude Opus 5.5 <noreply@anthropic.com>
Guidelines R.2
What it is: a response from Claude that the author asked to publish as guidelines, R.2.
- Date: 2026-11-28, 22:11 (UTC−3), in the rev.82 conversation.
- The author's request on 2026-11-30: "grave essa exata resposta sua com a formatação completa como está exata" (record this exact response of yours, with the complete formatting, exactly as it is).
- What it shows: the second intermediate save, rule 18 (publish first, verify later), the answers with the official sources, the understanding of the decisions and the questions.
- The original, in Brazilian Portuguese: diretrizes(guidelines).r2.html.
- Below is the response, faithfully translated into English, with the complete formatting.
I studied your message point by point. First, I prepared the second intermediate save, with the new rule for the verifier. Nothing has been recorded: it is waiting for your "grave" and your "commit".
1. The second intermediate save
- The name:
SenaJG-rev.82.intermediate.2, in the four repositories. - What goes in:
- the new rule for the verifier, as rule 18 (the text is in section 2);
- what I did after the first save: senajg.com.br only in Portuguese and English, with
LEIAME; Irish on senajg.com; the visionary text right below the header; the guidelines of 2026-11-28; the programs.
- The size: 19 files in the private repository, 47 in senajg.com, 45 in senajg.com.br and 14 in the lab.
- What stays out:
R.1.html.- It is waiting for your answer (question 1).
- Its line in the CHANGELOG was kept aside.
- If you want it to go in anyway, tell me.
- I did more than you asked:
- Rule 8, the work steps, the runbook and
ARCHITECTURE.mdsaid that the verifier comes before the release of the version. - Each one got a dated update that points to rule 18. I did not rewrite the past (rule 12).
- I put my date error in the errata, as no. 15 (item 7).
- Rule 8, the work steps, the runbook and
- The checks:
- the reconstruction was ok: 170 identical files in senajg.com.br and 128 in senajg.com;
- the readme is up to date in all four;
- the privacy and security search found nothing in what will be recorded.
- An error of mine, already fixed: the date.
- I used the date of the machine's clock, which is in UTC.
- I put 2026-11-29 on the decisions of your last two messages. They are from 2026-11-28, at 21:11 and 21:44 (UTC−3).
- I changed it to 2026-11-28 everywhere, also in the
lastmodof the sitemaps. Nothing with the wrong date had been recorded. - The first preview I sent had the wrong date. The second one is the valid one.
- Another correction: in the previous message I wrote "the other 10 languages" of senajg.com.br. There are 9: Irish never went in there.
- The full preview is in the four files I sent, as
git showshows it. There is one per repository, with the commit message at the beginning. - After your "commit", I publish at once, without the verifier, as the new rule says.
2. The text of rule 18
It comes right after the header and the visionary text, before the unbreakable guidelines. It comes in English and, right after, in Portuguese:
# Basic rule: publish first, verify later
> The author's decision, 2026-11-28. It is rule 18 of the private repository's AGENTS.md, and it is at the beginning of this file so that it stands out.
1. The full verifier (tools/verifica_site.js) does not run by default.
2. It runs only when the author wants it:
1. when the agent senses that the author has finished a piece of work, it asks whether the author wants to run it.
3. The publication comes first, and the verifier after it:
1. when the author orders a publication, the agent publishes at once, without the verifier;
2. the verifier runs afterwards;
3. if it finds an error, the author changes the publication: what is wrong stays online only for minutes or hours.
4. Rule 15 does not change: before "grave" and before "commit", the agent shows the author what will be recorded and waits for the confirmation.
3. The answers (checked today on the official pages)
- I did not lose any information.
- The 32 KB summary was only a proposal. I cut nothing.
- Today, with rule 18, the agent file has 53 KB (522 lines) in the private repository. In each public repository, it has 28 KB (about 425 lines).
- The large CLAUDE.md is not ignored (source):
- Claude Code reads the whole file: "Claude gets the whole of each CLAUDE.md file that loads at launch, as long as the file is 4 MiB or smaller."
- It only warns: "If one of your instruction files is over the recommended length, you see a warning at startup and when you run
/status." With 522 lines, the one in the private repository already gets this warning. - The recommendation is: "target under 200 lines per CLAUDE.md file. Longer files consume more context and reduce adherence."
- It rereads the file after compacting the conversation: "Project-root CLAUDE.md survives compaction".
- The 32 KB limit is Codex's, not Claude's (source):
- Codex "stops adding files once the combined size reaches the limit defined by
project_doc_max_bytes(32 KiB by default)". - Whatever goes beyond that is left unread.
- Codex "stops adding files once the combined size reaches the limit defined by
- The 64 KB indicator only really exists in Codex:
- It is a
.codex/config.tomlfile in the repository, withproject_doc_max_bytes = 65536. - The page says: "To scope settings to a specific project or subfolder, add a
.codex/config.tomlfile in your repo" (source). - It also says: "Codex loads project-scoped config files only when the project is trusted" (source).
- This setting is not on the list of keys that Codex ignores in this file.
- Claude Code does not have this setting. Written inside CLAUDE.md, it would only be a note.
- It is a
- The
@pathworks, but it does not save space:- "CLAUDE.md files can import additional files using
@path/to/importsyntax." - But "imported files load together with the CLAUDE.md that imports them".
- Between backticks, the name is just text: "To mention a path in your CLAUDE.md without importing it, wrap it in backticks".
- You are right to be suspicious: the pages change. That is why I quote what they say today.
- "CLAUDE.md files can import additional files using
- Everything can stay at the root:
- GitHub shows the readme at the root: "If you put your README file in your repository's hidden
.github, root, ordocsdirectory, GitHub will recognize and automatically surface your README to repository visitors." - Google has no folder rule for pages.
- The only location rule is the sitemap's: "a sitemap can only contain descendant URLs of the directory where the sitemap is hosted from". Our sitemaps are at the root.
- The agent files are already in the standard place. Claude Code reads "
./CLAUDE.mdor./.claude/CLAUDE.md". The Copilot one is in.github/.
- GitHub shows the readme at the root: "If you put your README file in your repository's hidden
- Proposal 2.4 was the name of the readers' guidelines:
IMPORTANT-Portuguese.md,IMPORTANT-Portuguese.txtandimportant-portuguese.html, without the copy in the original characters. - The 30 KB translation I mentioned:
- The agent file in the private repository has three parts:
- the guidelines in English (11 KB);
- the same guidelines in Portuguese (11 KB);
- the work instructions, only in Portuguese (27 KB).
- For the agents to be all in English, these instructions need to be translated.
- By my estimate, the private repository's file would have about 39 KB in English. It goes beyond 32 KB, and that is why the summary at the beginning makes sense there.
- It is a lot of text. I do it in parts and check each one.
- The agent file in the private repository has three parts:
4. How I understood it (confirm before I do it)
- Each repository has its own readme, with what is universal and what is only its own. Every readme points to IMPORTANT.
- Each repository has its own IMPORTANT, in three versions:
- the
.md, the main one; - the
.txt, the same, without formatting and well structured; - the
.html, to read on the website without a Markdown reader. It has the canonical and the language tags, which point to itself and to the other languages.
- the
- What goes into IMPORTANT:
- In the three public ones, only what causes no embarrassment and does not break privacy. I propose today's text, which is already online and passed the search.
- In the private one, also what can only stay in the private one. Its
.htmlpage getsnoindex, like R.1.
- The agent files follow the same idea. In the public ones, the guidelines that everyone can read. In the private one, the more relaxed version. All of them stay at the root.
- On senajg.com, the 12 languages, with the readme and IMPORTANT in
.md,.txtand.html:- The readme is
README.pt.md, the standard of the market and of Google, with the copyREADME-Portuguese.md, which carries the name of the language. - IMPORTANT is
IMPORTANT-Portuguese.md, with the language spelled out. In English it is justIMPORTANT.md, the only exception. - The pages have the same name, in lowercase:
readme.pt.html,readme-portuguese.html,important-portuguese.htmlandimportant.html. - In each language, one page is the canonical one and goes into the sitemap. The copy points to it, because Google asks for only one: "Pick a canonical URL for each of your pages and submit them in a sitemap".
- IMPORTANT in the 11 other languages makes about 120 KB of text to translate. I do it in parts.
- The readme is
- On senajg.com.br, without the name of the language, because the website is already in Portuguese:
IMPORTANTE.md(Portuguese, the canonical one) andIMPORTANT.md(English), with the.txtfiles and the pagesimportante.htmlandimportant.html;- the readme stays as it is:
README.md,README.pt.mdandLEIAME.md.
- The agent files are all in English, each one with a copy in Portuguese for you:
AGENTS.pt.md,CLAUDE.pt.md,GEMINI.pt.mdand.github/copilot-instructions.pt.md;- the names use the dot and the code, like
README.pt.md; - no tool reads these names on its own.
- The private repository's CLAUDE.md has up to 64 KB:
- in the first 32 KB, the summary of everything, without losing anything, and the note to read
CLAUDE-2.md; - in the second half, the rest;
CLAUDE-2.mdwith the whole text, for you to compare later;- when I write the summary, I show what is in each part, so you can see that nothing is missing;
- if I need to lose anything, I warn you first;
- the fine-tooth comb is for later, with you.
- in the first 32 KB, the summary of everything, without losing anything, and the note to read
- In the three public ones, the agent file has 28 KB and fits in 32 KB without a summary. By your rule,
CLAUDE-2.mdis not needed there. GEMINI.mdand the Copilot one stay whole, as they are.- Privacy goes into the private repository's guidelines, written in general terms. The values (numbers, e-mails and address) and the security part stay out of every repository, also out of the private one, as you decided.
- The profile is called
PROFILEin every language. Only in Portuguese does the title carry "Perfil" and "Portfólio".
5. Questions (by rule 17, the ones left unanswered come back here)
- A passage of R.1 (repeated). It is in
R.1.md, which is already on GitHub, and inR.1.html, which stayed out of the save. Does it stay as it is, or does it leave in a new commit? If it leaves,R.1.htmlis born without it. - The private repository's
AGENTS.md. It is Codex that cuts at 32 KB. DoesAGENTS.mdstay likeCLAUDE.md, with the summary in the first 32 KB, or whole, likeGEMINI.md? I propose it stays likeCLAUDE.md, with the 64 KB.codex/config.toml. - The note to read
CLAUDE-2.md. With@CLAUDE-2.md, Claude Code loads the whole text in every session, and the content appears twice. Between backticks, it is only a note, and it reads the file when it needs to. Which of the two? I propose between backticks. - The copy of the readme with the name of the language. Is it
README-Portuguese.md, as in IMPORTANT? Or is it the translated word, likeLEIAME.md,LEGGIMI.mdandLIESMICH.md? - IMPORTANT with the code. Besides
IMPORTANT-Portuguese.md, does the copyIMPORTANT.pt.mdgo in, as the readme has both? - The copy in the original characters (for example,
IMPORTANT-日本語.md). Do I make it? It would be one more identical copy. The page's address would come out encoded, because "characters in the non-ASCII range should be percent encoded". - The title of the profile in Portuguese. Is it "Perfil (Profile) – Portfólio", "Profile (Perfil) – Portfólio" or another one?
- Where the profile goes. In which repositories and in how many languages? In the private repository, does
PORTFOLIObecomePROFILE? - The IMPORTANT of the lab and of the private repository. I propose today's names,
IMPORTANT.mdandIMPORTANTE.md, as on senajg.com.br. Does that work?
To record the second intermediate save, tell me "grave". To send it, "commit".