Human Backlog Pack Grill Log
Human Backlog Pack Grill Log
Brief: Human Backlog Pack Brainstorm Brief.
Backlog model
Q1
Prerequisites:
- none
Altitude: L1
Source: Brainstorm Brief
Question: How do the Core Backlog and the Human Backlog relate?
Accepted answer:
- Two backlogs. The Core Backlog is Linear, written only by
write-backlog, unchanged except the human-state write. The Human Backlog is the client's Azure DevOps project, written by the Human Backlog Pack skills.
Rejected alternatives:
- A second, separately maintained set of human work items: state drift risk.
Glossary Q1
Question: Which terms name the two backlogs and the human-facing request?
Accepted answer:
- Canonical term: Core Backlog — the HI-owned delivery backlog (Linear or GitHub) written only by
write-backlog. - Canonical term: Human Backlog — the client's Azure DevOps project that non-technical stakeholders read and write through the Human Backlog Pack.
- Canonical term: Business Request — a Human Backlog work item that records one business ask in business language; it has no parent and no children and links to the Features that deliver it.
- Avoid: BR (in prose), Backlog for Humans (as a noun for items), agentic backlog
- Relationship: one Fog links to at most one Business Request (cardinality open: Q21)
Human states
Q2
Prerequisites:
- none
Altitude: L1
Source: Brainstorm Brief
Question: Which states does a Business Request show?
Accepted answer:
- Received → In analysis → Planned → In progress → On staging → Live, plus Rejected and Withdrawn.
Q3
Prerequisites:
- Q2
Altitude: L1
Source: Brainstorm Brief
Question: How do the human state names reach each client's process?
Accepted answer:
- The fixed team process adopts these exact names once. No mapping layer.
Rejected alternatives:
- Keep Giovanni's names (New, Under Analysis, Analyzed, Done, Rejected, Removed) with a per-client mapping: needs a mapping Write Backlog can read.
Q4
Prerequisites:
- none
Altitude: L1
Source: Brainstorm Brief
Question: Which parts of the Human Backlog process can a client change?
Accepted answer:
- None of the work-item types, fields or states. The team owns the process.
Configuration and language
Q5
Prerequisites:
- none
Altitude: L1
Source: Brainstorm Brief
Question: Is sprint length configurable?
Accepted answer:
- No. Two working weeks, as today.
Q6
Prerequisites:
- none
Altitude: L1
Source: Brainstorm Brief
Question: Which language rules apply?
Accepted answer:
- Skill files (prompts, references, script messages) are always English.
- Saved work-item content uses the language of the user talking to the skill.
- Chat uses the user's language.
Rejected alternatives:
- Saved content always English (Giovanni's original rule).
- A per-project write-language setting.
Q7
Prerequisites:
- Q4, Q5, Q6
Altitude: L1
Source: Brainstorm Brief
Question: Which values change per client?
Accepted answer:
- Org, project, tenant, ratings pipeline URL. Nothing else.
Pack and distribution
Q8
Prerequisites:
- Q7
Altitude: L1
Source: Brainstorm Brief
Question: How do the skills reach our team and the client?
Accepted answer:
- Our team: the HI Pack through
hi init/hi update. - Client: one zip per eject, stamped with pack version and config hash, targeting no specific harness.
Q9
Prerequisites:
- Q8
Altitude: L2
Source: Brainstorm Brief
Question: What does the HI Pack ship?
Accepted answer:
- Pack
human-backlog, categoryoptional, sourced from the skills repomain: Giovanni's five skills made generic, a genericado.pywith its tests, and a new configure/eject skill. HI repos use the skills directly.
Rejected alternatives:
- Generator plus per-client templates, with no live skill in HI repos.
- A fill script that templates skills per client.
- A golden test reproducing Giovanni's zip.
Q10
Prerequisites:
- none
Altitude: L2
Source: Brainstorm Brief
Question:
Does ado.py stay?
Accepted answer:
- Yes, made generic.
Rejected alternatives:
- Prompt-only JSON Patch through MCP or REST.
Q11
Prerequisites:
- Q9
Altitude: L2
Source: Brainstorm Brief
Question: What does the configure/eject skill do?
Accepted answer:
- Interviews for the config, writes it, proves it against the client's live
Azure DevOps, returns
readyorblocked, and on request builds the client zip.
Q12
Prerequisites:
- Q7
Altitude: L2
Source: Brainstorm Brief
Question: Where does the config live?
Accepted answer:
- HI repos:
.devpunks/settings.jsonkeyhumanBacklog { provider, projectUrl, tenant, ratingsPipelineUrl }. - Client zip: the same object as a config file that
ado.pyreads when no settings file exists. - Existing
ADO_*env vars override both.
Write Backlog human-state branch
Q13
Prerequisites:
- Q1, Q2
Altitude: L2
Source: Brainstorm Brief
Question: Who writes the late human states?
Accepted answer:
write-backloggets one compact reference branch. WhenhumanBacklogis configured, it writes the human state onto the Business Request linked to a Fog.
Rejected alternatives:
- Link and reminder only, no Azure DevOps write.
Q14
Prerequisites:
- Q13
Altitude: L2
Source: Brainstorm Brief
Question: Which Core Backlog item links to the Business Request?
Accepted answer:
- The Fog.
Rejected alternatives:
- Any core item with a human link: more rules.
- Epic ↔ Feature: an Epic is long-lived and enriched by several Fogs.
Q15
Prerequisites:
- Q13
Altitude: L2
Source: Brainstorm Brief
Question: How does this relate to the accepted provider scope?
Accepted answer:
- It supersedes the
project-backlog-operating-modeldecision that Azure DevOps is out of scope, for the human-state path only.
Round R1 (L1) answers
User reply R1: "agree all". Each entry below accepts the round recommendation.
Q16
Prerequisites:
- Q2
Altitude: L1
Question: Which skill or actor writes each of Received, In analysis and Planned?
Accepted answer:
create-business-requestwrites Received when it creates the request.analyze-business-requestwrites In analysis when it adds the first Feature link.plan-sprintwrites Planned when the first linked Feature gets a sprint.
Q17
Prerequisites:
- Q16
Altitude: L1
Question:
When may update-business-request edit freely or cascade, under the new names?
Accepted answer:
- Received with no linked Feature: free edit.
- In analysis or Planned with every linked Feature New or Planned: cascade.
- Every other case is blocked before any write.
Q18
Prerequisites:
- Q2
Altitude: L1
Question: Who writes Rejected and Withdrawn?
Accepted answer:
- A person decides;
update-business-requestwrites Rejected or Withdrawn on request. write-backlogalso writes Withdrawn when the linked Fog becomes Cancelled.- A Superseded Fog writes no human state; its link moves to the successor Fog (Q21).
Q19
Prerequisites:
- Q13
Altitude: L1
Question: What evidence moves a request to In progress, On staging and Live?
Accepted answer:
- In progress: the first Story or Task in the Fog's accepted scope records work started.
- On staging: every Story and Task in the Fog's accepted scope has staging evidence.
- Live: the Fog completes (production evidence for its whole accepted scope).
- External dependency, outside this scope: no delivery step records staging or production evidence today. Until one does, only In progress is written automatically.
Rejected alternatives:
- Add deploy-evidence capture to this scope.
Q20
Prerequisites:
- Q14
Altitude: L1
Question: What happens for a Fog with no linked request, and for work with no Fog?
Accepted answer:
- No human-state write and no failure.
Q21
Prerequisites:
- Q14
Altitude: L1
Question: How many requests may a Fog link, and how many Fogs may a request link?
Accepted answer:
- A Fog links at most one Business Request.
- A Business Request links one active Fog. On supersession the link moves to the successor Fog.
Rejected alternatives:
- Several Fogs per request with an earliest-state roll-up.
Q22
Prerequisites:
- Q6
Altitude: L1
Question: Which language does a skill write when it edits an existing item?
Accepted answer:
- The item keeps its current language. Only new items follow the user's language.
Q23
Prerequisites:
- Q11
Altitude: L1
Question: What is the configure/eject skill called?
Accepted answer:
setup-human-backlog. It writes the Human Backlog Config for HI repos and builds the client zip on request.
Rejected alternatives:
eject-human-backlog; two separate skills.
Glossary Q23
Question: Which term names the configure/eject skill and its result?
Accepted answer:
- Canonical term: Setup Human Backlog — the
setup-human-backlogskill that writes and proves a Human Backlog Config and, on request, performs an Eject. - Avoid: skill factory, generator, customize-and-eject
- Relationship: one Eject uses exactly one proven Human Backlog Config
- Axiom: a Business Request has one active Fog and a Fog at most one Business Request.
Round R2 (L1) answers
User reply R2: "ok". Each entry accepts the round recommendation.
Q34
Prerequisites:
- Q16, Q18, Q19
Altitude: L1
Question: May any writer move a request backward, or out of Live, Rejected or Withdrawn?
Accepted answer:
- No. Skills and
write-backlogmove a Business Request forward only along Received → In analysis → Planned → In progress → On staging → Live. - Writing the current state again changes nothing.
- Live, Rejected and Withdrawn are final for every automated writer.
- Only a person corrects a state, directly in Azure DevOps.
Rejected alternatives:
- Backward moves when evidence disappears (for example a rollback after Live).
Q35
Prerequisites:
- Q19
Altitude: L1
Question:
Does a write-backlog state change leave a note on the request?
Accepted answer:
- Yes. Each state change adds one comment in the request's language with the date and, when known, the release name. No technical links.
Rejected alternatives:
- State change only.
Glossary Q34
Question: Which axiom governs Human State changes?
Accepted answer:
- Axiom: automated writers move a Business Request forward only; Live, Rejected and Withdrawn are final; only a person corrects a state.
Round R3 (L2) answers
User reply R3: "actually these could live in ci-app, just like we did for ci-solutions package … and these HI skills should belong to ci-solutions pack. agree all rest".
Q38
Prerequisites:
- Q9
Altitude: L2
Question: Which Pack carries the Human Backlog skills, and where is their source?
Accepted answer:
- Supersedes Q9 (pack identity and source) and the "Our team" line of Q8.
- The skills join the existing detected Pack
ci-solutions. No newhuman-backlogPack. - Source lives in the
collective-intelligenceapp repository (ci-app), not in the shared skills repository. A published npm package ships them in its tarball underpackage/skills/, and HI copies them withapps/cli/scripts/sync-package-skills.mjsat the version pinned inapps/cli/src/data/catalog/package-skills.ts, as forci-solution-structure(HI #288,886966be7).
Evidence anchor:
- existing:
apps/cli/src/data/catalog/package-skills.ts:collectiveIntelligenceLintSkills;apps/cli/scripts/sync-package-skills.mjs;apps/cli/src/data/catalog/packs.tsentryci-solutions(category detected; triggers the three@collective-intelligence/external-apps-*-sdkpackages).
Rejected alternatives:
- New
optionalPackhuman-backlogsourced from the shared skills repo.
Q24
Prerequisites:
- Q38
Altitude: L2
Question:
Where does the shared ado.py live so all pack skills reach it?
Accepted answer:
- One catalogued helper unit
human-backlog-adoholdsscripts/ado.py, its tests, and aSKILL.mdthat documents commands, config and auth. Its source is in ci-app beside the other Human Backlog skills (Q38). - Every other Human Backlog skill calls
../human-backlog-ado/scripts/ado.py.
Rejected alternatives:
- Copy
ado.pyinto every skill.
Q28
Prerequisites:
- Q12
Altitude: L2
Question:
How does ado.py resolve its config, and which keys are required?
Accepted answer:
- First match wins:
ADO_*env vars;humanBacklogin the nearest.devpunks/settings.jsonsearched upward from the working directory;config.jsonbesideado.py(zip). - Org and project derive from
projectUrl(https://dev.azure.com/{org}/{project}). - Required:
provider=azure-devops,projectUrl,tenant. Optional:ratingsPipelineUrl. - A missing required value stops before any network call and names the key.
Q29
Prerequisites:
- Q14, Q21
Altitude: L2
Question: Where and when is the request URL recorded on the Fog, and who moves it?
Accepted answer:
- One provider-native link on the Fog: Linear attachment link; GitHub body
line
Business Request: <url>. write-backlogwrites it at Fog intake when a request URL is supplied, or later on an explicit link instruction, and adds a back link on the Business Request.- When
write-backlogrecords Superseded, it moves both links to the successor Fog in the same run.
Q30
Prerequisites:
- Q13
Altitude: L2
Question: When the human-state write fails, what happens to Core Backlog writes?
Accepted answer:
- Core Backlog writes stand. The failed human-state write is returned in the residual delta and retried at the next delivery event. Forward-only makes the retry safe. A Human Backlog failure never blocks delivery.
Q31
Prerequisites:
- Q12
Altitude: L2
Question:
Who writes humanBacklog, and how does the CLI treat it?
Accepted answer:
setup-human-backlogwrites it.hi initdoes not prompt for it.- The CLI declares it as an optional validated struct in
SettingsDocument: providerazure-devops,projectUrlondev.azure.com,tenanta GUID, optionalratingsPipelineUrl.hi checkreports an invalid value.
Rejected alternatives:
- No CLI change.
Q32
Prerequisites:
- Q11, Q3, Q4
Altitude: L2
Question:
What does the live proof check before ready?
Accepted answer:
- New read-only
ado.py doctor: login; the five work-item types and every field the skills use; exactly the eight Business Request states; team calendar has iterations; avalidateOnlycreate per type. No writes; every mismatch listed; any mismatch isblocked.
Q36
Prerequisites:
- Q34
Altitude: L2
Question: Where are forward-only and the state comment enforced?
Accepted answer:
- In
ado.py: newset-state ID STATE --comment TEXT. It refuses backward moves and moves out of a final state, no-ops on the same state, uses a revision check, and writes the comment. Every skill andwrite-backloguses only this command for Business Request state changes. Unit tests cover it.
Rejected alternatives:
- Prompt-only rules.
Q37
Prerequisites:
- Q3, Q4
Altitude: L2
Question: Who creates the fixed process in a new client org?
Accepted answer:
- The team, once, by hand, from a process reference in
setup-human-backlog(types, fields, states).doctoronly verifies.
Rejected alternatives:
ado.pycreates the process through the process API.
Round R4 (L2) answers
User reply R4: package name "just /backlog"; on az: "thats just one of the
available human backlog providers. shouldnt be required by HI. its the
client's stuff. and its dynamic anyway"; "agree all but" those.
Q39
Prerequisites:
- Q38
Altitude: L2
Question: Which npm package ships the Human Backlog skills?
Accepted answer:
- A new ci-app package
@collective-intelligence/backlog. - HI
package-skills.tsholds a list of package skill sources;sync-package-skills.mjsiterates it.
Rejected alternatives:
@collective-intelligence/backlog-skills(name).- Ship inside
@collective-intelligence/lint: wrong coupling.
Q40
Prerequisites:
- Q38
Altitude: L2
Question: Do all CI solution repos install the Human Backlog skills?
Accepted answer:
- Yes, through
ci-solutionsdetection. WithouthumanBacklogthe skills only point tosetup-human-backlog.
Rejected alternatives:
- A separate optional Pack.
Q25
Prerequisites:
- Q24, Q38
Altitude: L2
Question:
How does write-backlog reach ado.py?
Accepted answer:
- The new reference calls
.agents/skills/human-backlog-ado/scripts/ado.py set-state. WhenhumanBacklogis set but the file is absent, it returns setup guidance and makes zero Human Backlog writes; Core Backlog writes proceed.
Rejected alternatives:
- A hard-coded Pack dependency from
requirementsto a CI Pack.
Q26
Prerequisites:
- Q24, Q38
Altitude: L2
Question: Where do the Python tests live and which CI runs them?
Accepted answer:
human-backlog-ado/tests/in ci-app; one ci-app CI job runspython3 -m unittest discoverfor the@collective-intelligence/backlogpackage. HI runs no Python tests and trusts the pinned published version.
Q27
Prerequisites:
- Q24
Altitude: L2
Question: Which tool requirements do the skills declare?
Accepted answer:
requiresTools: ["python3"]only. HI does not add or requireaz.- Provider authentication is the client's concern and may vary (Q41).
Rejected alternatives:
- Declare
azas a check-only HI tool.
Q33
Prerequisites:
- Q8, Q24, Q38
Altitude: L2
Question: What is in the client zip and where is it written?
Accepted answer:
- The seven skill folders copied from installed
.agents/skills/,human-backlog-ado/scripts/config.jsonwith the client values, andMANIFEST.json(package name and version, config hash, date). - No tests; no process reference.
- Written to
.devpunks/human-backlog/eject/<org>-<project>-<version>.zip, git-ignored.
Glossary Q27
Question: How do HI and the client split Human Backlog responsibilities?
Accepted answer:
- Canonical term: Human Backlog Provider — the system that hosts a Human Backlog; today only
azure-devops. - Axiom: HI requires no provider-specific tool; provider authentication belongs to the client environment.
Round R5 (L2) answers
User reply R5: "41: option 2. if not avilable instruct user to install and
login with az cli". Recorded interpretation: authentication uses the az CLI
(step 2 of the proposed order) only; no ADO_TOKEN path.
Q41
Prerequisites:
- Q27
Altitude: L2
Question:
How does ado.py authenticate?
Accepted answer:
- Only through
az account get-access-token --tenant <tenant>, as today. - When
azis missing or not logged in,ado.pystops before any network call and tells the user to install the Azure CLI and runaz login --tenant <tenant>. - HI still declares no
aztool (Q27); the instruction comes from the skill at run time.tenantstays required.
Rejected alternatives:
ADO_TOKENfirst, thenaz.ADO_TOKENonly.
Round R6 (L3) answers
User reply R6: "agree all". Each entry accepts the round recommendation.
Q42
Prerequisites:
- Q26, Q39
Altitude: L3
Evidence anchor:
- ci-app
packages/public/lint/package.json(files,test:pack);tools/test-pack.ts:55;.github/workflows/ci.yml:514-525;.github/scripts/npm_release.py:137-144(origin/maind34b4b06bb)
Question: ci-app package layout, scripts and test location.
Accepted answer:
packages/public/backlog/withpackage.json(name@collective-intelligence/backlog,files: ["README.md", "skills"],publishConfig.access: public), no build and no TS sources.test:python3 -m unittest discover -s tests.test:pack: assert tarball root is exactlyREADME.md, package.json, skillsand all seven skills are present, then runtest.- Tests live in
packages/public/backlog/tests/, outsideskills/. Supersedes the test location in Q26. - First publish needs one manual staged release run.
Q43
Prerequisites:
- Q38, Q39
Altitude: L3
Evidence anchor:
- HI origin/main
886966be7:apps/cli/src/data/catalog/package-skills.ts:collectiveIntelligenceLintSkills;apps/cli/scripts/sync-package-skills.mjs:syncPackageSkills,main;apps/cli/src/data/catalog/skills.tsci-solution-structureentry;packs.tsci-solutions
Question: HI catalog, sync and receipt shape.
Accepted answer:
package-skills.ts: addcollectiveIntelligenceBacklogVersionandcollectiveIntelligenceBacklogSkills(directory: "collective-intelligence-backlog",packageName: "@collective-intelligence/backlog", the seven skills,tarballEnv: "HI_CI_BACKLOG_TARBALL"); exportpackageSkillSources = [lint, backlog].sync-package-skills.mjsiteratespackageSkillSources; the receipt.devpunks-cache/package-skills-sync.jsonbecomes one object keyed by package name.skills.ts: seven entries{ tier: "framework", framework: "ci-solutions", language: null, requiresTools: ["python3"], sourceDirectory: packageSkillSourceDirectory(collectiveIntelligenceBacklogSkills, id) }.packs.tsci-solutions: add the seven skills and onepromptDetailsline.
Q44
Prerequisites:
- Q31
Altitude: L3
Evidence anchor:
apps/cli/src/registry/settings.ts:SettingsDocument;apps/cli/src/registry/check.ts:decodeCheckSettings; Effect 4.1.0packages/effect/src/Schema.ts:isPattern(6889),isUUID(7013); repo patternSchema.String.check(...)inregistry/harness-adapters.ts:203
Question:
humanBacklog schema shape and validating readers.
Accepted answer:
HumanBacklogSettings = Schema.Struct({ provider: Schema.Literal("azure-devops"), projectUrl: Schema.String.check(Schema.isPattern(/^https:\/\/dev\.azure\.com\/[^/]+\/[^/]+\/?$/u)), tenant: Schema.String.check(Schema.isUUID()), ratingsPipelineUrl: Schema.optional(<https URL>) }).SettingsDocument.humanBacklog: Schema.optional(HumanBacklogSettings);decodeCheckSettingsreads it too. Invalid values failhi check,hi updateandhi initlike any invalid setting.- No
ProjectIntentfield.
Rejected alternatives:
- Validate only in
hi check.
Q45
Prerequisites:
- Q28, Q32, Q36, Q41
Altitude: L3
Question:
ado.py module shape.
Accepted answer:
- One file
human-backlog-ado/scripts/ado.py. load_config()replaces theORG/PROJECT/TENANTconstants, resolves by Q28 lazily at first use;--helpneeds no config.BR_FLOW = ("Received", "In analysis", "Planned", "In progress", "On staging", "Live");BR_FINAL = {"Live", "Rejected", "Withdrawn"}.- New commands:
doctor;set-state ID STATE --comment TEXT [--expected-rev N] [--dry-run];eject --out PATH(Q47). revision-checkuses the new names. Received is the type's initial state, socreatesets no State.- No client-specific text; the
azerror gives install and login guidance. - Giovanni's 72 tests adapted; new tests for config,
set-state,doctor,eject. human-backlog-ado/SKILL.mdis a helper reference loaded only by the other Human Backlog skills.
Q46
Prerequisites:
- Q13, Q25, Q29, Q30
Altitude: L3
Question:
write-backlog file layout for the human-state branch.
Accepted answer:
- New
write-backlog/references/human-backlog.mdholds trigger, per-provider Business Request link representation, evidence → state table,set-statecall, failure and missing-helper handling. write-backlog/SKILL.mdstep 9 gets one pointer line. Provider references,fog-intake.mdanddelivery-status.mdstay unchanged.
Rejected alternatives:
- Spread rules over four existing files.
Q47
Prerequisites:
- Q32, Q33, Q37
Altitude: L3
Question:
setup-human-backlog layout, eject command, manifest and output path.
Accepted answer:
setup-human-backlog/SKILL.md(interview → writehumanBacklog→ado.py doctor→ready/blocked→ optional eject),references/process.md(fixed process for the team to create by hand),references/eject.md.ado.py eject --out <path>builds the zip: sibling skill folders without tests,config.json,MANIFEST.json(package name, skill-tree sha256, config sha256, date).--outis required; the skill asks the user for it.- Supersedes Q33 on version-in-filename and the fixed output folder.
Q48
Prerequisites:
- Q38
Altitude: L3
Question: Skill ids.
Accepted answer:
- Keep
create-business-request,analyze-business-request,update-business-request,plan-sprint,create-bug; addhuman-backlog-adoandsetup-human-backlog. Descriptions name the Human Backlog in Azure DevOps.
Rejected alternatives:
- Rename
plan-sprintandcreate-bug.
Closure
Shared-understanding confirmation (R6): "yes we reached it", in reply to the request to confirm shared understanding and close the grill.
Closure: the same reply; the request stated that a yes closes the log, publishes
the glossary and hands off to $create-architecture.
Handoff: status and log go to $create-architecture within
$requirements-phase. External confirmations for the joint review with
Giovanni: ado.py is the single script; the state rename; whether the Feature
Ratings Sync pipeline runs ado.py. Outside scope: a delivery step that
records staging and production evidence.
Glossary Q49
Question:
How can a test check each accepted axiom? (Metadata completion after closure
for create-spec; no decision changes.)
Accepted answer:
- Axiom: the team owns the Human Backlog process. Checkable as: security gate (
ado.py doctorreturns ready only when every check holds, Q32). - Axiom: HI requires no provider-specific tool. Checkable as: not-checkable (catalog data; covered by an acceptance criterion).
- Axiom: merge is never staging; staging is never production. Checkable as: not-checkable (existing
write-backlogrule). - Axiom: automated writers move forward only; Live, Rejected, Withdrawn are final. Checkable as: model (
models/human-state.proof.ts;ado.py set-state, Q34, Q36). - Axiom: one active Fog per Business Request; at most one Business Request per Fog. Checkable as: not-checkable (skill rule).
- Axiom: skill files English; saved content in the user's language. Checkable as: not-checkable (prompt rule).