ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/missionmatch / internal/modules/ai/knowledge.go

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/missionmatch / internal/modules/ai/knowledge.go
DateNot specified in source
RepositoryJanady13/missionmatch
Revision720d47fae476b0d38477ae4401697d372b1ea2bc
Branchfeature/opportunity-to-outcome
Path or archive memberinternal/modules/ai/knowledge.go
Original SHA-256d9e6a98951af68325796d07f55847982b51c745a8920af46e891f12fb84a9387
Git blob SHA0c2fc243afa64250907f78711d41546a0881dbc6
Reading-copy SHA-256d9e6a98951af68325796d07f55847982b51c745a8920af46e891f12fb84a9387

Original source ↗

Every recorded occurrence

These 3 records contain identical original source bytes. Their paths and revisions remain part of the archive.

Original recordBranch or archiveRevision / identifierOriginal location
Janady13/missionmatch / internal/modules/ai/knowledge.gofeature/opportunity-to-outcome720d47fae476b0d38477ae4401697d372b1ea2bcOpen original
Janady13/missionmatch / internal/modules/ai/knowledge.gomaster1e9249840a4302ec82e123b9c9cb6f75badea3e4Open original
Janady13/missionmatch / internal/modules/ai/knowledge.gofeature/aioe-upgrade2178e7298d0e5d9af83afa12402fd587f0ba6ed8Open original

Recovered source transcript

package ai import "strings" // This file TEACHES the brain a curated body of stable, public, contents free knowledge: cleared workforce and // access facts, federal capture and staffing terminology, the compliance and AEDT framework, and the platform's // own methodology. It is the knowledge substrate behind the CAG (cache augmented generation) direct answer // path. Every card is PUBLIC domain knowledge or the platform's own published methodology, carries NO client // data and NO demographic field, and is safe to hold in any tenant's model context. A card is selected for a // question by a deterministic keyword match (never an LLM), so the brain answers a knowledge question ONLY from // the curated cards it was taught, cites the source of each, and refuses or falls back when it was taught // nothing relevant. The brain never invents a rule, a number, or a definition it was not given. // KnowledgeCard is one taught fact: a topic, the keywords that select it, the content the brain may answer from, // and the source it cites. Content is the ground truth the faithfulness gate holds the model prose to. type KnowledgeCard struct { Topic string Keywords []string Content string Source string } // KnowledgeBase is the closed, curated set of things the brain has been taught. Adding a card is a reviewed // decision, like adding a Registry intent. Every card must be public and contents free (a test walks the base // and refuses any eeo marker). var KnowledgeBase = []KnowledgeCard{ // ---------- Clearance and access ---------- { Topic: "Clearance levels and hierarchy", Keywords: []string{"clearance level", "clearance hierarchy", "confidential", "secret", "top secret", "ts/sci", "ts sci", "levels of clearance", "what clearance"}, Content: "US security clearances rise through Confidential, Secret, and Top Secret, with TS/SCI adding Sensitive Compartmented Information access on top of Top Secret. A higher level satisfies a lower requirement (a Top Secret holder meets a Secret need), but a lower level never satisfies a higher one (Secret does not meet a TS/SCI need). Only an active clearance counts; an expired or unknown clearance scores zero on the platform.", Source: "ODNI clearance framework", }, { Topic: "Polygraph types", Keywords: []string{"polygraph", "poly", "full scope", "lifestyle poly", "ci poly", "counterintelligence poly"}, Content: "A polygraph is an additional access gate layered on a clearance. A Counterintelligence (CI) polygraph covers espionage and security matters; a Full Scope (also called lifestyle) polygraph adds personal conduct topics. Full Scope satisfies a CI requirement, but CI does not satisfy a Full Scope requirement.", Source: "IC polygraph policy", }, { Topic: "SCI and compartments", Keywords: []string{"sci", "compartment", "compartmented", "control system", "sensitive compartmented"}, Content: "Sensitive Compartmented Information is intelligence held in separate control systems (compartments) that each require specific read in, on top of a TS/SCI eligibility. Holding TS/SCI eligibility does not grant every compartment; a role can require a named compartment the candidate must already be read into.", Source: "ICD 703", }, { Topic: "Special Access Programs", Keywords: []string{"sap", "special access", "special access program", "carve out", "waived"}, Content: "A Special Access Program applies extra need to know and access controls beyond a normal clearance level, using formal nomination and read in. SAP access is program specific and is not implied by a clearance level alone.", Source: "DoD SAP policy", }, { Topic: "Background investigation tiers", Keywords: []string{"investigation", "tier 3", "tier 5", "t3", "t5", "background check", "reinvestigation", "sf 86", "sf86", "eqip", "questionnaire"}, Content: "Clearances are supported by a background investigation: Tier 3 supports Secret and Tier 5 supports Top Secret and TS/SCI. The subject completes the SF 86 questionnaire through the eQIP or eApp system. Investigations were historically reinvestigated on a fixed cycle and are now maintained by continuous vetting.", Source: "SEAD 4 and Trusted Workforce 2.0", }, { Topic: "Continuous vetting", Keywords: []string{"continuous vetting", "continuous evaluation", "trusted workforce", "cv"}, Content: "Continuous vetting replaces the old periodic reinvestigation with ongoing automated record checks, so a cleared person is monitored continuously rather than only at renewal. It is part of the Trusted Workforce 2.0 reform.", Source: "Trusted Workforce 2.0", }, { Topic: "DISS and clearance systems of record", Keywords: []string{"diss", "jpas", "system of record", "clearance verification", "fso", "facility security officer", "adjudication"}, Content: "The Defense Information System for Security (DISS) is the government system of record for clearance eligibility and access, managed by a company's Facility Security Officer. Adjudication against the SEAD 4 national security adjudicative guidelines determines eligibility. The authoritative clearance check is always the hiring customer FSO through the system of record at onboarding, never a self reported indicator.", Source: "DCSA DISS and SEAD 4", }, { Topic: "Clearance reciprocity", Keywords: []string{"reciprocity", "transfer clearance", "reciprocal", "crossover"}, Content: "Reciprocity is the requirement that a clearance eligibility granted by one agency be honored by another without a new investigation, so a cleared person can move between contracts and agencies. In practice a receiving program still verifies eligibility and grants access.", Source: "SEAD 7", }, // ---------- Federal capture and staffing terminology ---------- { Topic: "Recompete versus new start", Keywords: []string{"recompete", "new start", "follow on", "re compete", "period of performance end"}, Content: "A recompete is a contract for work that already exists, coming up for award again as the current period of performance ends, usually with a known incumbent. A new start is work with no predecessor. A recompete favors staffing that can retain or match the incumbent workforce.", Source: "Federal acquisition practice", }, { Topic: "Incumbent and incumbency", Keywords: []string{"incumbent", "incumbency", "incumbent capture", "badge and move"}, Content: "The incumbent is the contractor currently performing the work and, on a recompete, the team to beat. Capturing incumbent staff (a badge and move) is a common win strategy because it lowers transition risk and signals continuity to the customer.", Source: "Capture practice", }, { Topic: "Small business set asides", Keywords: []string{"set aside", "8(a)", "8a", "sdvosb", "hubzone", "wosb", "small business", "socioeconomic"}, Content: "A set aside reserves a contract for a class of firm: 8(a) for socially and economically disadvantaged small businesses, SDVOSB for service disabled veteran owned, HUBZone for firms in historically underutilized business zones, and WOSB for women owned small businesses. Eligibility is verified through the Small Business Administration.", Source: "13 CFR and SBA programs", }, { Topic: "NAICS and PSC codes", Keywords: []string{"naics", "psc", "product service code", "industry code", "classification code"}, Content: "A NAICS code classifies the industry of a contract and drives the small business size standard; a Product Service Code (PSC) classifies what is being bought. Buyers and market analysis segment opportunities and awards by agency plus NAICS plus PSC.", Source: "Census NAICS and GSA PSC", }, { Topic: "Key personnel", Keywords: []string{"key personnel", "key person", "named personnel", "kp"}, Content: "Key personnel are the specific roles a solicitation names as critical, often requiring resumes and letters of commitment in the proposal. A gap or a weak key personnel slot can make a bid non compliant, so key personnel drive slate priority.", Source: "Proposal compliance practice", }, { Topic: "Labor category", Keywords: []string{"labor category", "lcat", "labor cat", "labor rate"}, Content: "A labor category (LCAT) is a priced role on a contract, such as Intelligence Analyst or Cyber Engineer, with a required skill and experience profile and an hourly rate. Staffing maps candidates to LCATs, and pricing uses the LCAT rate.", Source: "Government contracting practice", }, { Topic: "Prime, subcontractor, and teaming", Keywords: []string{"prime", "subcontractor", "teaming", "teaming agreement", "sub", "prime contractor"}, Content: "The prime holds the contract with the government; subcontractors perform portions under the prime. A teaming agreement sets out, before award, who bids as prime and who supports as a sub and on which scope. Public award data records the prime of record, not the subcontractor split.", Source: "FAR teaming practice", }, { Topic: "IDIQ and task orders", Keywords: []string{"idiq", "task order", "delivery order", "period of performance", "pop", "ceiling", "vehicle"}, Content: "An Indefinite Delivery Indefinite Quantity (IDIQ) vehicle is a master contract under which the government issues task orders for specific work, each with its own period of performance. Winning a vehicle gives the right to compete for its task orders.", Source: "FAR 16.5", }, { Topic: "Price to win and basis of estimate", Keywords: []string{"price to win", "ptw", "basis of estimate", "boe", "pricing", "wage", "oews"}, Content: "Price to Win is the estimated price a bid must reach to be competitive, informed by market labor rates such as the BLS OEWS wage survey and historical award amounts. A Basis of Estimate documents the labor mix and hours behind a priced volume. Both are advisory market context, never a candidate score.", Source: "Capture and pricing practice", }, { Topic: "Proposal color teams", Keywords: []string{"color team", "pink team", "red team", "gold team", "proposal review", "black hat"}, Content: "Proposal reviews run as color teams: a Pink Team reviews the early draft approach, a Red Team reviews the near final as an evaluator would, and a Gold Team is the final executive review. A Black Hat review models the competition.", Source: "Shipley proposal practice", }, // ---------- Compliance and AEDT ---------- { Topic: "Four fifths adverse impact rule", Keywords: []string{"four fifths", "80 percent rule", "adverse impact", "disparate impact", "selection rate"}, Content: "The four fifths rule from the EEOC uniform guidelines flags potential adverse impact when a group's selection rate is less than 80 percent of the highest group's rate. The platform computes selection rates and four fifths ratios so a customer can run a bias audit; it provides the data, it is not itself the audit.", Source: "EEOC Uniform Guidelines", }, { Topic: "NYC Local Law 144 bias audit", Keywords: []string{"local law 144", "ll144", "bias audit", "nyc law", "aedt law"}, Content: "New York City Local Law 144 requires an independent annual bias audit of an automated employment decision tool used on candidates or employees who reside in the city, with the results published. The platform is built to produce the adverse impact reporting such an audit needs.", Source: "NYC DCWP Local Law 144", }, { Topic: "Automated employment decision tool obligations", Keywords: []string{"aedt", "automated employment", "responsible ai", "explainable", "human in the loop", "ofccp"}, Content: "As an automated employment decision tool the platform keeps every score explainable with a per component breakdown and a recordable trace, keeps a human in the loop who approves or rejects every slate member, and never automatically rejects a candidate. It aligns to the NIST AI Risk Management Framework and provides adverse impact reporting for OFCCP style reviews.", Source: "NIST AI RMF and OFCCP practice", }, { Topic: "Demographic firewall", Keywords: []string{"demographic firewall", "demographic", "protected attribute", "firewall", "isolation of demographics"}, Content: "Demographic data lives in a separate access controlled module reachable only by a dedicated compliance role, is never an input to scoring or to any AI answer, and the scoring code cannot reach it. The brain refuses any question that asks to rank or filter people by a protected attribute.", Source: "missionMATCH responsible AI design", }, { Topic: "Small cell suppression", Keywords: []string{"small cell", "suppression", "k anonymity", "re identification", "reporting threshold"}, Content: "Any count derived from people is suppressed below a threshold of ten so an answer can never re identify an individual, and complementary suppression hides a second cell so a suppressed value cannot be recovered by subtraction. A suppressed count is shown as a sentinel, never a number.", Source: "NIST SP 800 188 de identification", }, // ---------- Platform methodology ---------- { Topic: "The three tools", Keywords: []string{"three tools", "screenmatch", "slatematch", "missionmatch", "what tools", "products"}, Content: "The platform is three tools over one engine and one data model: screenMATCH answers whether one candidate is qualified for one requirement, slateMATCH ranks a proposal ready candidate slate for a requirement, and missionMATCH is the workforce command center that names staffing gaps and fuses market signal. Each answers a distinct question in the capture lifecycle.", Source: "missionMATCH methodology", }, { Topic: "The intelligence loop", Keywords: []string{"the loop", "intelligence loop", "how it works", "workflow", "requirement to slate"}, Content: "The platform serves one loop: a requirement enters, candidate intelligence is gathered, the engine scores the match, a ranked slate is produced, and proposal readiness is recorded. The output of each stage is the input to the next, and every stage writes to one audited system of record.", Source: "missionMATCH methodology", }, { Topic: "The scoring engine", Keywords: []string{"scoring engine", "match score", "how is the score", "weights", "deterministic", "frozen engine"}, Content: "The match score is a fixed weighted model: Clearance 25, Skills 25, Certifications 15, Customer Experience 15, Experience 10, and Location and Availability 10, out of 100, with bands Green at 90 and above, Yellow from 75 to 89, and Red below 75. Version 1.4.0 then applies deterministic band caps that only lower the band and never change the total: if a required clearance is not met the band is capped to Red even at 90 or above, and if a mandatory required skill is unmet a Green is capped to Yellow, with the clearance cap taking precedence. It is pure deterministic decimal arithmetic, so the same inputs always produce the same score, and it is the only per candidate scorer.", Source: "missionMATCH engine v1.4.0", }, { Topic: "The AI brain augmentation classes", Keywords: []string{"ai brain", "augmentation", "rag", "tag", "graphrag", "mag", "cag", "how does the brain", "how does the ai"}, Content: "The brain answers over the deterministic engine, never around it, through a closed set of validated intents across four augmentation classes: retrieval over the tenant's own documents, table analytics over curated read only queries, graph reasoning over the market and skill graphs, and learned models that emit only an opportunity level number or an ordering. A faithfulness gate ships generated prose only when the evidence supports it.", Source: "missionMATCH AI architecture", }, { Topic: "Learned models and the frozen engine", Keywords: []string{"learned model", "mag", "win probability", "re ranker", "time to fill", "does the ai score", "machine learning"}, Content: "Learned models can emit only an opportunity level number, an ordering, or a confidence, never a per candidate match score, so the frozen deterministic engine stays the only per candidate scorer by construction. A learned model is promoted only after passing a held out quality gate and a four fifths fairness gate, and a human confirms the promotion.", Source: "missionMATCH MAG design", }, { Topic: "Security and portability posture", Keywords: []string{"fips", "security", "govcloud", "azure government", "both cloud", "multi tenant", "portability", "rls"}, Content: "The platform is built with validated FIPS cryptography from day one, isolates every tenant with Postgres row level security so no context yields zero rows, keeps an append only audit outside those policies, and runs on either AWS GovCloud or Azure Government with no single vendor lock in. Choosing a cloud is configuration, not a rewrite.", Source: "missionMATCH stack decisions", }, { Topic: "Clearance intelligence disclaimer", Keywords: []string{"clearance intelligence", "verified clearance", "self reported", "is the clearance verified", "disclaimer"}, Content: "Clearance values in the platform are self reported indicators shown as clearance intelligence, never a verification. The authoritative determination is made by the hiring customer Facility Security Officer through the government system of record at onboarding.", Source: "missionMATCH disclosure policy", }, } // SelectKnowledge returns the curated cards most relevant to a question by a deterministic keyword match, // capped at max cards so only the relevant knowledge enters the model context. A card scores by how many of // its keywords appear in the lowercased question; cards with no hit are dropped, and ties break by the card's // order in the base for a stable result. When nothing matches, the brain was taught nothing relevant and the // caller falls back to the standing rules rather than inventing an answer. func SelectKnowledge(question string, max int) []KnowledgeCard { if max <= 0 { max = 4 } q := strings.ToLower(question) type scored struct { card KnowledgeCard hits int order int } var matched []scored for i, c := range KnowledgeBase { hits := 0 for _, kw := range c.Keywords { if strings.Contains(q, kw) { hits++ } } if hits > 0 { matched = append(matched, scored{card: c, hits: hits, order: i}) } } // Sort by hit count descending, then by base order ascending, both deterministic. for i := 1; i < len(matched); i++ { for j := i; j > 0; j-- { a, b := matched[j-1], matched[j] if b.hits > a.hits || (b.hits == a.hits && b.order < a.order) { matched[j-1], matched[j] = matched[j], matched[j-1] } else { break } } } out := make([]KnowledgeCard, 0, max) for i := 0; i < len(matched) && i < max; i++ { out = append(out, matched[i].card) } return out } // renderKnowledge builds the deterministic answer from the selected cards: the topic, the taught content, and // the cited source for each. It is the faithful fallback when the model prose is withheld or the plane is out, // so a CAG answer is always grounded in exactly what the brain was taught. func renderKnowledge(cards []KnowledgeCard) string { if len(cards) == 0 { return "" } var b strings.Builder for i, c := range cards { if i > 0 { b.WriteString(" ") } b.WriteString(c.Content) b.WriteString(" (source: ") b.WriteString(c.Source) b.WriteString(")") } return b.String() }

Search equations, builds, manuscript text, and recovered sources.