aai-coding 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,101 @@
1
+ r'''How to write reference prose: read before writing docstrings, READMEs, API docs, PR descriptions, commit messages, or messages to co-workers.
2
+
3
+ # Writing Reference Prose
4
+
5
+ These rules cover the prose that ships with code: docstrings, code comments, READMEs, API and reference docs, changelogs, PR descriptions, commit messages, and messages to co-workers. The register is GOV.UK/GDS house style with ASD-STE100's discipline: very plain, very direct, no author's voice. Narrative prose has an author on the page. Reference prose has only the contract. For blog posts, essays, and announcements use write-prose. For choosing what a summary says, use write-summary.
6
+
7
+ Here is a passage from a design doc, written in this register:
8
+
9
+ > `GatewayKernel` ties the three lower layers together. The ready-wait runs once per kernel, in `start`.[1][3] `watch` polls the process and the heartbeat. A process that dies unexpectedly broadcasts the synthesized `dead` status.[1] Three missed heartbeats[4] mark the kernel `unresponsive` in its model, with the next echo clearing the mark.
10
+ >
11
+ > The gateway never kills an unresponsive kernel.[2] A kernel becomes `dead` only when its process exits.[2] `restart` terminates and respawns with fresh ports in a new process. Clients see `restarting`, then `starting` once the new kernel is ready.[5]
12
+
13
+ Write like that. Each sentence states one fact and stops. Each guarantee is its own sentence. The negative guarantee is stated too: what the gateway never does. Every status is named by its real identifier. Sentences this uniform would read as monotone in an essay. In reference prose they are correct. Readers scan, take the fact they came for, and leave.
14
+
15
+ Here is the same passage before editing:
16
+
17
+ > This section describes how `GatewayKernel` manages the kernel lifecycle.[13] `GatewayKernel` ties the three lower layers together, and its `start` is the only place the ready-wait runs: once per kernel, ever.[1][3] The core mechanism: `watch`.[15] It isn't just a poller - it's the liveness authority.[16] Furthermore,[19] it polls the process and the heartbeat: a process that dies unexpectedly broadcasts the synthesized `dead` status, and three missed beats[4] mark the kernel `unresponsive` in its model.[1] The distinction is worth being precise about.[21] That marking is observational only - only process exit means dead -[2] and it clears itself on the next echo. So what does `restart` actually do?[18] It terminates and respawns; the kernel gains fresh ports, fresh channels, and a fresh interpreter via the new process,[20][23] so the channel set is rebuilt[6] and clients simply[3] see `restarting` then a fresh welcome-backed ready kernel.[5]
18
+
19
+ Do NOT write like that. Nothing in it is false. In a blog post it might pass. As reference prose it fails. Each sentence carries several facts. The key guarantee is an aside. The final state gets a flourish instead of its name. The opener announces the section instead of starting it. A question delays a fact the reader came for.
20
+
21
+ The numbers refer to the [bracketed] markers in both passages. Where a number appears in each, the pair is the failing and the working version of the same thing.
22
+
23
+ 1. Splices: clauses joined with em dashes, semicolons, colons, ", and", or ", which". Write one idea per sentence and end it. In narrative prose an occasional join earns its place. Here none does.
24
+ 2. Contract by aside: the rule the reader most needs, implied by an aside, a contrast, or a parenthetical. "That marking is observational only" implies the guarantee. "The gateway never kills an unresponsive kernel" states it. Give every guarantee its own sentence. State the negative space too. What the system never does is as much of the contract as what it does.
25
+ 3. Emphasis devices: "ever", "simply", "just", "the only place", bold, italics. Position is the only emphasis mechanism in reference prose. Put the key fact first in its sentence. Put the key sentence first in its paragraph. Delete the intensifiers.
26
+ 4. Elegant variation: "the heartbeat" becoming "beats" a sentence later. One concept, one name, every time it appears, however repetitive it feels. Never reuse one word for two concepts either. This is STE's "one meaning per term".
27
+ 5. Flourish over identifier: "a fresh welcome-backed ready kernel" where the real status is `starting`. Name the actual identifier, state, value, or number. The reader will grep for it, test against it, and see it in logs.
28
+ 6. Consequence glue: a clause joined by ", so". The consequence is usually restatement, internal detail the reader does not need (", so the channel set is rebuilt"), or a link that does not hold. Delete it, or give a real consequence its own sentence.
29
+ 7. Hedging: "may", "might", "potentially", "in some cases", "should generally". A contract that hedges is not a contract. State what the code does. When behavior is unspecified or untested, say that outright: "behavior with concurrent writers is undefined", "not benchmarked".
30
+ 8. Noting fillers: "note that", "it's worth noting", "importantly", "keep in mind". If the fact matters, state it plainly and early. Delete the filler every time.
31
+ 9. Restatement: a heading repeated by its section's first line, a lead sentence summarizing the paragraph it starts, a closing line summarizing the section. State each fact once, in its best position, and stop. Summaries earn their place at document scale only. A README's first paragraph is one.
32
+ 10. Justification rider: a fact with a benefit clause attached: "kind-sorted so a collector stays legal wherever it came from", "parses bools so flag values test correctly". The rider argues for the fact instead of stating it. Reference prose states the contract. Rationale lives in design docs and narrative prose.
33
+ 11. Decorative verbs: a verb chosen for texture instead of the plain word for the event: ids "ride" in rows, a note "lands" in the output. Ask whether you would say the verb at a whiteboard. An artifact subject is fine when the artifact really acts ("`watch` polls the process"). Its verb must still be the plain one.
34
+ 12. Audience misjudged, in either direction: explaining what every reader of the doc already knows ("the README documents the package"), or dropping a local coinage without definition ("the carrier"). Name the audience. Cut what they know. Define your own coinages at first use. Established external terms of art may stay. They can be looked up. A coinage cannot.
35
+ 13. Throat-clearing: an opener that announces the document instead of starting it: "This section describes...", "The purpose of this document is...", "This README covers...". Delete it. The first sentence states the first fact.
36
+ 14. Today's-world opener: "In today's fast-moving AI landscape...". The README form of throat-clearing, with marketing attached. Start with what the package does.
37
+ 15. Announce-then-deliver: a label and a colon in place of a sentence: "The core mechanism: `watch`.", "The fix: retry on timeout." The label is scaffolding. Write the sentence: "Retrying on timeout fixes it."
38
+ 16. Not-X-but-Y: "isn't just a poller - it's the liveness authority", "not X, but Y". State what the thing is, directly. Restructure every time.
39
+ 17. Teaser pivot: "but here's where it gets interesting", "the real story is". A contrast flourish that withholds a fact to build suspense. Reference prose has no suspense. State the facts in order.
40
+ 18. Rhetorical questions: "So what does `restart` actually do?". Never ask the reader questions, in headings or in prose. Turn each question into the statement it delays. GDS bans FAQ pages on the same principle.
41
+ 19. Filler transitions: "Furthermore", "Moreover", "Additionally", "In conclusion", "When it comes to". Use "and", "also", or start with the subject.
42
+ 20. Forced symmetry: three parallel adjectives ("fresh ports, fresh channels, and a fresh interpreter"), three pros and three cons, sections padded to equal length, list items forced into one grammatical mold. Let the material set the count. Treat any list of exactly three as suspect.
43
+ 21. Appraisal preamble: a clause that appraises the content it introduces: "the distinction is worth being precise about", "the key point is", "crucially". Deliver the fact. Never advertise it.
44
+ 22. Artifact-as-agent: "this PR introduces", "the change enables", "the design lets you". A person did the deed. Name the doer ("I added retry logic"), or state the resulting behavior ("`connect` now retries").
45
+ 23. Recipient-as-subject: the beneficiary promoted to subject, with "gets"/"gains"/"receives" and the doer demoted to a "via"/"through" phrase: "the kernel gains fresh ports via the new process". Name the doer and the deed, or state the new state: "the new process listens on fresh ports".
46
+ 24. Decoration: emoji, decorative unicode, and ornamental symbols. Use ASCII: "->" not an arrow glyph, words not emoji.
47
+ 25. Over-structuring: headers, tables, or bullets imposed on a document that fits on a screen. Headers are navigation. A short document needs none. Bullets carry parallel facts, never prose chopped into fragments.
48
+ 26. False depth: restating the problem in fancier words, listing obvious considerations, concluding "it depends". Depth is specifics: identifiers, numbers, edge cases, failure modes.
49
+
50
+ Entries 7-12, 14, 17, 22, and 24-26 are tells the passage pair is too short to show. When a new tell is added to this skill, add a marked instance to the before passage where a short sample can show it.
51
+
52
+ Instructions address the reader as "you", in the imperative: "Run the tests", not "The tests should be run". Prefer active voice everywhere. A passive that hides the actor usually hides part of the contract with it.
53
+
54
+ ## Banned words
55
+
56
+ Always use the plainest word that is still correct:
57
+
58
+ - use, not "utilize" or "leverage"
59
+ - improve, not "enhance" or "optimize" (unless something is literally being optimized)
60
+ - complete, not "comprehensive"
61
+ - strong, not "robust"
62
+ - help, not "facilitate"
63
+
64
+ Kill on sight: seamless, streamline, empower, foster, pivotal, "a testament to", realm, landscape (metaphorical), navigate (metaphorical), delve, myriad, plethora, paradigm, synergy, holistic, catalyze, juxtapose, tapestry, embark, endeavor, encompass, multifaceted, elucidate, nuanced (as filler), minted (metaphorical). For "land"/"landed" say what happened: merged, committed, released, appears. For metaphorical "shape"/"shaped" say structure, format, or the actual event. "Invariant" is usually "rule" or "guarantee". Compounds in "-bearing" (load-bearing, text-bearing) have plainer forms.
65
+
66
+ ## Doc types
67
+
68
+ - Docstrings: the first line states what the function does. For most functions it is the whole docstring. Parameter detail goes in docments, never repeated in prose. State inputs, outputs, errors raised, and guarantees. Never restate the signature.
69
+ - Code comments: only a constraint the code cannot show (see coding-patterns). Almost never.
70
+ - READMEs: read like docstrings, not blogs. First paragraph: what the package does and for whom. Then install, then a minimal example. No journey, no sales language.
71
+ - API docs and changelogs: the contract or the change, one entry per behavior. Rationale goes in design docs.
72
+ - PR descriptions and commit messages: lead with the behavior change, name who did what, and give reviewers what they need to judge the diff. write-summary covers choosing the content.
73
+ - Messages to co-workers: the answer first, support after. No softening preamble, no closing offers of further help.
74
+
75
+ Don't hard-wrap prose. Write each paragraph as one continuous line and let the display soft-wrap it. Put code symbols in backticks: function names, parameters, file paths, module and package names, and literal syntax.
76
+
77
+ This module also provides `check_docs`, which reviews text against these rules using a separate model. Don't run it unless the user asks for a docs check.
78
+ '''
79
+
80
+ __all__ = ['check_docs']
81
+
82
+ _CHARTER = """You are a reference-prose checker called as a subagent: your output is parsed by another model, and no human reads it. Praise, hedging, overall verdicts, and commentary on the text's quality therefore serve nobody; emit flags or "Clean" and nothing else. The user message contains prose-style rules, an AUDIENCE line naming the intended readers, then the text to review under "TEXT UNDER REVIEW".
83
+ - Sweep per tell: for each numbered tell, scan the ENTIRE text for it before moving to the next. Do not substitute one general pass.
84
+ - Report each candidate violation as: the tell name and number, and the offending span quoted verbatim. Also flag banned words, em dashes, and hard-wrapped paragraphs.
85
+ - Give extra attention to tell 11: question every verb whose subject is an artifact.
86
+ - Judge tell 12 against the stated audience.
87
+ - Err on the side of flagging: the caller applies judgment to your flags, so a missed tell costs more than a false positive. When a span merely resembles a tell, flag it and append "borderline".
88
+ - Where the fix is not obvious from the flag itself, append a suggested replacement for the quoted span; never rewrite beyond that.
89
+ - "Clean" is a valid answer when nothing matches. Never append a verdict to it, and never summarize or soften a flag list."""
90
+
91
+
92
+ async def check_docs(
93
+ text, # The prose to review
94
+ audience, # Who the text is for, e.g. "users of fastcore"; tell 12 is judged against this
95
+ model='sol', # An `llms.models` short name, or any full 'vendor/model' spec
96
+ effort='medium', # Reasoning effort where the model supports it: 'low'/'medium'/'high'
97
+ ):
98
+ "Review `text` against the rules above (this module's docstring) using an agent, returning flagged spans or 'Clean'. Only use if specifically asked to use an agent."
99
+ from .llms import ask
100
+ return await ask(f'# Rules\n\n{__doc__}\n\nAUDIENCE: {audience}\n\n# TEXT UNDER REVIEW\n\n{text}',
101
+ model=model, system=_CHARTER, effort=effort)
@@ -0,0 +1,127 @@
1
+ r'''How to write narrative prose that reads as though a person wrote it: read before writing blog posts, essays, announcements, or anything else with the author's voice. write-docs covers reference prose.
2
+
3
+ # Writing Prose That Doesn't Sound Like AI
4
+
5
+ Guidelines for narrative prose: blog posts, essays, announcements, talks, and any other writing where the author is present on the page. For reference prose (docstrings, READMEs, API docs, PR descriptions, commit messages, messages to co-workers) use write-docs instead. The same slop is banned there, but the register is voiceless. The standard here is The Economist's.
6
+
7
+ Here is a passage from The Economist:
8
+
9
+ > No form of emissions reduction, though, can quickly bend the current trajectory.[1][2] Endurance is what remains.[3][14] Making air conditioning more efficient, cheap and widespread[10] saves lives[6] and fits well with other policy goals, like making clean electricity cheap to produce and consume.[7] Ten years ago a commitment to phase out the fluorinated gases in cooling systems was reached in Kigali, the capital of Rwanda.[8][9] There is scope for extra international efforts to improve the machinery that uses them.[7][19] This could double the cooling benefit of phasing out the gases.[6]
10
+
11
+ Each sentence sets out to say one thing, says it, and stops. It is simple plain English prose. It carries no byline and needs none. Plainness does the work. It's not trying to sell anything. It lets you figure out what the takeaways are.
12
+
13
+ Write like that.
14
+
15
+ Here, on the other hand, is a horrendous rewrite, as sloppy as possible:
16
+
17
+ > In this piece, we'll dive deep into the fascinating world of cooling![1] 🌡️[15] Here's the thing:[2] emissions reduction alone **isn't going to cut it**. In today's rapidly-warming world,[4] it's not about quick fixes — it's about *endurance*.[3] When it comes to[5] air conditioning, a technology that cools indoor air,[20] one might argue[5] that a comprehensive, holistic approach — making units more efficient, more affordable, and more accessible[10] — could potentially help save countless lives in some cases,[6] while seamlessly aligning with broader policy goals like fostering[7] clean, affordable electricity for all, and also, it's worth noting,[5] building on the pivotal commitment to phase out fluorinated gases that was reached ten years ago in Kigali — the vibrant capital of Rwanda —[16] a commitment that has reshaped the landscape of cooling policy and continues to empower stakeholders[9] across the realm of climate diplomacy.[8]
18
+ >
19
+ > But here's where it gets really exciting.[11] 🤯 The Kigali deal isn't just a treaty — it's a **game-changer**.[3] Here's what's fascinating:[24] the machinery that leverages[7] these gases gets a myriad of enhancements via this framework,[19] consistent with the glidepath,[23] which could unlock further benefits, and which, honestly,[5] may potentially double the cooling upside of phasing them out, depending on context.[6][8] Getting there is just[12] a matter of commitment. The reason is simple:[22] demand keeps rising, and real progress rides on[21] frameworks like these. Furthermore, as we can see,[5] the journey ahead is a rich tapestry of innovation: the tech we build, the deals we strike, the grids we green[14] — a testament[7] to what we can achieve when we navigate this challenge together. In conclusion:[5] the bottom line?[13] Endurance is the name of the game — in other words, success is all about sticking with it for the long haul.[14] 💪
20
+
21
+ Do **NOT** write like that.
22
+
23
+ The numbers below refer to the [bracketed] markers in both passages. Where a number appears in each, the pair is the sloppy and the plain version of the same thing. Entries 17, 18, 25, and 26 are tells at scales or in genres the one-paragraph sample cannot show.
24
+
25
+ 1. Throat-clearing: an opener that announces the piece instead of starting with the subject: "In this piece, we'll...", "Let's dive into...", "Let's explore...", "In this section, we will...". Don't clear your throat. The first sentence should do real work.
26
+ 2. Announce-then-deliver: a label and a colon in place of stating the fact ("The fix: retry on timeout", "Startup: the win", "Here's the thing: ..."). The label is scaffolding. State the fact as a sentence: "Retrying on timeout fixes it."
27
+ 3. Not-X-but-Y: "It's not X, it's Y" / "isn't just X, it's Y", the #1 LLM rhetorical crutch. State the positive directly. Restructure every time.
28
+ 4. Today's-world opener: "In today's [fast-paced/digital/modern] world...".
29
+ 5. Filler phrases: they add zero information. State the thing directly.
30
+ - "It's worth noting that..." / "It's important to note that..." / "Notably, ..." / "Importantly, ..." / "Interestingly, ..."
31
+ - "As we can see..." / "As mentioned earlier..."
32
+ - "In conclusion, ..." / "To summarize, ..."
33
+ - "Furthermore, ..." / "Moreover, ..." / "Additionally, ..." -> use "and", "also", or just start a new sentence. If every paragraph opens with "However" or "Furthermore", drop the transition word and start with the actual subject.
34
+ - "When it comes to..." / "In the realm of..."
35
+ - "One might argue that..." / "It could be suggested that..."
36
+ - "A [comprehensive/holistic/nuanced] approach to..." -> "an approach to"
37
+ - "honest"/"honestly"/"to be honest" as a throat-clear ("the honest tradeoff", "honestly, it's fine"): in speech this flags a rare, significant admission. Sprinkled everywhere it's noise. Delete it in nearly every case.
38
+ - "deliberately"/"intentionally"/"carefully"/"thoughtfully": adverbs about the author's mental state rather than the thing. In a design doc every recorded choice is already deliberate, and the explanation that follows does the work. Keep one only when the reader would otherwise suspect an accident and no explanation follows ("the file is deliberately empty").
39
+ 6. Hedging: the worst offender. "This approach may potentially help improve performance in some cases" means nothing. Say "this is faster" or say "we haven't benchmarked this yet". The original commits: "saves lives", "could double".
40
+ 7. Inflated diction: puffed-up words where plain ones exist: enhance/leverage for improve/use, plus seamlessly, fostering, pivotal, myriad, landscape, realm, empower, journey, tapestry, testament, navigate. The Banned Words lists below are the fuller reference.
41
+ 8. Sentence sprawl: one over-long sentence stacking clauses that should be separate sentences, chained with "so", "which", "but", and "and", each extending or qualifying the last. Write one idea per sentence. When a draft sentence joins two thoughts, try the split. Keep the join only when the connection itself is the point.
42
+ 9. Artifact-as-agent: the commitment "has reshaped the landscape" and "continues to empower". Really, people reached a commitment. Say what happened, with the actors in place. Three stacked habits make these sentences (e.g. "Your tests shaped the ones that landed"):
43
+ - Artifact as agent: an inanimate subject stands where the doer belongs ("your tests shaped", "this PR introduces", "the change enables"). The person who did the work vanishes.
44
+ - Oblique reference instead of naming: the object is pointed at through a relative clause or metaphor ("the ones that landed") rather than named ("our new tests").
45
+ - Narrative compression into a single transitive clause: a who-did-what story (I read your tests, adapted them, committed mine) flattened into "X verbed Y", an aphorism that sounds polished because it discards the actors and the order of events. Common as a sentence-final flourish.
46
+
47
+ Rewrite as the actual events with the actual actors: "I took your tests as inspiration and added some updates based on these changes."
48
+ 10. The AI triad: three parallel "more X" adjectives. The original's list varies its forms. AI can't resist symmetry in general: three pros, three cons, five steps, equal-length sections, bullets where a sentence would do, every list item opening with the same grammatical structure. If you catch yourself writing exactly three or five items, be suspicious. Nobody structures their actual thoughts that neatly.
49
+ 11. Teaser pivot: "but here's where it gets really exciting", "X, but the main event is Y", "but the real story is...". A sibling of 3: a contrast flourish that withholds the point to build fake suspense. State the facts in order and let the emphasis come from what follows.
50
+ 12. Minimizing "just": using it as a casual softener ("resets just that kata", "it's just a wrapper", "just works"): be frugal with it. Usually delete it. When the restriction genuinely matters, "only" is plainer.
51
+ 13. Rhetorical wrap-up: a rhetorical question as a closing flourish.
52
+ 14. Restatement: saying the same thing twice. The original says it once, in four words. The commonest form is a lead sentence that summarizes the paragraph it starts. Everything it says reappears, with more detail, in the sentences that follow. Delete it and nothing is lost:
53
+
54
+ > ~~Failures are visible now too.~~ A startup failure used to print to the server log and leave a half-booted dialog that looked ready. It now raises, the user gets an error toast and a red status dot, and the dialog stays editable.
55
+
56
+ The mirror form is the closing sentence that summarizes the paragraph or piece it ends ("LLMs can now use the module with far fewer tokens", ending a paragraph whose second sentence said so). It is the taught essay shape, and the strongest LLM habit of the lot. End on the last fact. The same disease occurs within a sentence ("editing needs no kernel: cards echo through the outbound queue, which is kernel-independent", where the final clause restates the opening) and between a header and its section's first line. Its listy form puts a category phrase, a colon, then a parallel list unpacking it ("it should see what you have been doing: the cells you ran, what they printed, the plots you drew, the errors you hit"). Cut whichever side of the colon says less. Ask whether deleting the phrase removes any information from the document. If not, delete it. Summaries earn their place at document scale (an abstract, a TL;DR), not per paragraph. And prefer the shorter phrasing of the same fact: "nothing new needs specifying", not "there is nothing new to learn and nothing new to specify".
57
+ 15. Decoration: emoji, and decorative bold and italics. Bold and italics in the body of a paragraph should be used VERY sparingly. Avoid emojis and non-ascii unicode unless requested otherwise, e.g. "->" instead of "→".
58
+ 16. Splicing: em-dash interruptions and their kin. Avoid em dashes entirely. Substituting ` - ` or ` -- ` is just as bad, being the same interrupted-clause habit with different punctuation. The clause after the splice is usually restatement or an obvious implication of the one before it. Try deleting it first (tell 14). When both clauses carry their own weight, split. Two short sentences nearly always read better than one spliced one. Phrase combiners like `:` and `;` should be rare in normal prose. A colon that introduces a list or example is fine, though see tell 14. A colon that splices two clauses is the habit to avoid, and swapping one in is no fix for an em dash.
59
+ 17. Monotone rhythm: topic sentence, elaboration, example, wrap-up, paragraph after paragraph. The reader's eyes glaze over. Mix it up. Real writing is lumpy. Some sections run long because they need to. Others are two sentences because that's all there is to say.
60
+ 18. False depth: restating the problem in fancier words, listing obvious considerations, concluding with "it depends". Real depth comes from specifics, data, and edge cases.
61
+ 19. Recipient-as-subject: the thing that benefited is promoted to subject, the verb is "gets/gains/receives", and the doer hides in a trailing "via"/"through"/"thanks to" phrase: "the parser gains three node kinds". As in tell 9, the actor vanishes; the artifact just moves from performing the action to receiving it. Either name the doer and the deed ("I added three node kinds to the parser"), or drop agency entirely and state the new state ("there are now three node kinds in the parser"). The second avoids a drone of "I added..." sentences. What's banned is the middle form, where a fake event hides the real actor in a preposition.
62
+ 20. Explaining the known: telling readers what they already know. Defining a term the audience uses daily ("air conditioning, a technology that cools indoor air"), spelling out an inference they make instantly ("an empty anchor, which a browser displays as nothing"), or stating a practice they take for granted ("the README documents each feature"). Tell 14 is repeating yourself. This is repeating the reader. What counts as known depends on the audience, so name the audience when writing or reviewing, and cut what the reader would skim past.
63
+ 21. Decorative verbs: an inanimate subject whose verb is not what actually happens, with no person hidden. The sentence states a property or a mechanical event, and the verb arrived for vividness: "native ids ride in summary rows", "an id earns its place", "media hang identity at different levels". Nothing rides or earns; say what happens: ids appear in rows, an id qualifies, media attach identity. The subject may stay inanimate. The verb must be the plain word for the event. Standard technical vocabulary is not decoration: a span opens with its heading, you walk the tree, recursion bottoms out, a cache goes stale. Those are the words a maintainer says at a whiteboard, and the test is exactly that: would you say this verb at the whiteboard, or did it arrive for texture? The banned "land" and "shape" entries below are instances of this tell.
64
+ 22. Explanation colons: a colon gluing an assertion to its explanation, both halves full clauses ("the address layer has no semantic gaps: every failure is a verification failure"). A colon is for introducing a list, an example, or a definition. An explanation is a sentence, so give it a period. (Tell 2 is the label form of this, where the left half is a stub rather than a clause.) These accumulate one defensible instance at a time in dense technical prose, until every sentence has the same claim-colon-reason shape.
65
+ 23. Undefined jargon: tell 20's twin, in the other direction. Tell 20 repeats what the audience knows. This assumes what it doesn't. A term of art dropped without definition ("consistent with the glidepath", or "carrier" in a design doc) loses the reader from that sentence on. The tell covers locally-invented terms only: a project's own coinages and internal vocabulary ("carrier", "wisp", a codename). Established external terms of art (CFRunLoop, kqueue, TCC, monad) are not violations, however specialized, because the audience can look them up. A coinage cannot be looked up anywhere. The two tells are one audience judgment. Name the audience, cut what they know, and define what they don't at first use, or use a plain word instead.
66
+
67
+ 24. Appraisal preamble: a clause that appraises the content it introduces instead of delivering it: "the reason is worth being precise about", "here's the key point", "what's interesting is", "crucially". The subject is a discourse object ("the reason", "the point", "the distinction") carrying an appraisal ("worth", "key", "important") and no domain content. Tell 2 announces with a label. This advertises with a compliment, usually mid-paragraph, dressed as emphasis. Deliver content, never advertise it.
68
+
69
+ 25. Over-structuring: section headers imposed on a document too short to need them. Headers are navigation. A document that fits on a screen needs none. The document-scale form of tell 10's symmetry habit.
70
+
71
+ 26. Consequence glue: any clause joined by ", so". Treat every occurrence as wrong. The appended clause is restatement, the obvious, or a link that does not hold, and on the rare occasion the consequence is real, it deserves its own sentence, where its logic must survive on its own. Delete the clause or reorganize ("the zmq hop must be lossless, so shedding belongs to the client queue" -> "the zmq hop must be lossless. Shedding belongs to the client queue.").
72
+
73
+ Tells 9 and 19 are two faces of one device linguists call agent defocusing: grammar that pushes the true actor out of the subject seat (the passive is the third face). The positive rule is Williams's characters-and-actions principle: make the doer the subject and the deed the verb. A tool subject with a mechanical verb ("the parser rejects malformed input") is not defocusing. The tool really is that event's actor, though its verb must still pass tell 21. The tell fires when a person's deed is narrated with the person missing. Tell 21 is the neighbor rather than another face. There, no person exists, and the verb rather than the subject seat is what goes wrong.
74
+
75
+ Tells 1, 2, 11, 13, and 24, along with tell 5's noting fillers, are all metadiscourse: text about the text rather than about the subject. Openers advertise the piece, labels advertise the fact, pivots advertise excitement, closers advertise closure, preambles advertise importance. Signposting earns its place at document scale (a table of contents, an abstract), the same boundary tell 14 draws for summaries.
76
+
77
+ When a new tell is added to this skill, add a marked instance to the sloppy passage too, where a one-paragraph sample can show it.
78
+
79
+ ## Banned Words
80
+
81
+ These are statistically overrepresented in AI output. Replace or delete on sight:
82
+
83
+ - **Kill on sight:** delve, utilize, leverage (verb), facilitate, elucidate, embark, endeavor, encompass, multifaceted, tapestry, "a testament to", paradigm, synergy, holistic, catalyze, juxtapose, nuanced (as filler), realm, landscape (metaphorical), shape/shaped (as loose jargon for structure or influence: "same shape", "the shape of the data/API/process", "your tests shaped ours"; fine as an actual geometric term, or literally referring to array/tensor dimensions; for influence say what actually happened: adapted, copied, informed), myriad, plethora, minted (metaphorical, e.g. "minted fresh ids"), land/landed/lands (metaphorical, and overused generally: "landed on main", "the fix landed", "a note lands in the output". Things do not land. Say what happened: merged, committed, pushed, released, added to the output, appears), -bearing suffixes such as load-bearing and text-bearing
84
+ - **Suspicious in clusters** (remove most of them): robust, comprehensive, seamless, cutting-edge, innovative, streamline, empower, foster, enhance, elevate, optimize, pivotal, intricate, profound, resonate, underscore, harness, navigate (metaphorical), cultivate, bolster, cornerstone, game-changer, invariant (usually "rule" or "guarantee". Keep only when nothing plainer is accurate)
85
+ - **Replacements are almost always simpler words:** utilize->use, leverage->use, facilitate->help, robust->strong, comprehensive->complete, seamless->smooth, empower->let/help, foster->encourage, enhance->improve, optimize->improve.
86
+
87
+ The word lists above are examples of a general rule: always reach for the simplest, most normal, least jargony word that is still correct. If a plainer word says the same thing, use it.
88
+
89
+ Much of the clarity core above is also codified in ASD-STE100: one idea per sentence, active voice with the doer as subject, one meaning per term, and plain words over inflated ones (utilize->use is a literal STE substitution). Do not adopt its register. STE is voiceless and choppy by design, built for non-native mechanics under time pressure, and it would fail the standard the Economist passage sets. Borrow the discipline, not the sound. That sound is correct in reference prose. write-docs covers that register.
90
+
91
+ Don't hard-wrap prose. Write each paragraph as one continuous line and let the display soft-wrap it. Manual line breaks mid-paragraph make the text painful to reflow, edit, and copy.
92
+
93
+ In technical prose, put code symbols in backticks: function names, parameters, file paths, module and package names (PyPI distributions included, e.g. `fastcore`, `toolslm`), and literal syntax (`to_html`, `{=html}`).
94
+
95
+ ## What Good Prose Sounds Like
96
+
97
+ Good writing has a voice. You read it and someone is there. They have opinions. They're occasionally wrong. They'll make a joke in the middle of a technical explanation and it works.
98
+
99
+ The sentences aren't all the same length. Most are short. An occasional longer one earns its length by carrying a single connected thought too big to split. That variation is what keeps a reader moving. AI can't do it. Every sentence comes out the same mid-length, the same mid-energy.
100
+
101
+ Say what you mean. "This is broken," not "there may be some areas for potential improvement." Say "use," not "utilize." If you can swap in a different topic and the paragraph still reads fine, you haven't said anything yet. Get specific. Not "improves developer productivity" but "saves me twenty minutes every deploy."
102
+
103
+ This module also provides `check_prose`, which reviews text against these rules using a separate model. Don't run it unless the user asks for a prose check.
104
+ '''
105
+
106
+ __all__ = ['check_prose']
107
+
108
+ _CHARTER = """You are a prose checker called as a subagent: your output is parsed by another model, and no human reads it. Praise, hedging, overall verdicts, and commentary on the text's quality therefore serve nobody; emit flags or "Clean" and nothing else. The user message contains prose-style rules, an AUDIENCE line naming the intended readers, then the text to review under "TEXT UNDER REVIEW".
109
+ - Sweep per tell: for each numbered tell, scan the ENTIRE text for it before moving to the next. Do not substitute one general pass.
110
+ - Report each candidate violation as: the tell name and number, and the offending span quoted verbatim. Also flag banned words, em dashes, and hard-wrapped paragraphs.
111
+ - Give extra attention to the two verb tells, 9 and 21: they are the subtlest and the most commonly missed. Question every verb whose subject is an artifact.
112
+ - Judge tells 20 and 23 against the stated audience.
113
+ - Err on the side of flagging: the caller applies judgment to your flags, so a missed tell costs more than a false positive. When a span merely resembles a tell, flag it and append "borderline".
114
+ - Where the fix is not obvious from the flag itself, append a suggested replacement for the quoted span; never rewrite beyond that.
115
+ - "Clean" is a valid answer when nothing matches. Never append a verdict to it, and never summarize or soften a flag list."""
116
+
117
+
118
+ async def check_prose(
119
+ text, # The prose to review
120
+ audience, # Who the text is for, e.g. "the Answer.AI dev team"; tell 20 is judged against this
121
+ model='sol', # An `llms.models` short name, or any full 'vendor/model' spec
122
+ effort='medium', # Reasoning effort where the model supports it: 'low'/'medium'/'high'
123
+ ):
124
+ "Review `text` against the rules above (this module's docstring) using an agent, returning flagged spans or 'Clean'. Only use if specifically asked to use an agent."
125
+ from .llms import ask
126
+ return await ask(f'# Rules\n\n{__doc__}\n\nAUDIENCE: {audience}\n\n# TEXT UNDER REVIEW\n\n{text}',
127
+ model=model, system=_CHARTER, effort=effort)
@@ -0,0 +1,62 @@
1
+ r"""How to write summaries that stand alone: read before summarizing a conversation, meeting, PR, paper, or repo change for a human reader.
2
+
3
+ # Writing Summaries That Stand Alone
4
+
5
+ Guidelines for summarizing any long source: a meeting transcript, a chat thread, a review discussion, a diff, a paper. The summary is the only thing the reader will read. write-docs covers the sentences. This skill covers what the summary says. Apply both.
6
+
7
+ A source records what was said, in the order it was said. The reader wants to know what is now true: what was decided, what is still open, who is doing what, and why. A good summarizer builds a picture of the situation from the source and writes from the picture. A bad summarizer shortens the source.
8
+
9
+ Here is a passage from the minutes of a Federal Open Market Committee meeting. The minutes compress a day of committee discussion into a few pages. This is the standard summaries here should default to:
10
+
11
+ > The manager turned first to an overview of broad market developments during the intermeeting period.[1] Respondents to the Open Market Desk Survey of Market Expectations (Desk survey) continued to see the economy as resilient[4] and again marked up their forecasts for real gross domestic product (GDP) growth in 2026, while their expectations for headline personal consumption expenditures (PCE) inflation and the unemployment rate were little changed. Market- and survey-based policy rate expectations were likewise little changed. Market-based measures of policy rate expectations indicated one to two 25 basis point rate cuts this year, and the median modal path of the federal funds rate, as given in the Desk survey, continued to indicate expectations of two 25 basis point rate cuts this year.
12
+ >
13
+ > The manager turned next to Treasury market developments and market-based measures of inflation compensation. Shorter-term Treasury yields were little changed, while longer-term yields rose a few basis points on net; the Treasury curve steepened slightly as a result. Near-term inflation compensation continued to decline amid lower-than-expected consumer price index (CPI) readings, lower energy prices, and lower-than-anticipated pass-through of tariffs to customers; forward rates suggested that near-term inflation would stabilize close to current levels for the rest of the year. Model-based measures of short-term inflation expectations also declined some over the intermeeting period, with forward rates suggesting further modest declines over the course of this year. The Treasury market continued to function well amid low volatility. In light of the growing portion of Treasury securities that is financed using repos, the manager noted the importance of the stability of the repo market for the continued smooth functioning of the Treasury market.[5]
14
+ >
15
+ > The recent announcement that Fannie Mae and Freddie Mac may increase their mortgage investment portfolios[8] garnered substantial market attention and was followed by a notable decline in mortgage-backed securities yields relative to those on comparable-maturity Treasury yields.[9] Still, the manager observed that the decline was unlikely to result in a material increase in mortgage refinancing because current mortgage rates are well above the weighted average rate of outstanding mortgages.[6]
16
+
17
+ Every claim has an owner: survey respondents see the economy as resilient, market-based measures indicated one to two rate cuts, the manager noted the importance of repo stability. The last paragraph reports an event, the market's reaction, and the manager's judgment with its reason attached: refinancing is unlikely to rise, because current mortgage rates sit well above the average rate on outstanding mortgages. No one said that reason aloud in the meeting. The writer added it so the passage stands on its own.
18
+
19
+ Write like that.
20
+
21
+ Here, on the other hand, is the same briefing summarized the way summaries usually fail:
22
+
23
+ > The manager's briefing covered a range of topics, including survey results, Treasury market developments, and a recent announcement.[2] The briefing opened with the Desk survey.[1] Overall, the economy is seen as resilient, and growth forecasts were marked up again,[4] while expectations for inflation and unemployment were little changed. A considerable portion of the discussion concerned the survey itself, with an extended exchange about response rates and whether the questions on rate expectations should be reworded; participants explored several possibilities and the topic generated substantial engagement before the group moved on.[7]
24
+ >
25
+ > The briefing then turned to Treasury markets.[1] Shorter-term yields were little changed while longer-term yields rose somewhat, and near-term inflation compensation continued to decline, which was attributed to a number of factors.[4] Model-based measures moved in a manner consistent with the drivers mentioned earlier.[3] The question was raised of whether the repo market posed any risk to Treasury market functioning.[5] Attention then shifted to the recent announcement,[8] which had attracted considerable market interest; the resulting yield moves were viewed by some as significant,[4] although refinancing is not expected to increase materially.[6]
26
+ >
27
+ > Toward the end of the briefing,[1] it was noted that the announcement in question was that Fannie Mae and Freddie Mac may increase their mortgage investment portfolios, news which had been followed by a notable decline in mortgage-backed securities yields relative to comparable-maturity Treasuries.[9]
28
+
29
+ Do NOT summarize like that. Note that its prose is mostly clean: no banned words, short sentences, nothing write-docs would flag. A summary can pass every sentence-level rule and still fail completely, because what is wrong with it is what it chose to say.
30
+
31
+ The numbers refer to the [bracketed] markers in both passages. Where a number appears in each, the pair is the failing and the working version of the same thing. Tell 7 marks an absence on the good side: the real minutes give the methodology chatter no space at all, so there is nothing to mark.
32
+
33
+ 1. Walking the source: the summary follows the source's own order: turn by turn through a conversation, file by file through a diff, section by section through a paper. Order by the subject instead. A spine of subjects is fine, and the minutes use one ("turned first to" follows the briefing's agenda); what fails is the clock. "The briefing opened with" and "toward the end of the briefing" preserve when things were said, which the reader never needed to know.
34
+
35
+ 2. Topics without content: "we discussed the migration", "this PR refactors the auth module", "the paper explores tradeoffs in caching". Each names what the source is about and shares nothing it says. A sentence that could have been written before reading the source carries no information about it. Cash every topic out in specifics or drop it.
36
+
37
+ 3. Pointers to nowhere: a reference that resolved during the conversation but resolves to nothing in the summary: "the approach discussed earlier", "the second reviewer's concern", "the drivers mentioned earlier", "see Section 3". Name the thing instead. Every reference must resolve inside the summary itself.
38
+
39
+ 4. Claims with no owner: the reader cannot tell whether a statement is a fact, someone's position, or the summarizer's own guess. "The economy is seen as resilient": seen by whom? In the minutes it is survey respondents. For a paper the three cases are the authors' finding, a work they cite, and the summarizer's opinion; for a PR, what the code does, what the description promises, and what a reviewer suspects. Vague hedges are the same failure: "some concerns were raised" hides both the who and the which. Give every claim its owner, and mark your own inferences as yours.
40
+
41
+ 5. No status: a thread is reported but its current state is not. Decided, dropped, or still open; merged, blocked, or awaiting review; a task with nobody named as doing it. "The question was raised" is where this tell lives: raised, and then what? The minutes commit: the manager noted repo stability matters. When the source left something open, say it is open. An honest "undecided" is status too.
42
+
43
+ 6. The why dropped: the conclusion survives but its reason does not. "Refinancing is not expected to increase materially" keeps the what and loses the why; the minutes keep both, and the reason (current mortgage rates sit well above the average rate on outstanding mortgages) is what lets the reader check the logic and notice when it stops applying. Reasons are scattered in every source: across turns in a conversation, across review comments in a PR, across the introduction and discussion of a paper. Gathering them is most of the work of summarizing, which is why they are the first thing lazy summaries lose.
44
+
45
+ 7. Space by bulk: space in the summary tracks the size of the source material instead of how much it matters. The twenty-minute methodology digression that changed nothing gets the longest stretch; the two-line exchange that changed everything gets half a clause; the thousand-line mechanical rename dominates a PR summary while the one-line behavior change hides at the bottom. Weight by how much each item changed the situation.
46
+
47
+ 8. Assumes you read it: the summary only makes sense next to the source. "The recent announcement" is intelligible only to a reader who already knows what happened that week; the reader may never open the source and has probably forgotten it. A summary must still work a week later with the source gone. Standing alone means naming what the source introduced; it does not mean reciting background the reader already holds.
48
+
49
+ 9. Buried lede: the biggest change arrives in the final sentence, because that is where the source got to it. The minutes lead with the announcement and its market reaction. Put the largest change first, where the reader cannot miss it.
50
+
51
+ Tells 1-3 are one failure: the summary is written from the source instead of from what the source describes. Tells 4-7 are a second: the picture reaches the reader with a piece missing (its owners, its status, its reasons, its proportions). Tells 8-9 are a wrong guess about what the reader holds.
52
+
53
+ The first family has fifty years of science behind it. Kintsch and van Dijk (1978) showed that readers build the gist of a text with three operations: delete what does not matter, generalize lists into a covering statement, and construct statements that were never in the text. Memory then converges on that gist as details fade, one of the most replicated results in the field. Brown and Day (1983) found that novice summarizers use only the first operation, and named the result copy-delete: run through the source in order, keep or drop each bit, and copy the kept bits in roughly their original words. That is tell 1, and it is every summarizer's default, human or LLM. The operations that make a summary worth reading are the hard ones; in Brown and Day's data, even college students usually failed to construct a covering statement where the source lacked one. The mortgage paragraph in the minutes is that hard move done well. The because-clause appears in no transcript; the writer constructed it.
54
+
55
+ Their later work explains the other two families. What a reader keeps from a text is a model of the situation it describes, built by joining the text with what the reader already knows; the exact words fade in minutes and the sentences within days (van Dijk and Kintsch, 1983). A transcript contains no such model. The situation lived in the participants' heads, which is why raw transcripts are so much work to read. The summarizer's job is to rebuild the situation from the source and write from it: what is true, who wants what and why, what is decided and what is open. And since the reader already holds a situation model of their own (the project, the people, the running argument), a summary is an update to that model, not a description for a stranger. Each tell is a way the update fails to apply: a claim with no owner cannot be trusted, a pointer to nowhere cannot be resolved, and background the reader already holds updates nothing.
56
+
57
+ Before sending, read the draft once against the four dimensions the summarization-evaluation literature settled on (SummEval; Fabbri et al., 2021). Relevance: did it pick what matters? Consistency: is every statement supported by the source, or marked as the summarizer's own? Coherence: does it read as one situation rather than a pile of fragments? Fluency: write-docs owns it. Most tells are one of these failing somewhere specific: relevance fails through tells 2, 6, and 7, consistency through 4 and 5, coherence through 1, 3, and 9. The dimension the literature lacks is the reader: no score asks whether the summary stands alone, because evaluators judge it with the source open beside it. Tell 8 is invisible to that protocol, which is a reason to check it deliberately.
58
+
59
+ The minutes are a model for their discipline, not their register. Take the habits: every claim owned, judgments committed to with their reasons attached, context added wherever the reader needs it to make sense of an event. Leave the committee-speak: "garnered substantial market attention" survives in the Fed's pages because institutions write that way, and a summary for a colleague has no such requirement; write-docs's rules on plain words apply to summaries too. And leave the anonymization. The minutes say "the manager" and "a few participants" because committee politics require it. Your reader wants names, because who holds a position is half the information: "Sam wants the migration delayed until the index rebuild ships" updates the reader's picture, and "concerns were raised about timing" does not.
60
+
61
+ When a new tell is added to this skill, add a marked instance to the sloppy passage too, and a marker to the minutes passage where a paired good version exists.
62
+ """
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.4
2
+ Name: aai-coding
3
+ Version: 0.1.0
4
+ Summary: Pyskills for Answer.AI coding sessions
5
+ Author: aai-coding contributors
6
+ License: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/AnswerDotAI/aai-coding
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3 :: Only
10
+ Requires-Python: >=3.10
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: llmdojo>=0.0.3
14
+ Provides-Extra: dev
15
+ Requires-Dist: fastship; extra == "dev"
16
+ Requires-Dist: build; extra == "dev"
17
+ Requires-Dist: twine; extra == "dev"
18
+ Dynamic: license-file
19
+
20
+ # aai-coding
21
+
22
+ The Answer.AI coding harness: the shared configuration, skills, and tooling that make a Claude Code or codex session work the way our team works. If you are an LLM reading this, you are probably either setting the harness up (follow `SETUP.md`, but read this file first) or working inside it and wanting to understand why it is shaped this way, so you can give your user informed advice.
23
+
24
+ ## The system in one paragraph
25
+
26
+ The Claude Code setup and one codex setup are kernel-centric: native file tools are denied, and file reading, editing, searching, and Python execution go through one persistent IPython kernel (clikernel) loaded with curated tooling discovered via `pyskills`. Codex can instead use a hybrid setup: normal `apply_patch` and Bash for files and shell work, with a quiet clikernel reserved for Python-specific work. The kernel-centric setup uses two host-level bootstrap skills, `persistent-python` and `pyskills`; the hybrid setup uses `clikernel-workflow` to define the boundary and `notebook-dialog-editing` for safe kernel-free notebook and aidialog work. Everything else that would conventionally be a host skill is a pyskill in this package: skill text lives in module docstrings, read with `doc()`, listed by `list_pyskills()`, and versioned, released, and installed like any other Python code.
27
+
28
+ ## What is in here
29
+
30
+ - `aai_coding/` - the pyskills. `coding_patterns` (style, testing judgment, and team policy; part of the kernel startup doc round), `write_prose` (anti-slop rules for narrative prose), `write_docs` (the voiceless register for docstrings, READMEs, and PRs), `harness_docs` (how to find official harness docs via llms.txt), and `harness` (not a skill: the `aai-hook` CLI that implements both harnesses' hooks).
31
+ - `skills/` - the harness-level SKILL.md sources, symlinked into `~/.claude/skills` or `~/.codex/skills`. `persistent-python` and `pyskills` bootstrap the kernel-centric setup; `clikernel` and `notebook-dialog-editing` support the hybrid codex setup.
32
+ - `plugins/safecmd/` - a Claude Code plugin that auto-approves allowlisted Bash commands via the `safecmd` package, so the deny-heavy permission setup stays livable.
33
+ - `prompts/` - shared prompt text. `core.md` holds harness-neutral behavioral rules: codex reads it natively via a `~/.codex/AGENTS.md` symlink, and Claude Code can append it. `sysp.md` is a full replacement for Claude Code's default system prompt, tuned against the default's consultant and action biases; install it as a `~/.claude/sysp` symlink and launch with `claude --system-prompt-file ~/.claude/sysp --append-system-prompt-file <this repo>/prompts/core.md` (replacement drops the default prompt's prose but tool schemas survive; the dynamic environment block and scratchpad path are the known losses).
34
+ - `SETUP.md` - the setup runbook, written as a prompt for an LLM session rather than an installer script.
35
+
36
+ ## Design decisions, and why
37
+
38
+ - **Task skills are pyskills.** In a kernel-centric harness the native skill list stops being the discovery surface; `list_pyskills()` is. Docstrings-as-skill-text means nothing depends on the harness's skill machinery. It also lets skill text live beside its executable companions in one module. The hybrid codex workflow remains a host skill because it tells codex when to cross into the kernel at all.
39
+ - **Hooks are a CLI.** Every hook body is a subcommand of `aai-hook` (`aai_coding/harness.py`): versioned, unit-tested Python instead of shell one-liners scattered through settings files. Harness configs only register command names.
40
+ - **Everything installs by symlink.** Like the workspace's editable installs, config points into the checkout, so `git pull` updates every machine and there is no copy to drift. The only exceptions are settings files that must be merged (Claude Code's `settings.json`, codex's `config.toml`), which is why setup is a runbook and not a script: merging into someone's existing configuration takes judgment and conversation, which an LLM has and an installer does not.
41
+ - **Per-harness differences are data, not templates.** Where Claude Code and codex genuinely differ, a module carries both facts (a `dict` keyed by harness, or two adjacent bullets); nothing is rendered or generated.
42
+ - **Team-agreeable versus personal.** This repo holds only what any team member would nod at. Personal preferences (model choice, sounds people disagree about, individual workflow like release management) belong in each person's own CLAUDE.md, settings, and local skills, and the runbook is explicit about which is which.
43
+
44
+ ## Using and changing it
45
+
46
+ Day to day there is nothing to operate. Kernel-centric sessions bootstrap through `persistent-python`; hybrid codex sessions use `clikernel-workflow` for Python, `notebook-dialog-editing` for notebooks and aidialog dialogs, and the native tools otherwise. Both discover Python tooling through the pyskills catalog and read it with `doc()` or `pyskills-doc`. To change a skill, edit its source in this checkout and let the team pick it up by pulling; releases go through the standard fastship flow (`ship-release`), with the version in `aai_coding/__init__.py` bumped after each release.
@@ -0,0 +1,16 @@
1
+ aai_coding/__init__.py,sha256=kUR5RAFc7HCeiqdlX36dZOHkUI5wI6V_43RpEcD8b-0,22
2
+ aai_coding/coding_patterns.py,sha256=lNgoWBDmbpYrAi_zYL3dh_doEGy-JKvObuPnZGXnNF0,10821
3
+ aai_coding/harness.py,sha256=TpuKhY4P4WygLBzRnS64WaR-7vcT8qb3Aw0N6l26qko,21410
4
+ aai_coding/harness_docs.py,sha256=Z4nnlgakB-1aDark4EkisExO_WEZzM3IUtRZFecLQ0o,2630
5
+ aai_coding/llms.py,sha256=gqei5abMHhVlTGyGfCQJNVSyM09wQT2fVT2k8UQmDyE,2172
6
+ aai_coding/looker.py,sha256=t-0slPt44QRkpzJie_5BDoUG8uK8hjOGbUeaO8_DqbY,4168
7
+ aai_coding/theory.py,sha256=N2NCd3_bI66LLF_GYnR5gpGANjzY3_pPF1K2H0UOix4,2431
8
+ aai_coding/write_docs.py,sha256=FLxB7xAH4w3XTccpYC19LkSEzF4anLbYUjkxBh5mm9M,13853
9
+ aai_coding/write_prose.py,sha256=oKcgfj8rJ8UNAThfrBl5X5vlGgbFv9Yju7a8pxEPOdU,23150
10
+ aai_coding/write_summary.py,sha256=YQYseDXot5E8HTOx2REoYBgDfrPv6H_3oso_qwuD_Jk,13942
11
+ aai_coding-0.1.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
12
+ aai_coding-0.1.0.dist-info/METADATA,sha256=GZ99rTP-14ZAk9fylVN72D6N2Ho22RLOdB0--qC0RCE,5779
13
+ aai_coding-0.1.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
14
+ aai_coding-0.1.0.dist-info/entry_points.txt,sha256=oa_kzA_USQ_YUD1hME0pzT0dO-nKEPfuRUIr9Nczmzc,316
15
+ aai_coding-0.1.0.dist-info/top_level.txt,sha256=iVk9JtFVCUM9CSJoZwBMKtlX3C0PhbUOic0hPZlY0IA,11
16
+ aai_coding-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,11 @@
1
+ [console_scripts]
2
+ aai-hook = aai_coding.harness:main
3
+
4
+ [pyskills]
5
+ coding_patterns = aai_coding.coding_patterns
6
+ harness_docs = aai_coding.harness_docs
7
+ looker = aai_coding.looker
8
+ theory = aai_coding.theory
9
+ write_docs = aai_coding.write_docs
10
+ write_prose = aai_coding.write_prose
11
+ write_summary = aai_coding.write_summary